Documentation
¶
Index ¶
- func IsExecutionFailed(err error) bool
- func RetagImage(repo, tag, srcRegistry, dstRegistry string) error
- type Config
- type Credentials
- type Registry
- func (r *Registry) ListRepositories() ([]string, error)
- func (r *Registry) ListTags(repository string) ([]string, error)
- func (r *Registry) Login() error
- func (r *Registry) Logout() error
- func (r *Registry) PullImage(repo, tag string) error
- func (r *Registry) PushImage(repo, tag string) error
- func (r *Registry) RemoveImage(repo, tag string) error
- func (r *Registry) RepositoryTagExists(repo, tag string) (bool, error)
- type RegistryClient
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExecutionFailed ¶
IsExecutionFailed asserts executionFailedError.
func RetagImage ¶
Types ¶
type Config ¶
type Config struct {
Credentials Credentials
Name string
HttpClient http.Client
RegistryClient RegistryClient
}
type Credentials ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) ListRepositories ¶ added in v0.3.0
func (*Registry) RemoveImage ¶
type RegistryClient ¶ added in v0.3.0
type Repository ¶
Click to show internal directories.
Click to hide internal directories.