Documentation ¶
Index ¶
- Variables
- func About(c echo.Context) error
- func CheckDetails(c echo.Context) error
- func CheckSummary(c echo.Context) error
- func DetailsHandler(c echo.Context) error
- func HealthSummary(c echo.Context) error
- func PostDataToServer(server string, body io.Reader) (err error)
- func PushHandler(c echo.Context) error
- func RunCanaryHandler(c echo.Context) error
- func RunTopologyHandler(c echo.Context) error
- func Topology(c echo.Context) error
- type CheckErrorMessage
- type DetailResponse
- type QueueData
- type Response
- type RunCanaryResponse
Constants ¶
This section is empty.
Variables ¶
var (
DefaultWindow = "1h"
)
Functions ¶
func CheckDetails ¶ added in v0.38.70
func CheckDetails(c echo.Context) error
func CheckSummary ¶ added in v0.38.70
func CheckSummary(c echo.Context) error
func DetailsHandler ¶ added in v0.38.96
func DetailsHandler(c echo.Context) error
func HealthSummary ¶ added in v0.38.232
func HealthSummary(c echo.Context) error
func PostDataToServer ¶ added in v0.38.85
func PushHandler ¶ added in v0.38.85
func PushHandler(c echo.Context) error
func RunCanaryHandler ¶ added in v0.38.257
func RunCanaryHandler(c echo.Context) error
func RunTopologyHandler ¶ added in v0.38.257
func RunTopologyHandler(c echo.Context) error
func Topology ¶ added in v0.38.85
func Topology(c echo.Context) error
TopologyQuery godoc @Id TopologyQuery @Summary Topology query @Description Query the topology graph @Tags topology @Produce json @Param id query string false "Topology ID" @Param topologyId query string false "Topology ID" @Param componentId query string false "Component ID" @Param owner query string false "Owner" @Param status query string false "Comma separated list of status" @Param types query string false "Comma separated list of types" @Param flatten query string false "Flatten the topology" @Success 200 {object} pkg.Components @Router /api/topology [get]
Types ¶
type CheckErrorMessage ¶ added in v0.38.257
type DetailResponse ¶ added in v0.38.70
type QueueData ¶ added in v0.38.85
type QueueData struct { Check pkg.Check `json:",inline"` Status pkg.CheckStatus `json:",inline"` }
type RunCanaryResponse ¶ added in v0.38.257
type RunCanaryResponse struct { Total int `json:"total"` Failed int `json:"failed"` Success int `json:"success"` Errors []CheckErrorMessage `json:"errors,omitempty"` }
RunCanaryResponse represents the response body for a run now request
func (*RunCanaryResponse) FromCheckResults ¶ added in v0.38.257
func (t *RunCanaryResponse) FromCheckResults(result []*pkg.CheckResult)