kubefed2

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableFederation added in v0.0.7

func DisableFederation(cmdOut io.Writer, config *rest.Config, typeConfigName ctlutil.QualifiedName, delete, dryRun bool) error

func JoinCluster

func JoinCluster(hostConfig, clusterConfig *rest.Config, federationNamespace, clusterNamespace,
	hostClusterName, joiningClusterName, secretName string, addToRegistry bool, Scope apiextv1b1.ResourceScope, dryRun, errorOnExisting 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

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

NewCmdJoin defines the `join` command that joins a cluster to a federation.

func NewCmdTypeDisable added in v0.0.7

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 added in v0.0.2

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

NewCmdUnjoin defines the `unjoin` command that unjoins a cluster from a federation.

func NewCmdVersion

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

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

func NewKubeFed2Command

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

NewKubeFed2Command creates the `kubefed2` command and its nested children.

func UnjoinCluster added in v0.0.2

func UnjoinCluster(hostConfig, clusterConfig *rest.Config, federationNamespace, clusterNamespace, hostClusterName, hostClusterContext,
	unjoiningClusterContext, unjoiningClusterName string, removeFromRegistry, forceDeletion, 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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