# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
EnforceConsistencyString retrieves an enum value from the enum constants string name.
EnforceConsistencyValues returns all values of the enum.
No description provided by the author
NewLeaseCache creates a new instance of a LeaseCache.
No description provided by the author
NewSendResponse creates a new SendResponse and takes care of initializing its fields properly.
NewStaticSecretCacheUpdater creates a new instance of a StaticSecretCacheUpdater.
NewStaticSecretCapabilityManager creates a new instance of a StaticSecretCapabilityManager.
No description provided by the author
No description provided by the author
WhenInconsistentActionString retrieves an enum value from the enum constants string name.
WhenInconsistentActionValues returns all values of the enum.
# Constants
DefaultStaticSecretTokenCapabilityRefreshInterval is the default time between each capability poll.
DefaultWorkers is the default number of workers for the worker pool.
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
# Structs
APIProxy is an implementation of the proxier interface that is used to forward the request to Vault and get the response.
No description provided by the author
CacheMeta contains metadata information about the response, such as whether it was a cache hit or miss, and the age of the cached entry.
LeaseCache is an implementation of Proxier that handles the caching of responses.
LeaseCacheConfig is the configuration for initializing a new LeaseCache.
No description provided by the author
SendRequest is the input for Proxier.Send.
SendResponse is the output from Proxier.Send.
StaticSecretCacheUpdater is a struct that utilizes the event system to keep the static secret cache up to date.
StaticSecretCacheUpdaterConfig is the configuration for initializing a new StaticSecretCacheUpdater.
StaticSecretCapabilityManager is a struct that utilizes a worker pool to keep capabilities up to date.
StaticSecretCapabilityManagerConfig is the configuration for initializing a new StaticSecretCapabilityManager.
# Interfaces
Proxier is the interface implemented by different components that are responsible for performing specific tasks, such as caching and proxying.
# Type aliases
go:generate enumer -type=EnforceConsistency -trimprefix=EnforceConsistency.
No description provided by the author
go:generate enumer -type=WhenInconsistentAction -trimprefix=WhenInconsistent.