e2e

package
v0.0.0-...-b2acd40 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT-0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PodLevelTestLabelKey/Value are attached to every supported workload's pods.
	PodLevelTestLabelKey   = "e2e-pod-level-values"
	PodLevelTestLabelValue = "true"

	// PodLevelTestAnnotationKey/Value are attached to every supported workload's pods.
	PodLevelTestAnnotationKey   = "e2e.amazonaws.com/pod-level-values"
	PodLevelTestAnnotationValue = "plumbing-check"

	// PodLevelTestPriorityClass is applied to workloads without a
	// component-level priorityClassName override (operator; NOT the agent or
	// fluent-bit, which default to system-node-critical).
	PodLevelTestPriorityClass = "system-cluster-critical"
)
View Source
const (
	Wait                    = 8 * time.Minute
	WaitForResourceCreation = 2 * time.Minute
)

Variables

This section is empty.

Functions

func DestroyResources

func DestroyResources(env *environment.MetaData) error

func GetPodList

func GetPodList(t *testing.T, clientset *kubernetes.Clientset, namespace string, name string) v1.PodList

func InitializeEnvironment

func InitializeEnvironment(env *environment.MetaData) error

func PodLevelValuesHelmValues

func PodLevelValuesHelmValues() map[string]utils.HelmValue

PodLevelValuesHelmValues returns the helm --set values that install the pod-level configuration exercised by VerifyPodLevelValues.

func ValidateMetrics

func ValidateMetrics(t *testing.T, metrics []string, namespace string)

func VerifyAgentResources

func VerifyAgentResources(t *testing.T, clientset *kubernetes.Clientset, configKeyword string)

func VerifyMetricAboveZero

func VerifyMetricAboveZero(t *testing.T, metricName string, namespace string)

func VerifyPodEnvironment

func VerifyPodEnvironment(t *testing.T, clientset *kubernetes.Clientset, deploymentName string, requiredEnvVars map[string]string)

func VerifyPodLevelValues

func VerifyPodLevelValues(t *testing.T, clientset *kubernetes.Clientset, env *environment.MetaData)

VerifyPodLevelValues asserts the pod-level values installed by applyHelmResources were plumbed through the chart into the workloads. Only the HELM_CHART installation type is verified: the EKS addon schema does not expose these fields yet (tracked as a follow-up), so the addon path skips.

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