mutators

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForceRunAsNonRoot

type ForceRunAsNonRoot struct{}

func (ForceRunAsNonRoot) Mutate

func (m ForceRunAsNonRoot) Mutate(ctx context.Context, pod *corev1.Pod) bool

type Mutator

type Mutator interface {
	// If the pod is mutated, it will return true.
	Mutate(ctx context.Context, pod *corev1.Pod) bool
}

Mutator is an interface for mutator

Jump to

Keyboard shortcuts

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