Documentation ¶
Index ¶
- Constants
- func CreateResources(r *api.PodResources) (rr corev1.ResourceRequirements, err error)
- func PMMClient(spec *api.PMMSpec, secrets string) corev1.Container
- func PVCs(name string, vspec *api.PodVolumeSpec) ([]corev1.PersistentVolumeClaim, error)
- func Probe(pb *corev1.Probe, cmd ...string) *corev1.Probe
- func SecretKeySelector(name, key string) *corev1.SecretKeySelector
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 PVCs ¶
func PVCs(name string, vspec *api.PodVolumeSpec) ([]corev1.PersistentVolumeClaim, error)
PVCs returns the list of PersistentVolumeClaims for the pod
func SecretKeySelector ¶
func SecretKeySelector(name, key string) *corev1.SecretKeySelector
SecretKeySelector is a k8s helper to create SecretKeySelector object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.