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)
- type Mutator
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 Cluster CRD.
func NewAdmissionHandler ¶
func NewAdmissionHandler(client ctrlruntimeclient.Client, configGetter provider.KubermaticConfigurationGetter, seedGetter provider.SeedGetter, caBundle *x509.CertPool) *AdmissionHandler
NewAdmissionHandler returns a new cluster 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)
type Mutator ¶ added in v2.22.0
type Mutator struct {
// contains filtered or unexported fields
}
Mutator for mutating Kubermatic Cluster CRD.
func NewMutator ¶ added in v2.22.0
func NewMutator(client ctrlruntimeclient.Client, configGetter provider.KubermaticConfigurationGetter, seedGetter provider.SeedGetter, caBundle *x509.CertPool) *Mutator
NewAdmissionHandler returns a new cluster AdmissionHandler.
Click to show internal directories.
Click to hide internal directories.