Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NotSupported (0.21 sec)

  1. 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)
  2. pkg/apis/batch/validation/validation.go

    				allErrs = append(allErrs, field.NotSupported(fldPath, *spec.PodReplacementPolicy, []batch.PodReplacementPolicy{batch.Failed}))
    			}
    			// If PodFailurePolicy not specified we allow values in supportedPodReplacementPolicy.
    		} else if !supportedPodReplacementPolicy.Has(*spec.PodReplacementPolicy) {
    			allErrs = append(allErrs, field.NotSupported(fldPath, *spec.PodReplacementPolicy, sets.List(supportedPodReplacementPolicy)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		}
    		return field.ErrorList{}
    	}
    	for _, a := range accepted {
    		if a == value {
    			return field.ErrorList{}
    		}
    	}
    	return field.ErrorList{field.NotSupported(fldPath, value, accepted)}
    }
    
    // AcceptedConversionReviewVersions contains the list of ConversionReview versions the *prior* version of the API server understands.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  4. pkg/apis/flowcontrol/validation/validation_test.go

    						Verbs:           []string{"*"},
    						NonResourceURLs: []string{flowcontrol.NonResourceAll},
    					}},
    				}},
    			},
    		},
    		expectedErrors: field.ErrorList{
    			field.NotSupported(field.NewPath("spec").Child("rules").Index(0).Child("subjects").Index(0).Child("kind"), flowcontrol.SubjectKind("FooKind"), supportedSubjectKinds.List()),
    		},
    	}, {
    		name: "flow-schema w/ invalid verb should fail",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    			configuration: api.AuthorizationConfiguration{
    				Authorizers: []api.AuthorizerConfiguration{
    					{
    						Type: "Foo",
    					},
    				},
    			},
    			expectedErrList: field.ErrorList{field.NotSupported(field.NewPath("type"), "Foo", []string{"..."})},
    			knownTypes:      sets.NewString(string("Webhook")),
    			repeatableTypes: sets.NewString(string("Webhook")),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. pkg/apis/certificates/validation/validation_test.go

    					Request:    newCSRPEM(t),
    					SignerName: validSignerName,
    				},
    			},
    			errs: field.ErrorList{
    				field.NotSupported(specPath.Child("usages").Index(0), capi.KeyUsage("unknown"), allValidUsages.List()),
    				field.NotSupported(specPath.Child("usages").Index(1), capi.KeyUsage("unknown"), allValidUsages.List()),
    				field.Duplicate(specPath.Child("usages").Index(1), capi.KeyUsage("unknown")),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  7. pkg/apis/networking/validation/validation_test.go

    			ingressClass: makeValidIngressClass("test123", "foo.co/bar",
    				setParams(makeIngressClassParams(nil, "foo", "bar", utilpointer.String("bad-scope"), nil)),
    			),
    			expectedErrs: field.ErrorList{field.NotSupported(field.NewPath("spec.parameters.scope"),
    				"bad-scope", []string{"Cluster", "Namespace"})},
    		},
    		"valid name, valid controller, valid Namespace scope": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    ====
    
    Running the task with the configuration cache enabled produces the following error:
    ----
    include::{snippetsPath}/configurationCache/topLevel/tests-groovy/notSupported.out[]
    ----
    
    To prevent the task from failing, convert the referenced top-level method to a static method within a class:
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
Back to top