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

🌅 complete OS X keychain implementation.

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera
2016-02-07 17:16:54 -08:00
commit b7ffbdb74f
13 changed files with 478 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package credentials
// Credentials holds the information shared between docker and the credentials store.
type Credentials struct {
ServerURL string
Username string
Password string
}
// Helper is the interface a credentials store helper must implement.
type Helper interface {
Add(*Credentials) error
Delete(serverURL string) error
Get(serverURL string) (string, string, error)
}