validator

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 11

Documentation

Index

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 api.StorageType, storage *core.PersistentVolumeClaimSpec, ephemeralStorage *core.EmptyDirVolumeSource) error

func ValidateEnvVar

func ValidateEnvVar(envs []core.EnvVar, forbiddenEnvs []string, resourceType string) error

func ValidateHealth added in v0.28.0

func ValidateHealth(health *kmapi.HealthCheckSpec) error

func ValidateInternalUsers added in v0.27.0

func ValidateInternalUsers(users map[string]api.ElasticsearchUserSpec, allowedInternalUsers []string, resourceType string) error

func ValidateMonitorSpec

func ValidateMonitorSpec(agent *mona.AgentSpec) error

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 api.StorageType, spec *core.PersistentVolumeClaimSpec, storageSpecPath ...string) error

func ValidateVolumes added in v0.28.0

func ValidateVolumes(volumes []core.Volume, reservedVolumeNames []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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