ecrhelper

package module
v0.0.0-...-811937c Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 6

README

ECR Helper

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