Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdDebug ¶
func NewCmdDebug(f cmdutil.Factory, streams genericclioptions.IOStreams, deprecatedInvocation bool) *cobra.Command
NewCmdDebug returns a cobra command that runs kubectl debug.
Types ¶
type DebugOptions ¶
type DebugOptions struct {
Args []string
ArgsOnly bool
Attach bool
Container string
CopyTo string
Replace bool
Env []corev1.EnvVar
Image string
Interactive bool
Namespace string
TargetNames []string
PullPolicy corev1.PullPolicy
Quiet bool
SameNode bool
SetImages map[string]string
ShareProcesses bool
TargetContainer string
TTY bool
genericclioptions.IOStreams
// contains filtered or unexported fields
}
DebugOptions holds the options for an invocation of kubectl debug.
func NewDebugOptions ¶
func NewDebugOptions(streams genericclioptions.IOStreams) *DebugOptions
NewDebugOptions returns a DebugOptions initialized with default values.
func (*DebugOptions) Complete ¶
func (o *DebugOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error
Complete finishes run-time initialization of debug.DebugOptions.
Click to show internal directories.
Click to hide internal directories.