Documentation ¶
Index ¶
- func AdmissionRequestDebugString(a *admissionv1beta1.AdmissionRequest) string
- func Allowed(a *admissionv1beta1.AdmissionRequest, pluralResourceName string, ...) bool
- func Initialize(kubeClientConfig *rest.Config, client *dynamic.ResourceInterface, ...) error
- func Initialized(initialized *bool, lock *sync.RWMutex, ...) bool
- func NewMutatingResource(resourcePluralName string) schema.GroupVersionResource
- func NewValidatingResource(resourcePluralName string) schema.GroupVersionResource
- func Unmarshal(rawExt *runtime.RawExtension, object interface{}, ...) error
- func Validate(status *admissionv1beta1.AdmissionResponse, validateFn func() field.ErrorList)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdmissionRequestDebugString ¶
func AdmissionRequestDebugString(a *admissionv1beta1.AdmissionRequest) string
func Allowed ¶
func Allowed(a *admissionv1beta1.AdmissionRequest, pluralResourceName string, status *admissionv1beta1.AdmissionResponse) bool
Allowed returns true if the admission request for the plural name of the resource passed in should be allowed to pass through, false otherwise.
func Initialize ¶
func Initialized ¶
func Initialized(initialized *bool, lock *sync.RWMutex, status *admissionv1beta1.AdmissionResponse) bool
func NewMutatingResource ¶
func NewMutatingResource(resourcePluralName string) schema.GroupVersionResource
func NewValidatingResource ¶
func NewValidatingResource(resourcePluralName string) schema.GroupVersionResource
func Unmarshal ¶
func Unmarshal(rawExt *runtime.RawExtension, object interface{}, status *admissionv1beta1.AdmissionResponse) error
func Validate ¶
func Validate(status *admissionv1beta1.AdmissionResponse, validateFn func() field.ErrorList)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.