Documentation ¶
Index ¶
- type WebhookServer
- func (webhook *WebhookServer) Health(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (webhook *WebhookServer) Mutate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (webhook *WebhookServer) Shutdown() error
- func (webhook *WebhookServer) StartInjectorServer(port int, tlsCert string, tlsKey string) error
- func (webhook *WebhookServer) StartLifeCycleServer(port int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookServer ¶
type WebhookServer struct { InjConfigs map[string]*config.InjectionConfig Namespaces map[string]bool // contains filtered or unexported fields }
func NewWebhookServer ¶
func NewWebhookServer() *WebhookServer
func (*WebhookServer) Health ¶
func (webhook *WebhookServer) Health(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*WebhookServer) Mutate ¶
func (webhook *WebhookServer) Mutate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*WebhookServer) Shutdown ¶
func (webhook *WebhookServer) Shutdown() error
func (*WebhookServer) StartInjectorServer ¶
func (webhook *WebhookServer) StartInjectorServer(port int, tlsCert string, tlsKey string) error
func (*WebhookServer) StartLifeCycleServer ¶
func (webhook *WebhookServer) StartLifeCycleServer(port int) error
Click to show internal directories.
Click to hide internal directories.