Documentation ¶
Overview ¶
Package py contains xk6-python module implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
func Bootstrap()
Bootstrap initializes the extension. Register the extension as a k6 JavaScript module. In the case of the run command, if the argument has .py or .star file extension, it rewrites the argument to stdin and sends a bootstrap JavaScript code to stdin.
func RegisterBuiltin ¶
func RegisterBuiltin(loader BuiltinLoaderFunc, module string)
RegisterBuiltin registers a built-in module.
func RegisterFilesystem ¶
RegisterFilesystem registers all embedded modules from a filesystem.
Types ¶
type BuiltinLoaderFunc ¶
BuiltinLoaderFunc loads a built-in (golang) module.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
builtin
|
|
greeting
The greeting package is an example builtin module.
|
The greeting package is an example builtin module. |
requests
The requests package contains HTTP requests module.
|
The requests package contains HTTP requests module. |
time
The time package is the implementation of the builtin time module.
|
The time package is the implementation of the builtin time module. |
Click to show internal directories.
Click to hide internal directories.