webhooks

package
v0.9.0-BETA-1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InjectConfigAnnotation = "kconfigcontroller.atteg.com/inject"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ByLevel

type ByLevel []v1beta1.KconfigBindingSpec

ByLevel sort function for sorting array of KconfigBindingSpecs by their level

func (ByLevel) Len

func (c ByLevel) Len() int

func (ByLevel) Less

func (c ByLevel) Less(i, j int) bool

func (ByLevel) Swap

func (c ByLevel) Swap(i, j int)

type PodConfigInjector

type PodConfigInjector struct {
	Client client.Client

	Log                      logr.Logger
	DefaultContainerSelector *v12.LabelSelector
	// contains filtered or unexported fields
}

func (*PodConfigInjector) Handle

func (*PodConfigInjector) InjectDecoder

func (r *PodConfigInjector) InjectDecoder(d *admission.Decoder) error

Jump to

Keyboard shortcuts

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