unittest

package
v3.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultClusterID = "8y5ck"
)

Variables

This section is empty.

Functions

func DefaultCluster

func DefaultCluster() infrastructurev1alpha3.AWSCluster

func DefaultControlPlane added in v3.1.1

func DefaultControlPlane() infrastructurev1alpha3.G8sControlPlane

func DefaultMachineDeployment added in v3.1.1

func DefaultMachineDeployment() apiv1alpha3.MachineDeployment

func DefaultNodes

func DefaultNodes() corev1.NodeList

func DefaultRelease

func DefaultRelease() releasev1alpha1.Release

func FakeK8sClient

func FakeK8sClient() k8sclient.Interface

func GetCreatedCondition added in v3.6.0

func GetCreatedCondition(minutesAgo time.Duration) infrastructurev1alpha3.CommonClusterStatusCondition

func GetCreatingCondition added in v3.6.0

func GetCreatingCondition(minutesAgo time.Duration) infrastructurev1alpha3.CommonClusterStatusCondition

func GetDeletedCondition added in v3.6.0

func GetDeletedCondition(minutesAgo time.Duration) infrastructurev1alpha3.CommonClusterStatusCondition

func GetDeletingCondition added in v3.6.0

func GetDeletingCondition(minutesAgo time.Duration) infrastructurev1alpha3.CommonClusterStatusCondition

func GetUpdatedCondition added in v3.6.0

func GetUpdatedCondition(minutesAgo time.Duration) infrastructurev1alpha3.CommonClusterStatusCondition

func GetUpdatingCondition added in v3.6.0

func GetUpdatingCondition(minutesAgo time.Duration) infrastructurev1alpha3.CommonClusterStatusCondition

func GetVersion added in v3.6.0

func NewMasterNode

func NewMasterNode() corev1.Node

func NewWorkerNode

func NewWorkerNode() corev1.Node

Types

This section is empty.

Jump to

Keyboard shortcuts

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