Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPodCompleted = fmt.Errorf("pod ran to completion")
ErrPodCompleted is returned by PodRunning or PodContainerRunning to indicate that the pod has already reached completed state.
Functions ¶
Types ¶
type RunOptions ¶
type RunOptions struct { PrintFlags *genericclioptions.PrintFlags RecordFlags *genericclioptions.RecordFlags DeleteFlags *delete.DeleteFlags DeleteOptions *delete.DeleteOptions DryRunStrategy cmdutil.DryRunStrategy DryRunVerifier *resource.DryRunVerifier PrintObj func(runtime.Object) error Recorder genericclioptions.Recorder ArgsLenAtDash int Attach bool Expose bool Generator string Image string Interactive bool LeaveStdinOpen bool Port string Privileged bool Quiet bool Schedule string TTY bool Namespace string EnforceNamespace bool genericclioptions.IOStreams // contains filtered or unexported fields }
func NewRunOptions ¶
func NewRunOptions(streams genericclioptions.IOStreams) *RunOptions
Click to show internal directories.
Click to hide internal directories.