Documentation
¶
Overview ¶
Package tempest provides constants and utilities for OpenStack Tempest testing functionality
Index ¶
- Constants
- Variables
- func GetVolumeMounts(instance *testv1beta1.Tempest, mountCerts bool, mountSSHKey bool, ...) []corev1.VolumeMount
- func GetVolumes(instance *testv1beta1.Tempest, customDataConfigMapName string, ...) []corev1.Volume
- func Pod(instance *testv1beta1.Tempest, labels map[string]string, ...) *corev1.Pod
Constants ¶
View Source
const ( // ServiceName - tempest service name ServiceName = "tempest" // Tempest is the definition of the tempest group Tempest storage.PropagationType = "Tempest" // PodRunAsUser is the UID to run the Tempest pod as PodRunAsUser = int64(42480) // PodRunAsGroup is the GID to run the Tempest pod as PodRunAsGroup = int64(42480) )
Variables ¶
View Source
var ( // TempestPropagation is the definition of the Tempest propagation service TempestPropagation = []storage.PropagationType{Tempest} // PodCapabilities defines the Linux capabilities for Tempest pods PodCapabilities = []corev1.Capability{} )
Functions ¶
func GetVolumeMounts ¶
func GetVolumeMounts( instance *testv1beta1.Tempest, mountCerts bool, mountSSHKey bool, svc []storage.PropagationType, ) []corev1.VolumeMount
GetVolumeMounts - returns a list of volume mounts for the test container
func GetVolumes ¶
func GetVolumes( instance *testv1beta1.Tempest, customDataConfigMapName string, logsPVCName string, mountCerts bool, mountSSHKey bool, svc []storage.PropagationType, ) []corev1.Volume
GetVolumes - returns a list of volumes for the test pod
func Pod ¶
func Pod( instance *testv1beta1.Tempest, labels map[string]string, annotations map[string]string, podName string, envVarsConfigMapName string, customDataConfigMapName string, logsPVCName string, mountCerts bool, mountSSHKey bool, containerImage string, ) *corev1.Pod
Pod - prepare pod to run Tempest tests
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.