# Functions
JoinCluster performs all the necessary steps to join a cluster to the federation provided the required set of parameters are passed in.
NewCmdJoin defines the `join` command that joins a cluster to a federation.
NewCmdUnjoin defines the `unjoin` command that unjoins a cluster from a federation.
NewCmdVersion prints out the release version info for this command binary.
NewKubeFed2Command creates the `kubefed2` command and its nested children.
UnjoinCluster performs all the necessary steps to unjoin a cluster from the federation provided the required set of parameters are passed in.