e2e_analysis

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReadyNodeCountByLabel

func GetReadyNodeCountByLabel(nodeList *k8sv1.NodeList, labelSelector string) (int, error)

GetReadyNodeCountByLabel filters a list of nodes by a label selector and returns the count of ready nodes.

func TopologicalSort

func TopologicalSort(operators []string, dependencies map[string][]string) ([]string, error)

Sort operators by topological order

func WriteDurations

func WriteDurations(name string, metrics map[string]time.Duration, artifactDir, timeSuffix string)

WriteDurations writes multiple duration metrics to a file in the autodl format.

Types

type Options

type Options struct {
	JUnitDir string
}

func (*Options) Run

func (opt *Options) Run() error

type TestCase

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

func NewTestCase

func NewTestCase(name string) *TestCase

type TestManager

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

func NewTestManager

func NewTestManager() *TestManager

func (*TestManager) AddTestCase

func (tm *TestManager) AddTestCase(tc *TestCase, failureMsg, skipMsg string)

func (*TestManager) GenerateReport

func (tm *TestManager) GenerateReport(opt *Options) error

Jump to

Keyboard shortcuts

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