testing

package
v0.370.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ActionApiPath  = "testingactionsapi"
	JobPath        = "testingjobs"
	SubscriberPath = "testingsubscribers"
)

Variables

This section is empty.

Functions

func HandleJobExecutorRequest added in v0.368.0

func HandleJobExecutorRequest(ctx context.Context, schema *proto.Schema, jobName string, r *http.Request) error

HandleJobExecutorRequest handles requests the job module in the testing package.

func HandleSubscriberExecutorRequest added in v0.368.0

func HandleSubscriberExecutorRequest(ctx context.Context, schema *proto.Schema, subscriberName string, r *http.Request) error

HandleSubscriberExecutorRequest handles requests the subscriber module in the testing package.

func Run

func Run(ctx context.Context, opts *RunnerOpts) error

Types

type RunnerOpts

type RunnerOpts struct {
	Dir           string
	Pattern       string
	DbConnInfo    *db.ConnectionInfo
	Secrets       map[string]string
	TestGroupName string
}

type TestOutput

type TestOutput struct {
	Output  string
	Success bool
}

Jump to

Keyboard shortcuts

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