- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for XValidations (0.25 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 7.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/adaptor.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/kubeopenapi.go
} } func (x *ValidationExtensions) toKubeOpenAPI(ret *spec.Schema) { if x == nil { return } if len(x.XValidations) > 0 { ret.VendorExtensible.AddExtension("x-kubernetes-validations", x.XValidations) } } func (v *ValueValidation) toKubeOpenAPI(ret *spec.Schema) { if v == nil { return } ret.Format = v.Format ret.Maximum = v.Maximum
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/zz_generated.deepcopy.go
func (in *ValidationExtensions) DeepCopyInto(out *ValidationExtensions) { *out = *in if in.XValidations != nil { in, out := &in.XValidations, &out.XValidations *out = make(v1.ValidationRules, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 7.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert.go
if s == nil { return nil, nil } ret := &ValidationExtensions{} if err := apiextensionsv1.Convert_apiextensions_ValidationRules_To_v1_ValidationRules(&s.XValidations, &ret.XValidations, nil); err != nil { return nil, err } return ret, nil } // validateUnsupportedFields checks that those fields rejected by validation are actually unset.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/structural.go
// used for validation rather than structure. type ValidationExtensions struct { // x-kubernetes-validations describes a list of validation rules for expression validation. // Use the v1 struct since this gets serialized as an extension. XValidations apiextensionsv1.ValidationRules } // +k8s:deepcopy-gen=true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 6.9K bytes - Viewed (0) -
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/zh/docs/tutorial/query-params-str-validations.md
"bar" ] } ``` !!! tip 要声明类型为 `list` 的查询参数,如上例所示,你需要显式地使用 `Query`,否则该参数将被解释为请求体。 交互式 API 文档将会相应地进行更新,以允许使用多个值: <img src="https://fastapi.tiangolo.com/img/tutorial/query-params-str-validations/image02.png"> ### 具有默认值的查询参数列表 / 多个值 你还可以定义在没有任何给定值时的默认 `list` 值: ```Python hl_lines="9" {!../../../docs_src/query_params_str_validations/tutorial012.py!} ``` 如果你访问: ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 9.2K 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) -
.github/ISSUE_TEMPLATE/10_contributor_bug_report.yml
id: current-behavior attributes: label: Current Behavior description: Tell us what happens validations: required: true - type: textarea id: expected-behavior attributes: label: Expected Behavior description: Tell us what should happen validations: required: true - type: textarea id: context attributes: label: Context (optional)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 16 07:49:32 UTC 2024 - 3K bytes - Viewed (0)