Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Banner = `` /* 202-byte string literal not displayed */
View Source
var BannerColor = color.New(color.FgCyan)
View Source
var RootCmd = &cobra.Command{ Use: "k6", Short: "a next-generation load generator", Long: BannerColor.Sprint(Banner), SilenceUsage: true, SilenceErrors: true, PersistentPreRun: func(cmd *cobra.Command, args []string) { l := log.StandardLogger() l.Out = stderr l.Formatter = &log.TextFormatter{ForceColors: stderrTTY} if verbose { l.SetLevel(log.DebugLevel) } }, }
RootCmd represents the base command when called without any subcommands.
View Source
var Version = "0.18.1"
Functions ¶
Types ¶
type Config ¶
type Config struct { lib.Options Out null.String `json:"out" envconfig:"out"` Linger null.Bool `json:"linger" envconfig:"linger"` NoUsageReport null.Bool `json:"noUsageReport" envconfig:"no_usage_report"` Collectors struct { InfluxDB influxdb.Config `json:"influxdb"` Cloud cloud.Config `json:"cloud"` } `json:"collectors"` }
Click to show internal directories.
Click to hide internal directories.