- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for NotSupported (0.67 sec)
-
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) -
pkg/apis/storage/validation/validation.go
allErrs := field.ErrorList{} if len(string(*reclaimPolicy)) > 0 { if !supportedReclaimPolicy.Has(string(*reclaimPolicy)) { allErrs = append(allErrs, field.NotSupported(fldPath, reclaimPolicy, supportedReclaimPolicy.List())) } } return allErrs } // ValidateVolumeAttachment validates a VolumeAttachment. This function is common for v1 and v1beta1 objects,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 00:47:13 UTC 2024 - 25.5K 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/apps/validation/validation.go
var allErrs field.ErrorList switch policy { case apps.RetainPersistentVolumeClaimRetentionPolicyType: case apps.DeletePersistentVolumeClaimRetentionPolicyType: default: allErrs = append(allErrs, field.NotSupported(fldPath, policy, []string{string(apps.RetainPersistentVolumeClaimRetentionPolicyType), string(apps.DeletePersistentVolumeClaimRetentionPolicyType)})) } return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 06 22:11:20 UTC 2024 - 41.4K bytes - Viewed (0) -
pkg/apis/networking/validation/validation.go
allErrs := field.ErrorList{} if port.Protocol != nil && *port.Protocol != api.ProtocolTCP && *port.Protocol != api.ProtocolUDP && *port.Protocol != api.ProtocolSCTP { allErrs = append(allErrs, field.NotSupported(portPath.Child("protocol"), *port.Protocol, []string{string(api.ProtocolTCP), string(api.ProtocolUDP), string(api.ProtocolSCTP)})) } if port.Port != nil { if port.Port.Type == intstr.Int {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 07 14:48:01 UTC 2024 - 31.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/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) -
pkg/proxy/apis/config/validation/validation_test.go
}, "invalid DetectLocalMode": { mutateConfigFunc: func(config *kubeproxyconfig.KubeProxyConfiguration) { config.DetectLocalMode = "Guess" }, expectedErrs: field.ErrorList{field.NotSupported(newPath.Child("DetectLocalMode"), "Guess", []string{"ClusterCIDR", "NodeCIDR", "BridgeInterface", "InterfaceNamePrefix", ""})}, }, "invalid logging format": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 33.3K bytes - Viewed (0)