Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 241 for Option (0.28 sec)

  1. pkg/apis/admissionregistration/validation/validation.go

    	actions := sets.NewString()
    	for i, action := range va {
    		if !validValidationActions.Has(string(action)) {
    			allErrors = append(allErrors, field.NotSupported(fldPath.Index(i), action, validValidationActions.List()))
    		}
    		if actions.Has(string(action)) {
    			allErrors = append(allErrors, field.Duplicate(fldPath.Index(i), action))
    		}
    		actions.Insert(string(action))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

                    method.getName()), e);
            }
        }
    
        /**
         * Adds services to this container using the given action.
         */
        public void register(Action<? super ServiceRegistration> action) {
            assertMutable();
            action.execute(newRegistration());
        }
    
        private void assertMutable() {
            if (state.get() != State.INIT) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

                edge.markUnused();
                return true;
            }
            return false;
        }
    
        void forEachCapability(CapabilitiesConflictHandler capabilitiesConflictHandler, Action<? super Capability> action) {
            ImmutableSet<ImmutableCapability> capabilities = metadata.getCapabilities().asSet();
            // If there's more than one node selected for the same component, we need to add
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

                this.prop = prop;
            }
    
            public String doStuff(String value) {
                return "{" + value + "}";
            }
    
            public void doStuff(Action<String> action) {
                action.execute(getProp());
            }
        }
    
        public static class BeanWithPublicType extends Bean implements HasPublicType {
            @Override
            public TypeOf<?> getPublicType() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_attacher_test.go

    			shouldFail: true, // All other API errors should be propagated to caller
    			reactor: func(action core.Action) (handled bool, ret runtime.Object, err error) {
    				// return Forbidden to all DELETE requests
    				if action.Matches("delete", "volumeattachments") {
    					return true, nil, apierrors.NewForbidden(action.GetResource().GroupResource(), action.GetNamespace(), fmt.Errorf("mock error"))
    				}
    				return false, nil, nil
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  6. pkg/apis/batch/validation/validation.go

    	var allErrs field.ErrorList
    	actionPath := rulePath.Child("action")
    	if rule.Action == "" {
    		allErrs = append(allErrs, field.Required(actionPath, fmt.Sprintf("valid values: %q", sets.List(supportedPodFailurePolicyActions))))
    	} else if rule.Action == batch.PodFailurePolicyActionFailIndex {
    		if spec.BackoffLimitPerIndex == nil {
    			allErrs = append(allErrs, field.Invalid(actionPath, rule.Action, "requires the backoffLimitPerIndex to be set"))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().parallelStream();
          }
        }
    
        @Override
        public void forEach(Consumer<? super E> action) {
          synchronized (mutex) {
            delegate().forEach(action);
          }
        }
    
        @Override
        public boolean remove(@CheckForNull Object o) {
          synchronized (mutex) {
            return delegate().remove(o);
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 57.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    ```groovy
    // Before
    tasks.create("foo", { Task it -> it.description "Foo task" } as Action)
    
    // Fixed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller.go

    	}
    
    	completionMode := getCompletionMode(&job)
    	action := metrics.JobSyncActionReconciling
    
    	defer func() {
    		result := "success"
    		if rErr != nil {
    			result = "error"
    		}
    
    		metrics.JobSyncDurationSeconds.WithLabelValues(completionMode, result, action).Observe(jm.clock.Since(startTime).Seconds())
    		metrics.JobSyncNum.WithLabelValues(completionMode, result, action).Inc()
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  10. pkg/apis/certificates/validation/validation_test.go

    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// make sure the lenient options validate with no errors
    			for _, err := range validateCertificateSigningRequest(tt.csr, tt.lenientOpts) {
    				t.Errorf("unexpected error with lenient options: %s", err.Error())
    			}
    
    			// make sure the strict options produce the expected errors
    			gotErrs := sets.NewString()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
Back to top