package
0.6.1
Repository: https://github.com/jsok/vault.git
Documentation: pkg.go.dev

# Functions

DeleteWAL commits the WAL entry with the given ID.
Helper which returns a generic regex string for creating endpoint patterns that are identified by the given name in the backends.
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.
Helper which returns a regex string for optionally accepting the a field from the API URL.
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
TypeDurationSecond represent as seconds, this can be either an integer or go duration format string (e.g.
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

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