Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateWhenUnsatisfiable (0.31 sec)

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

    	if len(topologyKey) == 0 {
    		return field.Required(fldPath, "can not be empty")
    	}
    	return nil
    }
    
    // ValidateWhenUnsatisfiable tests that the argument is a valid UnsatisfiableConstraintAction.
    func ValidateWhenUnsatisfiable(fldPath *field.Path, action core.UnsatisfiableConstraintAction) *field.Error {
    	if !supportedScheduleActions.Has(action) {
    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