Documentation ¶
Index ¶
- Variables
- func CancelTestDeployment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func CreateGrid(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func CreateGridTemplate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func CreateTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DeleteGrid(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DeleteGridTemplate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DeleteTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DeleteTestAttachment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DownloadScriptFiles(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DuplicateTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func EditTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GenerateGrafanaSnapshotHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetAllGridTemplates(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetGridInstanceTypes(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetGridPaginateKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetGridProviderTypes(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetGridRegionTypes(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetGridStatus(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetGridTemplateById(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetTestAttachment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetTestPaginateKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetTestStatus(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GrafanaConfigs(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func Grid(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func Grids(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GridsPaginate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func LabelToTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PaginateGridInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PaginateTestInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PowerTokenAPIAuth(handler httprouter.Handle) httprouter.Handle
- func RefreshTestStatus(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func SendStartCmd(message []byte) error
- func SendStopCmd(message []byte) error
- func SetRouterPaths(router *httprouter.Router)
- func Shutdown(c <-chan os.Signal)
- func StartGrid(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func StartNats(config *viper.Viper)
- func StartTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func StopGrid(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func StopTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func Test(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func TestAttachments(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func TestFiles(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func Tests(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func TestsPaginate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func TokenApiAuth(handler httprouter.Handle) httprouter.Handle
- func UpdateGridTemplate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func UploadTestAttachment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- type DeploymentLog
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GrafanaEnabled bool GrafanaDomain string GrafanaAPIKey string GrafanaDashboardUID string )
View Source
var ( LocustMasterSecurityGroups string LocustSlaveSecurityGroups string )
View Source
var PaginationItems = 10
View Source
var ShuttingDown bool
Functions ¶
func CancelTestDeployment ¶
func CancelTestDeployment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
CancelTestDeployment cancels the test, marks it back as Ready, and cleans up the grid
func CreateGrid ¶
func CreateGrid(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func CreateGridTemplate ¶
func CreateGridTemplate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func CreateTest ¶
func CreateTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func DeleteGrid ¶
func DeleteGrid(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func DeleteGridTemplate ¶
func DeleteGridTemplate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func DeleteTest ¶
func DeleteTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func DeleteTestAttachment ¶
func DeleteTestAttachment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func DownloadScriptFiles ¶
func DownloadScriptFiles(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func DuplicateTest ¶
func DuplicateTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func EditTest ¶
func EditTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GenerateGrafanaSnapshotHandler ¶
func GenerateGrafanaSnapshotHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
GenerateGrafanaSnapshotHandler is used to generate a snapshot
func GetAllGridTemplates ¶
func GetAllGridTemplates(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetGridInstanceTypes ¶
func GetGridInstanceTypes(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetGridPaginateKey ¶
func GetGridPaginateKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetGridProviderTypes ¶
func GetGridProviderTypes(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetGridRegionTypes ¶
func GetGridRegionTypes(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetGridStatus ¶
func GetGridStatus(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
GetGridStatus gets all grids that have a certain status
func GetGridTemplateById ¶
func GetGridTemplateById(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetTestAttachment ¶
func GetTestAttachment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetTestPaginateKey ¶
func GetTestPaginateKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetTestStatus ¶
func GetTestStatus(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
GetTestStatus returns all the tests with the provided status
func GrafanaConfigs ¶
func GrafanaConfigs(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func Grid ¶
func Grid(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func Grids ¶
func Grids(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GridsPaginate ¶
func GridsPaginate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func LabelToTest ¶
func LabelToTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PaginateGridInfo ¶
func PaginateGridInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PaginateTestInfo ¶
func PaginateTestInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
PaginateTestInfo is to get the first test, last test, and number of tests based on filters.
func PowerTokenAPIAuth ¶
func PowerTokenAPIAuth(handler httprouter.Handle) httprouter.Handle
func RefreshTestStatus ¶
func RefreshTestStatus(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
RefreshTestStatus looks at the current tests that are in a deployed state
func SendStartCmd ¶
func SendStopCmd ¶
func SetRouterPaths ¶
func SetRouterPaths(router *httprouter.Router)
func StartGrid ¶
func StartGrid(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func StartTest ¶
func StartTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func StopGrid ¶
func StopGrid(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
incomplete
func StopTest ¶
func StopTest(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
StopTest calls an ansible job that cleans up the grid and then removes the test from the grids database. Status changes are taken care of in the deployer microservice.
func Test ¶
func Test(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func TestAttachments ¶
func TestAttachments(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func TestFiles ¶
func TestFiles(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func Tests ¶
func Tests(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func TestsPaginate ¶
func TestsPaginate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func TokenApiAuth ¶
func TokenApiAuth(handler httprouter.Handle) httprouter.Handle
func UpdateGridTemplate ¶
func UpdateGridTemplate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func UploadTestAttachment ¶
func UploadTestAttachment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.