Documentation ¶
Index ¶
- type Dockerhub
- func (r Dockerhub) Configured() bool
- func (r *Dockerhub) Create(repository string) error
- 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) 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 Github
- func (r Github) Configured() bool
- func (r *Github) Create(repository string) error
- 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) 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) 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) 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) 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) GetAuthInfo ¶
func (ECR) RegistryUrl ¶
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) 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_TOKEN"` // contains filtered or unexported fields }
func (Gitlab) Configured ¶
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) 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) GetAuthInfo ¶
func (Quay) RegistryUrl ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.