source-controller/api/v1beta1
Hidde Beydals 08ce0c95fc Rewrite `GitRepositoryReconciler` to new standards
This commit rewrites the `GitRepositoryReconciler` to new standards,
while implementing the newly introduced Condition types, and trying
to adhere better to Kubernetes API conventions.

More specifically it introduces:

- Implementation of more explicit Condition types to highlight
  abnormalities.
- Extensive usage of the `conditions` subpackage from `runtime`.
- Better and more conflict-resilient (status)patching of reconciled
  objects using the `patch` subpackage from runtime.
- Proper implementation of kstatus' `Reconciling` and `Stalled`
  conditions.
- First (integration) tests that solely rely on `testenv` and do not
  use Ginkgo.

There are a couple of TODOs marked in-code, these are suggestions for
the future and should be non-blocking.
In addition to the TODOs, more complex and/or edge-case test scenarios
may be added as well.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-07-30 19:36:32 +02:00
..
artifact_types.go Various API doc corrections 2020-10-28 01:09:21 +01:00
bucket_types.go Implement new runtime interfaces, prepare testenv 2021-07-30 12:33:18 +02:00
condition_types.go Change copyright to Flux authors 2020-10-27 17:54:22 +01:00
doc.go Change copyright to Flux authors 2020-10-27 17:54:22 +01:00
gitrepository_types.go Rewrite `GitRepositoryReconciler` to new standards 2021-07-30 19:36:32 +02:00
groupversion_info.go Change copyright to Flux authors 2020-10-27 17:54:22 +01:00
helmchart_types.go Implement new runtime interfaces, prepare testenv 2021-07-30 12:33:18 +02:00
helmrepository_types.go Implement new runtime interfaces, prepare testenv 2021-07-30 12:33:18 +02:00
source.go Alin HelmChart source indexer and watches 2021-01-18 17:08:25 +01:00
zz_generated.deepcopy.go Add include property to GitRepositories 2021-05-11 09:46:50 +02:00