kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go

var execExample

const defaultPodExecTimeout

func NewCmdExec(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command {}

type RemoteExecutor

type DefaultRemoteExecutor

func (*DefaultRemoteExecutor) Execute(url *url.URL, config *restclient.Config, stdin io.Reader, stdout, stderr io.Writer, tty bool, terminalSizeQueue remotecommand.TerminalSizeQueue) error {}

// createExecutor returns the Executor or an error if one occurred.
func createExecutor(url *url.URL, config *restclient.Config) (remotecommand.Executor, error) {}

type StreamOptions

type ExecOptions

// Complete verifies command line arguments and loads data from the command environment
func (p *ExecOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, argsIn []string, argsLenAtDash int) error {}

// Validate checks that the provided exec options are specified.
func (p *ExecOptions) Validate() error {}

func (o *StreamOptions) SetupTTY() term.TTY {}

// Run executes a validated remote execution against a pod.
func (p *ExecOptions) Run() error {}