Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Supplant []SupplantService External []ExternalService }
type ExternalPortConfig ¶
type ExternalService ¶
type ExternalService struct { Name string Namespace string Enabled bool Ports []ExternalPortConfig }
func MapExternalService ¶
func MapExternalService(pl *PortLookup, svc v1.Service) ExternalService
type PortLookup ¶ added in v0.2.0
type PortLookup struct {
// contains filtered or unexported fields
}
func NewPortLookup ¶ added in v0.2.0
func NewPortLookup(cs *kubernetes.Clientset) *PortLookup
func (*PortLookup) LookupPort ¶ added in v0.2.2
func (pl *PortLookup) LookupPort(svc v1.Service, port intstr.IntOrString) int32
type SupplantPortConfig ¶
type SupplantService ¶
type SupplantService struct { Name string Namespace string Enabled bool Ports []SupplantPortConfig }
func MapSupplantService ¶
func MapSupplantService(pl *PortLookup, svc v1.Service) SupplantService
Click to show internal directories.
Click to hide internal directories.