Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constant ¶
type Constant struct {
Value float64
}
Constant generator returns a fixed value
func NewConstant ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages multiple generators
func NewManager ¶
func NewManager() *Manager
func (*Manager) LoadFromConfig ¶
LoadFromConfig creates generators from profile configuration
type RandomWalk ¶
type RandomWalk struct {
Min float64
Max float64
StepSize float64
// contains filtered or unexported fields
}
RandomWalk generator produces a random walk pattern
func NewRandomWalk ¶
func NewRandomWalk(config map[string]interface{}) *RandomWalk
type Schedule ¶
type Schedule struct {
BaseLoad float64
Slots []ScheduleSlot
}
Schedule generator returns values based on time-of-day schedule