Documentation ¶
Index ¶
- func ValidatClusterSpec(platformClient platformv1client.PlatformV1Interface, clusterName string, ...) field.ErrorList
- func ValidateCIDRs(spec *platform.ClusterSpec, specPath *field.Path) field.ErrorList
- func ValidateCSIOperator(csioperator *platform.CSIOperatorFeature, fldPath *field.Path) field.ErrorList
- func ValidateCluster(platformClient platformv1client.PlatformV1Interface, obj *types.Cluster) field.ErrorList
- func ValidateClusterFeature(spec *platform.ClusterSpec, fldPath *field.Path) field.ErrorList
- func ValidateClusterMachines(machines []platform.ClusterMachine, fldPath *field.Path) field.ErrorList
- func ValidateClusterProperty(spec *platform.ClusterSpec, propPath *field.Path) field.ErrorList
- func ValidateClusterSpecVersion(platformClient platformv1client.PlatformV1Interface, clsName, version string, ...) field.ErrorList
- func ValidateIPVS(spec *platform.ClusterSpec, ipvs *bool, fldPath *field.Path) field.ErrorList
- func ValidateMachine(machine *platform.Machine) field.ErrorList
- func ValidateMachineSpec(spec *platform.MachineSpec, fldPath *field.Path) field.ErrorList
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 ¶
ValidateCIDRs validates clusterCIDR and serviceCIDR.
func ValidateCSIOperator ¶ added in v1.3.1
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 ValidateClusterMachines ¶
func ValidateClusterMachines(machines []platform.ClusterMachine, fldPath *field.Path) field.ErrorList
ValidateClusterMachines validates a given CluterMachines.
func ValidateClusterProperty ¶
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 ValidateMachine ¶
ValidateMachine validates a given machine.
func ValidateMachineSpec ¶
ValidateMachineSpec validates a given machine spec.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.