provisioning

package
v1.58.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Selector

type Selector interface {
	// Match returns `true` if the scenario should be run, `false` otherwise.
	Match(testCase scenario) bool
}

Selector allows to exclude or include the test scenarios.

func And added in v1.43.0

func And(s1 Selector, s2 Selector) Selector

And is used to match against two selectors.

func NameSelector added in v1.43.0

func NameSelector(tcName string) Selector

NameSelector is used to match against a test case name.

func Not

func Not(s Selector) Selector

Not returns the negation of the selector.

func OsSelector

func OsSelector(osName ...string) Selector

OsSelector is used to match test scenarios by OS name.

func VersionSelector added in v1.57.0

func VersionSelector(v ...string) Selector

VersionSelector is used to match against the kubernetes version used for a test case.

Jump to

Keyboard shortcuts

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