- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 693 for validations (0.38 sec)
-
docs/en/docs/tutorial/path-params-numeric-validations.md
``` ## Recap With `Query`, `Path` (and others you haven't seen yet) you can declare metadata and string validations in the same ways as with [Query Parameters and String Validations](query-params-str-validations.md){.internal-link target=_blank}. And you can also declare numeric validations: * `gt`: `g`reater `t`han * `ge`: `g`reater than or `e`qual * `lt`: `l`ess `t`han * `le`: `l`ess than or `e`qual
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Jun 01 21:05:52 UTC 2024 - 9K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
``` ## Recap You can declare additional validations and metadata for your parameters. Generic validations and metadata: * `alias` * `title` * `description` * `deprecated` Validations specific for strings: * `min_length` * `max_length` * `pattern` In these examples you saw how to declare validations for `str` values.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri May 31 02:38:05 UTC 2024 - 25.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-params-numeric-validations.md
## Резюме С помощью `Query`, `Path` (и других классов, которые мы пока не затронули) вы можете добавлять метаданные и строковую валидацию тем же способом, как и в главе [Query-параметры и валидация строк](query-params-str-validations.md){.internal-link target=_blank}. А также вы можете добавить валидацию числовых данных: * `gt`: больше (`g`reater `t`han) * `ge`: больше или равно (`g`reater than or `e`qual) * `lt`: меньше (`l`ess `t`han)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 14.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
c := NewFilterCompiler(env) f := c.Compile(tc.validations, OptionalVariableDeclarations{HasParams: tc.hasParamKind, HasAuthorizer: tc.authorizer != nil, StrictCost: tc.strictCost}, environment.NewExpressions) if f == nil { t.Fatalf("unexpected nil validator") } validations := tc.validations CompilationResults := f.(*filter).compilationResults require.Equal(t, len(validations), len(CompilationResults))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
} else if typeInfo == nil { allErrs.CELErrors = append(allErrs.CELErrors, field.InternalError(fldPath.Child("x-kubernetes-validations"), fmt.Errorf("internal error: failed to retrieve type information for x-kubernetes-validations"))) } else {
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/apiextensions-apiserver/pkg/apiserver/schema/complete.go
"fmt" "k8s.io/apimachinery/pkg/util/validation/field" ) // validateStructuralCompleteness checks that all value validations in s have // a structural counterpart so that every value validation applies to a value // with a known schema: // - validations for specific properties must have that property (or additionalProperties under an option) structurally defined
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 18:20:00 UTC 2024 - 4.5K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/03-gopls.yml
validations: required: true - type: textarea id: actual-behavior attributes: label: "What did you see happen?" validations: required: true - type: textarea id: expected-behavior attributes: label: "What did you expect to see?" validations: required: true - type: textarea
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:09:04 UTC 2024 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go
errors: []validationMatch{ invalid("spec", "validation", "openAPIV3Schema", "x-kubernetes-validations[2]", "fieldPath"), invalid("spec", "validation", "openAPIV3Schema", "x-kubernetes-validations[3]", "fieldPath"), invalid("spec", "validation", "openAPIV3Schema", "x-kubernetes-validations[4]", "fieldPath"), invalid("spec", "validation", "openAPIV3Schema", "x-kubernetes-validations[4]", "fieldPath"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 349.4K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation_test.go
}, expectedError: `spec.validations: Required value: validations or auditAnnotations must contain at least one item`, }, { name: "Invalid Validations Reason", config: &admissionregistration.ValidatingAdmissionPolicy{ ObjectMeta: metav1.ObjectMeta{ Name: "config", }, Spec: admissionregistration.ValidatingAdmissionPolicySpec{ Validations: []admissionregistration.Validation{{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 147.1K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/WithPluginValidation.groovy
TestFile projectRootFile = owner.file(".") def validation = new PluginValidation(id, projectPathToBuildDir.getBuildDir(projectPath, projectRootFile), owner) validations << validation spec.delegate = validation spec.resolveStrategy = Closure.DELEGATE_FIRST spec() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:13:38 UTC 2024 - 7.2K bytes - Viewed (0)