handler

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorFile

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

func (ErrorFile) Update

func (e ErrorFile) Update(k store.K8s, cfg *config.ControllerCfg, api api.HAProxyClient) (reload bool, err error)

type GlobalCfg

type GlobalCfg struct {
}

func (GlobalCfg) Update

func (h GlobalCfg) Update(k store.K8s, cfg *config.ControllerCfg, api api.HAProxyClient) (reload bool, err error)

type HTTPBind

type HTTPBind struct {
	HTTP      bool
	HTTPS     bool
	IPv4      bool
	IPv6      bool
	HTTPPort  int64
	HTTPSPort int64
	IPv4Addr  string
	IPv6Addr  string
}

func (HTTPBind) Update

func (h HTTPBind) Update(k store.K8s, cfg *config.ControllerCfg, api api.HAProxyClient) (reload bool, err error)

type HTTPS

type HTTPS struct {
	Enabled  bool
	IPv4     bool
	IPv6     bool
	Port     int64
	AddrIPv4 string
	AddrIPv6 string
	CertDir  string
}

func (HTTPS) Update

func (h HTTPS) Update(k store.K8s, cfg *config.ControllerCfg, api api.HAProxyClient) (reload bool, err error)

type PatternFiles

type PatternFiles struct {
}

func (PatternFiles) Update

func (t PatternFiles) Update(k store.K8s, cfg *config.ControllerCfg, api api.HAProxyClient) (reload bool, err error)

type Pprof

type Pprof struct {
}

func (Pprof) Update

func (h Pprof) Update(k store.K8s, cfg *config.ControllerCfg, api api.HAProxyClient) (reload bool, err error)

type ProxyProtocol

type ProxyProtocol struct{}

func (ProxyProtocol) Update

func (p ProxyProtocol) Update(k store.K8s, cfg *config.ControllerCfg, api api.HAProxyClient) (reload bool, err error)

type Refresh

type Refresh struct{}

func (Refresh) Update

func (h Refresh) Update(k store.K8s, cfg *config.ControllerCfg, api api.HAProxyClient) (reload bool, err error)

type TCPServices

type TCPServices struct {
	SetDefaultService func(ingress *store.Ingress, frontends []string) (reload bool, err error)
	CertDir           string
}

func (TCPServices) Update

func (t TCPServices) Update(k store.K8s, cfg *config.ControllerCfg, api api.HAProxyClient) (reload bool, err error)

Jump to

Keyboard shortcuts

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