Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
func WithAuthConfig ¶
func WithAuthConfig(config map[string]types.AuthConfig) Options
WithAuthConfig allows to set the initial credentials in the memory store.
func WithFallbackStore ¶
func WithFallbackStore(store credentials.Store) Options
WithFallbackStore sets a fallback store.
Write operations will be performed on both the memory store and the fallback store.
Read operations will first check the memory store, and if the credential is not found, it will then check the fallback store.
Retrieving all credentials will return from both the memory store and the fallback store, merging the results from both stores into a single map.
Data stored in the memory store will take precedence over data in the fallback store.
Click to show internal directories.
Click to hide internal directories.