feat: Introduce a Generic ResourceReconciler and a generic BaseWorkload to de-duplicate a lot of code

This commit is contained in:
TheiLLeniumStudios
2026-01-05 00:59:57 +01:00
parent c785067a44
commit 5548ce559a
31 changed files with 1491 additions and 1356 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ func TestPauseHandler_ShouldPause(t *testing.T) {
tests := []struct {
name string
workload workload.WorkloadAccessor
workload workload.Workload
want bool
}{
{
@@ -66,7 +66,7 @@ func TestPauseHandler_GetPausePeriod(t *testing.T) {
tests := []struct {
name string
workload workload.WorkloadAccessor
workload workload.Workload
wantPeriod time.Duration
wantErr bool
}{