Documentation
¶
Overview ¶
package svcipdef provides an implementation of svcip.ServiceIPAddressGetter that gets the external IP address from the given Service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceIPAddressGetter ¶
type ServiceIPAddressGetter struct{}
ServiceIPAddressGetter implements svcip.ServiceIPAddressGetter by returning the given Service's IP addresses.
func (*ServiceIPAddressGetter) GetServiceIPAddresses ¶
func (g *ServiceIPAddressGetter) GetServiceIPAddresses(svc *corev1.Service) []net.IP
GetServiceIPAddresses implements svcip.ServiceIPAddressGetter.
Click to show internal directories.
Click to hide internal directories.