Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCredsStore = errors.New("docker config use credsStore to store password") ErrCredsStoreUnsupport = errors.New("unsupported credsStore, only 'deskstop' supported") )
Functions ¶
func GetRegistryCredential ¶
GetRegistryPassword gets Registry credential by registry URL, it will try to find password from cache first, if not found, then try to find password from docker config. if passwd found in docker config, it will cache the password. if not found, return error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.