Documentation ¶
Index ¶
- func GetHomeDockerConfigDir() string
- type DockerAuthorizer
- func GetBuildAndPublishDockerAuthorizer(...) (*DockerAuthorizer, error)
- func GetBuildStagesDockerAuthorizer(projectTmpDir, pullUsernameOption, pullPasswordOption string) (*DockerAuthorizer, error)
- func GetDockerAuthorizer(projectTmpDir, username, password string) (*DockerAuthorizer, error)
- func GetImagePublishDockerAuthorizer(projectTmpDir, pushUsernameOption, pushPasswordOption string) (*DockerAuthorizer, error)
- type DockerCredentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHomeDockerConfigDir ¶
func GetHomeDockerConfigDir() string
Types ¶
type DockerAuthorizer ¶
type DockerAuthorizer struct { HostDockerConfigDir string ExternalDockerConfig bool Credentials *DockerCredentials PullCredentials *DockerCredentials PushCredentials *DockerCredentials }
func GetBuildAndPublishDockerAuthorizer ¶
func GetBuildAndPublishDockerAuthorizer(projectTmpDir, pullUsernameOption, pullPasswordOption, pushUsernameOption, pushPasswordOption string) (*DockerAuthorizer, error)
func GetBuildStagesDockerAuthorizer ¶
func GetBuildStagesDockerAuthorizer(projectTmpDir, pullUsernameOption, pullPasswordOption string) (*DockerAuthorizer, error)
func GetDockerAuthorizer ¶
func GetDockerAuthorizer(projectTmpDir, username, password string) (*DockerAuthorizer, error)
func GetImagePublishDockerAuthorizer ¶
func GetImagePublishDockerAuthorizer(projectTmpDir, pushUsernameOption, pushPasswordOption string) (*DockerAuthorizer, error)
func (*DockerAuthorizer) Login ¶
func (a *DockerAuthorizer) Login(repo string) error
func (*DockerAuthorizer) LoginForPull ¶
func (a *DockerAuthorizer) LoginForPull(repo string) error
func (*DockerAuthorizer) LoginForPush ¶
func (a *DockerAuthorizer) LoginForPush(repo string) error
type DockerCredentials ¶
type DockerCredentials struct {
Username, Password string
}
Click to show internal directories.
Click to hide internal directories.