1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-14 00:11:28 +05:30
Files
docker-credential-helpers/credentials/helper.go
T
David Calavera b7ffbdb74f 🌅 complete OS X keychain implementation.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-02-07 18:20:36 -08:00

16 lines
390 B
Go

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)
}