api

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: AGPL-3.0 Imports: 12 Imported by: 1

Documentation

Overview

Package api contains the REST API implementation for k6. It also registers the services endpoints like pprof

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServer added in v0.43.0

func GetServer(
	runCtx context.Context,
	addr string,
	profilingEnabled bool,
	runState *lib.TestRunState,
	samples chan metrics.SampleContainer,
	me *engine.MetricsEngine,
	es *execution.Scheduler,
) *http.Server

GetServer returns a http.Server instance that can serve k6's REST API.

Types

This section is empty.

Directories

Path Synopsis
v1
Package v1 implements the v1 of the k6's REST API
Package v1 implements the v1 of the k6's REST API
client
Package client provides a simple go-client for the k6's REST API.
Package client provides a simple go-client for the k6's REST API.

Jump to

Keyboard shortcuts

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