Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Credential ¶
func Credential(username, password string) auth.Credential
Credential converts user input username and password to a credential.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store provides credential CRUD operations.
func (*Store) Credential ¶
Credential iterates all the config files, returns the first non-empty credential in a best-effort way.
Click to show internal directories.
Click to hide internal directories.