Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var (
CustomRoutes = make(map[string]string)
)
Functions ¶
func AddCustomRoute ¶
func AddCustomRoute(route Route, routeACLAnn string, 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 CustomRoutesReset ¶
func CustomRoutesReset(api api.HAProxyClient) (err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.