instances

package
v3.18.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 14 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(_ *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) InjectTracker

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

Jump to

Keyboard shortcuts

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