Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Configmaps Main = "main" // Frontends FrontendHTTP = "http" FrontendHTTPS = "https" // Status ADDED = store.ADDED DELETED = store.DELETED ERROR = store.ERROR EMPTY = store.EMPTY MODIFIED = store.MODIFIED // MapFiles SNI = "sni" HOST = "host" PATH_EXACT = "path-exact" PATH_PREFIX = "path-prefix" )
nolint
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct { Namespace *store.Namespace Ingress *store.Ingress Path *store.IngressPath HAProxyRules []haproxy.RuleID Host string BackendName string NewBackend bool LocalBackend bool SSLPassthrough bool TCPService bool // contains filtered or unexported fields }
func (*Route) SetBackendName ¶ added in v1.5.2
SetBackendName checks if Ingress ServiceName and ServicePort exists and construct corresponding backend name NB: if sp.Name is available it should be used instead of sp.Port to avoid backends duplication
Click to show internal directories.
Click to hide internal directories.