Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 601 for validate0 (0.2 sec)

  1. pkg/registry/apps/statefulset/strategy_test.go

    	}
    
    	errs := Strategy.Validate(ctx, ss)
    	if len(errs) != 0 {
    		t.Errorf("Strategy.Validate(%v) returned error: %v", ss, errs)
    	}
    
    	if ss.Generation != 1 {
    		t.Errorf("Generation = %v, want = 1 for StatefulSet: %v", ss.Generation, ss)
    	}
    
    	// Validate that the ordinals field is retained when StatefulSetStartOridnal is disabled.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/validation/validation.go

    }
    
    // ValidateValidatingAdmissionPolicyStatusUpdate validates update of status of validating admission policy
    func ValidateValidatingAdmissionPolicyStatusUpdate(newC, oldC *admissionregistration.ValidatingAdmissionPolicy) field.ErrorList {
    	return validateValidatingAdmissionPolicyStatus(&newC.Status, field.NewPath("status"))
    }
    
    // ValidateValidatingAdmissionPolicyBindingUpdate validates update of validating admission policy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java

         * file and has not been subjected to inheritance, interpolation or profile/default injection.
         *
         * @param model The model to validate, must not be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. cmd/bucket-policy-handlers_test.go

    			instanceType, bucketName, err)
    	}
    
    	// 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
    - 32.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    	v := validator{
    		failPolicy:       &fail,
    		celMatcher:       &fakeCELMatcher{matches: true},
    		validationFilter: f,
    		messageFilter:    f,
    		auditAnnotationFilter: &fakeCelFilter{
    			evaluations: nil,
    			throwError:  false,
    		},
    	}
    	ctx, cancel := context.WithCancel(context.TODO())
    	cancel()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy

                    'propertyName' : 'notAnnotated',
                ]
            }
        }
    
        @Issue("https://github.com/gradle/gradle/issues/23045")
        def "nested map with #supportedType key is validated without warning"() {
            def gStringValue = "foo"
            javaTaskSource << """
                import org.gradle.api.*;
                import org.gradle.api.tasks.*;
                import org.gradle.work.*;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. pkg/webhooks/validation/server/server.go

    		return nil, errors.New("expected mux to be passed, but was not passed")
    	}
    	wh := &Webhook{
    		schemas:      o.Schemas,
    		domainSuffix: o.DomainSuffix,
    	}
    
    	o.Mux.HandleFunc("/validate", wh.serveValidate)
    	o.Mux.HandleFunc("/validate/", wh.serveValidate)
    
    	return wh, nil
    }
    
    func toAdmissionResponse(err error) *kube.AdmissionResponse {
    	return &kube.AdmissionResponse{Result: &metav1.Status{Message: err.Error()}}
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 04 06:13:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/options/validation_test.go

    		expectErrors bool
    	}{
    		{
    			name:         "validate port less than 0",
    			options:      makeOptionsWithPort(-1, 30065, 1),
    			expectErrors: true,
    		},
    		{
    			name:         "validate port more than 65535",
    			options:      makeOptionsWithPort(65536, 30065, 1),
    			expectErrors: true,
    		},
    		{
    			name:         "validate port equal 0",
    			options:      makeOptionsWithPort(0, 0, 1),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. pkg/proxy/util/nfacct/nfacct_linux_test.go

    				assert.NoError(t, err)
    			}
    
    			// validate number of requests
    			assert.Equal(t, tc.netlinkCalls, len(tc.handler.requests))
    
    			if tc.netlinkCalls > 0 {
    				// validate request
    				assert.Equal(t, cmdNew, tc.handler.requests[0].cmd)
    				assert.Equal(t, uint16(unix.NLM_F_REQUEST|unix.NLM_F_CREATE|unix.NLM_F_ACK), tc.handler.requests[0].flags)
    
    				// validate attribute(NFACCT_NAME)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  10. cmd/dummy-handlers.go

    	if s3Error := checkRequestAuthType(ctx, r, policy.GetBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Validate if bucket exists, before proceeding further...
    	_, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{})
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top