Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOptionsFromFederationConfig ¶ added in v0.0.9
func GetOptionsFromFederationConfig(hostConfig *rest.Config, namespace string) (apiextv1b1.ResourceScope, string, error)
Types ¶
type CommonSubcommandOptions ¶ added in v0.0.9
type CommonSubcommandOptions struct { ClusterName string ClusterContext string HostClusterName string }
CommonSubcommandOptions holds the common configuration required by some of the subcommands of `kubefed2`.
func (*CommonSubcommandOptions) CommonSubcommandBind ¶ added in v0.0.9
func (o *CommonSubcommandOptions) CommonSubcommandBind(flags *pflag.FlagSet)
CommonSubcommandBind adds the common subcommand flags to the flagset passed in.
func (*CommonSubcommandOptions) SetName ¶ added in v0.0.9
func (o *CommonSubcommandOptions) SetName(args []string) error
SetName sets the name from the args passed in for the required positional argument.
type FederationConfigOptions ¶ added in v0.0.9
type FederationConfigOptions struct {
ClusterNamespace string
}
type GlobalSubcommandOptions ¶ added in v0.0.9
type GlobalSubcommandOptions struct { HostClusterContext string FederationNamespace string Kubeconfig string DryRun bool }
GlobalSubcommandOptions holds the configuration required by the subcommands of `kubefed2`.
func (*GlobalSubcommandOptions) GlobalSubcommandBind ¶ added in v0.0.9
func (o *GlobalSubcommandOptions) GlobalSubcommandBind(flags *pflag.FlagSet)
GlobalSubcommandBind adds the global subcommand flags to the flagset passed in.
Click to show internal directories.
Click to hide internal directories.