...

Source file src/github.com/docker/docker-credential-helpers/credentials/helper.go

Documentation: github.com/docker/docker-credential-helpers/credentials

     1  package credentials
     2  
     3  // Helper is the interface a credentials store helper must implement.
     4  type Helper interface {
     5  	// Add appends credentials to the store.
     6  	Add(*Credentials) error
     7  	// Delete removes credentials from the store.
     8  	Delete(serverURL string) error
     9  	// Get retrieves credentials from the store.
    10  	// It returns username and secret as strings.
    11  	Get(serverURL string) (string, string, error)
    12  	// List returns the stored serverURLs and their associated usernames.
    13  	List() (map[string]string, error)
    14  }
    15  

View as plain text