Documentation ¶
Index ¶
- func NewRisingWaveMutatingWebhook() webhook.CustomDefaulter
- func NewRisingWavePodTemplateMutatingWebhook() webhook.CustomDefaulter
- func NewRisingWavePodTemplateValidatingWebhook() webhook.CustomValidator
- func NewRisingWaveScaleViewMutatingWebhook(client client.Reader) webhook.CustomDefaulter
- func NewRisingWaveScaleViewValidatingWebhook(client client.Reader) webhook.CustomValidator
- func NewRisingWaveValidatingWebhook(openKruiseAvailable bool) webhook.CustomValidator
- func SetupWebhooksWithManager(mgr ctrl.Manager, openKruiseAvailable bool) error
- type RisingWaveMutatingWebhook
- type RisingWavePodTemplateMutatingWebhook
- type RisingWavePodTemplateValidatingWebhook
- func (pt *RisingWavePodTemplateValidatingWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) error
- func (pt *RisingWavePodTemplateValidatingWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) error
- func (pt *RisingWavePodTemplateValidatingWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) error
- type RisingWaveScaleViewMutatingWebhook
- type RisingWaveScaleViewValidatingWebhook
- func (w *RisingWaveScaleViewValidatingWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) error
- func (w *RisingWaveScaleViewValidatingWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) error
- func (w *RisingWaveScaleViewValidatingWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) error
- type RisingWaveValidatingWebhook
- func (v *RisingWaveValidatingWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) error
- func (v *RisingWaveValidatingWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) error
- func (v *RisingWaveValidatingWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRisingWaveMutatingWebhook ¶
func NewRisingWaveMutatingWebhook() webhook.CustomDefaulter
NewRisingWaveMutatingWebhook returns a new mutating webhook for RisingWaves.
func NewRisingWavePodTemplateMutatingWebhook ¶
func NewRisingWavePodTemplateMutatingWebhook() webhook.CustomDefaulter
NewRisingWavePodTemplateMutatingWebhook returns a new mutating webhook for RisingWavePodTemplate.
func NewRisingWavePodTemplateValidatingWebhook ¶
func NewRisingWavePodTemplateValidatingWebhook() webhook.CustomValidator
NewRisingWavePodTemplateValidatingWebhook returns a new validating webhook for RisingWavePodTemplates.
func NewRisingWaveScaleViewMutatingWebhook ¶ added in v0.2.2
func NewRisingWaveScaleViewMutatingWebhook(client client.Reader) webhook.CustomDefaulter
NewRisingWaveScaleViewMutatingWebhook returns a new mutating webhook for RisingWaveScaleViews.
func NewRisingWaveScaleViewValidatingWebhook ¶ added in v0.2.2
func NewRisingWaveScaleViewValidatingWebhook(client client.Reader) webhook.CustomValidator
NewRisingWaveScaleViewValidatingWebhook returns a new validator for RisingWaveScaleViews.
func NewRisingWaveValidatingWebhook ¶
func NewRisingWaveValidatingWebhook(openKruiseAvailable bool) webhook.CustomValidator
NewRisingWaveValidatingWebhook returns a new validator for the RisingWave. The behavior differs on different values of the openKruiseAvailable.
Types ¶
type RisingWaveMutatingWebhook ¶
type RisingWaveMutatingWebhook struct{}
RisingWaveMutatingWebhook is the mutating webhook for RisingWaves.
type RisingWavePodTemplateMutatingWebhook ¶
type RisingWavePodTemplateMutatingWebhook struct{}
RisingWavePodTemplateMutatingWebhook is the mutating webhook for RisingWavePodTemplate.
type RisingWavePodTemplateValidatingWebhook ¶
type RisingWavePodTemplateValidatingWebhook struct{}
RisingWavePodTemplateValidatingWebhook is the validating webhook for RisingWavePodTemplates.
func (*RisingWavePodTemplateValidatingWebhook) ValidateCreate ¶
func (pt *RisingWavePodTemplateValidatingWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) error
ValidateCreate implements admission.CustomValidator.
func (*RisingWavePodTemplateValidatingWebhook) ValidateDelete ¶
func (pt *RisingWavePodTemplateValidatingWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) error
ValidateDelete implements admission.CustomValidator.
func (*RisingWavePodTemplateValidatingWebhook) ValidateUpdate ¶
func (pt *RisingWavePodTemplateValidatingWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) error
ValidateUpdate implements admission.CustomValidator.
type RisingWaveScaleViewMutatingWebhook ¶ added in v0.2.2
type RisingWaveScaleViewMutatingWebhook struct {
// contains filtered or unexported fields
}
RisingWaveScaleViewMutatingWebhook is the mutating webhook for RisingWaveScaleViews.
type RisingWaveScaleViewValidatingWebhook ¶ added in v0.2.2
type RisingWaveScaleViewValidatingWebhook struct {
// contains filtered or unexported fields
}
RisingWaveScaleViewValidatingWebhook is the validating webhook for RisingWaveScaleView.
func (*RisingWaveScaleViewValidatingWebhook) ValidateCreate ¶ added in v0.2.2
func (w *RisingWaveScaleViewValidatingWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) error
ValidateCreate implements the webhook.CustomValidator.
func (*RisingWaveScaleViewValidatingWebhook) ValidateDelete ¶ added in v0.2.2
func (w *RisingWaveScaleViewValidatingWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) error
ValidateDelete implements the webhook.CustomValidator.
func (*RisingWaveScaleViewValidatingWebhook) ValidateUpdate ¶ added in v0.2.2
func (w *RisingWaveScaleViewValidatingWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) error
ValidateUpdate implements the webhook.CustomValidator.
type RisingWaveValidatingWebhook ¶
type RisingWaveValidatingWebhook struct {
// contains filtered or unexported fields
}
RisingWaveValidatingWebhook is the validating webhook for RisingWaves.
func (*RisingWaveValidatingWebhook) ValidateCreate ¶
ValidateCreate implements admission.CustomValidator.
func (*RisingWaveValidatingWebhook) ValidateDelete ¶
ValidateDelete implements admission.CustomValidator.
func (*RisingWaveValidatingWebhook) ValidateUpdate ¶
func (v *RisingWaveValidatingWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) error
ValidateUpdate implements admission.CustomValidator.