Documentation ¶
Index ¶
- type AdmissionHandler
- func (h *AdmissionHandler) Handle(ctx context.Context, req webhook.AdmissionRequest) webhook.AdmissionResponse
- func (h *AdmissionHandler) InjectDecoder(d *admission.Decoder) error
- func (h *AdmissionHandler) InjectLogger(l logr.Logger) error
- func (h *AdmissionHandler) SetupWebhookWithManager(mgr ctrlruntime.Manager)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionHandler ¶
type AdmissionHandler struct {
// contains filtered or unexported fields
}
AdmissionHandler for validating OperatingSystemConfig CRD.
func NewAdmissionHandler ¶
func NewAdmissionHandler() *AdmissionHandler
NewAdmissionHandler returns a new validation AdmissionHandler.
func (*AdmissionHandler) Handle ¶
func (h *AdmissionHandler) Handle(ctx context.Context, req webhook.AdmissionRequest) webhook.AdmissionResponse
func (*AdmissionHandler) InjectDecoder ¶
func (h *AdmissionHandler) InjectDecoder(d *admission.Decoder) error
func (*AdmissionHandler) InjectLogger ¶
func (h *AdmissionHandler) InjectLogger(l logr.Logger) error
func (*AdmissionHandler) SetupWebhookWithManager ¶
func (h *AdmissionHandler) SetupWebhookWithManager(mgr ctrlruntime.Manager)
Click to show internal directories.
Click to hide internal directories.