handlers

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 RegisterBaseHandlers(e *echo.Echo)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL