ecr

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package ecr is the image registry adapter for Amazon ECR. ECR differs from an OCI registry in the two ways the category exists for: Pando signs in by trading an AWS access key for a password that lasts twelve hours, minted before each push and pull, and a repository has to exist before anything is pushed to it, so every build goes to one repository the operator created.

Index

Constants

View Source
const Kind = "ecr"

Kind is the adapter's kind string.

Variables

This section is empty.

Functions

func Info

func Info() api.KindInfo

Info describes the kind for the console's and the CLI's forms.

Types

type Adapter

type Adapter struct {
	registrykit.Registry

	// Endpoint overrides the ECR API endpoint, for tests.
	Endpoint string
}

Adapter is one ECR repository.

func New

func New() *Adapter

New returns an unconfigured adapter.

func (*Adapter) Category

func (a *Adapter) Category() api.Category

func (*Adapter) Configure

func (a *Adapter) Configure(_ context.Context, raw json.RawMessage) error

Configure reads the repository's address and the access key.

func (*Adapter) Kind

func (a *Adapter) Kind() string

Jump to

Keyboard shortcuts

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