app

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: Apache-2.0 Imports: 5 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 string) corev1.Volume

func PMMClient

func PMMClient(spec *api.PMMSpec, secrets string) 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