admission

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowRequest

func AllowRequest(admissionReviewRequest admissionv1.AdmissionReview) admissionv1.AdmissionReview

AllowRequest returns an admission review response that allows the request

func DenyRequest

func DenyRequest(errMsg string, admissionReviewRequest admissionv1.AdmissionReview) admissionv1.AdmissionReview

DenyRequest returns an admission review response that denies the request with the specified error message

func GetAdmissionReviewRequest

func GetAdmissionReviewRequest(body []byte) (admissionv1.AdmissionReview, error)

returns admissionReviewRequest object based on the input request body

Types

This section is empty.

Jump to

Keyboard shortcuts

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