mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 07:01:09 +02:00
* Applied Patch * Added changelog * Edited changelog * Added constants to be shared * Edited changelog verbage * Removed copy and paste error * Moved the constants * Fixed static checks
24 lines
729 B
Go
24 lines
729 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package consts
|
|
|
|
import "time"
|
|
|
|
// 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 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"
|
|
|
|
// DefaultMinBackoff is the default minimum backoff time for agent and proxy
|
|
const DefaultMinBackoff = 1 * time.Second
|
|
|
|
// DefaultMaxBackoff is the default max backoff time for agent and proxy
|
|
const DefaultMaxBackoff = 5 * time.Minute
|