- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for NotSupported (0.23 sec)
-
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) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go
aType := string(a.Type) if aType == "" { allErrs = append(allErrs, field.Required(fldPath.Child("type"), "")) continue } if !knownTypes.Has(aType) { allErrs = append(allErrs, field.NotSupported(fldPath.Child("type"), aType, knownTypes.List())) continue } if seenAuthorizerTypes.Has(aType) && !repeatableTypes.Has(aType) { allErrs = append(allErrs, field.Duplicate(fldPath.Child("type"), aType))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 31.3K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
if azure.CachingMode != nil && !supportedCachingModes.Has(*azure.CachingMode) { allErrs = append(allErrs, field.NotSupported(fldPath.Child("cachingMode"), *azure.CachingMode, sets.List(supportedCachingModes))) } if azure.Kind != nil && !supportedDiskKinds.Has(*azure.Kind) { allErrs = append(allErrs, field.NotSupported(fldPath.Child("kind"), *azure.Kind, sets.List(supportedDiskKinds))) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go
template := testClaimTemplate(goodName, goodNS, goodClaimSpec) template.Spec.Spec.ResourceClassName = badName return template }(), }, "bad-mode": { wantFailures: field.ErrorList{field.NotSupported(field.NewPath("spec", "spec", "allocationMode"), invalidMode, supportedAllocationModes.List())}, template: func() *resource.ResourceClaimTemplate { template := testClaimTemplate(goodName, goodNS, goodClaimSpec)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 12.3K bytes - Viewed (0) -
pkg/apis/apps/validation/validation_test.go
errs: field.ErrorList{ field.NotSupported[string](field.NewPath("spec", "template", "spec", "restartPolicy"), nil, nil), }, }, { name: "invalid restart policy 2", set: mkStatefulSet(&validPodTemplate, tweakTemplateRestartPolicy(api.RestartPolicyNever)), errs: field.ErrorList{ field.NotSupported[string](field.NewPath("spec", "template", "spec", "restartPolicy"), nil, nil), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0) -
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) -
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) -
pkg/proxy/apis/config/validation/validation.go
string(kubeproxyconfig.LocalModeInterfaceNamePrefix), "", } if sets.New(validModes...).Has(string(mode)) { return nil } return field.ErrorList{field.NotSupported(fldPath, string(mode), validModes)} } func validateClientConnectionConfiguration(config componentbaseconfig.ClientConnectionConfiguration, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/apis/resource/validation/validation.go
} allErrs = append(allErrs, validateResourceClaimParametersRef(spec.ParametersRef, fldPath.Child("parametersRef"))...) if !supportedAllocationModes.Has(string(spec.AllocationMode)) { allErrs = append(allErrs, field.NotSupported(fldPath.Child("allocationMode"), spec.AllocationMode, supportedAllocationModes.List())) } return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.3K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaim_test.go
claim := testClaim(goodName, goodNS, goodClaimSpec) claim.Spec.ResourceClassName = badName return claim }(), }, "bad-mode": { wantFailures: field.ErrorList{field.NotSupported(field.NewPath("spec", "allocationMode"), invalidMode, supportedAllocationModes.List())}, claim: func() *resource.ResourceClaim { claim := testClaim(goodName, goodNS, goodClaimSpec)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.7K bytes - Viewed (0)