Documentation ¶
Index ¶
- func DBMigration(spec *DBMigrationSpec) (*environment.Environment, error)
- func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func ShutDown(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func ShutDownConfirm(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func StartRemoteControlServer(name string, stopChan chan struct{})
- type DBMigrationSpec
- type FromVersionSpec
- type ToVersionSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBMigration ¶ added in v1.5.10
func DBMigration(spec *DBMigrationSpec) (*environment.Environment, error)
DBMigration returns an environment with DB migrated from FromVersionSpec to ToVersionSpec
func Index ¶ added in v1.1.22
func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Index to see barbones running statistics
func ShutDown ¶ added in v1.1.22
func ShutDown(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
ShutDown attempts to gracefully shut down the running test
func ShutDownConfirm ¶ added in v1.1.22
func ShutDownConfirm(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
ShutDownConfirm requires the user to enter a randomly generated code to shut down the test
func StartRemoteControlServer ¶ added in v1.1.22
func StartRemoteControlServer(name string, stopChan chan struct{})
StartRemoteControlServer starts a server to control soak test shut downs. Shutdown signal is sent to the stopChan
Types ¶
type DBMigrationSpec ¶ added in v1.5.10
type DBMigrationSpec struct { FromSpec FromVersionSpec ToSpec ToVersionSpec KeepConnection bool RemoveOnInterrupt bool }
type FromVersionSpec ¶ added in v1.5.10
type ToVersionSpec ¶ added in v1.5.10
Click to show internal directories.
Click to hide internal directories.