Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRemoteExecutor ¶
type DefaultRemoteExecutor struct{}
DefaultRemoteExecutor is the standard implementation of remote command execution
type ExecOptions ¶
type ExecOptions struct { Namespace string PodName string ContainerName string Stdin bool Command []string In io.Reader Out io.Writer Err io.Writer Executor RemoteExecutor Client *client.Client Config *restclient.Config }
ExecOptions declare the arguments accepted by the Exec command
func (*ExecOptions) Run ¶
func (p *ExecOptions) Run() error
Run executes a validated remote execution against a pod.
Click to show internal directories.
Click to hide internal directories.