3668275903
* Add agent/v1/quit endpoint * Closes https://github.com/hashicorp/vault/issues/11089 * Agent quit API behind config setting * Normalise test config whitespace * Document config option Co-authored-by: Rémi Lapeyre <remi.lapeyre@lenstra.fr> Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>
13 lines
412 B
Go
13 lines
412 B
Go
package consts
|
|
|
|
// AgentPathCacheClear is the path that the agent will use as its cache-clear
|
|
// endpoint.
|
|
const AgentPathCacheClear = "/agent/v1/cache-clear"
|
|
|
|
// AgentPathMetrics is the path the the agent will use to expose its internal
|
|
// metrics.
|
|
const AgentPathMetrics = "/agent/v1/metrics"
|
|
|
|
// AgentPathQuit is the path that the agent will use to trigger stopping it.
|
|
const AgentPathQuit = "/agent/v1/quit"
|