- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 46 for NotSupported (0.26 sec)
-
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/policy/validation/validation.go
if spec.UnhealthyPodEvictionPolicy != nil && !supportedUnhealthyPodEvictionPolicies.Has(string(*spec.UnhealthyPodEvictionPolicy)) { allErrs = append(allErrs, field.NotSupported(fldPath.Child("unhealthyPodEvictionPolicy"), *spec.UnhealthyPodEvictionPolicy, supportedUnhealthyPodEvictionPolicies.List())) } return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 20:44:13 UTC 2023 - 5.2K 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/credentialprovider/plugin/config.go
validAPIVersions := []string{} for apiVersion := range apiVersions { validAPIVersions = append(validAPIVersions, apiVersion) } allErrs = append(allErrs, field.NotSupported(fieldPath.Child("apiVersion"), provider.APIVersion, validAPIVersions)) } if len(provider.MatchImages) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 19 15:11:57 UTC 2023 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/audit/validation/validation.go
case audit.LevelNone, audit.LevelMetadata, audit.LevelRequest, audit.LevelRequestResponse: return nil case "": return field.ErrorList{field.Required(fldPath, "")} default: return field.ErrorList{field.NotSupported(fldPath, level, validLevels)} } } func validateNonResourceURLs(urls []string, fldPath *field.Path) field.ErrorList { var allErrs field.ErrorList for i, url := range urls { if url == "*" { continue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 15 14:13:07 UTC 2019 - 4.6K 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) -
plugin/pkg/admission/alwayspullimages/admission.go
pods.VisitContainersWithPath(&pod.Spec, field.NewPath("spec"), func(c *api.Container, p *field.Path) bool { if c.ImagePullPolicy != api.PullAlways { allErrs = append(allErrs, admission.NewForbidden(attributes, field.NotSupported(p.Child("imagePullPolicy"), c.ImagePullPolicy, []string{string(api.PullAlways)}), )) } return true }) if len(allErrs) > 0 { return utilerrors.NewAggregate(allErrs) } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 30 22:59:57 UTC 2020 - 5.2K bytes - Viewed (0) -
pkg/apis/certificates/validation/validation.go
} if !opts.allowUnknownUsages { for i, usage := range csr.Spec.Usages { if !allValidUsages.Has(string(usage)) { allErrs = append(allErrs, field.NotSupported(specPath.Child("usages").Index(i), usage, allValidUsages.List())) } } } if !opts.allowDuplicateUsages { seen := make(map[certificates.KeyUsage]bool, len(csr.Spec.Usages))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:49 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/apis/storagemigration/validation/validation.go
// status is set and is an accepted value if !validConditionStatuses.Has(string(condition.Status)) { allErrs = append(allErrs, field.NotSupported(fldPath.Child("status"), condition.Status, validConditionStatuses.List())) } if condition.LastUpdateTime.IsZero() { allErrs = append(allErrs, field.Required(fldPath.Child("lastTransitionTime"), "must be set")) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 9.5K bytes - Viewed (0)