Documentation ¶
Index ¶
- func JoinCluster(hostConfig, clusterConfig *rest.Config, ...) error
- func NewCmdJoin(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 NewKubeFed2Command(out io.Writer) *cobra.Command
- func UnjoinCluster(hostConfig, clusterConfig *rest.Config, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinCluster ¶
func JoinCluster(hostConfig, clusterConfig *rest.Config, federationNamespace, clusterNamespace, hostClusterContext, joiningClusterName, secretName string, addToRegistry, limitedScope, dryRun bool) error
JoinCluster performs all the necessary steps to join a cluster to the federation provided the required set of parameters are passed in.
func NewCmdJoin ¶
NewCmdJoin defines the `join` command that joins a cluster to a federation.
func NewCmdUnjoin ¶ added in v0.0.2
NewCmdUnjoin defines the `unjoin` command that unjoins a cluster from a federation.
func NewCmdVersion ¶
NewCmdVersion prints out the release version info for this command binary.
func NewKubeFed2Command ¶
NewKubeFed2Command creates the `kubefed2` command and its nested children.
func UnjoinCluster ¶ added in v0.0.2
func UnjoinCluster(hostConfig, clusterConfig *rest.Config, federationNamespace, clusterNamespace, hostClusterContext, unjoiningClusterContext, unjoiningClusterName string, removeFromRegistry, dryRun bool) error
UnjoinCluster performs all the necessary steps to unjoin a cluster from the federation provided the required set of parameters are passed in.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.