Documentation ¶
Overview ¶
Package setting stores all server application settings
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { config.GlobalConfig `json:",inline" yaml:",inline"` Addr string `json:"addr" yaml:"addr"` Method string `json:"method" yaml:"method"` Dataset string `json:"dataset" yaml:"dataset"` Concurrency int `json:"concurrency" yaml:"concurrency"` ProgressDuration string `json:"progress_duration" yaml:"progress_duration"` Client *config.GRPCClient `json:"client" yaml:"client"` }
Data represent a application setting data content (config.yaml). In K8s environment, this configuration is stored in K8s ConfigMap.
type GlobalConfig ¶
type GlobalConfig = config.GlobalConfig
GlobalConfig is type alias of config.GlobalConfig.
type Operation ¶ added in v0.0.39
type Operation uint8
Operation is type of implemented load test.
func OperationMethod ¶ added in v0.0.39
OperationMethod convert string to Operation.
Click to show internal directories.
Click to hide internal directories.