Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIRouter ¶
func NewAPIRouter ¶
func NewAPIRouter( jobMap map[string]*config.Job, connections *network.Connections, cache *gocache.Cache, loggers chaoslogger.Loggers, ) *APIRouter
func (*APIRouter) AddRoutes ¶
func (r *APIRouter) AddRoutes(healthChecker *healthcheck.HealthChecker, router *mux.Router) *mux.Router
type Bots ¶
type Bots struct { StatusMap map[string]*healthcheck.Details Loggers chaoslogger.Loggers }
func (*Bots) Status ¶
func (bots *Bots) Status(w http.ResponseWriter, _ *http.Request)
CalcExample godoc @Summary get master status @Description Bot status @Tags Status @Accept json @Produce json @Success 200 {string} string "Bots status" @Failure 500 {string} string "ok" @Router /master/status [get]
Click to show internal directories.
Click to hide internal directories.