utils

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterReadinessCheckPeriod = 10 * time.Second
	ClusterReadinessTimeout     = 10 * time.Minute

	MachineDeploymentName      = "ccm-migration-e2e"
	MachineDeploymentNamespace = "kube-system"

	UserClusterPollInterval = 5 * time.Second
	CustomTestTimeout       = 15 * time.Minute
)

Variables

This section is empty.

Functions

func DefaultCluster

func DefaultCluster(clusterName string, version semver.Semver, cloudSpec kubermaticv1.CloudSpec, projectID string) *kubermaticv1.Cluster

func DefaultCredentialSecret

func DefaultCredentialSecret(secretName string, modifiers ...func(secret *corev1.Secret)) *corev1.Secret

func DefaultMachineDeployment

func DefaultMachineDeployment(modifiers ...func(deployment *clusterv1alpha1.MachineDeployment)) *clusterv1alpha1.MachineDeployment

func DefaultProject

func DefaultProject(projectName string) *kubermaticv1.Project

Types

This section is empty.

Jump to

Keyboard shortcuts

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