unittest

package
v14.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultClusterID = "8y5ck"
)
View Source
const (
	DefaultMachineDeploymentID = "al9qy"
)

Variables

This section is empty.

Functions

func ChinaContext

func ChinaContext() context.Context

func ChinaControllerContext

func ChinaControllerContext() controllercontext.Context

func DefaultAWSControlPlaneWithAZs

func DefaultAWSControlPlaneWithAZs(azs ...string) infrastructurev1alpha3.AWSControlPlane

func DefaultCAPIClusterWithLabels

func DefaultCAPIClusterWithLabels(clusterID string, labels map[string]string) apiv1beta1.Cluster

func DefaultCerts

func DefaultCerts() []certs.File

func DefaultCluster

func DefaultCluster() infrastructurev1alpha3.AWSCluster

func DefaultContext

func DefaultContext() context.Context

func DefaultContextControlPlane

func DefaultContextControlPlane() context.Context

func DefaultControllerContext

func DefaultControllerContext() controllercontext.Context

func DefaultIRSACloudfrontConfigMap

func DefaultIRSACloudfrontConfigMap() v1.ConfigMap

func DefaultImages

func DefaultImages() k8scloudconfig.Images

func DefaultKeys

func DefaultKeys() randomkeys.Cluster

func DefaultNetworkPool

func DefaultNetworkPool(cidr string) infrastructurev1alpha3.NetworkPool

func DefaultRelease

func DefaultRelease() releasev1alpha1.Release

func FakeK8sClient

func FakeK8sClient(objects ...runtime.Object) k8sclient.Interface

func MachineDeploymentWithDisks added in v14.5.0

func MachineDeploymentWithDisks(machineDeployment infrastructurev1alpha3.AWSMachineDeployment, containerd string, docker int, kubelet int, logging string) infrastructurev1alpha3.AWSMachineDeployment

func NormalizeFileName

func NormalizeFileName(s string) string

NormalizeFileName converts all non-digit, non-letter runes in input string to dash ('-'). Coalesces multiple dashes into one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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