app

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: Apache-2.0 Imports: 8 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigVolumes added in v0.3.0

func GetConfigVolumes(cvName, cmName string) corev1.Volume

func GetSecretVolumes added in v1.0.0

func GetSecretVolumes(cvName, cmName string, optional bool) corev1.Volume

func GetTmpVolume added in v1.0.0

func GetTmpVolume(cvName string) corev1.Volume

func PMM3Client added in v1.18.0

func PMM3Client(cr *api.PerconaXtraDBCluster, secret *corev1.Secret, envVarsSecret *corev1.Secret) (corev1.Container, error)

func PMMAgentScript added in v1.7.0

func PMMAgentScript(cr *api.PerconaXtraDBCluster, dbType string) []corev1.EnvVar

func PMMClient

func PMMClient(cr *api.PerconaXtraDBCluster, spec *api.PMMSpec, secret *corev1.Secret, envVarsSecret *corev1.Secret) corev1.Container

PMMClient constructs a PMM2 container. This function is going to be deprecated soon.

func PVCs

func PVCs(name string, vspec *api.VolumeSpec) []corev1.PersistentVolumeClaim

PVCs returns the list of PersistentVolumeClaims for the pod

func Probe

func Probe(pb *corev1.Probe, cmd ...string) *corev1.Probe

Probe is a k8s helper to create Probe object

func SecretKeySelector

func SecretKeySelector(name, key string) *corev1.SecretKeySelector

SecretKeySelector is a k8s helper to create SecretKeySelector object

func SecretKeySelectorWithOptional added in v1.20.0

func SecretKeySelectorWithOptional(name, key string, optional bool) *corev1.SecretKeySelector

SecretKeySelectorWithOptional is a k8s helper to create SecretKeySelector object with optional flag

func VolumeSpec added in v0.2.0

VolumeSpec returns volume claim based on the given spec

func Volumes added in v0.3.0

func Volumes(podSpec *api.PodSpec, dataVolumeName string) *api.Volume

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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