validation

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatClusterSpec

func ValidatClusterSpec(spec *platform.ClusterSpec, fldPath *field.Path, phase platform.ClusterPhase) field.ErrorList

ValidatClusterSpec validates a given ClusterSpec.

func ValidateCIDRs

func ValidateCIDRs(spec *platform.ClusterSpec, specPath *field.Path) field.ErrorList

ValidateCIDRs validates clusterCIDR and serviceCIDR.

func ValidateCSIOperator added in v1.3.1

func ValidateCSIOperator(csioperator *platform.CSIOperatorFeature, fldPath *field.Path) field.ErrorList

func ValidateCluster

func ValidateCluster(obj *types.Cluster) field.ErrorList

ValidateCluster validates a given Cluster.

func ValidateClusterFeature added in v1.3.1

func ValidateClusterFeature(feature *platform.ClusterFeature, fldPath *field.Path) field.ErrorList

func ValidateClusterMachines

func ValidateClusterMachines(machines []platform.ClusterMachine, fldPath *field.Path) field.ErrorList

ValidateClusterMachines validates a given CluterMachines.

func ValidateClusterProperty

func ValidateClusterProperty(spec *platform.ClusterSpec, propPath *field.Path) field.ErrorList

ValidateClusterProperty validates a given ClusterProperty.

func ValidateClusterSpecVersion

func ValidateClusterSpecVersion(version string, fldPath *field.Path, phase platform.ClusterPhase) field.ErrorList

ValidateClusterSpecVersion validates a given version.

func ValidateMachine

func ValidateMachine(machine *platform.Machine) field.ErrorList

ValidateMachine validates a given machine.

func ValidateMachineSpec

func ValidateMachineSpec(spec *platform.MachineSpec, fldPath *field.Path) field.ErrorList

ValidateMachineSpec validates a given machine spec.

Types

This section is empty.

Jump to

Keyboard shortcuts

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