validations

package
v0.15.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCSI

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

ValidateCSI checks that the CSI is enabled/disabled based on the settings in the cluster.Spec by by checking if CSI related objects components exist in the cluster or not.

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.

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