Documentation ¶
Index ¶
- func DisableFederation(cmdOut io.Writer, config *rest.Config, ...) error
- func JoinCluster(hostConfig, clusterConfig *rest.Config, ...) error
- func NewCmdJoin(cmdOut io.Writer, config util.FedConfig) *cobra.Command
- func NewCmdTypeDisable(cmdOut io.Writer, config util.FedConfig) *cobra.Command
- func NewCmdUnjoin(cmdOut io.Writer, config util.FedConfig) *cobra.Command
- func NewCmdVersion(out io.Writer) *cobra.Command
- func NewKubeFedCtlCommand(out io.Writer) *cobra.Command
- func UnjoinCluster(hostConfig, clusterConfig *rest.Config, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableFederation ¶
func DisableFederation(cmdOut io.Writer, config *rest.Config, enableTypeDirective *enable.EnableTypeDirective, typeConfigName ctlutil.QualifiedName, deleteCRD, dryRun, verifyStopped bool) error
func JoinCluster ¶
func JoinCluster(hostConfig, clusterConfig *rest.Config, kubefedNamespace, hostClusterName, joiningClusterName, secretName string, Scope apiextv1b1.ResourceScope, dryRun, errorOnExisting bool) error
JoinCluster performs all the necessary steps to register a cluster with a KubeFed control plane provided the required set of parameters are passed in.
func NewCmdJoin ¶
NewCmdJoin defines the `join` command that registers a cluster with a KubeFed control plane.
func NewCmdTypeDisable ¶
NewCmdTypeDisable defines the `disable` command that disables federation of a Kubernetes API type.
func NewCmdUnjoin ¶
NewCmdUnjoin defines the `unjoin` command that removes the registration of a cluster from a KubeFed control plane.
func NewCmdVersion ¶
NewCmdVersion prints out the release version info for this command binary.
func NewKubeFedCtlCommand ¶
NewKubeFedCtlCommand creates the `kubefedctl` command and its nested children.
func UnjoinCluster ¶
func UnjoinCluster(hostConfig, clusterConfig *rest.Config, kubefedNamespace, hostClusterName, hostClusterContext, unjoiningClusterContext, unjoiningClusterName string, forceDeletion, dryRun bool) error
UnjoinCluster performs all the necessary steps to remove the registration of a cluster from a KubeFed control plane provided the required set of parameters are passed in.
Types ¶
This section is empty.