Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for XListMapKeys (0.13 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    					allErrs.SchemaErrors = append(allErrs.SchemaErrors, field.Invalid(fldPath.Child("x-kubernetes-list-map-keys"), schema.XListMapKeys, "entries must all be names of item properties"))
    				}
    				if _, ok := keys[k]; ok {
    					allErrs.SchemaErrors = append(allErrs.SchemaErrors, field.Invalid(fldPath.Child("x-kubernetes-list-map-keys"), schema.XListMapKeys, "must not contain duplicate entries"))
    				}
    				keys[k] = struct{}{}
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    					Type: "object",
    					Properties: map[string]apiextensionsv1.JSONSchemaProps{
    						"field": {
    							Type:         "array",
    							XListType:    ptr("map"),
    							XListMapKeys: []string{"name", "port"},
    							Items: &apiextensionsv1.JSONSchemaPropsOrArray{
    								Schema: &apiextensionsv1.JSONSchemaProps{
    									Type:     "object",
    									Required: []string{"name", "port"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
Back to top