Documentation ¶
Overview ¶
Package variables implements validation and defaulting for ClusterClass variables.
Index ¶
- func DefaultClusterVariables(clusterVariables []clusterv1.ClusterVariable, ...) ([]clusterv1.ClusterVariable, field.ErrorList)
- func DefaultMachineDeploymentVariables(clusterVariables []clusterv1.ClusterVariable, ...) ([]clusterv1.ClusterVariable, field.ErrorList)
- func ValidateClusterClassVariables(ctx context.Context, clusterClassVariables []clusterv1.ClusterClassVariable, ...) field.ErrorList
- func ValidateClusterVariable(clusterVariable *clusterv1.ClusterVariable, ...) field.ErrorList
- func ValidateClusterVariables(clusterVariables []clusterv1.ClusterVariable, ...) field.ErrorList
- func ValidateMachineDeploymentVariables(clusterVariables []clusterv1.ClusterVariable, ...) field.ErrorList
- func ValidateTopLevelClusterVariablesExist(clusterVariablesOverrides []clusterv1.ClusterVariable, ...) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultClusterVariables ¶
func DefaultClusterVariables(clusterVariables []clusterv1.ClusterVariable, clusterClassVariables []clusterv1.ClusterClassVariable, fldPath *field.Path) ([]clusterv1.ClusterVariable, field.ErrorList)
DefaultClusterVariables defaults ClusterVariables.
func DefaultMachineDeploymentVariables ¶ added in v1.1.0
func DefaultMachineDeploymentVariables(clusterVariables []clusterv1.ClusterVariable, clusterClassVariables []clusterv1.ClusterClassVariable, fldPath *field.Path) ([]clusterv1.ClusterVariable, field.ErrorList)
DefaultMachineDeploymentVariables defaults MachineDeploymentVariables.
func ValidateClusterClassVariables ¶
func ValidateClusterClassVariables(ctx context.Context, clusterClassVariables []clusterv1.ClusterClassVariable, fldPath *field.Path) field.ErrorList
ValidateClusterClassVariables validates clusterClassVariable.
func ValidateClusterVariable ¶
func ValidateClusterVariable(clusterVariable *clusterv1.ClusterVariable, clusterClassVariable *clusterv1.ClusterClassVariable, fldPath *field.Path) field.ErrorList
ValidateClusterVariable validates a clusterVariable.
func ValidateClusterVariables ¶
func ValidateClusterVariables(clusterVariables []clusterv1.ClusterVariable, clusterClassVariables []clusterv1.ClusterClassVariable, fldPath *field.Path) field.ErrorList
ValidateClusterVariables validates ClusterVariables.
func ValidateMachineDeploymentVariables ¶ added in v1.1.0
func ValidateMachineDeploymentVariables(clusterVariables []clusterv1.ClusterVariable, clusterClassVariables []clusterv1.ClusterClassVariable, fldPath *field.Path) field.ErrorList
ValidateMachineDeploymentVariables validates ValidateMachineDeploymentVariables.
func ValidateTopLevelClusterVariablesExist ¶ added in v1.1.0
func ValidateTopLevelClusterVariablesExist(clusterVariablesOverrides []clusterv1.ClusterVariable, clusterVariables []clusterv1.ClusterVariable, fldPath *field.Path) field.ErrorList
ValidateTopLevelClusterVariablesExist validates that all overrides have a corresponding top-level variable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.