Documentation ¶
Index ¶
- func GetBulkAlertUpdateHandler(client alert.PrometheusAlertClient) func(c echo.Context) error
- func GetConfigureAlertHandler(client alert.PrometheusAlertClient) func(c echo.Context) error
- func GetDeleteAlertHandler(client alert.PrometheusAlertClient, getRuleName paramProvider) func(c echo.Context) error
- func GetGetTenancyHandler(client alert.PrometheusAlertClient) func(c echo.Context) error
- func GetRetrieveAlertHandler(client alert.PrometheusAlertClient) func(c echo.Context) error
- func GetUpdateAlertHandler(client alert.PrometheusAlertClient) func(c echo.Context) error
- func RegisterBaseHandlers(e *echo.Echo)
- func RegisterV0Handlers(e *echo.Echo, alertClient alert.PrometheusAlertClient)
- func RegisterV1Handlers(e *echo.Echo, alertClient alert.PrometheusAlertClient)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBulkAlertUpdateHandler ¶
func GetBulkAlertUpdateHandler(client alert.PrometheusAlertClient) func(c echo.Context) error
func GetConfigureAlertHandler ¶
func GetConfigureAlertHandler(client alert.PrometheusAlertClient) func(c echo.Context) error
GetConfigureAlertHandler returns a handler that calls the client method WriteAlert() to write the alert configuration from the body of this request
func GetDeleteAlertHandler ¶
func GetDeleteAlertHandler(client alert.PrometheusAlertClient, getRuleName paramProvider) func(c echo.Context) error
func GetGetTenancyHandler ¶
func GetGetTenancyHandler(client alert.PrometheusAlertClient) func(c echo.Context) error
func GetRetrieveAlertHandler ¶
func GetRetrieveAlertHandler(client alert.PrometheusAlertClient) func(c echo.Context) error
func GetUpdateAlertHandler ¶
func GetUpdateAlertHandler(client alert.PrometheusAlertClient) func(c echo.Context) error
func RegisterBaseHandlers ¶
func RegisterV0Handlers ¶
func RegisterV0Handlers(e *echo.Echo, alertClient alert.PrometheusAlertClient)
func RegisterV1Handlers ¶
func RegisterV1Handlers(e *echo.Echo, alertClient alert.PrometheusAlertClient)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.