source-controller/controllers
Sunny 78882b3b36 Consolidate result conversion and computation
Consolidate BuildRuntimeResult() into summarizeAndPatch() to simplify
where the results are computed, summarized and patched.

Move the event recording and logging of context specific errors into
RecordContextualError() and call it in summarizeAndPatch().

Introduce Waiting error for wait and requeue scenarios. Update
ComputeReconcileResult() and RecordContextualError() to consider Waiting
error.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-02-23 12:35:30 +01:00
..
testdata Rewrite `GitRepositoryReconciler` to new standards 2022-02-23 12:35:30 +01:00
artifact.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-23 12:35:30 +01:00
artifact_matchers_test.go Add gomega matcher for artifact 2022-02-23 12:35:30 +01:00
artifact_test.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-23 12:35:30 +01:00
bucket_controller.go Consolidate result conversion and computation 2022-02-23 12:35:30 +01:00
bucket_controller_test.go controllers: tweak events and logging 2022-02-23 12:35:30 +01:00
gitrepository_controller.go Consolidate result conversion and computation 2022-02-23 12:35:30 +01:00
gitrepository_controller_test.go gitrepo: Fix reconcileInclude() includes 2022-02-23 12:35:30 +01:00
helmchart_controller.go Consolidate result conversion and computation 2022-02-23 12:35:30 +01:00
helmchart_controller_test.go Consolidate result conversion and computation 2022-02-23 12:35:30 +01:00
helmrepository_controller.go Consolidate result conversion and computation 2022-02-23 12:35:30 +01:00
helmrepository_controller_test.go Consolidate result conversion and computation 2022-02-23 12:35:30 +01:00
source_predicate.go Switch to v1beta2 API package 2022-02-23 12:35:25 +01:00
storage.go Implement new runtime interfaces, prepare testenv 2022-02-23 12:35:30 +01:00
storage_test.go Switch to v1beta2 API package 2022-02-23 12:35:25 +01:00
suite_test.go controllers: remove legacy test suite 2022-02-23 12:35:30 +01:00