extk6

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewK6LoadTestCloudAction

func NewK6LoadTestCloudAction() action_kit_sdk.Action[K6LoadTestRunState]

func NewK6LoadTestRunAction

func NewK6LoadTestRunAction() action_kit_sdk.Action[K6LoadTestRunState]

Types

type K6LoadTestCloudAction

type K6LoadTestCloudAction struct{}

func (*K6LoadTestCloudAction) Describe

func (l *K6LoadTestCloudAction) Describe() action_kit_api.ActionDescription

func (*K6LoadTestCloudAction) NewEmptyState

func (l *K6LoadTestCloudAction) NewEmptyState() K6LoadTestRunState

func (*K6LoadTestCloudAction) Prepare

func (l *K6LoadTestCloudAction) Prepare(_ context.Context, state *K6LoadTestRunState, request action_kit_api.PrepareActionRequestBody) (*action_kit_api.PrepareResult, error)

func (*K6LoadTestCloudAction) Start

func (l *K6LoadTestCloudAction) Start(_ context.Context, state *K6LoadTestRunState) (*action_kit_api.StartResult, error)

func (*K6LoadTestCloudAction) Status

func (l *K6LoadTestCloudAction) Status(_ context.Context, state *K6LoadTestRunState) (*action_kit_api.StatusResult, error)

func (*K6LoadTestCloudAction) Stop

func (l *K6LoadTestCloudAction) Stop(_ context.Context, state *K6LoadTestRunState) (*action_kit_api.StopResult, error)

type K6LoadTestRunAction

type K6LoadTestRunAction struct{}

func (*K6LoadTestRunAction) Describe

func (l *K6LoadTestRunAction) Describe() action_kit_api.ActionDescription

func (*K6LoadTestRunAction) NewEmptyState

func (l *K6LoadTestRunAction) NewEmptyState() K6LoadTestRunState

func (*K6LoadTestRunAction) Prepare

func (l *K6LoadTestRunAction) Prepare(_ context.Context, state *K6LoadTestRunState, request action_kit_api.PrepareActionRequestBody) (*action_kit_api.PrepareResult, error)

func (*K6LoadTestRunAction) Start

func (l *K6LoadTestRunAction) Start(_ context.Context, state *K6LoadTestRunState) (*action_kit_api.StartResult, error)

func (*K6LoadTestRunAction) Status

func (l *K6LoadTestRunAction) Status(_ context.Context, state *K6LoadTestRunState) (*action_kit_api.StatusResult, error)

func (*K6LoadTestRunAction) Stop

func (l *K6LoadTestRunAction) Stop(_ context.Context, state *K6LoadTestRunState) (*action_kit_api.StopResult, error)

type K6LoadTestRunConfig

type K6LoadTestRunConfig struct {
	Environment []map[string]string
	File        string
}

type K6LoadTestRunState

type K6LoadTestRunState struct {
	Command         []string  `json:"command"`
	Pid             int       `json:"pid"`
	CmdStateID      string    `json:"cmdStateId"`
	Timestamp       string    `json:"timestamp"`
	StdOutLineCount int       `json:"stdOutLineCount"`
	ExecutionId     uuid.UUID `json:"executionId"`
}

Jump to

Keyboard shortcuts

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