ccmmigration

package
v2.20.10 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 20 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() error

CleanUp deletes the cluster.

func (*ClusterJig) CreateMachineDeployment

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

func (*ClusterJig) SetUp

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

func (*ClusterJig) WaitForNodeToBeReady added in v2.20.7

func (ccj *ClusterJig) WaitForNodeToBeReady(userClient ctrlruntimeclient.Client) (bool, error)

Jump to

Keyboard shortcuts

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