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 the current-context.
- Assembly
- Cake
.Kubectl .dll - Namespace
- Cake
.Kubectl - Containing Type
- KubectlAliases
Syntax
public static IEnumerable<string> KubectlConfigCurrentContextWithResult(this ICakeContext context, KubectlConfigCurrentContextSettings settings)
Attributes
Type | Description |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
settings | Kubectl |
The settings. |
Return Value
Type | Description |
---|---|
IEnumerable |
Output lines. |