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

# Functions

GetConsolidatedConfig combines {default config values + JSON config + environment vars + arg config values}, and returns the final result.
IsStringInSlice returns whether the string is contained within a string slice.
MakeHeader creates list of column names for csv file.
New Creates new instance of CSV output.
NewConfig creates a new Config instance with default values for some fields.
ParseArg takes an arg string and converts it to a config.
SampleToRow converts sample into array of strings.
TimeFormatString retrieves an enum value from the enum constants string name.
TimeFormatStrings returns a slice of all String values of the enum.
TimeFormatValues returns all values of the enum.

# Constants

valid defined values for TimeFormat.
valid defined values for TimeFormat.
valid defined values for TimeFormat.
valid defined values for TimeFormat.
valid defined values for TimeFormat.
valid defined values for TimeFormat.

# Structs

Config is the config for the csv output.
Output implements the lib.Output interface for saving to CSV files.

# Type aliases

TimeFormat custom enum type go:generate enumer -type=TimeFormat -transform=snake -trimprefix TimeFormat -output time_format_gen.go.