Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestServiceRegistryResourceLocation (0.24 sec)

  1. pkg/registry/core/service/storage/storage_test.go

    			PodIPs: []api.PodIP{},
    		},
    	}
    
    	for _, ip := range ips {
    		p.Status.PodIPs = append(p.Status.PodIPs, api.PodIP{IP: ip})
    	}
    
    	return p
    }
    
    func TestServiceRegistryResourceLocation(t *testing.T) {
    	pods := []api.Pod{
    		makePod("unnamed", "1.2.3.4", "1.2.3.5"),
    		makePod("named", "1.2.3.6", "1.2.3.7"),
    		makePod("no-endpoints", "9.9.9.9"), // to prove this does not get chosen
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
Back to top