- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for JSONSchemaPropsOrArray (0.3 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/marshal_test.go
{JSONSchemaPropsOrArrayHolder{JSPoA: JSONSchemaPropsOrArray{Schema: &JSONSchemaProps{}}}, `{"val1":{}}`}, {JSONSchemaPropsOrArrayHolder{JSPoA: JSONSchemaPropsOrArray{Schema: &JSONSchemaProps{Type: "string"}}}, `{"val1":{"type":"string"}}`}, {JSONSchemaPropsOrArrayHolder{JSPoA: JSONSchemaPropsOrArray{JSONSchemas: []JSONSchemaProps{{}}}}, `{"val1":[{}]}`},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 10 12:12:24 UTC 2018 - 7.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/marshal_test.go
{JSONSchemaPropsOrArrayHolder{JSPoA: JSONSchemaPropsOrArray{Schema: &JSONSchemaProps{}}}, `{"val1":{}}`}, {JSONSchemaPropsOrArrayHolder{JSPoA: JSONSchemaPropsOrArray{Schema: &JSONSchemaProps{Type: "string"}}}, `{"val1":{"type":"string"}}`}, {JSONSchemaPropsOrArrayHolder{JSPoA: JSONSchemaPropsOrArray{JSONSchemas: []JSONSchemaProps{{}}}}, `{"val1":[{}]}`},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 15 16:26:13 UTC 2019 - 7.1K bytes - Viewed (0) -
api/api-rules/apiextensions_violation_exceptions.list
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrArray,JSONSchemas API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrArray,Schema API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrBool,Allows
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:21 UTC 2023 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/marshal.go
return err } } *s = nw return nil } func (s JSONSchemaPropsOrArray) MarshalJSON() ([]byte, error) { if len(s.JSONSchemas) > 0 { return json.Marshal(s.JSONSchemas) } return json.Marshal(s.Schema) } func (s *JSONSchemaPropsOrArray) UnmarshalJSON(data []byte) error { var nw JSONSchemaPropsOrArray var first byte if len(data) > 1 { first = data[0] } if first == '{' {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 13 21:12:46 UTC 2021 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/marshal.go
return err } } *s = nw return nil } func (s JSONSchemaPropsOrArray) MarshalJSON() ([]byte, error) { if len(s.JSONSchemas) > 0 { return json.Marshal(s.JSONSchemas) } return json.Marshal(s.Schema) } func (s *JSONSchemaPropsOrArray) UnmarshalJSON(data []byte) error { var nw JSONSchemaPropsOrArray var first byte if len(data) > 1 { first = data[0] } if first == '{' {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 13 21:12:46 UTC 2021 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert_test.go
f.RandSource(rand.New(rand.NewSource(seed))) f.Funcs( func(s *apiextensions.JSON, c fuzz.Continue) { *s = apiextensions.JSON(map[string]interface{}{"foo": float64(42.2)}) }, func(s *apiextensions.JSONSchemaPropsOrArray, c fuzz.Continue) { c.FuzzNoCustom(s) if s.Schema != nil { s.JSONSchemas = nil } else if s.JSONSchemas == nil { s.Schema = &apiextensions.JSONSchemaProps{} } },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 02:09:41 UTC 2022 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/deepcopy.go
*out = make([]string, len(*in)) copy(*out, *in) } if in.Items != nil { in, out := &in.Items, &out.Items if *in == nil { *out = nil } else { *out = new(JSONSchemaPropsOrArray) (*in).DeepCopyInto(*out) } } if in.AllOf != nil { in, out := &in.AllOf, &out.AllOf *out = make([]JSONSchemaProps, len(*in)) for i := range *in {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 17:55:23 UTC 2023 - 5.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/deepcopy.go
*out = make([]string, len(*in)) copy(*out, *in) } if in.Items != nil { in, out := &in.Items, &out.Items if *in == nil { *out = nil } else { *out = new(JSONSchemaPropsOrArray) (*in).DeepCopyInto(*out) } } if in.AllOf != nil { in, out := &in.AllOf, &out.AllOf *out = make([]JSONSchemaProps, len(*in)) for i := range *in {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 17:55:23 UTC 2023 - 6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/fuzzer/fuzzer.go
if c.RandBool() { obj.Allows = true obj.Schema = &apiextensions.JSONSchemaProps{} c.Fuzz(obj.Schema) } else { obj.Allows = c.RandBool() } }, func(obj *apiextensions.JSONSchemaPropsOrArray, c fuzz.Continue) { // disallow both Schema and JSONSchemas to be nil. if c.RandBool() { obj.Schema = &apiextensions.JSONSchemaProps{} c.Fuzz(obj.Schema) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 6.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/deepcopy.go
*out = make([]string, len(*in)) copy(*out, *in) } if in.Items != nil { in, out := &in.Items, &out.Items if *in == nil { *out = nil } else { *out = new(JSONSchemaPropsOrArray) (*in).DeepCopyInto(*out) } } if in.AllOf != nil { in, out := &in.AllOf, &out.AllOf *out = make([]JSONSchemaProps, len(*in)) for i := range *in {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 17:55:23 UTC 2023 - 5.5K bytes - Viewed (0)