host

package
v0.0.0-...-be7f909 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunHostTaskPatchTest

func RunHostTaskPatchTest(ctx context.Context, t *testing.T, params SmokeTestParams)

RunHostTaskPatchTest runs host tasks in the smoke test based on the project YAML (project.yml) and the regexp specifying the tasks to run.

Types

type SmokeTestParams

type SmokeTestParams struct {
	internal.APIParams
	ExecModeID     string
	ExecModeSecret string
	CLIConfigPath  string
	ProjectID      string
	BVName         string
}

SmokeTestParams contain common parameters used by smoke tests.

func GetSmokeTestParamsFromEnv

func GetSmokeTestParamsFromEnv(t *testing.T) SmokeTestParams

GetSmokeTestParamsFromEnv gets the parameters for the host smoke test from the environment. It sets defaults where possible. Note that the default data depends on the setup test data for the smoke test.

Jump to

Keyboard shortcuts

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