Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { // Name of the test TestID string RunID uuid.UUID // Environment to run the tests in. By default, a local environment will be used. Environment string // Do not cleanup the resources after the test run. NoCleanup bool // Indicates that the tests are running in CI Mode CIMode bool // Local working directory root for creating temporary directories / files in. If left empty, // os.TempDir() will be used. BaseDir string // The label selector that the user has specified. SelectorString string // The label selector, in parsed form. Selector label.Selector }
Settings is the set of arguments to the test driver.
func DefaultSettings ¶
func DefaultSettings() *Settings
DefaultSettings returns a default settings instance.
func SettingsFromCommandLine ¶
SettingsFromCommandLine returns settings obtained from command-line flags. flag.Parse must be called before calling this function.
Click to show internal directories.
Click to hide internal directories.