Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonOptions ¶
type CommonOptions struct { ConfigFlags *genericclioptions.ConfigFlags genericclioptions.IOStreams RestConfig *rest.Config RestMapper meta.RESTMapper KubeClient *kubernetes.Clientset CraneClient *crane.Clientset DynamicClient dynamic.Interface DiscoveryClient discovery.DiscoveryInterface }
CommonOptions provides information required to update the current context on a user's KUBECONFIG
func NewCommonOptions ¶
func NewCommonOptions() *CommonOptions
func (*CommonOptions) AddCommonFlag ¶
func (o *CommonOptions) AddCommonFlag(cmd *cobra.Command)
func (*CommonOptions) Complete ¶
func (o *CommonOptions) Complete(cmd *cobra.Command, args []string) error
func (*CommonOptions) Validate ¶
func (o *CommonOptions) Validate() error
Validate ensures that all required arguments and flag values are provided
Click to show internal directories.
Click to hide internal directories.