Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericWebhook ¶
type GenericWebhook struct {
// contains filtered or unexported fields
}
func NewGenericWebhook ¶
func NewGenericWebhook( plural schema.GroupVersionResource, singular string, srcGroups []string, target schema.GroupVersionKind, factory api.GetterFactory, handler lib.ResourceHandler, ) *GenericWebhook
func (*GenericWebhook) Admit ¶
func (h *GenericWebhook) Admit(req *admission.AdmissionRequest) *admission.AdmissionResponse
func (*GenericWebhook) Initialize ¶
func (h *GenericWebhook) Initialize(config *rest.Config, stopCh <-chan struct{}) error
func (*GenericWebhook) Resource ¶
func (h *GenericWebhook) Resource() (schema.GroupVersionResource, string)
Click to show internal directories.
Click to hide internal directories.