admission

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectAffinity

func InjectAffinity(p *corev1.Pod, id string)

Types

type InventoryHandler

type InventoryHandler struct {
	Reader             client.Reader
	AllowedMirrorHosts []string
	Runtime            bool
	Evidence           bool
}

func (*InventoryHandler) Handle

type InventoryUnavailable

type InventoryUnavailable struct{ Cause error }

InventoryUnavailable is an outage, not a determination that a requested ID is unknown or incompatible. Pod transport is deliberately fail-open; trusted local authorization, identity and barriers remain the execution boundary.

func (*InventoryUnavailable) Error

func (e *InventoryUnavailable) Error() string

func (*InventoryUnavailable) Unwrap

func (e *InventoryUnavailable) Unwrap() error

type PodHandler

type PodHandler struct{ Mutator *PodMutator }

func (*PodHandler) Handle

type PodMutator

type PodMutator struct {
	Reader             client.Reader
	AllowedMirrorHosts []string
}

func (*PodMutator) Mutate

func (m *PodMutator) Mutate(ctx context.Context, p *corev1.Pod) ([]string, error)

Jump to

Keyboard shortcuts

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