Skip to content

Commit 703fb98

Browse files
committed
introduce v2 of the apimachinery package
1 parent 9ec23b3 commit 703fb98

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// This is a generated file. Do not edit directly.
2-
3-
module github.com/kcp-dev/apimachinery
1+
module github.com/kcp-dev/apimachinery/v2
42

53
go 1.18
64

third_party/informers/scoped_shared_informer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
"k8s.io/client-go/tools/cache"
2525

26-
kcpcache "github.com/kcp-dev/apimachinery/pkg/cache"
26+
kcpcache "github.com/kcp-dev/apimachinery/v2/pkg/cache"
2727
)
2828

2929
// scopedSharedIndexInformer ensures that event handlers added to the underlying

third_party/informers/shared_informer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
"k8s.io/utils/buffer"
3535
"k8s.io/utils/clock"
3636

37-
kcpcache "github.com/kcp-dev/apimachinery/pkg/cache"
37+
kcpcache "github.com/kcp-dev/apimachinery/v2/pkg/cache"
3838
)
3939

4040
// NewSharedInformer creates a new instance for the listwatcher.

0 commit comments

Comments
 (0)