Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendConfig ¶
type BackendConfig struct { Name string Host string Path string IsWildcard bool Termination routeapi.TLSTerminationType InsecurePolicy routeapi.InsecureEdgeTerminationPolicyType HasCertificate bool }
BackendConfig is the haproxy backend config.
type HAProxyMapEntry ¶
HAProxyMapEntry is a haproxy map entry.
func GenerateMapEntry ¶
func GenerateMapEntry(id string, cfg *BackendConfig) *HAProxyMapEntry
GenerateMapEntry generates a haproxy map entry.
Click to show internal directories.
Click to hide internal directories.