ccmmigration

package
v2.21.13 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterJig

type ClusterJig struct {
	Log            *zap.SugaredLogger
	Name           string
	DatacenterName string
	Version        semver.Semver
	SeedClient     ctrlruntimeclient.Client
	Cluster        *kubermaticv1.Cluster
}

ClusterJig helps setting up a user cluster for testing.

func (*ClusterJig) CleanUp

func (c *ClusterJig) CleanUp(ctx context.Context) error

CleanUp deletes the cluster.

func (*ClusterJig) CreateMachineDeployment

func (c *ClusterJig) CreateMachineDeployment(ctx context.Context, userClient ctrlruntimeclient.Client, osCredentials credentials) error

func (*ClusterJig) SetUp

func (c *ClusterJig) SetUp(ctx context.Context, cloudSpec kubermaticv1.CloudSpec, osCredentials credentials) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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