Skip to content

Commit b940839

Browse files
author
Abhishek Agarwal
committed
chore(deps): update go mod to use the openebs v3 api modules
1 parent e8b68be commit b940839

File tree

282 files changed

+567
-524
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

282 files changed

+567
-524
lines changed

cmd/cspc-operator/app/start.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ import (
2424
"strconv"
2525
"time"
2626

27-
clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned"
28-
informers "github.com/openebs/api/v2/pkg/client/informers/externalversions"
29-
leader "github.com/openebs/api/v2/pkg/kubernetes/leaderelection"
27+
clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned"
28+
informers "github.com/openebs/api/v3/pkg/client/informers/externalversions"
29+
leader "github.com/openebs/api/v3/pkg/kubernetes/leaderelection"
3030
cspccontroller "github.com/openebs/cstor-operators/pkg/controllers/cspc-controller"
3131
"github.com/pkg/errors"
3232
kubeinformers "k8s.io/client-go/informers"

cmd/pool-manager/app/start.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ import (
3232
"github.com/pkg/errors"
3333
"k8s.io/klog"
3434

35-
clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned"
36-
informers "github.com/openebs/api/v2/pkg/client/informers/externalversions"
35+
clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned"
36+
informers "github.com/openebs/api/v3/pkg/client/informers/externalversions"
3737
"github.com/openebs/cstor-operators/pkg/signals"
3838
kubeinformers "k8s.io/client-go/informers"
3939
"k8s.io/client-go/kubernetes"

cmd/volume-manager/app/commands.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package app
1818

1919
import (
20-
"github.com/openebs/api/v2/pkg/util"
20+
"github.com/openebs/api/v3/pkg/util"
2121
"github.com/spf13/cobra"
2222
"k8s.io/klog"
2323
)

cmd/webhook/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
"k8s.io/client-go/tools/clientcmd"
3030
"k8s.io/klog"
3131

32-
clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned"
32+
clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned"
3333
//snapclientset "github.com/openebs/maya/pkg/client/generated/openebs.io/snapshot/v1alpha1/clientset/internalclientset"
3434
)
3535

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/imdario/mergo v0.3.8 // indirect
1111
github.com/onsi/ginkgo v1.12.0
1212
github.com/onsi/gomega v1.9.0
13-
github.com/openebs/api/v2 v2.4.0
13+
github.com/openebs/api/v3 v3.0.0-20211116062351-ecd9a8a61d3e
1414
github.com/pkg/errors v0.9.1
1515
github.com/spf13/cobra v0.0.5
1616
github.com/spf13/pflag v1.0.5

go.sum

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm
5858
github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96 h1:cenwrSVm+Z7QLSV/BsnenAOcDXdX4cMv4wP0B/5QbPg=
5959
github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM=
6060
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE=
61+
github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153 h1:yUdfgN0XgIJw7foRItutHYUIhlcKzcSf5vDpdhQAKTc=
6162
github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc=
6263
github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
6364
github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
@@ -190,8 +191,8 @@ github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1Cpa
190191
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
191192
github.com/onsi/gomega v1.9.0 h1:R1uwffexN6Pr340GtYRIdZmAiN4J+iw6WG4wog1DUXg=
192193
github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA=
193-
github.com/openebs/api/v2 v2.4.0 h1:MiDyuNe1TnwskN+1JAQr5DoiI/IWxbgljKg7ssGPIjg=
194-
github.com/openebs/api/v2 v2.4.0/go.mod h1:nLCaNvVjgjkjeD2a+n1fMbv5HjoEYP4XB8OAbwmIXtY=
194+
github.com/openebs/api/v3 v3.0.0-20211116062351-ecd9a8a61d3e h1:7k/1G9XfczLmBuCP8hIqcCBMZrJFjmHZaJirzFq5lxY=
195+
github.com/openebs/api/v3 v3.0.0-20211116062351-ecd9a8a61d3e/go.mod h1:GQFzH6s1YHJElE8YIFcyLATk8+wOIHo9ZoN5tAtUFCo=
195196
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
196197
github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU=
197198
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=

pkg/controllers/backup-controller/controller.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ import (
3434

3535
"github.com/openebs/cstor-operators/pkg/controllers/common"
3636

37-
cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1"
38-
openebstypes "github.com/openebs/api/v2/pkg/apis/types"
37+
cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1"
38+
openebstypes "github.com/openebs/api/v3/pkg/apis/types"
3939

40-
clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned"
41-
openebsScheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme"
42-
informers "github.com/openebs/api/v2/pkg/client/informers/externalversions"
40+
clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned"
41+
openebsScheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme"
42+
informers "github.com/openebs/api/v3/pkg/client/informers/externalversions"
4343
)
4444

4545
var (

pkg/controllers/backup-controller/controller_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919
"testing"
2020
"time"
2121

22-
openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake"
23-
openebsinformers "github.com/openebs/api/v2/pkg/client/informers/externalversions"
22+
openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake"
23+
openebsinformers "github.com/openebs/api/v3/pkg/client/informers/externalversions"
2424

2525
kubeinformers "k8s.io/client-go/informers"
2626
"k8s.io/client-go/kubernetes/fake"

pkg/controllers/backup-controller/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121
"fmt"
2222

23-
cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1"
23+
cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1"
2424
"github.com/openebs/cstor-operators/pkg/controllers/common"
2525
"github.com/openebs/cstor-operators/pkg/volumereplica"
2626
corev1 "k8s.io/api/core/v1"

pkg/controllers/common/common.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ import (
2323
"sync"
2424
"time"
2525

26-
cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1"
27-
clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned"
28-
"github.com/openebs/api/v2/pkg/util"
26+
cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1"
27+
clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned"
28+
"github.com/openebs/api/v3/pkg/util"
2929
"github.com/openebs/cstor-operators/pkg/pool"
3030
"github.com/openebs/cstor-operators/pkg/volumereplica"
3131
zcmd "github.com/openebs/cstor-operators/pkg/zcmd"

0 commit comments

Comments
 (0)