MCPcopy
hub / github.com/akuity/kargo / Collector

Interface Collector

pkg/garbage/collector.go:55–59  ·  view source on GitHub ↗

Collector is an interface for the garbage collector.

Source from the content-addressed store, hash-verified

53
54// Collector is an interface for the garbage collector.
55type Collector interface {
56 // Run runs the garbage collector until all eligible Promotion resources have
57 // been deleted -- or until an unrecoverable error occurs.
58 Run(context.Context) error
59}
60
61// collector is an implementation of the Collector interface.
62type collector struct {

Callers 8

TestFetchBestReleasesFunction · 0.65
TestPickBestReleasesFunction · 0.65
TestCLIAssetPatternFunction · 0.65
TestNewInMemoryCacheFunction · 0.65
TestInMemoryCache_GetFunction · 0.65
TestInMemoryCache_SetFunction · 0.65

Implementers 15

collectorpkg/garbage/collector.go
MockStepRunnerpkg/promotion/mock_step_runner.go
kustomizeImageSetterpkg/promotion/runner/builtin/kustomize
httpDownloaderpkg/promotion/runner/builtin/http_down
gitClonerpkg/promotion/runner/builtin/git_clone
gitTreeClearerpkg/promotion/runner/builtin/git_tree_
helmTemplateRunnerpkg/promotion/runner/builtin/helm_temp
gitTagTaggerpkg/promotion/runner/builtin/git_tagge
yamlUpdaterpkg/promotion/runner/builtin/yaml_upda
tomlUpdaterpkg/promotion/runner/builtin/toml_upda
gitCommitterpkg/promotion/runner/builtin/git_commi
helmChartUpdaterpkg/promotion/runner/builtin/helm_char

Calls

no outgoing calls

Tested by

no test coverage detected