Documentation
¶
Index ¶
- func Float(min, max float64) float64
- func Int(min, max int) int
- func Interval(min, max time.Duration) time.Duration
- func Timestamp(min, max time.Time) time.Time
- type Arg
- type Drk
- type EnvMapping
- type EnvironmentVariables
- type Event
- type FieldMissingErr
- type Query
- type Rate
- type Runner
- type VU
- type Workflow
- type WorkflowQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnvMapping ¶ added in v0.4.0
type EnvironmentVariables ¶ added in v0.14.0
type EnvironmentVariables struct { Config string `env:"CONFIG,required"` URL string `env:"URL,required"` Driver string `env:"DRIVER"` Duration time.Duration `env:"DURATION"` Retries int `env:"RETRIES"` QueryTimeout time.Duration `env:"QUERY_TIMEOUT"` Debug bool `env:"DEBUG"` AverageWindowSize int `env:"AVERAGE_WINDOW_SIZE"` }
EnvironmentVariables are set by the caller and change how drk behaves.
type FieldMissingErr ¶
type FieldMissingErr struct {
Name string
}
FieldMissingErr is returned when a fields isn't found in the config file.
func (FieldMissingErr) Error ¶
func (err FieldMissingErr) Error() string
type Rate ¶
func (*Rate) UnmarshalYAML ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) GetEventStream ¶
type WorkflowQuery ¶
Click to show internal directories.
Click to hide internal directories.