Add clock interface to disruption controller

To be able to write more precise unit tests in the future

Change-Id: I8f45947dfacca501acd856849bd978fad0f735cd
This commit is contained in:
Aldo Culquicondor
2022-07-26 15:11:53 -04:00
parent 0d46dc1f46
commit dad8454ebb
4 changed files with 64 additions and 20 deletions

View File

@@ -24,7 +24,6 @@ import (
"time"
"github.com/google/go-cmp/cmp"
v1 "k8s.io/api/core/v1"
policyv1 "k8s.io/api/policy/v1"
"k8s.io/api/policy/v1beta1"