server

package
v0.0.0-jobs1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ConcurrentExecutions = 4

ConcurrentExecutions per node

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	server.HTTPServer
	Repository result.Repository
	Worker     worker.Worker
}

func NewExecutor

func NewExecutor(resultRepository result.Repository, runner runner.Runner) Executor

NewExecutor returns new CypressExecutor instance

func (*Executor) GetExecution

func (e *Executor) GetExecution() fiber.Handler

func (*Executor) Init

func (e *Executor) Init() *Executor

Init initialize ExecutorAPI server

func (Executor) Run

func (e Executor) Run() error

func (*Executor) StartExecution

func (e *Executor) StartExecution() fiber.Handler

Jump to

Keyboard shortcuts

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