runner

package
v1.11.8-beta-02 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScraperRunner

type ScraperRunner struct {
	Params  envs.Params
	Scraper scraper.Scraper
}

ScraperRunner prepares data for executor

func NewRunner

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

NewRunner creates scraper runner

func (*ScraperRunner) GetType

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

GetType returns runner type

func (*ScraperRunner) Run

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

Run prepares data for executor

Jump to

Keyboard shortcuts

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