Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeEndpointAddress ¶
func MakeEndpointAddress(ip string, pod string) api.EndpointAddress
MakeEndpointAddress helps construct EndpointAddress objects which pass API validation.
func MakeEndpointPort ¶
func MakeEndpointPort(name string, port int) api.EndpointPort
MakeEndpointPort helps construct EndpointPort objects which pass API validation.
func MakeEndpoints ¶
func MakeEndpoints(name string, addrs []api.EndpointAddress, ports []api.EndpointPort, tweaks ...Tweak) *api.Endpoints
MakeEndpoints helps construct Endpoints objects (which pass API validation) more legibly and tersely than a Go struct definition.
Types ¶
Click to show internal directories.
Click to hide internal directories.