Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for XListMapKeys (0.15 sec)

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

    	}
    	if v.ForbiddenExtensions.XIntOrString {
    		allErrs = append(allErrs, field.Forbidden(fldPath.Child("x-kubernetes-int-or-string"), "must be false to be structural"))
    	}
    	if len(v.ForbiddenExtensions.XListMapKeys) > 0 {
    		allErrs = append(allErrs, field.Forbidden(fldPath.Child("x-kubernetes-list-map-keys"), "must be empty to be structural"))
    	}
    	if v.ForbiddenExtensions.XListType != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 14.9K 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)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			Type: "array",
    		},
    		Extensions: schema.Extensions{
    			XListType: &listType,
    		},
    		Items: items,
    	}
    	if len(keys) > 0 && listType == "map" {
    		result.Extensions.XListMapKeys = keys
    	}
    	return result
    }
    
    func ValsEqualThemselvesAndDataLiteral(val1, val2 string, dataLiteral string) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top