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 ClusteradmFlags ¶
type ClusteradmFlags struct { KubectlFactory cmdutil.Factory //if set the resources will be sent to stdout instead of being applied DryRun bool Timeout int Context string }
func NewClusteradmFlags ¶
func NewClusteradmFlags(f cmdutil.Factory) *ClusteradmFlags
NewClusteradmFlags returns ClusteradmFlags with default values set
func (*ClusteradmFlags) AddFlags ¶
func (f *ClusteradmFlags) AddFlags(flags *pflag.FlagSet)
func (*ClusteradmFlags) SetContext ¶ added in v0.3.1
func (f *ClusteradmFlags) SetContext(context *string)
SetContext will set current context from command line argument --context.
func (*ClusteradmFlags) ValidateHub ¶ added in v0.4.1
func (f *ClusteradmFlags) ValidateHub() error
func (*ClusteradmFlags) ValidateManagedCluster ¶ added in v0.4.1
func (f *ClusteradmFlags) ValidateManagedCluster() error
Click to show internal directories.
Click to hide internal directories.