Documentation ¶
Index ¶
- func ValidateMinReplicas(fldPath *field.Path, actualValue, minValue int, bHaMode bool) *field.Error
- func ValidateMinReplicasGraphd(fldPath *field.Path, replicas int, bHaMode bool) (allErrs field.ErrorList)
- func ValidateMinReplicasMetad(fldPath *field.Path, replicas int, bHaMode bool) (allErrs field.ErrorList)
- func ValidateMinReplicasStoraged(fldPath *field.Path, replicas int, bHaMode bool) (allErrs field.ErrorList)
- func ValidateOddNumber(fldPath *field.Path, value int) *field.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMinReplicas ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.