mutatorstatus

package
v3.9.9 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PodStatusToMutatorMapper

func PodStatusToMutatorMapper(selfOnly bool, kindMatch string, packerMap handler.MapFunc) handler.MapFunc

PodStatusToMutatorMapper correlates a MutatorPodStatus with its corresponding mutator.

Types

type Adder

type Adder struct {
	WatchManager     *watch.Manager
	ControllerSwitch *watch.ControllerSwitch
}

func (*Adder) Add

func (a *Adder) Add(mgr manager.Manager) error

Add creates a new Mutator Status Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func (*Adder) InjectControllerSwitch

func (a *Adder) InjectControllerSwitch(cs *watch.ControllerSwitch)

func (*Adder) InjectMutationSystem

func (a *Adder) InjectMutationSystem(mutationSystem *mutation.System)

func (*Adder) InjectOpa

func (a *Adder) InjectOpa(o *constraintclient.Client)

func (*Adder) InjectProviderCache

func (a *Adder) InjectProviderCache(providerCache *externaldata.ProviderCache)

func (*Adder) InjectTracker

func (a *Adder) InjectTracker(t *readiness.Tracker)

func (*Adder) InjectWatchManager

func (a *Adder) InjectWatchManager(w *watch.Manager)

type PackerMap

type PackerMap func(obj client.Object) []reconcile.Request

type ReconcileMutatorStatus

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

ReconcileMutatorStatus reconciles an arbitrary mutator object described by Kind.

func (*ReconcileMutatorStatus) Reconcile

Reconcile reads that state of the cluster for a mutator object and makes changes based on the state read and what is in the mutator.Spec.

Jump to

Keyboard shortcuts

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