Documentation ¶
Index ¶
- func ConvertFrontendService(obj *v1alpha1.RisingWave)
- func ConvertGlobalConfig(obj *v1alpha1.RisingWave)
- func ConvertGlobalImage(obj *v1alpha1.RisingWave)
- func ConvertNodeGroups(obj *v1alpha1.RisingWave)
- func ConvertStorages(obj *v1alpha1.RisingWave)
- func ConvertToV1alpha2Features(obj *v1alpha1.RisingWave)
- func NewRisingWaveMutatingWebhook() webhook.CustomDefaulter
- 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 RisingWaveScaleViewMutatingWebhook
- type RisingWaveScaleViewValidatingWebhook
- func (w *RisingWaveScaleViewValidatingWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (w *RisingWaveScaleViewValidatingWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (w *RisingWaveScaleViewValidatingWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (warnings admission.Warnings, err error)
- type RisingWaveValidatingWebhook
- func (v *RisingWaveValidatingWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (v *RisingWaveValidatingWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (v *RisingWaveValidatingWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) (warnings admission.Warnings, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFrontendService ¶ added in v0.3.4
func ConvertFrontendService(obj *v1alpha1.RisingWave)
ConvertFrontendService converts v1alpha1 service type and service meta. nolint
func ConvertGlobalConfig ¶ added in v0.4.0
func ConvertGlobalConfig(obj *v1alpha1.RisingWave)
ConvertGlobalConfig converts the global config to the new global config.
func ConvertGlobalImage ¶ added in v0.3.4
func ConvertGlobalImage(obj *v1alpha1.RisingWave)
ConvertGlobalImage converts v1alpha1 global image. nolint
func ConvertNodeGroups ¶ added in v0.4.0
func ConvertNodeGroups(obj *v1alpha1.RisingWave)
ConvertNodeGroups converts the old node groups to the new node groups. nolint
func ConvertStorages ¶ added in v0.3.5
func ConvertStorages(obj *v1alpha1.RisingWave)
ConvertStorages converts v1alpha1 storages. nolint
func ConvertToV1alpha2Features ¶ added in v0.3.4
func ConvertToV1alpha2Features(obj *v1alpha1.RisingWave)
ConvertToV1alpha2Features converts v1alpha1 features to v1alpha2 features.
func NewRisingWaveMutatingWebhook ¶
func NewRisingWaveMutatingWebhook() webhook.CustomDefaulter
NewRisingWaveMutatingWebhook returns a new mutating webhook for RisingWaves.
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 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) (warnings admission.Warnings, err error)
ValidateCreate implements the webhook.CustomValidator.
func (*RisingWaveScaleViewValidatingWebhook) ValidateDelete ¶ added in v0.2.2
func (w *RisingWaveScaleViewValidatingWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err 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) (warnings admission.Warnings, err 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 ¶
func (v *RisingWaveValidatingWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
ValidateCreate implements admission.CustomValidator.
func (*RisingWaveValidatingWebhook) ValidateDelete ¶
func (v *RisingWaveValidatingWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
ValidateDelete implements admission.CustomValidator.