43783a5dca
* Move cluster logic out of vault package * Dedup heartbeat and fix tests * Fix test
29 lines
821 B
Go
29 lines
821 B
Go
package consts
|
|
|
|
const (
|
|
// ExpirationRestoreWorkerCount specifies the number of workers to use while
|
|
// restoring leases into the expiration manager
|
|
ExpirationRestoreWorkerCount = 64
|
|
|
|
// NamespaceHeaderName is the header set to specify which namespace the
|
|
// request is indented for.
|
|
NamespaceHeaderName = "X-Vault-Namespace"
|
|
|
|
// AuthHeaderName is the name of the header containing the token.
|
|
AuthHeaderName = "X-Vault-Token"
|
|
|
|
// PerformanceReplicationALPN is the negotiated protocol used for
|
|
// performance replication.
|
|
PerformanceReplicationALPN = "replication_v1"
|
|
|
|
// DRReplicationALPN is the negotiated protocol used for
|
|
// dr replication.
|
|
DRReplicationALPN = "replication_dr_v1"
|
|
|
|
PerfStandbyALPN = "perf_standby_v1"
|
|
|
|
RequestForwardingALPN = "req_fw_sb-act_v1"
|
|
|
|
RaftStorageALPN = "raft_storage_v1"
|
|
)
|