- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for XValidations (0.5 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation_test.go
fuzzer.Fuzz(&vv.ValidationExtensions.XValidations) errs := validateNestedValueValidation(&vv, false, false, fieldLevel, nil, opts) if allowedNestedXValidations { if len(errs) != 0 { t.Errorf("unexpected XValidations validation errors for: %#v", vv) } } else if len(errs) == 0 && len(vv.ValidationExtensions.XValidations) != 0 { t.Errorf("expected XValidations validation errors for: %#v", vv) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 18:20:00 UTC 2024 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go
t := time.Now() defer func() { metrics.Metrics.ObserveCompilation(time.Since(t)) }() if len(s.XValidations) == 0 { return nil, nil } celRules := s.XValidations oldSelfEnvSet, optionalOldSelfEnvSet, err := prepareEnvSet(baseEnvSet, declType) if err != nil { return nil, err } estimator := newCostEstimator(declType)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 13.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go
} // validator creates a Validator for all x-kubernetes-validations at the level of the provided schema and lower and // returns the Validator if any x-kubernetes-validations exist in the schema, or nil if no x-kubernetes-validations // exist. declType is expected to be a CEL DeclType corresponding to the structural schema.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 18:21:31 UTC 2024 - 32.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation.go
allErrs = append(allErrs, field.Forbidden(fldPath.Child("x-kubernetes-map-type"), "must be undefined to be structural")) } if len(v.ValidationExtensions.XValidations) > 0 && !opts.AllowNestedXValidations { allErrs = append(allErrs, field.Forbidden(fldPath.Child("x-kubernetes-validations"), "must be empty to be structural")) } // forbid reasoning about metadata because it can lead to metadata restriction we don't want
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 18:21:31 UTC 2024 - 14.9K bytes - Viewed (0) -
api/api-rules/violation_exceptions.list
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XPreserveUnknownFields API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XValidations API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrArray,JSONSchemas
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 02:59:09 UTC 2024 - 29.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) -
samples/addons/kiali.yaml
kiali_feature_flags: certificates_information_indicators: enabled: true secrets: - cacerts - istio-ca-secret disabled_features: [] validations: ignore: - KIA1301 login_token: signing_key: CHANGEME00000000 server: observability: metrics: enabled: true port: 9090
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 18:57:35 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt
* - `readLine()`, `readFully(ByteArray)`, `readFully(ByteArray, Int, Int)`, `readUnshared()`, `readFields()`, `transferTo(OutputStream)` and `readAllBytes()`. * - validations registered via [ObjectInputStream.registerValidation] are simply ignored; * - the `readObjectNoData` method, if present, is never invoked; */ class JavaObjectSerializationCodec(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 11.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/dependency_locking.adoc
=== Fine tuning dependency locking behaviour with lock mode While the default lock mode behaves as described above, two other modes are available: Strict mode:: In this mode, in addition to the validations above, dependency locking will fail if a configuration marked as _locked_ does not have lock state associated with it. Lenient mode::
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 16:55:22 UTC 2024 - 15.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java
} if (ruleMethod.getTypeParameters().length > 0) { problems.add(ruleMethod, "Cannot have type variables (i.e. cannot be a generic method)"); } // TODO validations on method: synthetic, bridge methods, varargs, abstract, native ModelType<?> returnType = ModelType.returnType(ruleMethod); if (returnType.isRawClassOfParameterizedType()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 26K bytes - Viewed (0)