apiteam

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Javascript api for interracting with APITeam, for more information, see https://apiteam.cloud

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrGroupInInitContext is returned when group() are using in the init context.
	ErrGroupInInitContext = common.NewInitContextError("Using group() in the init context is not supported")

	// ErrCheckInInitContext is returned when check() are using in the init context.
	ErrCheckInInitContext = common.NewInitContextError("Using check() in the init context is not supported")
)

Functions

This section is empty.

Types

type APITeam

type APITeam struct {
	// contains filtered or unexported fields
}

APITeam represents an instance of the k6 module.

func (*APITeam) Exports

func (mi *APITeam) Exports() modules.Exports

Exports returns the exports of the apiteam module.

func (*APITeam) Mark

func (mi *APITeam) Mark(mark string, markedObject *goja.Object) error

Returns a marked value to the orchestrator

type RootModule

type RootModule struct{}

RootModule is the global module instance that will create module instances for each VU.

func New

func New() *RootModule

New returns a pointer to a new RootModule instance.

func (*RootModule) NewModuleInstance

func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance

NewModuleInstance implements the modules.Module interface to return a new instance for each VU.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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