runner

package
v1.16.25-beta003 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TRACETEST_ENDPOINT_VAR        = "TRACETEST_ENDPOINT"
	TRACETEST_OUTPUT_ENDPOINT_VAR = "TRACETEST_OUTPUT_ENDPOINT"
)
View Source
const (
	TRACETEST_TOKEN_VAR        = "TRACETEST_TOKEN"
	TRACETEST_ORGANIZATION_VAR = "TRACETEST_ORGANIZATION"
	TRACETEST_ENVIRONMENT_VAR  = "TRACETEST_ENVIRONMENT"
	TRACETEST_CLOUD_URL        = "https://app.tracetest.io"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TracetestCLIExecutor added in v1.16.0

type TracetestCLIExecutor interface {
	RequiredEnvVars() []string
	HasEnvVarsDefined(*env.Manager) bool
	Execute(*env.Manager, testkube.Execution, string) (model.Result, error)
}

type TracetestRunner

type TracetestRunner struct {
	Params  envs.Params
	Scraper scraper.Scraper
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(ctx context.Context, params envs.Params) (*TracetestRunner, error)

func (*TracetestRunner) GetType

func (r *TracetestRunner) GetType() runner.Type

GetType returns runner type

func (*TracetestRunner) Run

func (r *TracetestRunner) Run(ctx context.Context, execution testkube.Execution) (result testkube.ExecutionResult, err error)

Jump to

Keyboard shortcuts

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