Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValidatePodSchedulingContexts (0.64 sec)

  1. pkg/registry/resource/podschedulingcontext/strategy.go

    }
    
    func (podSchedulingStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	scheduling := obj.(*resource.PodSchedulingContext)
    	return validation.ValidatePodSchedulingContexts(scheduling)
    }
    
    func (podSchedulingStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    func (podSchedulingStrategy) Canonicalize(obj runtime.Object) {
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:39:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. pkg/apis/resource/validation/validation.go

    		allErrs = append(allErrs, field.TooLongMaxLength(fldPath, len(consumers), maxSize))
    	}
    	return allErrs
    }
    
    // ValidatePodSchedulingContext validates a PodSchedulingContext.
    func ValidatePodSchedulingContexts(schedulingCtx *resource.PodSchedulingContext) field.ErrorList {
    	allErrs := corevalidation.ValidateObjectMeta(&schedulingCtx.ObjectMeta, true, corevalidation.ValidatePodName, field.NewPath("metadata"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
Back to top