instances

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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adder

type Adder struct {
	MutationSystem *mutation.System
	Tracker        *readiness.Tracker
	GetPod         func(context.Context) (*corev1.Pod, error)
}

func (*Adder) Add

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

Add creates all mutation controllers and adds them to the manager.

func (*Adder) InjectControllerSwitch

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

func (*Adder) InjectGetPod

func (a *Adder) InjectGetPod(getPod func(ctx context.Context) (*corev1.Pod, error))

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)

Jump to

Keyboard shortcuts

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