ecr

package
v0.0.0-...-6193c37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 GetAuthToken

func GetAuthToken(ecrClient *ecr.ECR) (string, error)

func GetImageDigest

func GetImageDigest(imageUri, imageContainerRegistry string, ecrClient *ecr.ECR) (string, error)

func GetLatestImageSha

func GetLatestImageSha(ecrClient *ecr.ECR, repoName string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL