Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdDebug ¶
func NewCmdDebug(calledAs string, streams genericclioptions.IOStreams) *cobra.Command
NewCmdDebug provides a cobra command wrapping DebugOptions
Types ¶
type DebugOptions ¶
type DebugOptions struct { genericclioptions.IOStreams // contains filtered or unexported fields }
DebugOptions provides information required to update the current context on a user's KUBECONFIG
func (*DebugOptions) Complete ¶
func (o *DebugOptions) Complete(cmd *cobra.Command, args []string) error
Complete sets all information required for updating the current context
func (*DebugOptions) Run ¶
func (o *DebugOptions) Run() error
Run lists all available debugs on a user's KUBECONFIG or updates the current context based on a provided debug.
func (*DebugOptions) Validate ¶
func (o *DebugOptions) Validate() error
Validate ensures that all required arguments and flag values are provided
Click to show internal directories.
Click to hide internal directories.