mirror of
https://github.com/rancher/steve.git
synced 2025-09-05 17:30:39 +00:00
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.
This commit is contained in:
@@ -4,13 +4,13 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/golang/mock/gomock"
|
||||
openapi_v2 "github.com/google/gnostic-models/openapiv2"
|
||||
"github.com/rancher/apiserver/pkg/apierror"
|
||||
"github.com/rancher/apiserver/pkg/types"
|
||||
"github.com/rancher/wrangler/v3/pkg/generic/fake"
|
||||
wschemas "github.com/rancher/wrangler/v3/pkg/schemas"
|
||||
"github.com/stretchr/testify/require"
|
||||
"go.uber.org/mock/gomock"
|
||||
apiextv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/labels"
|
||||
|
Reference in New Issue
Block a user