mutation

package
v0.0.0-...-5dbe1bd Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 5 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) MutateServicePatch

func (m *Mutator) MutateServicePatch(service *corev1.Service) ([]byte, error)

MutateServiceatch returns a json patch containing all the mutations needed for a given service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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