Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerAuth ¶
func (*DockerAuth) Set ¶
func (d *DockerAuth) Set(hostname, username, password string)
type DockerAuthService ¶
type DockerAuthService struct { FilePath string AuthContent DockerAuth `json:"auths"` }
func NewDockerAuthService ¶
func NewDockerAuthService() (DockerAuthService, error)
func (*DockerAuthService) GetAuthByDomain ¶
func (s *DockerAuthService) GetAuthByDomain(domain string) (types.AuthConfig, error)
func (*DockerAuthService) GetAuthInfoByDomain ¶
func (s *DockerAuthService) GetAuthInfoByDomain(domain string) (string, string, error)
func (*DockerAuthService) SetAuthInfo ¶
func (s *DockerAuthService) SetAuthInfo(hostname, username, password string) error
Click to show internal directories.
Click to hide internal directories.