Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServicePortName ¶
type ServicePortName struct { types.NamespacedName Port string }
ServicePortName is a combination of service.Namespace, service.Name and service.Ports[*].Name
func (ServicePortName) String ¶
func (spn ServicePortName) String() string
type ServiceUnit ¶
type ServiceUnit struct { // Name corresponds to ServicePortName. Uniquely identifies the ServiceUnit. Name string // Internal service info of this ServiceUnit, this translates into a real // frontend implementation of HAProxy. ServiceInfo Service // Endpoints are endpoints that back the service, this translates into a final // backend implementation of HAProxy. Endpoints []Endpoint }
ServiceUnit is an encapsulation of a service, the endpoints that back that service. This is the data that drives the creation of HAProxy configuration file.
Click to show internal directories.
Click to hide internal directories.