Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkloadWebhook ¶
type WorkloadWebhook struct {
// contains filtered or unexported fields
}
WorkloadWebhook avoids the bidirectional conversion needed for GenericWebhooks. Only supports workload types.
func NewWorkloadWebhook ¶
func NewWorkloadWebhook( plural schema.GroupVersionResource, singular string, kind string, factory api.GetterFactory, handler lib.ResourceHandler, ) *WorkloadWebhook
func (*WorkloadWebhook) Admit ¶
func (h *WorkloadWebhook) Admit(req *admission.AdmissionRequest) *admission.AdmissionResponse
func (*WorkloadWebhook) Initialize ¶
func (h *WorkloadWebhook) Initialize(config *rest.Config, stopCh <-chan struct{}) error
func (*WorkloadWebhook) Resource ¶
func (h *WorkloadWebhook) Resource() (schema.GroupVersionResource, string)
Click to show internal directories.
Click to hide internal directories.