Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nonEmptyPodList (0.21 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/printers/jsonpath_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	objects := map[string]runtime.Object{
    		"pod":             &v1.Pod{ObjectMeta: om("pod")},
    		"emptyPodList":    &v1.PodList{},
    		"nonEmptyPodList": &v1.PodList{Items: []v1.Pod{{}}},
    		"endpoints": &v1.Endpoints{
    			Subsets: []v1.EndpointSubset{{
    				Addresses: []v1.EndpointAddress{{IP: "127.0.0.1"}, {IP: "localhost"}},
    				Ports:     []v1.EndpointPort{{Port: 8080}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 15 21:58:20 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/printers/json_test.go

    		"yaml": NewTypeSetter(scheme.Scheme).ToPrinter(&YAMLPrinter{}),
    	}
    	objects := map[string]runtime.Object{
    		"pod":             &v1.Pod{ObjectMeta: om("pod")},
    		"emptyPodList":    &v1.PodList{},
    		"nonEmptyPodList": &v1.PodList{Items: []v1.Pod{{}}},
    		"endpoints": &v1.Endpoints{
    			Subsets: []v1.EndpointSubset{{
    				Addresses: []v1.EndpointAddress{{IP: "127.0.0.1"}, {IP: "localhost"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top