Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for listMapType (0.16 sec)

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

    					map[string]interface{}{"k": "a2", "v": "b2"},
    					map[string]interface{}{"k": "a3", "v": "b3", "v2": "z"},
    				},
    			},
    			schema: objectTypePtr(map[string]schema.Structural{
    				"listMap": listMapType([]string{"k"}, objectTypePtr(map[string]schema.Structural{
    					"k":  stringType,
    					"v":  stringType,
    					"v2": stringType,
    				})),
    			}),
    			expectCost: map[string]int64{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    func listSetType(items *schema.Structural) schema.Structural {
    	return arrayType("set", nil, items)
    }
    
    func listMapType(keys []string, items *schema.Structural) schema.Structural {
    	return arrayType("map", keys, items)
    }
    
    func listMapTypePtr(keys []string, items *schema.Structural) *schema.Structural {
    	l := listMapType(keys, items)
    	return &l
    }
    
    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