Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScenarioTypeStormForger = "StormForge" ScenarioTypeLocust = "Locust" DestinationCreate = "Run the experiment" DestinationFile = "Save the experiment to disk" DestinationPreview = "Inspect the experiment" )
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand creates a new command for running experiments.
Types ¶
type Options ¶
type Options struct { // Config is the Optimize Configuration. Config *config.OptimizeConfig // ExperimentsAPI is used to interact with the Optimize Experiments API. ExperimentsAPI experimentsv1alpha1.API // Flag indicating we should print verbose prompts. Verbose bool // Flag indicating we should print debug views. Debug bool // Generator used to create experiments. Generator experiment.Generator // contains filtered or unexported fields }
func (*Options) ReadApplication ¶
ReadApplication uses go-getter from the current directory to fetch an application definition.
Click to show internal directories.
Click to hide internal directories.