Documentation ¶
Index ¶
- func DescribeImagesPaginated(ecrClient *ecr.ECR, describeInput *ecr.DescribeImagesInput) ([]*ecr.ImageDetail, error)
- func FilterECRRepoByTagPrefix(ecrClient *ecr.ECR, repoName, prefix string, hasTag bool) (string, string, error)
- func GetAuthConfig(ecrClient *ecr.ECR) (*docker.AuthConfiguration, error)
- func GetAuthToken(ecrClient *ecr.ECR) (string, error)
- func GetImageDigest(imageUri, imageContainerRegistry string, ecrClient *ecr.ECR) (string, error)
- func GetLatestImageSha(ecrClient *ecr.ECR, repoName string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescribeImagesPaginated ¶
func DescribeImagesPaginated(ecrClient *ecr.ECR, describeInput *ecr.DescribeImagesInput) ([]*ecr.ImageDetail, error)
func FilterECRRepoByTagPrefix ¶
func FilterECRRepoByTagPrefix(ecrClient *ecr.ECR, repoName, prefix string, hasTag bool) (string, string, error)
FilterECRRepoByTagPrefix will take a substring, and a repository as input and find the latest pushed image matching that substring.
func GetAuthConfig ¶
func GetAuthConfig(ecrClient *ecr.ECR) (*docker.AuthConfiguration, error)
func GetImageDigest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.