e2e

package
v0.0.0-...-ff1336e Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOrchestrator

func NewOrchestrator(ctx context.Context) (orchestrator.Orchestrator, error)

NewOrchestrator creates a new E2E orchestrator instance.

func RunTests

func RunTests(ctx context.Context) int

RunTests initializes the orchestrator and runs the complete e2e test lifecycle. This includes provisioning, test execution, log analysis (on failure), and reporting.

Types

type E2EOrchestrator

type E2EOrchestrator struct {
	// contains filtered or unexported fields
}

E2EOrchestrator implements the orchestrator.Orchestrator interface for OSD e2e tests.

func (*E2EOrchestrator) AnalyzeLogs

func (o *E2EOrchestrator) AnalyzeLogs(ctx context.Context, testErr error) error

AnalyzeLogs performs AI-powered log analysis on test failures.

func (*E2EOrchestrator) Cleanup

func (o *E2EOrchestrator) Cleanup(ctx context.Context) error

Cleanup performs post-test cleanup and optionally destroys the cluster.

func (*E2EOrchestrator) Execute

func (o *E2EOrchestrator) Execute(ctx context.Context) error

Execute runs the test suites.

func (*E2EOrchestrator) PostProcessCluster

func (o *E2EOrchestrator) PostProcessCluster(ctx context.Context) error

PostProcessCluster performs post-processing on the cluster including must-gather, cluster expiration extension, and cluster property updates.

func (*E2EOrchestrator) Provision

func (o *E2EOrchestrator) Provision(ctx context.Context) error

Provision prepares the cluster environment.

func (*E2EOrchestrator) Report

func (o *E2EOrchestrator) Report(ctx context.Context) error

Report generates reports and collects diagnostic data.

func (*E2EOrchestrator) Result

func (o *E2EOrchestrator) Result() *orchestrator.Result

Result returns the test execution result.

Directories

Path Synopsis
openshift
hypershift
Package hypershift runs test units for hypershift clusters
Package hypershift runs test units for hypershift clusters

Jump to

Keyboard shortcuts

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