Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultCommand ¶
DefaultCommand returns the default command for the specified runtime
Types ¶
type Config ¶
type Config struct {
Environments []Environment `json:"environments"`
}
func ParseConfig ¶
parses json bytes into a Config struct
type Environment ¶
type Environment struct {
Machine string // hyper.sh machine size, ie: s1
Version string // runtime version, ie 1.9
Runtime string // runtime name, ie: golang, ruby, jruby
Command string // benchmark command
Before []string // commands to run on container before benchmark
}
representation of json config file
Click to show internal directories.
Click to hide internal directories.