# Functions
NewBackend returns a new backend with the given type and configuration.
NewCache returns a physical cache of the given size.
NewInmem constructs a new in-memory backend.
NewInmemHA constructs a new in-memory HA backend.
NewPermitPool returns a new permit pool with the provided number of permits.
# Constants
DefaultCacheSize is used if no cache size is specified for NewCache.
DefaultDynamoDBReadCapacity is the default read capacity that is used when none is configured explicitly.
DefaultDynamoDBRegion is used when no region is configured explicitly.
DefaultDynamoDBTableName is used when no table name is configured explicitly.
DefaultDynamoDBWriteCapacity is the default write capacity that is used when none is configured explicitly.
No description provided by the author
DefaultServiceName is the default Consul service name used when advertising a Vault instance.
DynamoDBEmptyPath is the string that is used instead of empty strings when stored in DynamoDB.
DynamoDBLockPrefix is the prefix used to mark DynamoDB records as locks.
DynamoDBLockRetryInterval is the amount of time to wait if a lock fails before trying again.
DynamoDBWatchRetryInterval is the amount of time to wait if a watch fails before trying again.
DynamoDBWatchRetryMax is the number of times to re-try a failed watch before signaling that leadership is lost.
The amount of time to wait between the semaphore key renewals.
The lock TTL matches the default that Consul API uses, 15 seconds.
The delimiter is the same as the `-C` flag of etcdctl.
Ideally, this prefix would match the "_" used in the file backend, but that prefix has special meaining in etcd.
The lock prefix can (and probably should) cause an entry to be excluded from diretory listings, so "_" works here.
The amount of time to wait if a watch fails before trying again.
The number of times to re-try a failed watch before signaling that leadership is lost.
ZKNodeFilePrefix is prefixed to any "files" in ZooKeeper, so that they do not collide with directory entries.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MaxBlobSize at this time.
# Structs
AzureBackend is a physical backend that stores data within an Azure blob container.
Cache is used to wrap an underlying physical backend and provide an LRU cache layer on top.
ConsulBackend is a physical backend that stores data at specific prefix within Consul.
ConsulLock is used to provide the Lock interface backed by Consul.
DynamoDBBackend is a physical backend that stores data in a DynamoDB table.
DynamoDBLock implements a lock using an DynamoDB client.
DynamoDBRecord is the representation of a vault entry in DynamoDB.
Entry is used to represent data stored by the physical backend.
EtcdBackend is a physical backend that stores data at specific prefix within Etcd.
EtcdLock emplements a lock using and etcd backend.
FileBackend is a physical backend that stores data on disk at a given file path.
InmemBackend is an in-memory only physical backend.
No description provided by the author
InmemLock is an in-memory Lock implementation for the HABackend.
MySQLBackend is a physical backend that stores data within MySQL database.
PermitPool is a wrapper around a semaphore library to keep things agnostic.
PostgreSQL Backend is a physical backend that stores data within a PostgreSQL database.
S3Backend is a physical backend that stores data within an S3 bucket.
SwiftBackend is a physical backend that stores data within an OpenStack Swift container.
ZookeeperBackend is a physical backend that stores data at specific prefix within Zookeeper.
ZookeeperHALock is a Zookeeper Lock implementation for the HABackend.
# Interfaces
Backend is the interface required for a physical backend.
HABackend is an extensions to the standard physical backend to support high-availability.
No description provided by the author
RedirectDetect is an optional interface that an HABackend can implement.
ServiceDiscovery is an optional interface that an HABackend can implement.
# Type aliases
Factory is the factory function to create a physical backend.