injection

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	K8sNodeNameEnv = "K8S_NODE_NAME"
	K8sPodNameEnv  = "K8S_PODNAME"
	K8sPodUIDEnv   = "K8S_PODUID"

	NoBootstrapperConfigReason = "NoBootstrapperConfig"
	NoMutationNeededReason     = "NoMutationNeeded"

	RootUser  int64 = 0
	RootGroup int64 = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New(
	kubeClient client.Client,
	apiReader client.Reader,
	recorder events.EventRecorder,
	webhookPodImage string,
	isOpenShift bool,
	metaMutator,
	oaMutator dtwebhook.Mutator,
) *Handler

func (*Handler) Handle

func (h *Handler) Handle(mutationRequest *dtwebhook.MutationRequest) error

Jump to

Keyboard shortcuts

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