package
0.0.0-20240716132614-1643519e6f91
Repository: https://github.com/triggermail/luci-go.git
Documentation: pkg.go.dev
# Functions
Get grabs a Store by calling Factory stored in the context.
GetSecret is shortcut for grabbing a Store from the context and using its GetSecret method.
Set injects the Store object in the context to be returned by Get as is.
SetFactory sets the function to produce Store instances when Get(c) is used.
# Variables
ErrNoStoreConfigured is returned by GetSecret if secret store is not in the context.
ErrNoSuchSecret is returned by Store.GetSecret if it can't find a secret.
# Interfaces
Store knows how to retrieve (or autogenerate) a secret given its key.
# Type aliases
Factory knows how to make a new Store.
Key names a secret.
StaticStore is Store with predefined secrets.