Documentation
¶
Overview ¶
Package registrydo provides the DigitalOcean container registry provider.
Index ¶
- func New() registry.RegistryProvider
- type DOProvider
- func (d *DOProvider) Login(ctx registry.Context, cfg registry.ProviderConfig) error
- func (d *DOProvider) Logout(ctx registry.Context, cfg registry.ProviderConfig) error
- func (d *DOProvider) Name() string
- func (d *DOProvider) Prune(ctx registry.Context, cfg registry.ProviderConfig) error
- func (d *DOProvider) Push(ctx registry.Context, cfg registry.ProviderConfig, imageRef string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DOProvider ¶
type DOProvider struct{}
DOProvider implements registry.RegistryProvider for DigitalOcean Container Registry.
func (*DOProvider) Login ¶
func (d *DOProvider) Login(ctx registry.Context, cfg registry.ProviderConfig) error
func (*DOProvider) Logout ¶
func (d *DOProvider) Logout(ctx registry.Context, cfg registry.ProviderConfig) error
func (*DOProvider) Name ¶
func (d *DOProvider) Name() string
func (*DOProvider) Prune ¶
func (d *DOProvider) Prune(ctx registry.Context, cfg registry.ProviderConfig) error
Prune runs garbage collection and deletes tags beyond retention.keep_latest. It always preserves the "latest" tag.
func (*DOProvider) Push ¶
func (d *DOProvider) Push(ctx registry.Context, cfg registry.ProviderConfig, imageRef string) error
Click to show internal directories.
Click to hide internal directories.