Documentation ¶
Overview ¶
Package handlers provides HTTP request handlers for the Application.
Index ¶
- func ApiMetricIDStreams(w http.ResponseWriter, r *http.Request)
- func ApiMetricStreams(w http.ResponseWriter, r *http.Request)
- func DeleteApiEventsID(w http.ResponseWriter, r *http.Request)
- func DeleteApiMetadataKey(w http.ResponseWriter, r *http.Request)
- func DeleteCheckID(w http.ResponseWriter, r *http.Request)
- func DeleteCheckTriggerID(w http.ResponseWriter, r *http.Request)
- func DeleteClusterID(w http.ResponseWriter, r *http.Request)
- func DeleteClusterIDUsers(w http.ResponseWriter, r *http.Request)
- func DeleteGraphsID(w http.ResponseWriter, r *http.Request)
- func DeleteMetricID(w http.ResponseWriter, r *http.Request)
- func DeleteSavedQueriesID(w http.ResponseWriter, r *http.Request)
- func DeleteUsersID(w http.ResponseWriter, r *http.Request)
- func GetApiCheckIDResults(w http.ResponseWriter, r *http.Request)
- func GetApiEventsBand(w http.ResponseWriter, r *http.Request)
- func GetApiEventsLine(w http.ResponseWriter, r *http.Request)
- func GetApiHosts(w http.ResponseWriter, r *http.Request)
- func GetApiLogs(w http.ResponseWriter, r *http.Request)
- func GetApiMetadata(w http.ResponseWriter, r *http.Request)
- func GetApiMetadataKey(w http.ResponseWriter, r *http.Request)
- func GetApiTSMetrics(w http.ResponseWriter, r *http.Request)
- func GetApiTSMetrics15Min(w http.ResponseWriter, r *http.Request)
- func GetApiTSMetricsByHost(w http.ResponseWriter, r *http.Request)
- func GetApiTSMetricsByHost15Min(w http.ResponseWriter, r *http.Request)
- func GetChecks(w http.ResponseWriter, r *http.Request)
- func GetClusters(w http.ResponseWriter, r *http.Request)
- func GetGraphs(w http.ResponseWriter, r *http.Request)
- func GetGraphsID(w http.ResponseWriter, r *http.Request)
- func GetHosts(w http.ResponseWriter, r *http.Request)
- func GetHostsID(w http.ResponseWriter, r *http.Request)
- func GetLogin(w http.ResponseWriter, r *http.Request)
- func GetLoginWithoutSession(w http.ResponseWriter, r *http.Request)
- func GetLogs(w http.ResponseWriter, r *http.Request)
- func GetPostPutDeleteGraphsID(w http.ResponseWriter, r *http.Request)
- func GetSignup(w http.ResponseWriter, r *http.Request)
- func GetUsersEmailVerificationToken(w http.ResponseWriter, r *http.Request)
- func PostAccessTokens(w http.ResponseWriter, r *http.Request)
- func PostAccessTokensDelete(w http.ResponseWriter, r *http.Request)
- func PostAccessTokensEnabled(w http.ResponseWriter, r *http.Request)
- func PostAccessTokensLevel(w http.ResponseWriter, r *http.Request)
- func PostApiEvents(w http.ResponseWriter, r *http.Request)
- func PostApiHosts(w http.ResponseWriter, r *http.Request)
- func PostApiLogs(w http.ResponseWriter, r *http.Request)
- func PostApiMetadataKey(w http.ResponseWriter, r *http.Request)
- func PostCheckIDSilence(w http.ResponseWriter, r *http.Request)
- func PostChecks(w http.ResponseWriter, r *http.Request)
- func PostChecksTriggers(w http.ResponseWriter, r *http.Request)
- func PostClusterIDCurrent(w http.ResponseWriter, r *http.Request)
- func PostClusters(w http.ResponseWriter, r *http.Request)
- func PostGraphs(w http.ResponseWriter, r *http.Request)
- func PostHostsIDMasterTags(w http.ResponseWriter, r *http.Request)
- func PostLogin(w http.ResponseWriter, r *http.Request)
- func PostMetrics(w http.ResponseWriter, r *http.Request)
- func PostPutDeleteCheckID(w http.ResponseWriter, r *http.Request)
- func PostPutDeleteCheckTriggerID(w http.ResponseWriter, r *http.Request)
- func PostPutDeleteClusterID(w http.ResponseWriter, r *http.Request)
- func PostPutDeleteClusterIDUsers(w http.ResponseWriter, r *http.Request)
- func PostPutDeleteMetricID(w http.ResponseWriter, r *http.Request)
- func PostPutDeleteSavedQueriesID(w http.ResponseWriter, r *http.Request)
- func PostPutDeleteUsersID(w http.ResponseWriter, r *http.Request)
- func PostSavedQueries(w http.ResponseWriter, r *http.Request)
- func PostSignup(w http.ResponseWriter, r *http.Request)
- func PutApiGraphsIDMetrics(w http.ResponseWriter, r *http.Request)
- func PutCheckID(w http.ResponseWriter, r *http.Request)
- func PutCheckTriggerID(w http.ResponseWriter, r *http.Request)
- func PutClusterID(w http.ResponseWriter, r *http.Request)
- func PutClusterIDUsers(w http.ResponseWriter, r *http.Request)
- func PutGraphsID(w http.ResponseWriter, r *http.Request)
- func PutMetricID(w http.ResponseWriter, r *http.Request)
- func PutUsersID(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiMetricIDStreams ¶
func ApiMetricIDStreams(w http.ResponseWriter, r *http.Request)
func ApiMetricStreams ¶
func ApiMetricStreams(w http.ResponseWriter, r *http.Request)
func DeleteApiEventsID ¶
func DeleteApiEventsID(w http.ResponseWriter, r *http.Request)
func DeleteApiMetadataKey ¶
func DeleteApiMetadataKey(w http.ResponseWriter, r *http.Request)
func DeleteCheckID ¶
func DeleteCheckID(w http.ResponseWriter, r *http.Request)
func DeleteCheckTriggerID ¶
func DeleteCheckTriggerID(w http.ResponseWriter, r *http.Request)
func DeleteClusterID ¶
func DeleteClusterID(w http.ResponseWriter, r *http.Request)
DeleteClusterID deletes a cluster.
func DeleteClusterIDUsers ¶
func DeleteClusterIDUsers(w http.ResponseWriter, r *http.Request)
DeleteClusterIDUsers removes user's membership from a particular cluster.
func DeleteGraphsID ¶
func DeleteGraphsID(w http.ResponseWriter, r *http.Request)
func DeleteMetricID ¶
func DeleteMetricID(w http.ResponseWriter, r *http.Request)
DeleteMetricID deletes metrics by ID
func DeleteSavedQueriesID ¶
func DeleteSavedQueriesID(w http.ResponseWriter, r *http.Request)
func DeleteUsersID ¶
func DeleteUsersID(w http.ResponseWriter, r *http.Request)
func GetApiCheckIDResults ¶
func GetApiCheckIDResults(w http.ResponseWriter, r *http.Request)
func GetApiEventsBand ¶
func GetApiEventsBand(w http.ResponseWriter, r *http.Request)
func GetApiEventsLine ¶
func GetApiEventsLine(w http.ResponseWriter, r *http.Request)
func GetApiHosts ¶
func GetApiHosts(w http.ResponseWriter, r *http.Request)
func GetApiLogs ¶
func GetApiLogs(w http.ResponseWriter, r *http.Request)
func GetApiMetadata ¶
func GetApiMetadata(w http.ResponseWriter, r *http.Request)
func GetApiMetadataKey ¶
func GetApiMetadataKey(w http.ResponseWriter, r *http.Request)
func GetApiTSMetrics ¶
func GetApiTSMetrics(w http.ResponseWriter, r *http.Request)
func GetApiTSMetrics15Min ¶
func GetApiTSMetrics15Min(w http.ResponseWriter, r *http.Request)
func GetApiTSMetricsByHost ¶
func GetApiTSMetricsByHost(w http.ResponseWriter, r *http.Request)
func GetApiTSMetricsByHost15Min ¶
func GetApiTSMetricsByHost15Min(w http.ResponseWriter, r *http.Request)
func GetClusters ¶
func GetClusters(w http.ResponseWriter, r *http.Request)
GetClusters displays the /clusters UI.
func GetGraphsID ¶
func GetGraphsID(w http.ResponseWriter, r *http.Request)
func GetHostsID ¶
func GetHostsID(w http.ResponseWriter, r *http.Request)
func GetLoginWithoutSession ¶
func GetLoginWithoutSession(w http.ResponseWriter, r *http.Request)
func GetPostPutDeleteGraphsID ¶
func GetPostPutDeleteGraphsID(w http.ResponseWriter, r *http.Request)
func GetUsersEmailVerificationToken ¶
func GetUsersEmailVerificationToken(w http.ResponseWriter, r *http.Request)
GetUsersEmailVerificationToken verifies user email.
func PostAccessTokens ¶
func PostAccessTokens(w http.ResponseWriter, r *http.Request)
func PostAccessTokensDelete ¶
func PostAccessTokensDelete(w http.ResponseWriter, r *http.Request)
func PostAccessTokensEnabled ¶
func PostAccessTokensEnabled(w http.ResponseWriter, r *http.Request)
func PostAccessTokensLevel ¶
func PostAccessTokensLevel(w http.ResponseWriter, r *http.Request)
func PostApiEvents ¶
func PostApiEvents(w http.ResponseWriter, r *http.Request)
func PostApiHosts ¶
func PostApiHosts(w http.ResponseWriter, r *http.Request)
func PostApiLogs ¶
func PostApiLogs(w http.ResponseWriter, r *http.Request)
func PostApiMetadataKey ¶
func PostApiMetadataKey(w http.ResponseWriter, r *http.Request)
func PostCheckIDSilence ¶
func PostCheckIDSilence(w http.ResponseWriter, r *http.Request)
func PostChecks ¶
func PostChecks(w http.ResponseWriter, r *http.Request)
func PostChecksTriggers ¶
func PostChecksTriggers(w http.ResponseWriter, r *http.Request)
func PostClusterIDCurrent ¶
func PostClusterIDCurrent(w http.ResponseWriter, r *http.Request)
PostClusterIDCurrent sets a cluster to be the current one on the UI.
func PostClusters ¶
func PostClusters(w http.ResponseWriter, r *http.Request)
PostClusters creates a new cluster.
func PostGraphs ¶
func PostGraphs(w http.ResponseWriter, r *http.Request)
func PostHostsIDMasterTags ¶
func PostHostsIDMasterTags(w http.ResponseWriter, r *http.Request)
func PostMetrics ¶
func PostMetrics(w http.ResponseWriter, r *http.Request)
func PostPutDeleteCheckID ¶
func PostPutDeleteCheckID(w http.ResponseWriter, r *http.Request)
func PostPutDeleteCheckTriggerID ¶
func PostPutDeleteCheckTriggerID(w http.ResponseWriter, r *http.Request)
func PostPutDeleteClusterID ¶
func PostPutDeleteClusterID(w http.ResponseWriter, r *http.Request)
PostPutDeleteClusterIDUsers is a subrouter that modify cluster information.
func PostPutDeleteClusterIDUsers ¶
func PostPutDeleteClusterIDUsers(w http.ResponseWriter, r *http.Request)
PostPutDeleteClusterIDUsers is a subrouter that handles user membership to a cluster.
func PostPutDeleteMetricID ¶
func PostPutDeleteMetricID(w http.ResponseWriter, r *http.Request)
PostPutDeleteMetricID handles POST, PUT, and DELETE
func PostPutDeleteSavedQueriesID ¶
func PostPutDeleteSavedQueriesID(w http.ResponseWriter, r *http.Request)
func PostPutDeleteUsersID ¶
func PostPutDeleteUsersID(w http.ResponseWriter, r *http.Request)
func PostSavedQueries ¶
func PostSavedQueries(w http.ResponseWriter, r *http.Request)
func PostSignup ¶
func PostSignup(w http.ResponseWriter, r *http.Request)
func PutApiGraphsIDMetrics ¶
func PutApiGraphsIDMetrics(w http.ResponseWriter, r *http.Request)
func PutCheckID ¶
func PutCheckID(w http.ResponseWriter, r *http.Request)
func PutCheckTriggerID ¶
func PutCheckTriggerID(w http.ResponseWriter, r *http.Request)
func PutClusterID ¶
func PutClusterID(w http.ResponseWriter, r *http.Request)
PutClusterID updates a cluster's information.
func PutClusterIDUsers ¶
func PutClusterIDUsers(w http.ResponseWriter, r *http.Request)
PutClusterIDUsers adds a user as a member to a particular cluster.
func PutGraphsID ¶
func PutGraphsID(w http.ResponseWriter, r *http.Request)
func PutMetricID ¶
func PutMetricID(w http.ResponseWriter, r *http.Request)
PutMetricID is not supported
func PutUsersID ¶
func PutUsersID(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.