admission

package
v1.7.0-rc3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceName

func GetResourceName(request *admissionv1.AdmissionRequest) string

func Response

func Response(allowed bool) *admissionv1.AdmissionResponse

func ResponseFailure

func ResponseFailure(allowed bool, msg string) *admissionv1.AdmissionResponse

func ResponseStatus

func ResponseStatus(allowed bool, status, msg string) *admissionv1.AdmissionResponse

func ResponseSuccess

func ResponseSuccess(allowed bool, msg string) *admissionv1.AdmissionResponse

func ResponseSuccessWithPatch

func ResponseSuccessWithPatch(allowed bool, msg string, patch []byte) *admissionv1.AdmissionResponse

func ResponseWithMessage

func ResponseWithMessage(allowed bool, msg string) *admissionv1.AdmissionResponse

func ResponseWithMessageAndPatch

func ResponseWithMessageAndPatch(allowed bool, msg string, patch []byte) *admissionv1.AdmissionResponse

func UnmarshalPolicy

func UnmarshalPolicy(kind string, raw []byte) (kyverno.PolicyInterface, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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