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 Host string FederationNamespace 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.
Click to show internal directories.
Click to hide internal directories.