Documentation
¶
Index ¶
- func GetReadyNodeCountByLabel(nodeList *k8sv1.NodeList, labelSelector string) (int, error)
- func TopologicalSort(operators []string, dependencies map[string][]string) ([]string, error)
- func WriteDurations(name string, metrics map[string]time.Duration, artifactDir, timeSuffix string)
- type Options
- type TestCase
- type TestManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReadyNodeCountByLabel ¶
GetReadyNodeCountByLabel filters a list of nodes by a label selector and returns the count of ready nodes.
func TopologicalSort ¶
Sort operators by topological order
Types ¶
type TestCase ¶
type TestCase struct {
// contains filtered or unexported fields
}
func NewTestCase ¶
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
Click to show internal directories.
Click to hide internal directories.