variables

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package variables implements validation and defaulting for ClusterClass variables.

Index

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

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

func ValidateMachineDeploymentVariables(clusterVariables []clusterv1.ClusterVariable, clusterClassVariables []clusterv1.ClusterClassVariable, fldPath *field.Path) field.ErrorList

ValidateMachineDeploymentVariables validates ValidateMachineDeploymentVariables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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