file

package
v1.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileRate

func FileRate() api.Builder

Types

type ConfigFile

type ConfigFile struct {
	Scenario *string  `yaml:"scenario"`
	Default  Stage    `yaml:"default"`
	Limits   Limits   `yaml:"limits"`
	Schedule Schedule `yaml:"schedule"`
	Stages   []Stage  `yaml:"stages"`
}

type Limits

type Limits struct {
	MaxDuration   *time.Duration `yaml:"max-duration"`
	Concurrency   *int           `yaml:"concurrency"`
	MaxIterations *int32         `yaml:"max-iterations"`
	IgnoreDropped *bool          `yaml:"ignore-dropped"`
}

type Schedule

type Schedule struct {
	StageStart *time.Time `yaml:"stage-start"`
}

type Stage

type Stage struct {
	Mode               *string            `yaml:"mode"`
	StartRate          *string            `yaml:"start-rate"`
	EndRate            *string            `yaml:"end-rate"`
	Rate               *string            `yaml:"rate"`
	Distribution       *string            `yaml:"distribution"`
	Weights            *string            `yaml:"weights"`
	Stages             *string            `yaml:"stages"`
	Concurrency        *int               `yaml:"concurrency"`
	Jitter             *float64           `yaml:"jitter"`
	Volume             *float64           `yaml:"volume"`
	Duration           *time.Duration     `yaml:"duration"`
	IterationFrequency *time.Duration     `yaml:"iteration-frequency"`
	Repeat             *time.Duration     `yaml:"repeat"`
	Peak               *time.Duration     `yaml:"peak"`
	StandardDeviation  *time.Duration     `yaml:"standard-deviation"`
	Parameters         *map[string]string `yaml:"parameters"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL