v1

package
v4.0.0-...-fe07038 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 23 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 GetVolumeForAerospikePath

func GetVolumeForAerospikePath(storage *asdbv1.AerospikeStorageSpec, path string) *asdbv1.VolumeSpec

GetVolumeForAerospikePath returns volume defined for given path for Aerospike server container.

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

func ValidateTLSAuthenticateClient

func ValidateTLSAuthenticateClient(serviceConf map[string]interface{}) (
	[]string, error,
)

ValidateTLSAuthenticateClient validate the tls-authenticate-client field in the service configuration.

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