pkg

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type WebhookServer

type WebhookServer struct {
	// contains filtered or unexported fields
}

WebhookServer is a webserver answering to AdmissionRequests sent by the Kubernetes API server.

func NewWebhookServer

func NewWebhookServer(tlsCertificateDirectory string) *WebhookServer

NewWebhookServer returns a new web server that can process AdmissionReviews.

func (*WebhookServer) Run

func (srv *WebhookServer) Run(ctx context.Context) error

Run starts the webserver, and restarts it if the key pair is modified

Jump to

Keyboard shortcuts

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