validation

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateMinReplicas

func ValidateMinReplicas(fldPath *field.Path, actualValue, minValue int, bHaMode bool) *field.Error

ValidateMinReplicas validates replicas min value

func ValidateMinReplicasGraphd

func ValidateMinReplicasGraphd(fldPath *field.Path, replicas int, bHaMode bool) (allErrs field.ErrorList)

ValidateMinReplicasGraphd validates replicas min value for Graphd

func ValidateMinReplicasMetad

func ValidateMinReplicasMetad(fldPath *field.Path, replicas int, bHaMode bool) (allErrs field.ErrorList)

ValidateMinReplicasMetad validates replicas min value for Metad

func ValidateMinReplicasStoraged

func ValidateMinReplicasStoraged(fldPath *field.Path, replicas int, bHaMode bool) (allErrs field.ErrorList)

ValidateMinReplicasStoraged validates replicas min value for Storaged

func ValidateOddNumber

func ValidateOddNumber(fldPath *field.Path, value int) *field.Error

ValidateOddNumber validates odd number

Types

This section is empty.

Jump to

Keyboard shortcuts

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