validation

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatClusterSpec

func ValidatClusterSpec(platformClient platformv1client.PlatformV1Interface, clusterName string, 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(platformClient platformv1client.PlatformV1Interface, obj *types.Cluster) field.ErrorList

ValidateCluster validates a given Cluster.

func ValidateClusterFeature added in v1.3.1

func ValidateClusterFeature(spec *platform.ClusterSpec, 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(platformClient platformv1client.PlatformV1Interface, clsName, version string, fldPath *field.Path, phase platform.ClusterPhase) field.ErrorList

ValidateClusterSpecVersion validates a given version.

func ValidateIPVS added in v1.6.0

func ValidateIPVS(spec *platform.ClusterSpec, ipvs *bool, fldPath *field.Path) field.ErrorList

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