Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupSyncStart ¶
func CleanupSyncStart() error
func ProviderByRepo ¶
ProviderByRepo generates Type based on image ARN
func SetSyncStatus ¶
func SetSyncStatus() error
Types ¶
type Syncer ¶
type Syncer interface {
Sync() error
}
Syncer offers capability to periodically sync with docker registry
type Tagger ¶
type Tagger interface { // Add adds list of tags to the image identified with version Add(ecr string, version string, tags ...string) error // Remove removes the list of tags from ECR repository such that no image contains these // tags Remove(ecr string, tags ...string) error // Get gets the list of tags to the image identified with version Get(ecr string, version string) ([]string, error) }
Tagger provides capability of adding/removing environment tags on ECR This interface is purely designed for CI/CD purposes such that the version tag ex git SHA is unique on images (images can be uniquely identified by such version tags). Environment tags or any other tags are then added or removed from the ECR images.
Click to show internal directories.
Click to hide internal directories.