cmd

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 64 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)

type Uint16Slice added in v0.12.2

type Uint16Slice struct {
	Value *[]uint16
}

func (*Uint16Slice) Set added in v0.12.2

func (s *Uint16Slice) Set(value string) error

func (*Uint16Slice) String added in v0.12.2

func (s *Uint16Slice) String() string

func (*Uint16Slice) Type added in v0.12.2

func (s *Uint16Slice) Type() string

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
SPDX-License-Identifier: Apache-2.0

Jump to

Keyboard shortcuts

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