Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 84 for Tables (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	metaObj, err := meta.Accessor(obj)
    	if err != nil {
    		panic(err.Error())
    	}
    	labels := metaObj.GetLabels()
    	if labels == nil {
    		labels = map[string]string{}
    	}
    	labels["prepare_create"] = "true"
    	metaObj.SetLabels(labels)
    }
    
    func (t *testRESTStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    		existingNode     *v1.Node
    		isPatchingNeeded bool
    	}{
    		{
    			name:             "no labels",
    			existingNode:     &v1.Node{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{}}},
    			isPatchingNeeded: true,
    		},
    		{
    			name:             "wrong labels",
    			existingNode:     &v1.Node{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{v1.LabelOSStable: "dummyOS", v1.LabelArchStable: "dummyArch"}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_test.go

    			{
    				Name:   "subset-1",
    				Labels: map[string]string{"foo": "bar"},
    				TrafficPolicy: &networking.TrafficPolicy{
    					PortLevelSettings: []*networking.TrafficPolicy_PortTrafficPolicy{
    						{
    							Port: &networking.PortSelector{
    								Number: 8080,
    							},
    						},
    					},
    				},
    			},
    			{
    				Name:   "subset-2",
    				Labels: map[string]string{"foo": "bar"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/horizontal_test.go

    func TestConditionNoAmbiguousSelectorWhenNoSelectorOverlapBetweenHPAs(t *testing.T) {
    	hpaSelectors := selectors.NewBiMultimap()
    	hpaSelectors.PutSelector(selectors.Key{Name: "test-hpa-2", Namespace: testNamespace}, labels.SelectorFromSet(labels.Set{"cheddar": "cheese"}))
    
    	tc := testCase{
    		minReplicas:             2,
    		maxReplicas:             6,
    		specReplicas:            3,
    		statusReplicas:          3,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers_test.go

    					},
    				},
    			},
    
    			options: printers.GenerateOptions{},
    			// Columns: Name, Containers, Images, Pod Labels
    			expected: []metav1.TableRow{{Cells: []interface{}{"pod-template-2", "fake-container1,fake-container2", "fake-image1,fake-image2", "<none>"}}},
    		},
    		// Test basic pod template with pod labels
    		{
    			podTemplate: api.PodTemplate{
    				ObjectMeta: metav1.ObjectMeta{Name: "pod-template-3"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller_test.go

    		t.Errorf("Waiting for Pod to get the finalizer removed: %v", err)
    	}
    
    }
    
    func checkJobCompletionLabel(t *testing.T, p *v1.PodTemplateSpec) {
    	t.Helper()
    	labels := p.GetLabels()
    	if labels == nil || labels[batch.JobCompletionIndexAnnotation] == "" {
    		t.Errorf("missing expected pod label %s", batch.JobCompletionIndexAnnotation)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

            },
            "labels": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
              "type": "object"
            },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  8. pkg/proxy/nftables/proxier_test.go

    	eps := &discovery.EndpointSlice{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      fmt.Sprintf("%s-%d", name, sliceNum),
    			Namespace: namespace,
    			Labels:    map[string]string{discovery.LabelServiceName: name},
    		},
    	}
    	epsFunc(eps)
    	return eps
    }
    
    func makeNSN(namespace, name string) types.NamespacedName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  9. tests/integration/pilot/common/routing.go

              '@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
              xff_num_trusted_hops: 1
              normalize_path: true
      workloadSelector:
        labels:
          istio: {{.GatewayIstioLabel | default "ingressgateway"}}
    ---
    ` + httpVirtualServiceTmpl,
    		opts: echo.CallOptions{
    			Count: 1,
    			Port: echo.Port{
    				Protocol: protocol.HTTP,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers.go

    		{Name: "Images", Type: "string", Description: "Images referenced by each container in the template."},
    		{Name: "Pod Labels", Type: "string", Description: "The labels for the pod template."},
    	}
    	_ = h.TableHandler(podTemplateColumnDefinitions, printPodTemplate)
    	_ = h.TableHandler(podTemplateColumnDefinitions, printPodTemplateList)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top