Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateMaxSkew (0.14 sec)

  1. pkg/apis/core/validation/validation.go

    		}
    	}
    
    	return allErrs
    }
    
    // ValidateMaxSkew tests that the argument is a valid MaxSkew.
    func ValidateMaxSkew(fldPath *field.Path, maxSkew int32) *field.Error {
    	if maxSkew <= 0 {
    		return field.Invalid(fldPath, maxSkew, isNotPositiveErrorMsg)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top