Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 331 for keyA (0.04 sec)

  1. pkg/apis/core/v1/helper/helpers_test.go

    				{
    					Key:      "key1",
    					Operator: v1.NodeSelectorOpIn,
    					Values:   []string{"test-value1"},
    				},
    				{
    					Key:      "key2",
    					Operator: v1.NodeSelectorOpIn,
    					Values:   []string{"test-value2"},
    				},
    				{
    					Key:      "key3",
    					Operator: v1.NodeSelectorOpIn,
    					Values:   []string{"test-value3"},
    				},
    				{
    					Key:      "key6",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. pkg/controller/controller_utils_test.go

    								{Key: "key2", Value: "value2", Effect: "NoExecute"},
    								{Key: "key3", Value: "value3", Effect: "NoSchedule"},
    								{Key: "key4", Value: "value4", Effect: "NoExecute"},
    							},
    						},
    					},
    				},
    				Clientset: fake.NewSimpleClientset(&v1.PodList{Items: []v1.Pod{*testutil.NewPod("pod0", "node0")}}),
    			},
    			nodeName: "node1",
    			taintsToRemove: []*v1.Taint{
    				{Key: "key2", Value: "value2", Effect: "NoExecute"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    				"X-Remote-Group-2":      {"two-a", "two-b"},
    				"X-Remote-extra-1-key1": {"alfa", "bravo"},
    				"X-Remote-Extra-1-Key2": {"charlie", "delta"},
    				"X-Remote-Extra-1-":     {"india", "juliet"},
    				"X-Remote-extra-2-":     {"kilo", "lima"},
    				"X-Remote-extra-2-Key1": {"echo", "foxtrot"},
    				"X-Remote-Extra-2-key2": {"golf", "hotel"},
    			},
    		},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go

    					"key1": "a1",
    					"key2": "a2",
    					"val":  1,
    				},
    				map[string]interface{}{
    					"key1": "b1",
    					"key2": "b2",
    					"val":  2,
    				},
    			}, &multiKeyMapListSchema),
    			rhs: UnstructuredToVal([]interface{}{
    				map[string]interface{}{
    					"key1": "a1",
    					"key2": "a2",
    					"val":  1,
    				},
    				map[string]interface{}{
    					"key1": "b1",
    					"key2": "b2",
    					"val":  3,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. src/runtime/map_test.go

    	const key2 = "x"
    
    	m := make(map[string]int)
    	m[key1] = 99
    	delete(m, key1)
    	m[key2] += 1
    	if n2 := m[key2]; n2 != 1 {
    		t.Errorf("incremented 0 to %d", n2)
    	}
    }
    
    func TestIncrementAfterDeleteKeyValueString(t *testing.T) {
    	const key1 = ""
    	const key2 = "x"
    
    	m := make(map[string]string)
    	m[key1] = "99"
    	delete(m, key1)
    	m[key2] += "1"
    	if n2 := m[key2]; n2 != "1" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. pilot/pkg/model/jwks_resolver.go

    	oldKeys, oldKeysExists := oldJWKs["keys"].([]any)
    	newKeys, newKeysExists := newJWKs["keys"].([]any)
    	if oldKeysExists && newKeysExists {
    		sort.Slice(oldKeys, func(i, j int) bool {
    			key1, ok1 := oldKeys[i].(map[string]any)
    			key2, ok2 := oldKeys[j].(map[string]any)
    			if ok1 && ok2 {
    				key1Id, kid1Exists := key1["kid"]
    				key2Id, kid2Exists := key2["kid"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. pilot/pkg/model/typed_xds_cache_test.go

    		ConfigKey{Kind: kind.DestinationRule, Name: "name", Namespace: "namespace"}.HashCode(): sets.New(firstEntry.Key()),
    		ConfigKey{Kind: kind.Gateway, Name: "name", Namespace: "namespace"}.HashCode():         sets.New(firstEntry.Key()),
    		ConfigKey{Kind: kind.EnvoyFilter, Name: "name", Namespace: "namespace"}.HashCode():     sets.New(secondEntry.Key()),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 29 20:35:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. pilot/pkg/model/telemetry_test.go

    							Fields: map[string]*structpb.Value{
    								"req1": {Kind: &structpb.Value_StringValue{StringValue: "%REQ_WITHOUT_QUERY(key1:val1)%"}},
    								"req2": {Kind: &structpb.Value_StringValue{StringValue: "%REQ_WITHOUT_QUERY(key2:val1)%"}},
    								"key1": {Kind: &structpb.Value_StringValue{StringValue: "%METADATA(CLUSTER:istio)%"}},
    								"key2": {Kind: &structpb.Value_StringValue{StringValue: "%METADATA(UPSTREAM_HOST:istio)%"}},
    							},
    						},
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go

    		},
    		{
    			Expression: "('group1' in request.groups)",
    		},
    		{
    			Expression: "('key1' in request.extra)",
    		},
    		{
    			Expression: "!('key2' in request.extra)",
    		},
    		{
    			Expression: "('a' in request.extra['key1'])",
    		},
    		{
    			Expression: "!('z' in request.extra['key1'])",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  10. src/context/x_test.go

    	}
    	if e := c.Err(); e != Canceled {
    		t.Errorf("c.Err() == %v want %v", e, Canceled)
    	}
    }
    
    type key1 int
    type key2 int
    
    func (k key2) String() string { return fmt.Sprintf("%[1]T(%[1]d)", k) }
    
    var k1 = key1(1)
    var k2 = key2(1) // same int as k1, different type
    var k3 = key2(3) // same type as k2, different int
    
    func TestValues(t *testing.T) {
    	check := func(c Context, nm, v1, v2, v3 string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top