webhook

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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