This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Kubectl.
Summary
Print the logs for a container in a pod or specified resource. If the pod has only one container, the container name is optional.
Syntax
public static IEnumerable<string> KubectlLogsWithResult(this ICakeContext context, KubectlLogsSettings settings)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
settings |
KubectlLogsSettings |
The settings. |
Return Value
Type |
Description |
IEnumerable<string> |
Output lines. |