ecrhelper

package module
v0.0.0-...-5bf65e6 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 11 Imported by: 9 modules, 8 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

[!CAUTION] This repository has been in-lined (using git-subtree) into diego-release. Please make any future contributions directly to diego-release.

ECR Helper

Go Report Card Go Reference

Helper functions for interacting with Amazon's Elastic Container Registry (ECR).

[!NOTE]

This repository should be imported as code.cloudfoundry.org/ecrhelper.

Contributing

See the Contributing.md for more information on how to contribute.

Working Group Charter

This repository is maintained by App Runtime Platform under Diego area.

[!IMPORTANT]

Content in this file is managed by the CI task sync-readme and is generated by CI following a convention.

Documentation

Index

Constants

View Source
const ECR_REPO_REGEX = `[a-zA-Z0-9][a-zA-Z0-9_-]*\.dkr\.ecr(-fips)?\.[a-zA-Z0-9][a-zA-Z0-9_-]*\.amazonaws\.com(\.cn)?[^ ]*`

Variables

This section is empty.

Functions

This section is empty.

Types

type ECRHelper

type ECRHelper interface {
	IsECRRepo(registryURL string) (bool, error)
	GetECRCredentials(registryURL string, username string, password string) (string, string, error)
}

func NewECRHelper

func NewECRHelper() ECRHelper

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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