Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostCmd ¶
type HostCmd struct {
// contains filtered or unexported fields
}
HostCmd allows to run a command on the host By default, when the command is run it does not print any output generated during execution. See Silent, Stdin, RunWithEcho, RunAndCapture, Skip and DryRun for possible variations to the default behavior.
func NewHostCmd ¶
NewHostCmd returns a new HostCmd to run a command on a host
func (*HostCmd) RunAndCapture ¶
RunAndCapture executes the inner command on a kind(er) node and return the output captured during execution
func (*HostCmd) RunWithEcho ¶
RunWithEcho execute the inner command on a kind(er) node and echoes the command output to screen
type NodeCmd ¶
type NodeCmd struct {
// contains filtered or unexported fields
}
NodeCmd allows to run a command on a kind(er) node
by default the command is printed to stdout before execution; to enable colorized print of the command text, that can help in debugging, please set the KINDER_COLORS environment variable to ON.
By default, when the command is run it does not print any output generated during execution. See Silent, Stdin, RunWithEcho, RunAndCapture, Skip and DryRun for possible variations to the default behavior.
func NewNodeCmd ¶
NewNodeCmd returns a new ProxyCmd to run a command on a kind(er) node
func (*NodeCmd) DryRun ¶
DryRun instruct the proxy command to print the inner command text instead of running it.
func (*NodeCmd) RunAndCapture ¶
RunAndCapture executes the inner command on a kind(er) node and return the output captured during execution
func (*NodeCmd) RunWithEcho ¶
RunWithEcho execute the inner command on a kind(er) node and echoes the command output to screen