MCPcopy Index your code
hub / github.com/cortexproject/cortex / RegisterTenantDeletion

Method RegisterTenantDeletion

pkg/api/api.go:348–351  ·  view source on GitHub ↗
(api *purger.TenantDeletionAPI)

Source from the content-addressed store, hash-verified

346}
347
348func (a *API) RegisterTenantDeletion(api *purger.TenantDeletionAPI) {
349 a.RegisterRoute("/purger/delete_tenant", http.HandlerFunc(api.DeleteTenant), true, "POST")
350 a.RegisterRoute("/purger/delete_tenant_status", http.HandlerFunc(api.DeleteTenantStatus), true, "GET")
351}
352
353// RegisterRuler registers routes associated with the Ruler service.
354func (a *API) RegisterRuler(r *ruler.Ruler) {

Callers 1

initTenantDeletionAPIMethod · 0.80

Calls 1

RegisterRouteMethod · 0.95

Tested by

no test coverage detected