source-controller/controllers
Sunny b9979c9a47 storage: Return details about the deleted items
Update Storage.RemoveAll() and Storage.RemoveAllButCurrent() to return
the details about the deleted items. This helps emit useful information
about garbage collection in the controllers and ignore no-op garbage
collections.

RemoveAll() returns the path of the deleted directory if any.
RemoveAllButCurrent() returns a slice of path of all the deleted items
from a resource's artifact dir.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-02-15 15:55:45 +05:30
..
testdata Rewrite `GitRepositoryReconciler` to new standards 2022-02-15 15:42:14 +05:30
artifact.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-15 15:40:57 +05:30
artifact_matchers_test.go Add gomega matcher for artifact 2022-02-15 15:40:57 +05:30
artifact_test.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-15 15:40:57 +05:30
bucket_controller.go storage: Return details about the deleted items 2022-02-15 15:55:45 +05:30
bucket_controller_test.go controllers: replace `logr.NewContext` shims 2022-02-15 15:55:45 +05:30
gitrepository_controller.go storage: Return details about the deleted items 2022-02-15 15:55:45 +05:30
gitrepository_controller_test.go controllers: replace `logr.NewContext` shims 2022-02-15 15:55:45 +05:30
helmchart_controller.go storage: Return details about the deleted items 2022-02-15 15:55:45 +05:30
helmchart_controller_test.go controllers: HelmChart Reconcile test 2022-02-15 15:55:45 +05:30
helmrepository_controller.go storage: Return details about the deleted items 2022-02-15 15:55:45 +05:30
helmrepository_controller_test.go controllers: replace `logr.NewContext` shims 2022-02-15 15:55:45 +05:30
source_predicate.go Switch to v1beta2 API package 2022-02-15 15:40:57 +05:30
storage.go storage: Return details about the deleted items 2022-02-15 15:55:45 +05:30
storage_test.go storage: Return details about the deleted items 2022-02-15 15:55:45 +05:30
suite_test.go controllers: HelmChart Reconcile test 2022-02-15 15:55:45 +05:30