Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RDBDatabaseValidator ¶
type RDBDatabaseValidator struct { ScalewayWebhook *webhooks.ScalewayWebhook *admission.Decoder Log logr.Logger }
RDBDatabaseValidator is the struct used to validate a RDBDatabase
func (*RDBDatabaseValidator) Handle ¶
func (v *RDBDatabaseValidator) Handle(ctx context.Context, req admission.Request) admission.Response
Handle handles the main logic of the RDBDatabase webhook
func (*RDBDatabaseValidator) InjectDecoder ¶
func (v *RDBDatabaseValidator) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder.
func (*RDBDatabaseValidator) SetupWebhookWithManager ¶
func (v *RDBDatabaseValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager registers the RDBDatabase webhook
type RDBInstanceValidator ¶
type RDBInstanceValidator struct { ScalewayWebhook *webhooks.ScalewayWebhook *admission.Decoder Log logr.Logger }
RDBInstanceValidator is the struct used to validate a RDBInstance
func (*RDBInstanceValidator) Handle ¶
func (v *RDBInstanceValidator) Handle(ctx context.Context, req admission.Request) admission.Response
Handle handles the main logic of the RDBInstance webhook
func (*RDBInstanceValidator) InjectDecoder ¶
func (v *RDBInstanceValidator) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder.
func (*RDBInstanceValidator) SetupWebhookWithManager ¶
func (v *RDBInstanceValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager registers the RDBInstance webhook
Click to show internal directories.
Click to hide internal directories.