v1

package
v4.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNonPVsVolumesFromStorage

func GetNonPVsVolumesFromStorage(storage *asdbv1.AerospikeStorageSpec) (nonPVs []asdbv1.VolumeSpec)

GetNonPVsVolumesFromStorage returns the non PV volumes from the storage spec.

func GetPVsVolumesFromStorage

func GetPVsVolumesFromStorage(storage *asdbv1.AerospikeStorageSpec) (pVs []asdbv1.VolumeSpec)

GetPVsVolumesFromStorage returns the PV volumes from the storage spec.

func SetupAerospikeClusterWebhookWithManager

func SetupAerospikeClusterWebhookWithManager(mgr ctrl.Manager) error

SetupAerospikeClusterWebhookWithManager registers the webhook for AerospikeCluster in the manager.

func ValidateAerospikeObjectMeta

func ValidateAerospikeObjectMeta(aerospikeObjectMeta *asdbv1.AerospikeObjectMeta) error

Types

type AerospikeClusterCustomDefaulter

type AerospikeClusterCustomDefaulter struct {
}

+kubebuilder:object:generate=false Above marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*AerospikeClusterCustomDefaulter) Default

Default implements webhook.CustomDefaulter so a webhook will be registered for the type

type AerospikeClusterCustomValidator

type AerospikeClusterCustomValidator struct {
}

+kubebuilder:object:generate=false

func (*AerospikeClusterCustomValidator) ValidateCreate

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type

func (*AerospikeClusterCustomValidator) ValidateDelete

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type

func (*AerospikeClusterCustomValidator) ValidateUpdate

func (acv *AerospikeClusterCustomValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object,
) (admission.Warnings, error)

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL