Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type ConfigFile ¶
type ConfigFile struct {
AuthConfigs map[string]AuthConfig `json:"auths"`
}
func (*ConfigFile) GetAuthConfig ¶
func (configFile *ConfigFile) GetAuthConfig(host string) *AuthConfig
type PassKeyChain ¶
PassKeyChain is user/password based key chain
func FromDockerConfig ¶
func FromDockerConfig(host string) (*PassKeyChain, error)
FromDockerConfig finds auth for a given host in docker's config.json settings.
func GetKeyChainByRef ¶
func GetKeyChainByRef(ref string) (*PassKeyChain, error)
func (*PassKeyChain) ToBase64 ¶
func (kc *PassKeyChain) ToBase64() string
Click to show internal directories.
Click to hide internal directories.