probeinject

package
v0.0.0-...-a8fe691 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Injector

type Injector interface {
	HandleWebhook(w http.ResponseWriter, r *http.Request)
}

Injector provides an HTTP-webhook interface for the kubernetes API and creates a json patch which will add a sidecar container

func New

func New(cs *kubernetes.Clientset, annotation string, container corev1.Container) Injector

New generates a new Injector interface providing a webhook handling kubernetes admissioncontroll calls

Jump to

Keyboard shortcuts

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