multicluster

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateCmd = &cobra.Command{
	Use:   "create",
	Short: "Create multi-cluster resources",
}
View Source
var DeployCmd = &cobra.Command{
	Use:   "deploy",
	Short: "Deploy Antrea Multi-cluster Controller to a leader or member cluster",
}
View Source
var DestroyCmd = NewDestroyCommand()
View Source
var GetCmd = &cobra.Command{
	Use:   "get",
	Short: "Display one or many resources in a ClusterSet",
}
View Source
var InitCmd = NewInitCommand()
View Source
var JoinCmd = NewJoinCommand()
View Source
var LeaveCmd = NewLeaveCommand()

Functions

func NewDestroyCommand added in v1.8.0

func NewDestroyCommand() *cobra.Command

func NewInitCommand added in v1.8.0

func NewInitCommand() *cobra.Command

func NewJoinCommand added in v1.8.0

func NewJoinCommand() *cobra.Command

func NewLeaveCommand added in v1.8.0

func NewLeaveCommand() *cobra.Command

Types

type ClusterSetJoinConfig added in v1.8.0

type ClusterSetJoinConfig struct {
	Kind            string `yaml:"kind"`
	APIVersion      string `yaml:"apiVersion"`
	ClusterSetID    string `yaml:"clusterSetID"`
	ClusterID       string `yaml:"clusterID,omitempty"`
	Namespace       string `yaml:"namespace,omitempty"`
	LeaderClusterID string `yaml:"leaderClusterID"`
	LeaderNamespace string `yaml:"leaderNamespace"`
	LeaderAPIServer string `yaml:"leaderAPIServer"`
	TokenSecretName string `yaml:"tokenSecretName,omitempty"`
	TokenSecretFile string `yaml:"tokenSecretFile,omitempty"`
	// The following fields are not included in the config file.
	ConfigFile string     `yaml:"-"`
	Secret     *v1.Secret `yaml:"-"`
}

"omitempty" fields (clusterID, namespace, tokenSecretName, tokenSecretFile) can be populated by the corresponding command line options if not set in the config file.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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