Documentation
¶
Overview ¶
Package ecr provides a client to make API requests to Amazon EC2 Container Registry.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func URIFromARN ¶
URIFromARN converts an ECR Repo ARN to a Repository URI
Types ¶
type ECR ¶
type ECR struct {
// contains filtered or unexported fields
}
ECR wraps an AWS ECR client.
func (ECR) Auth ¶ added in v0.3.0
Auth returns the basic authentication credentials needed to push images.
func (ECR) ClearRepository ¶
ClearRepository orchestrates a ListImages call followed by a DeleteImages call to delete all images from the input ECR repository name.
func (ECR) DeleteImages ¶
DeleteImages calls the ECR BatchDeleteImage API with the input image list and repository name.
func (ECR) ListImages ¶
ListImages calls the ECR DescribeImages API and returns a list of Image metadata for images in the input ECR repository name.
Click to show internal directories.
Click to hide internal directories.