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