hooks

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AffinityInjector

type AffinityInjector struct {
	client.Client
	Name string
	Log  logr.Logger
	// contains filtered or unexported fields
}

func (*AffinityInjector) Handle

AffinityInjector adds configured node affinities to a pod

func (*AffinityInjector) InjectDecoder

func (ai *AffinityInjector) InjectDecoder(d *admission.Decoder) error

AffinityInjector implements admission.DecoderInjector. A decoder will be automatically injected. InjectDecoder injects the decoder.

Jump to

Keyboard shortcuts

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