Documentation ¶
Index ¶
- type Client
- type ECRClient
- func (e *ECRClient) CopyImage() error
- func (e *ECRClient) CreateRepository(name string) error
- func (e *ECRClient) Credentials() string
- func (e *ECRClient) Endpoint() string
- func (e *ECRClient) ImageExists(ref string) bool
- func (e *ECRClient) PullImage() error
- func (e *ECRClient) PutImage() error
- func (e *ECRClient) RepositoryExists() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CreateRepository(string) error RepositoryExists() bool CopyImage() error PullImage() error PutImage() error ImageExists(ref string) bool // Endpoint returns the domain of the registry Endpoint() string Credentials() string }
Client provides methods required to be implemented by the various target registry clients, e.g. ECR, Docker, Quay.
type ECRClient ¶
type ECRClient struct {
// contains filtered or unexported fields
}
func NewECRClient ¶
func NewMockECRClient ¶ added in v1.1.0
func (*ECRClient) CreateRepository ¶
func (*ECRClient) Credentials ¶
func (*ECRClient) ImageExists ¶
func (*ECRClient) RepositoryExists ¶
Click to show internal directories.
Click to hide internal directories.