Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IngressClass = "parapet"
IngressClass to load ingresses
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is the parapet ingress controller
func New ¶
func New(watchNamespace string, proxy *proxy.Proxy) *Controller
New creates new ingress controller
func (*Controller) GetCertificate ¶
func (ctrl *Controller) GetCertificate(clientHello *tls.ClientHelloInfo) (*tls.Certificate, error)
func (*Controller) Healthz ¶
func (ctrl *Controller) Healthz() parapet.Middleware
Healthz returns health check middleware
func (*Controller) ServeHandler ¶
func (ctrl *Controller) ServeHandler(_ http.Handler) http.Handler
ServeHandler implements parapet.Middleware
Click to show internal directories.
Click to hide internal directories.