validation

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatClusterSpec

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

ValidatClusterSpec validates a given ClusterSpec.

func ValidateCIDRs

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

ValidateCIDRs validates clusterCIDR and serviceCIDR.

func ValidateCluster

func ValidateCluster(ctx *common.ClusterContext) field.ErrorList

ValidateCluster validates a given Cluster.

func ValidateClusterProperty

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

ValidateClusterProperty validates a given ClusterProperty.

func ValidateClusterSpecVersion

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

ValidateClusterSpecVersion validates a given version.

func ValidateMachine

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

ValidateMachine validates a given machine.

func ValidateMachineSpec

func ValidateMachineSpec(spec *devopsv1.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