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