Documentation
¶
Overview ¶
Copyright Contributors to the Open Cluster Management project
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CAPIOptions ¶
type CAPIOptions struct { // KubeConfigFile is the kubeconfig to connect to capi management cluster KubeConfigFile string // name of the cluster ClusterName string ClusterNamespace string Enable bool // contains filtered or unexported fields }
func NewCAPIOption ¶
func NewCAPIOption(factory cmdutil.Factory) *CAPIOptions
func (*CAPIOptions) AddFlags ¶
func (o *CAPIOptions) AddFlags(flags *pflag.FlagSet)
func (*CAPIOptions) Complete ¶
func (o *CAPIOptions) Complete(cmd *cobra.Command, args []string) (err error)
func (*CAPIOptions) ToClientGetter ¶
func (o *CAPIOptions) ToClientGetter() (genericclioptions.RESTClientGetter, error)
func (*CAPIOptions) Validate ¶
func (o *CAPIOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.