Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for NotSupported (0.27 sec)

  1. platforms/documentation/docs/src/snippets/configurationCache/topLevel/tests-kotlin/notSupported.out

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 217 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/configurationCache/topLevel/tests-groovy/notSupported.out

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 180 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/configurationCache/topLevel/tests-groovy/notSupported.sample.conf

    commands: [{
        executable: gradle
        args: listFiles
        expect-failure: true
        expected-output-file: notSupported.out
        allow-additional-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 161 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/configurationCache/topLevel/tests-kotlin/notSupported.sample.conf

    commands: [{
        executable: gradle
        args: listFiles
        expect-failure: true
        allow-additional-output: true
        expected-output-file: notSupported.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 161 bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jna/UnsupportedEnvironment.java

            throw notSupported();
        }
    
        @Override
        public EnvironmentModificationResult maybeRemoveEnvironmentVariable(String name) {
            return EnvironmentModificationResult.UNSUPPORTED_ENVIRONMENT;
        }
    
        @Override
        public void setEnvironmentVariable(String name, String value) throws NativeIntegrationException {
            throw notSupported();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors_test.go

    		t.Errorf("should filter")
    	}
    }
    
    func TestNotSupported(t *testing.T) {
    	notSupported := NotSupported(NewPath("f"), "v", []string{"a", "b", "c"})
    	expected := `Unsupported value: "v": supported values: "a", "b", "c"`
    	if notSupported.ErrorBody() != expected {
    		t.Errorf("Expected: %s\n, but got: %s\n", expected, notSupported.ErrorBody())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/validation/validation.go

    		allErrors = append(allErrors, field.NotSupported(fldPath.Child("failurePolicy"), *hook.FailurePolicy, supportedFailurePolicies.List()))
    	}
    	if hook.MatchPolicy != nil && !supportedMatchPolicies.Has(string(*hook.MatchPolicy)) {
    		allErrors = append(allErrors, field.NotSupported(fldPath.Child("matchPolicy"), *hook.MatchPolicy, supportedMatchPolicies.List()))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  8. pkg/apis/flowcontrol/validation/validation.go

    	}
    	if spec.DistinguisherMethod != nil {
    		if !supportedDistinguisherMethods.Has(string(spec.DistinguisherMethod.Type)) {
    			allErrs = append(allErrs, field.NotSupported(fldPath.Child("distinguisherMethod").Child("type"), spec.DistinguisherMethod, supportedDistinguisherMethods.List()))
    		}
    	}
    	if len(spec.PriorityLevelConfiguration.Name) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    	return &Error{ErrorTypeInvalid, field.String(), value, detail}
    }
    
    // NotSupported returns a *Error indicating "unsupported value".
    // This is used to report unknown values for enumerated fields (e.g. a list of
    // valid values).
    func NotSupported[T ~string](field *Path, value interface{}, validValues []T) *Error {
    	detail := ""
    	if len(validValues) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. pkg/apis/autoscaling/validation/validation.go

    				fmt.Sprintf("must be less than or equal to %v", MaxStabilizationWindowSeconds)))
    		}
    		if rules.SelectPolicy != nil && !validSelectPolicyTypes.Has(string(*rules.SelectPolicy)) {
    			allErrs = append(allErrs, field.NotSupported(fldPath.Child("selectPolicy"), rules.SelectPolicy, validSelectPolicyTypesList))
    		}
    		policiesPath := fldPath.Child("policies")
    		if len(rules.Policies) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:58:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top