e2e

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// QuickTimeout - for operations that should complete in seconds (resource existence checks)
	QuickTimeout = 30 * time.Second
	// StandardTimeout - for basic CRUD operations on Kubernetes resources
	StandardTimeout = 1 * time.Minute
	// MediumTimeout - for operations involving API calls with retries or resource deletion
	MediumTimeout = 2 * time.Minute
	// ContainerTimeout - for container startup and initialization
	ContainerTimeout = 3 * time.Minute

	// Polling intervals for Eventually/Consistently checks
	QuickPoll    = 2 * time.Second  // For fast-changing resources
	StandardPoll = 5 * time.Second  // For typical resource state changes
	MediumPoll   = 10 * time.Second // For slower cloud operations
	LongPoll     = 15 * time.Second // For very slow operations
	HelmPoll     = 20 * time.Second // For Helm chart operations
)

Timeout constants used across E2E tests

Variables

This section is empty.

Functions

This section is empty.

Types

type TestResource

type TestResource struct {
	Type      string
	Name      string
	Namespace string
}

TestResource represents a Kubernetes resource created during tests

Jump to

Keyboard shortcuts

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