Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MakeEndpointAddress (0.28 sec)

  1. pkg/api/endpoints/testing/make.go

    			Addresses: addrs,
    			Ports:     ports,
    		}},
    	}
    
    	for _, tweak := range tweaks {
    		tweak(eps)
    	}
    
    	return eps
    }
    
    // MakeEndpointAddress helps construct EndpointAddress objects which pass API
    // validation.
    func MakeEndpointAddress(ip string, pod string) api.EndpointAddress {
    	return api.EndpointAddress{
    		IP: ip,
    		TargetRef: &api.ObjectReference{
    			Name:      pod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 02 01:26:45 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. pkg/registry/core/service/storage/storage_test.go

    		epstest.MakeEndpoints("unnamed",
    			[]api.EndpointAddress{
    				epstest.MakeEndpointAddress("1.2.3.4", "unnamed"),
    			},
    			[]api.EndpointPort{
    				epstest.MakeEndpointPort("", 80),
    			}),
    		epstest.MakeEndpoints("unnamed2",
    			[]api.EndpointAddress{
    				epstest.MakeEndpointAddress("1.2.3.5", "unnamed"),
    			},
    			[]api.EndpointPort{
    				epstest.MakeEndpointPort("", 80),
    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