Documentation
¶
Overview ¶
Package ansibletest provides constants and utilities for Ansible-based testing functionality
Index ¶
- Constants
- Variables
- func GetVolumeMounts(instance *testv1beta1.AnsibleTest, mountCerts bool, ...) []corev1.VolumeMount
- func GetVolumes(instance *testv1beta1.AnsibleTest, logsPVCName string, mountCerts bool, ...) []corev1.Volume
- func Pod(instance *testv1beta1.AnsibleTest, labels map[string]string, podName string, ...) *corev1.Pod
Constants ¶
View Source
const ( // ServiceName - ansibleTest service name ServiceName = "ansibleTest" // AnsibleTest is the definition of the ansibletest group AnsibleTest storage.PropagationType = "AnsibleTest" // PodRunAsUser is the UID to run the AnsibleTest pod as PodRunAsUser = int64(227) // PodRunAsGroup is the GID to run the AnsibleTest pod as PodRunAsGroup = int64(227) )
Variables ¶
View Source
var ( // AnsibleTestPropagation is the definition of the Ansible Test propagation service AnsibleTestPropagation = []storage.PropagationType{AnsibleTest} // PodCapabilities defines the Linux capabilities for AnsibleTest pods PodCapabilities = []corev1.Capability{"NET_ADMIN", "NET_RAW"} )
Functions ¶
func GetVolumeMounts ¶
func GetVolumeMounts( instance *testv1beta1.AnsibleTest, mountCerts bool, svc []storage.PropagationType, externalWorkflowCounter int, ) []corev1.VolumeMount
GetVolumeMounts - returns a list of volume mounts for the test container
func GetVolumes ¶
func GetVolumes( instance *testv1beta1.AnsibleTest, logsPVCName string, mountCerts bool, svc []storage.PropagationType, externalWorkflowCounter int, ) []corev1.Volume
GetVolumes - returns a list of volumes for the test pod
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.