cluster

package
v0.0.0-...-378a294 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CRDManifests          = "../../release/test/crds.yaml"
	FacadeCRDManifests    = "../../release/test/facade_crds.yaml"
	KindOperatorManifests = "../../release/test/kind-operator.yaml"
	CCOperatorManifests   = "../../release/test/cc-operator.yaml"
)

Variables

This section is empty.

Functions

func AddCluster

func AddCluster(c ClusterUser)

func CreateCCClusters

func CreateCCClusters(clusterCount int, images string)

Create CC Cluster

func CreateKindClusters

func CreateKindClusters(clusterCount int, images string)

Create Kind Clusters

func ReleaseCluster

func ReleaseCluster(t *testing.T, cluster ClusterUser)

func RemoveCluster

func RemoveCluster(c ClusterUser)

Types

type ClusterSet

type ClusterSet struct {
	// contains filtered or unexported fields
}

type ClusterUser

type ClusterUser interface {
	Config() *rest.Config
	Name() string
	RestartWorkloads() error
	WaitForWorkloads() error
	KCCInstalled() bool
	Context() map[string]string
}

func ReserveCluster

func ReserveCluster(t *testing.T) ClusterUser

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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