package
0.1.1
Repository: https://github.com/jefferai/vault.git
Documentation: pkg.go.dev

# Functions

DeleteWAL commits the WAL entry with the given ID.
GetWAL reads a specific entry from the WAL.
LeaseExtend returns an OperationFunc that can be used to simply extend the lease of the auth/secret for the duration that was requested.
ListWAL lists all the entries in the WAL.
PathAppend is a helper for appending lists of paths into a single list.
PutWAL writes some data to the WAL.
TestBackendRoutes is a helper to test that all the given routes will route properly in the backend.

# Constants

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
WALPrefix is the prefix within Storage where WAL entries will be written.

# Structs

Backend is an implementation of logical.Backend that allows the implementer to code a backend using a much more programmer-friendly framework that handles a lot of the routing and validation for you.
FieldData is the structure passed to the callback to handle a path containing the populated parameters for fields.
FieldSchema is a basic schema to describe the format of a path field.
Path is a single path that the backend responds to.
PathMap can be used to generate a path that stores mappings in the storage.
PathStruct can be used to generate a path that stores a struct in the storage.
PolicyMap is a specialization of PathMap that expects the values to be lists of policies.
Secret is a type of secret that can be returned from a backend.
No description provided by the author

# Type aliases

FieldType is the enum of types that a field can be.
OperationFunc is the callback called for an operation on a path.
RollbackFunc is the callback for rollbacks.