app

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "pxc"
)

Variables

This section is empty.

Functions

func CreateResources

func CreateResources(r *api.PodResources) (rr corev1.ResourceRequirements, err error)

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 PMMAgentScript added in v1.7.1

func PMMAgentScript(dbType string) []corev1.EnvVar

func PMMClient

func PMMClient(spec *api.PMMSpec, secrets string, v120OrGreater bool, v170OrGreater bool) corev1.Container

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 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