Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultStore = "_default"
DefaultStore is the id of the store which contains the credentials for backend communication.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface {
// Add adds new credentials to the store.
Add(id string, creds *core.Credentials) error
// Remove removes credentials from the store.
Remove(id string) error
// Get returns the credentials with the given id.
Get(id string) *core.Credentials
}
Store manage and stores credentials.
Click to show internal directories.
Click to hide internal directories.