Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Main frontends FrontendHTTP = "http" FrontendHTTPS = "https" )
Variables ¶
View Source
var CustomRoutes bool
Functions ¶
func AddCustomRoute ¶
func AddCustomRoute(route Route, routeACLAnn store.StringW, api api.HAProxyClient) (reload bool, err error)
AddCustomRoute adds an ingress route with specific ACL via use_backend haproxy directive
func AddHostPathRoute ¶
AddHostPathRoute adds Host/Path ingress route to haproxy Map files used for backend switching.
func RoutesReset ¶
func RoutesReset(api api.HAProxyClient) (err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.