validations

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAvailabilityZones added in v0.16.0

func ValidateAvailabilityZones(ctx context.Context, vc clusterf.StateValidationConfig) error

ValidateAvailabilityZones checks each availability zones defined cloudstackdatacenterconfig in the cluster.Spec have corresponding cloudstackfailuredomains objects within the cluster.

func ValidateCilium

func ValidateCilium(ctx context.Context, vc clusterf.StateValidationConfig) error

ValidateCilium gets the cilium-config from the cluster and checks that the cilium policy in cluster.Spec matches the enabled policy in the config.

func ValidateClusterDoesNotExist

func ValidateClusterDoesNotExist(ctx context.Context, vc clusterf.StateValidationConfig) error

ValidateClusterDoesNotExist checks that the cluster does not exist by attempting to retrieve the CAPI cluster.

func ValidateClusterReady

func ValidateClusterReady(ctx context.Context, vc clusterf.StateValidationConfig) error

ValidateClusterReady gets the CAPICluster from the client then validates that it is in a ready state. Also check if CAPI objects are in expected state for InPlace Upgrades.

func ValidateControlPlaneNodes

func ValidateControlPlaneNodes(ctx context.Context, vc clusterf.StateValidationConfig) error

ValidateControlPlaneNodes retrieves the control plane nodes from the cluster and checks them against the cluster.Spec.

func ValidateEKSAObjects

func ValidateEKSAObjects(ctx context.Context, vc clusterf.StateValidationConfig) error

ValidateEKSAObjects retrieves all the child objects from the cluster.Spec and validates that they exist in the clusterf.

func ValidateWorkerNodes

func ValidateWorkerNodes(ctx context.Context, vc clusterf.StateValidationConfig) error

ValidateWorkerNodes retries the worker nodes from the cluster and checks them against the cluster.Spec.

Types

This section is empty.

Jump to

Keyboard shortcuts

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