options

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

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

func AddKubeConfigFlags(flags *pflag.FlagSet)

AddKubeConfigFlags adds flags to the specified FlagSet.

func NewCmdOptions added in v1.3.0

func NewCmdOptions(parentCommand string, out io.Writer) *cobra.Command

NewCmdOptions implements the options command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL