registry

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ECRContainerRegistryType = "ECR"

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerRegistryMeta

type ContainerRegistryMeta struct {
	// contains filtered or unexported fields
}

func NewContainerRegistryMeta

func NewContainerRegistryMeta(repoPrefix string) *ContainerRegistryMeta

func (*ContainerRegistryMeta) DropletRepoName

func (r *ContainerRegistryMeta) DropletRepoName(appGUID string) string

func (*ContainerRegistryMeta) DropletRepoPath

func (r *ContainerRegistryMeta) DropletRepoPath(appGUID string) string

func (*ContainerRegistryMeta) PackageRepoName

func (r *ContainerRegistryMeta) PackageRepoName(appGUID string) string

func (*ContainerRegistryMeta) PackageRepoPath

func (r *ContainerRegistryMeta) PackageRepoPath(appGUID string) string

type ECRClient

type ECRClient interface {
	CreateRepository(ctx context.Context, params *ecr.CreateRepositoryInput, optFns ...func(*ecr.Options)) (*ecr.CreateRepositoryOutput, error)
}

type ECRRegistryCreator

type ECRRegistryCreator struct {
	// contains filtered or unexported fields
}

func NewECRRegistryCreator

func NewECRRegistryCreator(ecrClient ECRClient) ECRRegistryCreator

func (ECRRegistryCreator) CreateRepository

func (c ECRRegistryCreator) CreateRepository(ctx context.Context, name string) error

type NoopRegistryCreator

type NoopRegistryCreator struct{}

func (NoopRegistryCreator) CreateRepository

func (c NoopRegistryCreator) CreateRepository(_ context.Context, _ string) error

type RepositoryCreator

type RepositoryCreator interface {
	CreateRepository(ctx context.Context, name string) error
}

func NewRegistryCreator

func NewRegistryCreator(registryType string) RepositoryCreator

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