Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Annotations = []Annotation{ { Name: "ssl-redirect", Description: fromNginx + "#server-side-https-enforcement-through-redirect)", // contains filtered or unexported fields }, { Name: "secure-backends", Description: "Make TLS connections to the upstream instead of plain HTTP. Initialy from ingress-nginx but removed from it, we still support it.", // contains filtered or unexported fields }, { Name: "whitelist-source-range", Description: fromNginx + "#whitelist-source-range)", // contains filtered or unexported fields }, }
View Source
var (
Current = &Config{}
)
Functions ¶
func NotifyChanged ¶
func NotifyChanged(callback NewConfigFunc)
Types ¶
type Annotation ¶ added in v1.1.4
type Backend ¶
type Backend struct { IngressRef string Prefix string Targets []string Options BackendOptions }
func NewBackend ¶
func (*Backend) HandlesPath ¶
type BackendOptions ¶
type BackendOptions struct { SSLRedirect bool SecureBackends bool WhitelistSourceRange []*net.IPNet }
func (*BackendOptions) Get ¶ added in v1.2.1
func (o *BackendOptions) Get() map[string]interface{}
type Certificates ¶
type Certificates map[string]*tls.Certificate
type Config ¶
type Config struct { Errors []string HostBackends Backends HostCerts Certificates DefaultCert *tls.Certificate }
type NewConfigFunc ¶
type NewConfigFunc func() Config
Click to show internal directories.
Click to hide internal directories.