Documentation ¶
Index ¶
- type AdmissionHook
- func (a *AdmissionHook) Admit(ar *admission.AdmissionRequest) *admission.AdmissionResponse
- func (a *AdmissionHook) Initialize(cfg *rest.Config, stopCh <-chan struct{}) error
- func (a *AdmissionHook) MutatingResource() (plural schema.GroupVersionResource, singular string)
- func (a *AdmissionHook) Validate(ar *admission.AdmissionRequest) *admission.AdmissionResponse
- func (a *AdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionHook ¶ added in v1.1.0
type AdmissionHook struct { ExtraServiceAccounts string // contains filtered or unexported fields }
func (*AdmissionHook) Admit ¶ added in v1.1.0
func (a *AdmissionHook) Admit(ar *admission.AdmissionRequest) *admission.AdmissionResponse
func (*AdmissionHook) Initialize ¶ added in v1.1.0
func (a *AdmissionHook) Initialize(cfg *rest.Config, stopCh <-chan struct{}) error
any special initialization goes here
func (*AdmissionHook) MutatingResource ¶ added in v1.1.0
func (a *AdmissionHook) MutatingResource() (plural schema.GroupVersionResource, singular string)
func (*AdmissionHook) Validate ¶ added in v1.1.0
func (a *AdmissionHook) Validate(ar *admission.AdmissionRequest) *admission.AdmissionResponse
func (*AdmissionHook) ValidatingResource ¶ added in v1.1.0
func (a *AdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)
Click to show internal directories.
Click to hide internal directories.