webhooks

package
v0.9.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: Apache-2.0 Imports: 11 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAdmissionReview

func GetAdmissionReview(r *http.Request) (*v1beta1.AdmissionReview, error)

GetAdmissionReview

func SetInformers

func SetInformers(informers *Informers)

SetInformers created for unittest usage only

func ToAdmissionResponseError

func ToAdmissionResponseError(err error) *v1beta1.AdmissionResponse

ToAdmissionResponseError

Types

type Informers

type Informers struct {
	VMIInformer             cache.SharedIndexInformer
	VMIPresetInformer       cache.SharedIndexInformer
	NamespaceLimitsInformer cache.SharedIndexInformer
}

func GetInformers

func GetInformers() *Informers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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