Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,793 for validateU (0.2 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go

    	celconfig "k8s.io/apiserver/pkg/apis/cel"
    )
    
    // Validator parallels the structure of schema.Structural and includes the compiled CEL programs
    // for the x-kubernetes-validations of each schema node.
    type Validator struct {
    	Items                *Validator
    	Properties           map[string]Validator
    	AllOfValidators      []*Validator
    	AdditionalProperties *Validator
    
    	Schema *schema.Structural
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  2. pkg/registry/registrytest/validate.go

    SataQiu <******@****.***> 1670860584 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 12 15:56:24 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    		if val != "false" {
    			// Pod subnet was already validated, we need to validate now against the node-mask
    			allErrs = append(allErrs, ValidatePodSubnetNodeMask(c.Networking.PodSubnet, c, fldPath.Child("podSubnet"))...)
    		}
    	}
    	return allErrs
    }
    
    // ValidateAbsolutePath validates whether provided path is absolute or not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/rule.go

    			if buf.Len() > 0 {
    				buf.WriteString("&")
    			}
    			buf.WriteString(t.String())
    		}
    		return buf.String()
    	}
    	return ""
    }
    
    // Validate - validates the rule element
    func (r Rule) Validate() error {
    	if err := r.validateID(); err != nil {
    		return err
    	}
    	if err := r.validateStatus(); err != nil {
    		return err
    	}
    	if err := r.validateExpiration(); err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/shared/validate.cmd

    Michael Osipov <******@****.***> 1640033625 +0100
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 21 09:29:19 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  6. pkg/serviceaccount/claims.go

    	}
    
    	return sc, pc, nil
    }
    
    func NewValidator(getter ServiceAccountTokenGetter) Validator {
    	return &validator{
    		getter: getter,
    	}
    }
    
    type validator struct {
    	getter ServiceAccountTokenGetter
    }
    
    var _ = Validator(&validator{})
    
    func (v *validator) Validate(ctx context.Context, _ string, public *jwt.Claims, privateObj interface{}) (*apiserverserviceaccount.ServiceAccountInfo, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. pkg/serviceaccount/jwt.go

    	keys         []interface{}
    	validator    Validator
    	implicitAuds authenticator.Audiences
    }
    
    // Validator is called by the JWT token authenticator to apply domain specific
    // validation to a token and extract user information.
    type Validator interface {
    	// Validate validates a token and returns user information or an error.
    	// Validator can assume that the issuer and signature of a token are already
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation_test.go

    			},
    			failingObjects: []failingObject{
    				{object: map[string]interface{}{"field": true}, expectErrs: []string{
    					`<nil>: Invalid value: "": "field" must validate all the schemas (allOf). None validated`,
    					`<nil>: Invalid value: "": "field" must validate at least one schema (anyOf)`,
    					`field: Invalid value: "boolean": field in body must be of type integer,string: "boolean"`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 04:49:59 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  9. src/internal/trace/testtrace/validation.go

    	binding *schedContext
    }
    
    // NewValidator creates a new Validator.
    func NewValidator() *Validator {
    	return &Validator{
    		gs:     make(map[trace.GoID]*goState),
    		ps:     make(map[trace.ProcID]*procState),
    		ms:     make(map[trace.ThreadID]*schedContext),
    		ranges: make(map[trace.ResourceID][]string),
    		tasks:  make(map[trace.TaskID]string),
    	}
    }
    
    // Event validates ev as the next event in a stream of trace.Events.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go

    	var errs field.ErrorList
    	errs = append(errs, a.validator.Validate(ctx, u, a.scale)...)
    
    	// validate embedded resources
    	errs = append(errs, schemaobjectmeta.Validate(nil, u.Object, a.structuralSchema, false)...)
    
    	// validate x-kubernetes-list-type "map" and "set" invariant
    	errs = append(errs, structurallisttype.ValidateListSetsAndMaps(nil, a.structuralSchema, u.Object)...)
    
    	// validate x-kubernetes-validations rules
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 21:22:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top