webhooks

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetAdmissionReview

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

GetAdmissionReview

func ToAdmissionResponse

func ToAdmissionResponse(causes []metav1.StatusCause) *v1beta1.AdmissionResponse

func ToAdmissionResponseError

func ToAdmissionResponseError(err error) *v1beta1.AdmissionResponse

ToAdmissionResponseError

func ToAdmissionResponseOK

func ToAdmissionResponseOK() *v1beta1.AdmissionResponse

func ValidateSchema

func ValidateSchema(gvk schema.GroupVersionKind, data []byte) *v1beta1.AdmissionResponse

func ValidationErrorsToAdmissionResponse

func ValidationErrorsToAdmissionResponse(errs []error) *v1beta1.AdmissionResponse

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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