Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScenarioTypeStormForge = "StormForge" ScenarioTypeLocust = "Locust" ScenarioTypeCustom = "Pod Template" CustomPushGatewayNo = "No, metrics will be propagated manually" CustomPushGatewayYes = "Yes, set the PUSHGATEWAY_URL environment on my container for publishing metrics" 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.