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 ¶
func NewRegistryCreator ¶
func NewRegistryCreator(registryType string) RepositoryCreator
Click to show internal directories.
Click to hide internal directories.