cmd

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 63 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OperatorNamespace = "submariner-operator"
)
View Source
const SubmMissingMessage = "Submariner is not installed"
View Source
const (
	SubmarinerNamespace = "submariner-operator" // We currently expect everything in submariner-operator
)

Variables

View Source
var (
	GlobalCIDRConfigMap *v1.ConfigMap
)

Functions

func AddToRootCommand added in v0.10.1

func AddToRootCommand(cmd *cobra.Command)

func CompareFiles added in v0.10.1

func CompareFiles(file1, file2 string) (bool, error)

func Execute

func Execute() error

func ExecuteMultiCluster added in v0.10.1

func ExecuteMultiCluster(restConfigProducer restconfig.Producer, run func(*Cluster) bool)

Types

type Cluster added in v0.10.1

type Cluster struct {
	Config     *rest.Config
	Name       string
	KubeClient kubernetes.Interface
	DynClient  dynamic.Interface
	SubmClient subClientsetv1.Interface
	Submariner *v1alpha1.Submariner
}

func NewCluster added in v0.10.1

func NewCluster(config *rest.Config, clusterName string) (*Cluster, string)

func (*Cluster) GetGateways added in v0.10.1

func (c *Cluster) GetGateways() ([]submarinerv1.Gateway, error)

Directories

Path Synopsis
aws
Package aws provides common functionality to run cloud prepare/cleanup on AWS.
Package aws provides common functionality to run cloud prepare/cleanup on AWS.
gcp
Package gcp provides common functionality to run cloud prepare/cleanup on GCP Clusters.
Package gcp provides common functionality to run cloud prepare/cleanup on GCP Clusters.
rhos
Package rhos provides common functionality to run cloud prepare/cleanup on RHOS Clusters.
Package rhos provides common functionality to run cloud prepare/cleanup on RHOS Clusters.
SPDX-License-Identifier: Apache-2.0 Copyright Contributors to the Submariner project.
SPDX-License-Identifier: Apache-2.0 Copyright Contributors to the Submariner project.

Jump to

Keyboard shortcuts

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