Documentation
¶
Index ¶
Constants ¶
View Source
const ( KubernetesVersionManagement = "KUBERNETES_VERSION_MANAGEMENT" KubernetesVersion = "KUBERNETES_VERSION" CNIPath = "CNI" CNIResources = "CNI_RESOURCES" KubernetesVersionUpgradeFrom = "KUBERNETES_VERSION_UPGRADE_FROM" KubernetesVersionUpgradeTo = "KUBERNETES_VERSION_UPGRADE_TO" CPMachineTemplateUpgradeTo = "CONTROL_PLANE_MACHINE_TEMPLATE_UPGRADE_TO" WorkersMachineTemplateUpgradeTo = "WORKERS_MACHINE_TEMPLATE_UPGRADE_TO" EtcdVersionUpgradeTo = "ETCD_VERSION_UPGRADE_TO" CoreDNSVersionUpgradeTo = "COREDNS_VERSION_UPGRADE_TO" IPFamily = "IP_FAMILY" )
Test suite constants for e2e config variables.
Variables ¶
This section is empty.
Functions ¶
func HaveValidVersion ¶
func HaveValidVersion(version string) types.GomegaMatcher
HaveValidVersion succeeds if version is a valid semver version.
func MachineDeploymentScaleSpec ¶
func MachineDeploymentScaleSpec(ctx context.Context, inputGetter func() MachineDeploymentScaleSpecInput)
MachineDeploymentScaleSpec implements a test that verifies that MachineDeployment scale operations are successful.
Types ¶
type MachineDeploymentScaleSpecInput ¶
type MachineDeploymentScaleSpecInput struct { E2EConfig *clusterctl.E2EConfig ClusterctlConfigPath string BootstrapClusterProxy framework.ClusterProxy ArtifactFolder string SkipCleanup bool ControlPlaneWaiters clusterctl.ControlPlaneWaiters Flavor string // InfrastructureProviders specifies the infrastructure to use for clusterctl // operations (Example: get cluster templates). // Note: In most cases this need not be specified. It only needs to be specified when // multiple infrastructure providers (ex: CAPD + in-memory) are installed on the cluster as clusterctl will not be // able to identify the default. InfrastructureProvider *string // Allows to inject a function to be run after test namespace is created. // If not specified, this is a no-op. PostNamespaceCreated func(managementClusterProxy framework.ClusterProxy, workloadClusterNamespace string) }
MachineDeploymentScaleSpecInput is the input for MachineDeploymentScaleSpec.
Click to show internal directories.
Click to hide internal directories.