Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for validate0 (0.19 sec)

  1. pkg/config/validation/validation.go

    	return validateFuncs[name]
    }
    
    func RegisterValidateFunc(name string, f ValidateFunc) ValidateFunc {
    	// Wrap the original validate function with an extra validate function for object metadata
    	validate := validateMetadata(f)
    	validateFuncs[name] = validate
    	return validate
    }
    
    func validateMetadata(f ValidateFunc) ValidateFunc {
    	return func(config config.Config) (Warning, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    						},
    					},
    				},
    			}
    			validator := NewValidator(s, true, celconfig.PerCallLimit)
    			if validator == nil {
    				b.Fatal("expected non nil validator")
    			}
    
    			ctx := context.TODO()
    			root := field.NewPath("root")
    
    			b.ReportAllocs()
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				errs, _ := validator.Validate(ctx, root, s, obj, obj, celconfig.RuntimeCELCostBudget)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    	// sets the bucket policy using the policy statement generated from `getWriteOnlyObjectStatement` so that the
    	// unsigned request goes through and its validated again.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  4. cmd/server_test.go

    }
    
    // TestHeadOnObjectLastModified - Asserts response for HEAD on an object.
    // HEAD requests on an object validates the existence of the object.
    // The responses for fetching the object when If-Modified-Since
    // and If-Unmodified-Since headers set are validated.
    // If-Modified-Since - Return the object only if it has been modified since the specified time, else return a 304 (not modified).
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_control_test.go

    	type testcase struct {
    		name       string
    		invariants func(set *apps.StatefulSet, om *fakeObjectManager) error
    		initial    func() *apps.StatefulSet
    		update     func(set *apps.StatefulSet) *apps.StatefulSet
    		validate   func(set *apps.StatefulSet, pods []*v1.Pod) error
    	}
    
    	testFn := func(test *testcase, t *testing.T) {
    		set := test.initial()
    		client := fake.NewSimpleClientset(set)
    		om, _, ssc := setupController(client)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/package-lock.json

          "dev": true
        },
        "node_modules/validate-npm-package-license": {
          "version": "3.0.4",
          "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
          "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 156K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    LogicalResult ParseExampleV2Op::verify() {
      ParseExampleV2Op op = *this;
      // NOTE(mrry): This validates properties of an op that would previously be
      // validated by the TensorFlow OpDef type checker. In addition to these
      // checks, the shape inference function for ParseExampleV2 validates the
      // consistency of the argument and result types.
    
      // Validate dense variadic input and output lengths.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  8. cmd/object-handlers.go

    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	// validate the request
    	if err := rreq.validate(ctx, objectAPI); err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    }
    
    type healInitParams struct {
    	bucket, objPrefix     string
    	hs                    madmin.HealOpts
    	clientToken           string
    	forceStart, forceStop bool
    }
    
    // extractHealInitParams - Validates params for heal init API.
    func extractHealInitParams(vars map[string]string, qParams url.Values, r io.Reader) (hip healInitParams, err APIErrorCode) {
    	hip.bucket = vars[mgmtBucket]
    	hip.objPrefix = vars[mgmtPrefix]
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  10. maven-model-builder/src/test/resources/dag.txt

    	quarkus/extensions/reactive-routes/runtime/pom.xml
    	quarkus/extensions/hibernate-validator/spi/pom.xml
    	quarkus/extensions/jsonp/deployment/pom.xml
    	quarkus/extensions/security/deployment/pom.xml
    	quarkus/extensions/elytron-security-properties-file/deployment/pom.xml
    	quarkus/extensions/hibernate-validator/deployment/pom.xml
    	quarkus/test-framework/junit5-internal/pom.xml
    	quarkus/extensions/security/test-utils/pom.xml
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jan 15 16:49:26 UTC 2024
    - 224K bytes
    - Viewed (0)
Back to top