Documentation ¶
Overview ¶
Package ingress convert Ingress to IngressRoute.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Rate ¶
type Rate struct { Period time.Duration `json:"period,omitempty"` Average int64 `json:"average,omitempty"` Burst int64 `json:"burst,omitempty"` }
Rate holds a rate limiting configuration for a specific time period.
type RateLimit ¶
type RateLimit struct { RateSet map[string]*Rate `json:"rateset,omitempty"` ExtractorFunc string `json:"extractorFunc,omitempty"` }
RateLimit holds a rate limiting configuration for a given frontend.
type TLSClientCertificateDNInfos ¶ added in v0.13.5
type TLSClientCertificateDNInfos struct { Country bool `description:"Add Country info in header" json:"country"` Province bool `description:"Add Province info in header" json:"province"` Locality bool `description:"Add Locality info in header" json:"locality"` Organization bool `description:"Add Organization info in header" json:"organization"` CommonName bool `description:"Add CommonName info in header" json:"commonName"` SerialNumber bool `description:"Add SerialNumber info in header" json:"serialNumber"` DomainComponent bool `description:"Add Domain Component info in header" json:"domainComponent"` }
TLSClientCertificateDNInfos holds the client TLS certificate distinguished name infos configuration. cf https://tools.ietf.org/html/rfc3739
type TLSClientCertificateInfos ¶
type TLSClientCertificateInfos struct { NotAfter bool `description:"Add NotAfter info in header" json:"notAfter"` NotBefore bool `description:"Add NotBefore info in header" json:"notBefore"` Sans bool `description:"Add Sans info in header" json:"sans"` Subject *TLSClientCertificateDNInfos `description:"Add Subject info in header" json:"subject,omitempty"` Issuer *TLSClientCertificateDNInfos `description:"Add Issuer info in header" json:"issuer,omitempty"` }
TLSClientCertificateInfos holds the client TLS certificate infos configuration.
type TLSClientHeaders ¶
type TLSClientHeaders struct { PEM bool `description:"Enable header with escaped client pem" json:"pem"` Infos *TLSClientCertificateInfos `description:"Enable header with configured client cert infos" json:"infos,omitempty"` }
TLSClientHeaders holds the TLS client cert headers configuration.
Click to show internal directories.
Click to hide internal directories.