kubefedctl

package
v0.1.0-rc6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

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 registers a cluster with a KubeFed control plane. The KubeFed namespace in the joining cluster will be the same as in the host cluster.

func NewCmdJoin

func NewCmdJoin(cmdOut io.Writer, config util.FedConfig) *cobra.Command

NewCmdJoin defines the `join` command that registers a cluster with a KubeFed control plane.

func NewCmdTypeDisable

func NewCmdTypeDisable(cmdOut io.Writer, config util.FedConfig) *cobra.Command

NewCmdTypeDisable defines the `disable` command that disables federation of a Kubernetes API type.

func NewCmdUnjoin

func NewCmdUnjoin(cmdOut io.Writer, config util.FedConfig) *cobra.Command

NewCmdUnjoin defines the `unjoin` command that removes the registration of a cluster from a KubeFed control plane.

func NewCmdVersion

func NewCmdVersion(out io.Writer) *cobra.Command

NewCmdVersion prints out the release version info for this command binary.

func NewKubeFedCtlCommand

func NewKubeFedCtlCommand(out io.Writer) *cobra.Command

NewKubeFedCtlCommand creates the `kubefedctl` command and its nested children.

func UnjoinCluster

func UnjoinCluster(hostConfig, clusterConfig *rest.Config, kubefedNamespace, hostClusterName,
	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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL