Documentation ¶
Index ¶
- type Dockerhub
- func (r Dockerhub) Configured() bool
- func (r *Dockerhub) Create(repository string) error
- func (r Dockerhub) GetAuthConfig() types.AuthConfig
- func (r Dockerhub) GetAuthInfo() string
- func (r Dockerhub) Login(client docker.Client, out io.Writer) error
- func (r Dockerhub) Name() string
- func (Dockerhub) PushImage(client docker.Client, auth, image string, ow, eout io.Writer) error
- func (r Dockerhub) RegistryUrl() string
- type ECR
- func (r *ECR) Configured() bool
- func (r ECR) Create(repository string) error
- func (r *ECR) GetAuthConfig() types.AuthConfig
- func (r *ECR) GetAuthInfo() string
- func (r *ECR) Login(client docker.Client, out io.Writer) error
- func (r *ECR) Name() string
- func (ECR) PushImage(client docker.Client, auth, image string, ow, eout io.Writer) error
- func (r ECR) RegistryUrl() string
- type GCR
- func (r *GCR) Configured() bool
- func (r GCR) Create(repository string) error
- func (r *GCR) GetAuthConfig() types.AuthConfig
- func (r *GCR) GetAuthInfo() string
- func (r *GCR) Login(client docker.Client, out io.Writer) error
- func (r *GCR) Name() string
- func (GCR) PushImage(client docker.Client, auth, image string, ow, eout io.Writer) error
- func (r GCR) RegistryUrl() string
- type Github
- func (r Github) Configured() bool
- func (r *Github) Create(repository string) error
- func (r Github) GetAuthConfig() types.AuthConfig
- func (r Github) GetAuthInfo() string
- func (r Github) Login(client docker.Client, out io.Writer) error
- func (r Github) Name() string
- func (Github) PushImage(client docker.Client, auth, image string, ow, eout io.Writer) error
- func (r Github) RegistryUrl() string
- type Gitlab
- func (r Gitlab) Configured() bool
- func (r *Gitlab) Create(repository string) error
- func (r Gitlab) GetAuthConfig() types.AuthConfig
- func (r Gitlab) GetAuthInfo() string
- func (r Gitlab) Login(client docker.Client, out io.Writer) error
- func (r Gitlab) Name() string
- func (Gitlab) PushImage(client docker.Client, auth, image string, ow, eout io.Writer) error
- func (r Gitlab) RegistryUrl() string
- type NoDockerRegistry
- func (n NoDockerRegistry) Configured() bool
- func (n NoDockerRegistry) Create(repository string) error
- func (n NoDockerRegistry) GetAuthConfig() types.AuthConfig
- func (n NoDockerRegistry) GetAuthInfo() string
- func (n NoDockerRegistry) Login(client docker.Client, out io.Writer) error
- func (n NoDockerRegistry) Name() string
- func (n NoDockerRegistry) PushImage(client docker.Client, auth, image string, out, eout io.Writer) error
- func (n NoDockerRegistry) RegistryUrl() string
- type Quay
- func (r *Quay) Configured() bool
- func (r *Quay) Create(repository string) error
- func (r Quay) GetAuthConfig() types.AuthConfig
- func (r Quay) GetAuthInfo() string
- func (r *Quay) Login(client docker.Client, out io.Writer) error
- func (r *Quay) Name() string
- func (Quay) PushImage(client docker.Client, auth, image string, ow, eout io.Writer) error
- func (r Quay) RegistryUrl() string
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dockerhub ¶
type Dockerhub struct { Namespace string `yaml:"namespace" env:"DOCKERHUB_NAMESPACE"` Username string `yaml:"username" env:"DOCKERHUB_USERNAME"` Password string `yaml:"password" env:"DOCKERHUB_PASSWORD"` // contains filtered or unexported fields }
func (Dockerhub) Configured ¶
func (Dockerhub) GetAuthConfig ¶ added in v0.0.12
func (r Dockerhub) GetAuthConfig() types.AuthConfig
func (Dockerhub) GetAuthInfo ¶
func (Dockerhub) RegistryUrl ¶
type ECR ¶
type ECR struct { Url string `yaml:"url" env:"ECR_URL"` Region string `yaml:"region" env:"ECR_REGION"` // contains filtered or unexported fields }
func (*ECR) Configured ¶
func (*ECR) GetAuthConfig ¶ added in v0.0.12
func (r *ECR) GetAuthConfig() types.AuthConfig
func (*ECR) GetAuthInfo ¶
func (ECR) RegistryUrl ¶
type GCR ¶ added in v0.0.18
type GCR struct { Url string `yaml:"url" env:"GCR_URL"` KeyFileContent string `yaml:"keyfileContent" env:"GCR_KEYFILE_CONTENT"` // contains filtered or unexported fields }
func (*GCR) Configured ¶ added in v0.0.18
func (*GCR) GetAuthConfig ¶ added in v0.0.18
func (r *GCR) GetAuthConfig() types.AuthConfig
func (*GCR) GetAuthInfo ¶ added in v0.0.18
func (GCR) RegistryUrl ¶ added in v0.0.18
type Github ¶
type Github struct { Username string `yaml:"username" env:"GITHUB_USERNAME"` Password string `yaml:"password" env:"GITHUB_PASSWORD"` Token string `yaml:"token" env:"GITHUB_TOKEN"` Repository string `yaml:"repository" env:"GITHUB_REPOSITORY"` // contains filtered or unexported fields }
func (Github) Configured ¶
func (Github) GetAuthConfig ¶ added in v0.0.12
func (r Github) GetAuthConfig() types.AuthConfig
func (Github) GetAuthInfo ¶
func (Github) RegistryUrl ¶
type Gitlab ¶
type Gitlab struct { Registry string `yaml:"registry" env:"CI_REGISTRY"` Repository string `yaml:"repository" env:"CI_REGISTRY_IMAGE"` Token string `yaml:"token" env:"CI_BUILD_TOKEN"` // contains filtered or unexported fields }
func (Gitlab) Configured ¶
func (Gitlab) GetAuthConfig ¶ added in v0.0.12
func (r Gitlab) GetAuthConfig() types.AuthConfig
func (Gitlab) GetAuthInfo ¶
func (Gitlab) RegistryUrl ¶
type NoDockerRegistry ¶
type NoDockerRegistry struct{}
func (NoDockerRegistry) Configured ¶
func (n NoDockerRegistry) Configured() bool
func (NoDockerRegistry) Create ¶
func (n NoDockerRegistry) Create(repository string) error
func (NoDockerRegistry) GetAuthConfig ¶ added in v0.0.12
func (n NoDockerRegistry) GetAuthConfig() types.AuthConfig
func (NoDockerRegistry) GetAuthInfo ¶
func (n NoDockerRegistry) GetAuthInfo() string
func (NoDockerRegistry) Name ¶
func (n NoDockerRegistry) Name() string
func (NoDockerRegistry) RegistryUrl ¶
func (n NoDockerRegistry) RegistryUrl() string
type Quay ¶
type Quay struct { Repository string `yaml:"repository" env:"QUAY_REPOSITORY"` Username string `yaml:"username" env:"QUAY_USERNAME"` Password string `yaml:"password" env:"QUAY_PASSWORD"` // contains filtered or unexported fields }
func (*Quay) Configured ¶
func (Quay) GetAuthConfig ¶ added in v0.0.12
func (r Quay) GetAuthConfig() types.AuthConfig
func (Quay) GetAuthInfo ¶
func (Quay) RegistryUrl ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.