pod_mutator

package
v0.0.0-...-14494c5 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const InvalidAnnotationMessage = "Invalid annotations"

Variables

View Source
var ErrTooLongAnnotations = fmt.Errorf("too long annotations, maximum length for app and workload is 25 characters, for version 12 characters")

Functions

This section is empty.

Types

type PodMutatingWebhook

type PodMutatingWebhook struct {
	Client      client.Client
	Tracer      trace.Tracer
	Decoder     *admission.Decoder
	EventSender controllercommon.EventSender
	Log         logr.Logger
}

PodMutatingWebhook annotates Pods

func (*PodMutatingWebhook) Handle

Handle inspects incoming Pods and injects the Keptn scheduler if they contain the Keptn lifecycle annotations.

Jump to

Keyboard shortcuts

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