pod_mutator

package
v0.0.0-...-67b0140 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 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
	SchedulingGatesEnabled bool
	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,
	schedulingGatesEnabled bool,
) *PodMutatingWebhook

func (*PodMutatingWebhook) Handle

Handle inspects incoming Pods and injects the Keptn scheduler 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