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
Display one or many contexts from the kubeconfig file.
- Assembly
- Cake
.Kubectl .dll - Namespace
- Cake
.Kubectl - Containing Type
- KubectlAliases
Syntax
public static IEnumerable<string> KubectlConfigGetContextsWithResult(this ICakeContext context, KubectlConfigGetContextsSettings settings)
Attributes
Type | Description |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
settings | Kubectl |
The settings. |
Return Value
Type | Description |
---|---|
IEnumerable |
Output lines. |