Help us shape the future of Go! Take the 2026 Go Developer Survey

handler

package
v1.11.12 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QUIC4BIND = "quicv4"
	QUIC6BIND = "quicv6"
)
View Source
const (
	PROMETHEUS_URL_PATH = "/metrics"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorFiles

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

func (*ErrorFiles) Update

func (handler *ErrorFiles) Update(k store.K8s, h haproxy.HAProxy, a annotations.Annotations) (err error)

type GlobalCfg

type GlobalCfg struct{}

func (GlobalCfg) Update

func (handler GlobalCfg) Update(k store.K8s, h haproxy.HAProxy, a annotations.Annotations) (err error)

type HTTPBind

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

func (HTTPBind) Update

func (handler HTTPBind) Update(k store.K8s, h haproxy.HAProxy, a annotations.Annotations) (err error)

type HTTPS

type HTTPS struct {
	AddrIPv4 string
	AddrIPv6 string
	CertDir  string

	Port    int64
	Enabled bool
	IPv4    bool
	IPv6    bool
	// contains filtered or unexported fields
}

func (HTTPS) Update

func (handler HTTPS) Update(k store.K8s, h haproxy.HAProxy, a annotations.Annotations) (err error)

type PatternFiles

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

func (*PatternFiles) Update

func (handler *PatternFiles) Update(k store.K8s, h haproxy.HAProxy, a annotations.Annotations) (err error)

type Pprof

type Pprof struct{}

func (Pprof) Update

func (handler Pprof) Update(k store.K8s, h haproxy.HAProxy, a annotations.Annotations) (err error)

type PrometheusEndpoint added in v1.11.0

type PrometheusEndpoint struct {
	EventChan chan k8s.SyncDataEvent
	PodNs     string
}

func (PrometheusEndpoint) Update added in v1.11.0

func (handler PrometheusEndpoint) Update(k store.K8s, h haproxy.HAProxy, a annotations.Annotations) (err error)

type ProxyProtocol

type ProxyProtocol struct{}

func (ProxyProtocol) Update

func (handler ProxyProtocol) Update(k store.K8s, h haproxy.HAProxy, a annotations.Annotations) (err error)

type Quic added in v1.11.0

type Quic struct {
	AddrIPv4         string
	AddrIPv6         string
	CertDir          string
	MaxAge           string
	QuicAnnouncePort int64
	QuicBindPort     int64
	IPv4             bool
	IPv6             bool
}

func (*Quic) Update added in v1.11.0

func (q *Quic) Update(k store.K8s, h haproxy.HAProxy, a annotations.Annotations) (err error)

type Refresh

type Refresh struct{}

func (Refresh) Update

func (handler Refresh) Update(k store.K8s, h haproxy.HAProxy, a annotations.Annotations) (err error)

type TCPServices

type TCPServices struct {
	CertDir  string
	AddrIPv4 string
	AddrIPv6 string
	IPv4     bool
	IPv6     bool
}

func (TCPServices) Update

func (handler TCPServices) Update(k store.K8s, h haproxy.HAProxy, a annotations.Annotations) (err error)

Jump to

Keyboard shortcuts

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