KubectlAliases.

KubectlLogsWithResult(ICakeContext, KubectlLogsSettings) Method

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.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

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.