pod_mutator

package
v0.0.0-...-7046c48 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodMutatingWebhook

type PodMutatingWebhook struct {
	Client      client.Client
	Decoder     handlers.Decoder
	EventSender eventsender.IEvent
	Log         logr.Logger
	Pod         handlers.PodAnnotationHandler
	Workload    handlers.K8sHandler
	App         handlers.K8sHandler
}

func NewPodMutator

func NewPodMutator(
	client client.Client,
	decoder admission.Decoder,
	eventSender eventsender.IEvent,
	log logr.Logger,
) *PodMutatingWebhook

func (*PodMutatingWebhook) Handle

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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