workloadmutation

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Overview

Package workloadmutation contains the webhook that injects annotations into daemon-sets, deployments and stateful-sets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookHandler

type WebhookHandler interface {
	admission.Handler
}

WebhookHandler is a webhook handler that analyzes new daemon-sets and injects appropriate annotations into it.

func NewWebhookHandler

func NewWebhookHandler(decoder *admission.Decoder, annotationMutators *auto.AnnotationMutators) WebhookHandler

NewWebhookHandler creates a new WorkloadWebhookHandler.

Jump to

Keyboard shortcuts

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