Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdExec ¶
func NewCmdExec(f util.Factory, parentCommand string, streams genericclioptions.IOStreams) *cobra.Command
NewCmdExec new exec command.
Types ¶
type CommandExecOptions ¶
type CommandExecOptions struct { // flags specific to exec KubectlExecOptions *kubectlexec.ExecOptions Cluster string }
CommandExecOptions declare the arguments accepted by the Exec command
func (*CommandExecOptions) Complete ¶
func (o *CommandExecOptions) Complete(f util.Factory, cmd *cobra.Command, argsIn []string, argsLenAtDash int) error
Complete verifies command line arguments and loads data from the command environment
func (*CommandExecOptions) Run ¶
func (o *CommandExecOptions) Run() error
Run executes a validated remote execution against a pod.
func (*CommandExecOptions) Validate ¶
func (o *CommandExecOptions) Validate() error
Validate checks that the provided exec options are specified.
Click to show internal directories.
Click to hide internal directories.