injectionwebhook

package
v0.0.0-...-3a79d8d Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: BSD-3-Clause Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Modify

type Modify func(*corev1.Container)

Modify defines a modification on a Container

type WebhookServer

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

WebhookServer encapsulates webhook server related fields

func NewWebhookServer

func NewWebhookServer(
	config *config.WebhookConfig,
	sidecarConfigTemplate *template.Template,
	mutationConfig *mutationconfig.MutationConfigs,
	certificateReloader util.CertificateReloader,
) *WebhookServer

NewWebhookServer is a constructor for webhookServer

func (*WebhookServer) Start

func (whsvr *WebhookServer) Start() (chan bool, chan bool, error)

Start starts webhook server

func (*WebhookServer) Stop

func (whsvr *WebhookServer) Stop()

Stop stops webhook server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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