tempest

package
v0.0.0-...-9117f35 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package tempest provides constants and utilities for OpenStack Tempest testing functionality

Index

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.

Jump to

Keyboard shortcuts

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