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 mutating Kubermatic Addon CRD.
func NewAdmissionHandler ¶
func NewAdmissionHandler(seedClient ctrlruntimeclient.Client) *AdmissionHandler
NewAdmissionHandler returns a new Addon 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.