Documentation ¶
Index ¶
- func CheckSecretsExist(client kubernetes.Interface, secNames []string, namespace string) error
- func IsStorageTypeCompatibleWithSpec(storageType olddbapi.StorageType, storage *core.PersistentVolumeClaimSpec, ...) error
- func IsStorageTypeCompatibleWithSpecV1(storageType dbapi.StorageType, storage *core.PersistentVolumeClaimSpec, ...) error
- func ValidateEnvVar(envs []core.EnvVar, forbiddenEnvs []string, resourceType string) error
- func ValidateHealth(health *kmapi.HealthCheckSpec) error
- func ValidateInternalUsers(users map[string]olddbapi.ElasticsearchUserSpec, allowedInternalUsers []string, ...) error
- func ValidateInternalUsersV1(users map[string]dbapi.ElasticsearchUserSpec, allowedInternalUsers []string, ...) error
- func ValidateMonitorSpec(agent *mona.AgentSpec) error
- func ValidateMountPaths(volumeMounts []core.VolumeMount, reservedMountPaths []string) error
- func ValidateStorage(client kubernetes.Interface, storageType olddbapi.StorageType, ...) error
- func ValidateStorageV1(client kubernetes.Interface, storageType dbapi.StorageType, ...) error
- func ValidateVolumes(volumes []core.Volume, reservedVolumeNames []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSecretsExist ¶ added in v0.28.0
func CheckSecretsExist(client kubernetes.Interface, secNames []string, namespace string) error
func IsStorageTypeCompatibleWithSpec ¶ added in v0.28.0
func IsStorageTypeCompatibleWithSpec(storageType olddbapi.StorageType, storage *core.PersistentVolumeClaimSpec, ephemeralStorage *core.EmptyDirVolumeSource) error
func IsStorageTypeCompatibleWithSpecV1 ¶ added in v0.47.0
func IsStorageTypeCompatibleWithSpecV1(storageType dbapi.StorageType, storage *core.PersistentVolumeClaimSpec, ephemeralStorage *core.EmptyDirVolumeSource) error
func ValidateEnvVar ¶
func ValidateHealth ¶ added in v0.28.0
func ValidateHealth(health *kmapi.HealthCheckSpec) error
func ValidateInternalUsers ¶ added in v0.27.0
func ValidateInternalUsersV1 ¶ added in v0.47.0
func ValidateMonitorSpec ¶
ValidateMonitorSpec validates the Monitoring spec after all the defaulting is done.
func ValidateMountPaths ¶ added in v0.28.0
func ValidateMountPaths(volumeMounts []core.VolumeMount, reservedMountPaths []string) error
func ValidateStorage ¶
func ValidateStorage(client kubernetes.Interface, storageType olddbapi.StorageType, spec *core.PersistentVolumeClaimSpec, storageSpecPath ...string) error
func ValidateStorageV1 ¶ added in v0.47.0
func ValidateStorageV1(client kubernetes.Interface, storageType dbapi.StorageType, spec *core.PersistentVolumeClaimSpec, storageSpecPath ...string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.