ingress

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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
	SSLPassthrough bool
	TCPService     bool
	// contains filtered or unexported fields
}

type Routes

type Routes struct {
	// contains filtered or unexported fields
}

func (*Routes) AddRoute

func (r *Routes) AddRoute(route *Route)

func (*Routes) Refresh

func (r *Routes) Refresh(c api.HAProxyClient, k store.K8s, mapFiles haproxy.Maps, certs *haproxy.Certificates) (reload bool, activeBackends map[string]struct{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL