1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-13 16:01:28 +05:30

Add a Docker Credentials label to store and list creds

Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com>
This commit is contained in:
Nassim 'Nass' Eddequiouaq
2017-03-08 17:07:40 +01:00
parent 1057cf7f86
commit 595b7f2531
3 changed files with 12 additions and 4 deletions
+3 -2
View File
@@ -9,6 +9,7 @@ type Helper interface {
// Get retrieves credentials from the store.
// It returns username and secret as strings.
Get(serverURL string) (string, string, error)
// List returns the stored serverURLs and their associated usernames.
List() (map[string]string, error)
// List returns the stored serverURLs and their associated usernames
// for a given credentials label.
List(credsLabel string) (map[string]string, error)
}