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 { //nolint:tagalign config.GlobalConfig `json:",inline" yaml:",inline"` Addr string `json:"addr" yaml:"addr"` Operation string `json:"operation" yaml:"operation"` Dataset string `json:"dataset" yaml:"dataset"` Concurrency int `json:"concurrency" yaml:"concurrency"` BatchSize int `json:"batch_size" yaml:"batch_size"` 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 operation type of implemented load test.
Operation method definition.
func OperationMethod ¶ added in v0.0.39
OperationMethod converts string to Operation.
Click to show internal directories.
Click to hide internal directories.