Documentation ¶
Index ¶
- func AdmissionRequestDebugString(a admission.Request) string
- func Allowed(a admission.Request, pluralResourceName string) bool
- func NewMutatingResource(resourcePluralName string) schema.GroupVersionResource
- func NewValidatingResource(resourcePluralName string) schema.GroupVersionResource
- func Unmarshal(rawExt *runtime.RawExtension, object interface{}) error
- func Validate(validateFn func() field.ErrorList) admission.Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Allowed ¶
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 NewMutatingResource ¶
func NewMutatingResource(resourcePluralName string) schema.GroupVersionResource
func NewValidatingResource ¶
func NewValidatingResource(resourcePluralName string) schema.GroupVersionResource
func Unmarshal ¶
func Unmarshal(rawExt *runtime.RawExtension, object interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.