Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecOptions ¶
type ExecOptions struct { cmdexec.StreamOptions Factory cmdutil.Factory Executor cmdexec.RemoteExecutor Config *restclient.Config Client *kubernetes.Clientset Dynamic dynamic.Interface // Pod target pod to execute command Pod *corev1.Pod // Command is the command to execute Command []string }
func NewExecOptions ¶
func NewExecOptions(f cmdutil.Factory, streams genericclioptions.IOStreams) *ExecOptions
func (*ExecOptions) Complete ¶
func (o *ExecOptions) Complete() error
Complete receive exec parameters
func (*ExecOptions) Run ¶
func (o *ExecOptions) Run() error
func (*ExecOptions) RunWithRedirect ¶
Click to show internal directories.
Click to hide internal directories.