Documentation ¶
Index ¶
- func ValidateAvailabilityZones(ctx context.Context, vc clusterf.StateValidationConfig) error
- func ValidateCilium(ctx context.Context, vc clusterf.StateValidationConfig) error
- func ValidateClusterDoesNotExist(ctx context.Context, vc clusterf.StateValidationConfig) error
- func ValidateClusterReady(ctx context.Context, vc clusterf.StateValidationConfig) error
- func ValidateControlPlaneNodes(ctx context.Context, vc clusterf.StateValidationConfig) error
- func ValidateEKSAObjects(ctx context.Context, vc clusterf.StateValidationConfig) error
- func ValidateWorkerNodes(ctx context.Context, vc clusterf.StateValidationConfig) error
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.