mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-27 14:37:17 +00:00
feat: Introduce a Generic ResourceReconciler and a generic BaseWorkload to de-duplicate a lot of code
This commit is contained in:
@@ -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
|
||||
}{
|
||||
|
||||
Reference in New Issue
Block a user