Documentation
¶
Index ¶
- func NewOrchestrator(ctx context.Context) (orchestrator.Orchestrator, error)
- func RunTests(ctx context.Context) int
- type E2EOrchestrator
- func (o *E2EOrchestrator) AnalyzeLogs(ctx context.Context, testErr error) error
- func (o *E2EOrchestrator) Cleanup(ctx context.Context) error
- func (o *E2EOrchestrator) Execute(ctx context.Context) error
- func (o *E2EOrchestrator) PostProcessCluster(ctx context.Context) error
- func (o *E2EOrchestrator) Provision(ctx context.Context) error
- func (o *E2EOrchestrator) Report(ctx context.Context) error
- func (o *E2EOrchestrator) Result() *orchestrator.Result
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.
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 |
Click to show internal directories.
Click to hide internal directories.