extk6

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 26 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDiscovery added in v1.0.19

func NewDiscovery() discovery_kit_sdk.TargetDiscovery

func NewK6LoadTestCloudAction

func NewK6LoadTestCloudAction() action_kit_sdk.Action[K6LoadTestRunState]

func NewK6LoadTestRunAction

func NewK6LoadTestRunAction() action_kit_sdk.Action[K6LoadTestRunState]

Types

type K6LoadTestRunAction

type K6LoadTestRunAction struct{}

func (*K6LoadTestRunAction) Describe

func (*K6LoadTestRunAction) NewEmptyState

func (l *K6LoadTestRunAction) NewEmptyState() K6LoadTestRunState

func (*K6LoadTestRunAction) Start

func (*K6LoadTestRunAction) Status

func (*K6LoadTestRunAction) Stop

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"`
	ExecutionId uuid.UUID `json:"executionId"`
	CloudRunId  string    `json:"cloudRunId"`
}

type RunStatus added in v1.0.1

type RunStatus struct {
	// Values: https://k6.io/docs/cloud/cloud-reference/cloud-rest-api/test-runs/#read-load-test-run
	RunStatus int    `json:"run_status"`
	Started   string `json:"started"`
	Ended     string `json:"ended"`
}

type StatusResponse added in v1.0.1

type StatusResponse struct {
	K6Run RunStatus `json:"k6-run"`
}

Jump to

Keyboard shortcuts

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