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
Runs given command using given settings and additional and returns the exit code and output.
- Assembly
- Cake
.Kubectl .dll - Namespace
- Cake
.Kubectl - Containing Type
- GenericRunner
<TSettings>
Syntax
public IEnumerable<string> RunWithResult(string command, TSettings settings, string[] additional)
Parameters
Name | Type | Description |
---|---|---|
command | string | The command. |
settings | TSettings | The settings. |
additional | string[] | Additional arguments. |
Return Value
Type | Description |
---|---|
IEnumerable |
A System.ValueTuple containing ExitCode, Output and Errors. |