options

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubcommandOptions

type SubcommandOptions struct {
	ClusterName         string
	HostClusterContext  string
	FederationNamespace string
	ClusterNamespace    string
	Kubeconfig          string
	DryRun              bool
}

SubcommandOptions holds the configuration required by the subcommands of `kubefed2`.

func (*SubcommandOptions) CommonBind

func (o *SubcommandOptions) CommonBind(flags *pflag.FlagSet)

CommonBind adds the common flags to the flagset passed in.

func (*SubcommandOptions) SetName

func (o *SubcommandOptions) SetName(args []string) error

SetName sets the name from the args passed in for the required positional argument.

Jump to

Keyboard shortcuts

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