core

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnnotationValidator

type AnnotationValidator struct {
	K8sWrapper k8s.K8sWrapper

	Log logr.Logger
	// contains filtered or unexported fields
}

AnnotationValidator injects resources into Pods

func (*AnnotationValidator) Handle

func (*AnnotationValidator) InjectDecoder

func (av *AnnotationValidator) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder.

type PodResourceInjector

type PodResourceInjector struct {
	Client client.Client

	CacheHelper webhookutils.K8sCacheHelper
	Log         logr.Logger
	// contains filtered or unexported fields
}

PodResourceInjector injects resources into Pods

func (*PodResourceInjector) Handle

func (*PodResourceInjector) InjectDecoder

func (prj *PodResourceInjector) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder.

Jump to

Keyboard shortcuts

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