mutators

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CACert     = "/tmp/k8s-webhook-server/metrics-certs/ca.crt"
	ServerCert = "/tmp/k8s-webhook-server/metrics-certs/tls.crt"
	ServerKey  = "/tmp/k8s-webhook-server/metrics-certs/tls.key"
)

Functions

This section is empty.

Types

type PodMutator

type PodMutator struct {
	Client client.Client
	// contains filtered or unexported fields
}

func NewPodMutator added in v0.0.2

func NewPodMutator(kubeClient client.Client, strict bool) *PodMutator

NewPodMutator creates a new pod mutator

func (*PodMutator) Handle

Handle pod mutation

func (*PodMutator) InjectDecoder

func (a *PodMutator) InjectDecoder(d *admission.Decoder) error

InjectDecoder sets decoder

Jump to

Keyboard shortcuts

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