File tree Expand file tree Collapse file tree 6 files changed +13
-14
lines changed
test/integration/cloudevents Expand file tree Collapse file tree 6 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module open-cluster-management.io/addon-framework
33go 1.24.0
44
55require (
6- github.com/evanphx/json-patch v5.9.11+incompatible
6+ github.com/evanphx/json-patch/v5 v5.9.11
77 github.com/fatih/structs v1.1.0
88 github.com/mochi-mqtt/server/v2 v2.6.5
99 github.com/onsi/ginkgo v1.16.5
@@ -52,7 +52,7 @@ require (
5252 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
5353 github.com/eclipse/paho.golang v0.21.0 // indirect
5454 github.com/emicklei/go-restful/v3 v3.11.0 // indirect
55- github.com/evanphx/json-patch/v5 v5.9.11 // indirect
55+ github.com/evanphx/json-patch v5.9.11+incompatible // indirect
5656 github.com/felixge/httpsnoop v1.0.4 // indirect
5757 github.com/fsnotify/fsnotify v1.7.0 // indirect
5858 github.com/fxamacker/cbor/v2 v2.7.0 // indirect
Original file line number Diff line number Diff line change 99 "reflect"
1010 "strings"
1111
12- jsonpatch "github.com/evanphx/json-patch"
12+ jsonpatch "github.com/evanphx/json-patch/v5 "
1313 corev1 "k8s.io/api/core/v1"
1414 "k8s.io/apimachinery/pkg/api/equality"
1515 apierrors "k8s.io/apimachinery/pkg/api/errors"
Original file line number Diff line number Diff line change @@ -4,13 +4,9 @@ import (
44 "context"
55 "encoding/json"
66 "fmt"
7- "open-cluster-management.io/sdk-go/pkg/cloudevents/clients/work"
87 "time"
98
10- jsonpatch "github.com/evanphx/json-patch"
11- "open-cluster-management.io/addon-framework/pkg/agent"
12- "open-cluster-management.io/addon-framework/pkg/utils"
13-
9+ jsonpatch "github.com/evanphx/json-patch/v5"
1410 "github.com/onsi/ginkgo"
1511 "github.com/onsi/gomega"
1612 corev1 "k8s.io/api/core/v1"
@@ -22,12 +18,15 @@ import (
2218 "k8s.io/apimachinery/pkg/runtime"
2319 "k8s.io/apimachinery/pkg/types"
2420 "k8s.io/apimachinery/pkg/util/rand"
21+ "open-cluster-management.io/addon-framework/pkg/agent"
22+ "open-cluster-management.io/addon-framework/pkg/utils"
2523 addonapiv1alpha1 "open-cluster-management.io/api/addon/v1alpha1"
2624 workv1client "open-cluster-management.io/api/client/work/clientset/versioned/typed/work/v1"
2725 workv1informers "open-cluster-management.io/api/client/work/informers/externalversions/work/v1"
2826 workv1listers "open-cluster-management.io/api/client/work/listers/work/v1"
2927 clusterv1 "open-cluster-management.io/api/cluster/v1"
3028 workv1 "open-cluster-management.io/api/work/v1"
29+ "open-cluster-management.io/sdk-go/pkg/cloudevents/clients/work"
3130)
3231
3332const (
Original file line number Diff line number Diff line change @@ -4,10 +4,9 @@ import (
44 "context"
55 "encoding/json"
66 "fmt"
7- "open-cluster-management.io/sdk-go/pkg/cloudevents/clients/work"
87 "time"
98
10- jsonpatch "github.com/evanphx/json-patch"
9+ jsonpatch "github.com/evanphx/json-patch/v5 "
1110 "github.com/onsi/ginkgo"
1211 "github.com/onsi/gomega"
1312 corev1 "k8s.io/api/core/v1"
@@ -26,6 +25,7 @@ import (
2625 workv1listers "open-cluster-management.io/api/client/work/listers/work/v1"
2726 clusterv1 "open-cluster-management.io/api/cluster/v1"
2827 workv1 "open-cluster-management.io/api/work/v1"
28+ "open-cluster-management.io/sdk-go/pkg/cloudevents/clients/work"
2929)
3030
3131const (
Original file line number Diff line number Diff line change @@ -4,10 +4,9 @@ import (
44 "context"
55 "encoding/json"
66 "fmt"
7- "open-cluster-management.io/sdk-go/pkg/cloudevents/clients/work"
87 "time"
98
10- jsonpatch "github.com/evanphx/json-patch"
9+ jsonpatch "github.com/evanphx/json-patch/v5 "
1110 "github.com/onsi/ginkgo"
1211 "github.com/onsi/gomega"
1312 corev1 "k8s.io/api/core/v1"
@@ -27,6 +26,7 @@ import (
2726 workv1listers "open-cluster-management.io/api/client/work/listers/work/v1"
2827 clusterv1 "open-cluster-management.io/api/cluster/v1"
2928 workv1 "open-cluster-management.io/api/work/v1"
29+ "open-cluster-management.io/sdk-go/pkg/cloudevents/clients/work"
3030)
3131
3232const (
Original file line number Diff line number Diff line change @@ -4,10 +4,9 @@ import (
44 "context"
55 "encoding/json"
66 "fmt"
7- "open-cluster-management.io/sdk-go/pkg/cloudevents/clients/work"
87 "time"
98
10- jsonpatch "github.com/evanphx/json-patch"
9+ jsonpatch "github.com/evanphx/json-patch/v5 "
1110 "github.com/onsi/ginkgo"
1211 "github.com/onsi/gomega"
1312 corev1 "k8s.io/api/core/v1"
@@ -27,6 +26,7 @@ import (
2726 workv1listers "open-cluster-management.io/api/client/work/listers/work/v1"
2827 clusterv1 "open-cluster-management.io/api/cluster/v1"
2928 workv1 "open-cluster-management.io/api/work/v1"
29+ "open-cluster-management.io/sdk-go/pkg/cloudevents/clients/work"
3030)
3131
3232const (
You can’t perform that action at this time.
0 commit comments