data

package
v0.45.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: AGPL-3.0 Imports: 6 Imported by: 1

Documentation

Overview

Package data implements `k6/data` js module for k6. This modules provide utility types to work with data in an efficient way.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data added in v0.36.0

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

Data represents an instance of the data module.

func (*Data) Exports added in v0.36.0

func (d *Data) Exports() modules.Exports

Exports returns the exports of the data module.

type RootModule added in v0.36.0

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

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 added in v0.36.0

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

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

Jump to

Keyboard shortcuts

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