Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for corevalidation (0.28 sec)

  1. pkg/apis/node/validation/validation.go

    }
    
    func validateOverhead(overhead *node.Overhead, fldPath *field.Path) field.ErrorList {
    	// reuse the ResourceRequirements validation logic
    	return corevalidation.ValidateResourceRequirements(&core.ResourceRequirements{Limits: overhead.PodFixed}, nil, fldPath,
    		corevalidation.PodValidationOptions{})
    }
    
    func validateScheduling(s *node.Scheduling, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. pkg/apis/resource/structured/namedresources/validation/validation.go

    	namedresourcescel "k8s.io/dynamic-resource-allocation/structured/namedresources/cel"
    	corevalidation "k8s.io/kubernetes/pkg/apis/core/validation"
    	"k8s.io/kubernetes/pkg/apis/resource"
    )
    
    var (
    	validateInstanceName  = corevalidation.ValidateDNS1123Subdomain
    	validateAttributeName = corevalidation.ValidateDNS1123Subdomain
    )
    
    type Options struct {
    	// StoredExpressions must be true if and only if validating CEL
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:26:20 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. pkg/registry/core/replicationcontroller/strategy.go

    	newRc := obj.(*api.ReplicationController)
    
    	opts := pod.GetValidationOptionsFromPodTemplate(newRc.Spec.Template, oldRc.Spec.Template)
    	validationErrorList := corevalidation.ValidateReplicationController(newRc, opts)
    	updateErrorList := corevalidation.ValidateReplicationControllerUpdate(newRc, oldRc, opts)
    	errs := append(validationErrorList, updateErrorList...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:06:10 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  4. pkg/registry/certificates/clustertrustbundle/strategy.go

    func (strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	bundle := obj.(*certificates.ClusterTrustBundle)
    	return certvalidation.ValidateClusterTrustBundle(bundle, certvalidation.ValidateClusterTrustBundleOptions{})
    }
    
    func (strategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 03:10:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top