func TestDataConsistencyChecker(t *testing.T) { … } func TestDataConsistencyCheckerRetry(t *testing.T) { … } type errorLister … func (lw *errorLister) List(_ context.Context, _ metav1.ListOptions) (runtime.Object, error) { … } type listWrapper … func (lw *listWrapper) List(_ context.Context, opts metav1.ListOptions) (runtime.Object, error) { … } func makePod(name, rv string) *v1.Pod { … } func makeUnstructuredObject(version, kind, name string) *unstructured.Unstructured { … }