mutation

package
v0.0.0-...-14154f7 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutator

type Mutator struct {
	Logger *logrus.Entry
}

Mutator is a container for mutation

func NewMutator

func NewMutator(logger *logrus.Entry) *Mutator

NewMutator returns an initialised instance of Mutator

func (*Mutator) MutatePodPatch

func (m *Mutator) MutatePodPatch(pod *corev1.Pod) ([]byte, error)

MutatePodPatch returns a json patch containing all the mutations needed for a given pod

Jump to

Keyboard shortcuts

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