package
0.57.0
Repository: https://github.com/grafana/k6.git
Documentation: pkg.go.dev

# Functions

BuildEnvMap returns a map from raw environment values, such as returned from os.Environ().
GetDefaultFlags returns the default global flags.
NewGlobalState returns a new GlobalState with the given ctx.
ParseEnvKeyValue splits an environment variable string into key and value.

# Structs

GlobalFlags contains global config values that apply for all k6 sub-commands.
GlobalState contains the GlobalFlags and accessors for most of the global process-external state like CLI arguments, env vars, standard input, output and error, etc.