1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-04 08:55:55 +00:00

[v0.3] Migrate the mocking library to uber's (#475)

* Migrate the mocking library to uber's (#291)

* Migrate from golang/mock to uber/mock.

* Update go.mod

* Continue migration to uber/mock.

* Tweaks from running the go.uber.mock's mockgen.

* go generate ./...

---------

Co-authored-by: Eric Promislow <epromislow@suse.com>
This commit is contained in:
Tom Lebreux
2025-02-03 15:16:36 -05:00
committed by GitHub
parent 458a12d2d7
commit d50101289f
22 changed files with 181 additions and 132 deletions

View File

@@ -3,8 +3,8 @@ package tablelistconvert
import (
"context"
"fmt"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"
"go.uber.org/mock/gomock"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
watch2 "k8s.io/apimachinery/pkg/watch"