- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 216 for fdpath (0.11 sec)
-
pkg/apis/policy/validation/validation.go
allErrs = append(allErrs, appsvalidation.IsNotMoreThan100Percent(*spec.MinAvailable, fldPath.Child("minAvailable"))...) } if spec.MaxUnavailable != nil { allErrs = append(allErrs, appsvalidation.ValidatePositiveIntOrPercent(*spec.MaxUnavailable, fldPath.Child("maxUnavailable"))...)
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/apiserverinternal/validation/validation.go
} if err := validateCommonVersion(ss, fldPath); err != nil { allErrs = append(allErrs, err) } allErrs = append(allErrs, validateStorageVersionCondition(ss.Conditions, fldPath)...) return allErrs } func validateServerStorageVersion(ssv apiserverinternal.ServerStorageVersion, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 13 21:43:49 UTC 2023 - 9.1K bytes - Viewed (0) -
pkg/apis/core/pods/helpers.go
fldPath := specPath.Child("initContainers") for i := range podSpec.InitContainers { if !visitor(&podSpec.InitContainers[i], fldPath.Index(i)) { return false } } fldPath = specPath.Child("containers") for i := range podSpec.Containers { if !visitor(&podSpec.Containers[i], fldPath.Index(i)) { return false } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 01:35:30 UTC 2023 - 3.2K bytes - Viewed (0) -
pkg/apis/core/validation/names.go
// We then add an additional 2 characters to account for the one '.' and one '/'. func ValidateSignerName(fldPath *field.Path, signerName string) field.ErrorList { var el field.ErrorList if len(signerName) == 0 { el = append(el, field.Required(fldPath, "")) return el } segments := strings.Split(signerName, "/") // validate that there is one '/' in the signerName.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 5.5K bytes - Viewed (0) -
pkg/apis/node/validation/validation.go
} allErrs = append(allErrs, validateTolerations(s.Tolerations, fldPath.Child("tolerations"))...) return allErrs } func validateTolerations(tolerations []core.Toleration, fldPath *field.Path) field.ErrorList { allErrs := corevalidation.ValidateTolerations(tolerations, fldPath.Child("tolerations")) // Ensure uniquenes of tolerations.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:08:24 UTC 2022 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go
} segments := strings.SplitN(dpPath, "/", 2) if len(segments) != 2 || len(segments[0]) == 0 || len(segments[1]) == 0 { return append(allErrs, field.Invalid(fldPath, dpPath, "must be a domain-prefixed path (such as \"acme.io/foo\")")) } host := segments[0] for _, err := range IsDNS1123Subdomain(host) { allErrs = append(allErrs, field.Invalid(fldPath, host, err)) } path := segments[1]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 16:08:43 UTC 2024 - 19K bytes - Viewed (0) -
pkg/apis/authorization/validation/validation.go
// ErrorList with any errors. func ValidateSubjectAccessReviewSpec(spec authorizationapi.SubjectAccessReviewSpec, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} if spec.ResourceAttributes != nil && spec.NonResourceAttributes != nil { allErrs = append(allErrs, field.Invalid(fldPath.Child("nonResourceAttributes"), spec.NonResourceAttributes, `cannot be specified in combination with resourceAttributes`)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 18 15:37:57 UTC 2023 - 4.8K bytes - Viewed (0) -
src/go/internal/gccgoimporter/importer.go
} reader = rs fpath = "<lookup " + pkgpath + ">" // Take name from Name method (like on os.File) if present. if n, ok := rc.(interface{ Name() string }); ok { fpath = n.Name() } } else { fpath, err = findExportFile(searchpaths, pkgpath) if err != nil { return nil, err } r, closer, err := openExportFile(fpath) if err != nil { return nil, err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 18:41:18 UTC 2020 - 6.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go
} func fieldErrorForReason(fldPath *field.Path, value interface{}, detail string, reason *apiextensions.FieldValueErrorReason) *field.Error { if reason == nil { return field.Invalid(fldPath, value, detail) } switch *reason { case apiextensions.FieldValueForbidden: return field.Forbidden(fldPath, detail) case apiextensions.FieldValueRequired: return field.Required(fldPath, detail)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 18:21:31 UTC 2024 - 32.2K bytes - Viewed (0) -
pkg/apis/coordination/validation/validation.go
return allErrs } // ValidateLeaseSpec validates spec of Lease. func ValidateLeaseSpec(spec *coordination.LeaseSpec, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} if spec.LeaseDurationSeconds != nil && *spec.LeaseDurationSeconds <= 0 { fld := fldPath.Child("leaseDurationSeconds") allErrs = append(allErrs, field.Invalid(fld, spec.LeaseDurationSeconds, "must be greater than 0")) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 03 17:25:43 UTC 2022 - 2K bytes - Viewed (0)