Documentation ¶
Index ¶
- func GetHomeDockerConfigDir() string
- type DockerAuthorizer
- func GetBPDockerAuthorizer(...) (*DockerAuthorizer, error)
- func GetBuildDockerAuthorizer(projectTmpDir, pullUsernameOption, pullPasswordOption string) (*DockerAuthorizer, error)
- func GetCleanupDockerAuthorizer(projectTmpDir, syncUsernameOption, syncPasswordOption, repo string) (*DockerAuthorizer, error)
- func GetDeployDockerAuthorizer(projectTmpDir, usernameOption, passwordOption, repo string) (*DockerAuthorizer, error)
- func GetFlushDockerAuthorizer(projectTmpDir, flushUsernameOption, flushPasswordOption string) (*DockerAuthorizer, error)
- func GetPushDockerAuthorizer(projectTmpDir, pushUsernameOption, pushPasswordOption, repo string) (*DockerAuthorizer, error)
- func GetSyncDockerAuthorizer(projectTmpDir, syncUsernameOption, syncPasswordOption, repo 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 GetBPDockerAuthorizer ¶
func GetBPDockerAuthorizer(projectTmpDir, pullUsernameOption, pullPasswordOption, pushUsernameOption, pushPasswordOption, repo string) (*DockerAuthorizer, error)
func GetBuildDockerAuthorizer ¶
func GetBuildDockerAuthorizer(projectTmpDir, pullUsernameOption, pullPasswordOption string) (*DockerAuthorizer, error)
func GetCleanupDockerAuthorizer ¶
func GetCleanupDockerAuthorizer(projectTmpDir, syncUsernameOption, syncPasswordOption, repo string) (*DockerAuthorizer, error)
func GetDeployDockerAuthorizer ¶
func GetDeployDockerAuthorizer(projectTmpDir, usernameOption, passwordOption, repo string) (*DockerAuthorizer, error)
func GetFlushDockerAuthorizer ¶
func GetFlushDockerAuthorizer(projectTmpDir, flushUsernameOption, flushPasswordOption string) (*DockerAuthorizer, error)
func GetPushDockerAuthorizer ¶
func GetPushDockerAuthorizer(projectTmpDir, pushUsernameOption, pushPasswordOption, repo string) (*DockerAuthorizer, error)
func GetSyncDockerAuthorizer ¶
func GetSyncDockerAuthorizer(projectTmpDir, syncUsernameOption, syncPasswordOption, repo 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.