Versions in this module Expand all Collapse all v0 v0.5.7 Aug 22, 2023 Changes in this version + func GetServerFromDockerAuthKey(key string) (string, error) + func GetServerFromImageRef(imageRef string) (string, error) + type Auth struct + Auth BasicAuth + Password string + Username string + func (v Auth) String() string + type BasicAuth string + func NewBasicAuth(username, password string) BasicAuth + func (v *BasicAuth) Decode() (string, string, error) + func (v *BasicAuth) Encode(username, password string) + func (v BasicAuth) String() string + type Config struct + Auths map[string]Auth + func (c *Config) Read(contents []byte, isLegacy bool) error + func (c Config) Write() ([]byte, error)