Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultCacheDuration specifies the default TTL for cache entries. DefaultCacheDuration = 30 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachingCredentialHelper ¶
type CachingCredentialHelper interface { credentialhelper.CredentialHelper // Close closes the Credential Helper and releases all associated resources. Close() error }
CachingCredentialHelper represents a `CredentialHelper` that internally caches credentials.
Use `New()` to create an instance.
func New ¶
func New(delegate credentialhelper.CredentialHelper, options Options) (CachingCredentialHelper, error)
New wraps a `CredentialHelper` with caching.
Click to show internal directories.
Click to hide internal directories.