Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KarmadaCertsName the secret name of karmada certs KarmadaCertsName = "karmada-cert" // CaCertAndKeyName ca certificate cert/key name in karmada certs secret CaCertAndKeyName = "ca" )
View Source
const DefaultHostClusterDomain = "cluster.local"
DefaultHostClusterDomain defines the default cluster domain of karmada host cluster.
View Source
const DefaultKarmadaClusterNamespace = "karmada-cluster"
DefaultKarmadaClusterNamespace defines the default namespace where the member cluster secrets are stored.
View Source
const DefaultKarmadactlCommandDuration = 60 * time.Second
DefaultKarmadactlCommandDuration defines the default timeout for karmadactl execute
Variables ¶
View Source
var DefaultConfigFlags = genericclioptions.NewConfigFlags(true).WithDeprecatedPasswordFlag().WithDiscoveryBurst(300).WithDiscoveryQPS(50.0)
DefaultConfigFlags It composes the set of values necessary for obtaining a REST client config with default values set.
Functions ¶
func AddKubeConfigFlags ¶ added in v1.4.0
AddKubeConfigFlags adds flags to the specified FlagSet.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.