package osxkeychain
import "github.com/docker/docker-credential-helpers/osxkeychain"
Index ¶
Types ¶
type Osxkeychain ¶
type Osxkeychain struct{}
Osxkeychain handles secrets using the OS X Keychain as store.
func (Osxkeychain) Add ¶
func (h Osxkeychain) Add(creds *credentials.Credentials) error
Add adds new credentials to the keychain.
func (Osxkeychain) Delete ¶
func (h Osxkeychain) Delete(serverURL string) error
Delete removes credentials from the keychain.
func (Osxkeychain) Get ¶
func (h Osxkeychain) Get(serverURL string) (string, string, error)
Get returns the username and secret to use for a given registry server URL.
func (Osxkeychain) List ¶
func (h Osxkeychain) List() (map[string]string, error)
List returns the stored URLs and corresponding usernames.
Source Files ¶
osxkeychain_darwin.go url_go18.go
Directories ¶
Path | Synopsis |
---|---|
osxkeychain/cmd |
- Version
- v0.6.1
- Published
- Jun 27, 2018
- Platform
- darwin/amd64
- Imports
- 7 packages
- Last checked
- 7 seconds ago –
Tools for package owners.