Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MakeEndpointPort (0.13 sec)

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

    	return api.EndpointAddress{
    		IP: ip,
    		TargetRef: &api.ObjectReference{
    			Name:      pod,
    			Namespace: metav1.NamespaceDefault,
    		},
    	}
    }
    
    // MakeEndpointPort helps construct EndpointPort objects which pass API
    // validation.
    func MakeEndpointPort(name string, port int) api.EndpointPort {
    	return api.EndpointPort{
    		Name: name,
    		Port: int32(port),
    	}
    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.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),
    			}),
    		epstest.MakeEndpoints("named",
    			[]api.EndpointAddress{
    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