clusterprovider

package
v0.0.0-...-5ee5d88 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterProvider

type ClusterProvider interface {
	NewCluster(ctx context.Context, name string) (*fedcorev1a1.FederatedCluster, *corev1.Secret)
	StopCluster(ctx context.Context, name string)
	StopAllClusters(ctx context.Context)
}

func NewKindClusterProvider

func NewKindClusterProvider(kubeConfig, nodeImage string, clusterWaitTimeout time.Duration) ClusterProvider

func NewKwokClusterProvider

func NewKwokClusterProvider(
	kubeConfig, kwokWorkDir, kwokImagePrefix, kwokKubeVersion string,
	clusterWaitTimeout time.Duration,
) ClusterProvider

Jump to

Keyboard shortcuts

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