Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Purger ¶
type Purger struct {
// contains filtered or unexported fields
}
Purger purges tags or manifests concurrently.
func NewPurger ¶
func NewPurger(poolSize int, acrClient api.AcrCLIClientInterface, loginURL string, repoName string) *Purger
NewPurger creates a new Purger.
func (*Purger) PurgeManifests ¶
func (p *Purger) PurgeManifests(ctx context.Context, manifests *[]acr.ManifestAttributesBase) (int, error)
PurgeManifests purges a list of manifests concurrently, and returns a count of deleted manifests and the first error occurred.
Click to show internal directories.
Click to hide internal directories.