Discover Packages
go.k6.io/k6
cmd
package
Version:
v0.34.1
Opens a new window with list of versions in this module.
Published: Sep 16, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 59
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
View Source
var (
ErrTagEmptyName = errors .New ("Invalid tag, empty name")
ErrTagEmptyValue = errors .New ("Invalid tag, empty value")
ErrTagEmptyString = errors .New ("Invalid tag, empty string")
)
Execute adds all child commands to the root command sets flags appropriately.
This is called by main.main(). It only needs to happen once to the rootCmd.
type Config struct {
lib .Options
Out []string `json:"out" envconfig:"K6_OUT"`
Linger null.Bool `json:"linger" envconfig:"K6_LINGER"`
NoUsageReport null.Bool `json:"noUsageReport" envconfig:"K6_NO_USAGE_REPORT"`
Collectors map[string ]json .RawMessage `json:"collectors"`
}
Validate checks if all of the specified options make sense
type RawFormatter struct{}
RawFormatter it does nothing with the message just prints it
Format renders a single log entry
Source Files
¶
Click to show internal directories.
Click to hide internal directories.