Skip to content

Commit 29e1b1d

Browse files
authored
Regenerate informers with WithTransform (#320)
Since 1.29, Kubernetes supports transforming informers, which is useful to reduce the amount of memory used by the underlying caches. This updates the code generator to the latest 0.29 release and re-generates the informers. This requires upgrading to Go 1.21. Signed-off-by: Stephen Kitt <[email protected]>
1 parent 480f8ab commit 29e1b1d

File tree

669 files changed

+14315
-16767
lines changed

Some content is hidden

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

669 files changed

+14315
-16767
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
env:
1515
# Common versions
16-
GO_VERSION: '1.20'
16+
GO_VERSION: '1.21'
1717
GO_REQUIRED_MIN_VERSION: ''
1818
defaults:
1919
run:

client/addon/informers/externalversions/factory.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/cluster/informers/externalversions/factory.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/operator/informers/externalversions/factory.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/work/informers/externalversions/factory.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
module open-cluster-management.io/api
22

3-
go 1.20
3+
go 1.21
44

55
require (
66
github.com/evanphx/json-patch v5.6.0+incompatible
77
github.com/gogo/protobuf v1.3.2
88
github.com/onsi/ginkgo v1.16.5
9-
github.com/onsi/gomega v1.27.10
9+
github.com/onsi/gomega v1.29.0
1010
github.com/openshift/build-machinery-go v0.0.0-20230306181456-d321ffa04533
1111
github.com/spf13/pflag v1.0.5
12-
github.com/stretchr/testify v1.8.2
13-
k8s.io/api v0.28.2
14-
k8s.io/apimachinery v0.28.2
15-
k8s.io/client-go v0.28.2
16-
k8s.io/code-generator v0.28.0
17-
k8s.io/component-base v0.28.2
18-
k8s.io/klog/v2 v2.100.1
12+
github.com/stretchr/testify v1.8.4
13+
k8s.io/api v0.29.1
14+
k8s.io/apimachinery v0.29.1
15+
k8s.io/client-go v0.29.1
16+
k8s.io/code-generator v0.29.1
17+
k8s.io/component-base v0.29.1
18+
k8s.io/klog/v2 v2.110.1
1919
sigs.k8s.io/controller-runtime v0.16.2
2020
)
2121

@@ -24,16 +24,16 @@ require (
2424
github.com/blang/semver/v4 v4.0.0 // indirect
2525
github.com/cespare/xxhash/v2 v2.2.0 // indirect
2626
github.com/davecgh/go-spew v1.1.1 // indirect
27-
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
27+
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
2828
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
2929
github.com/fsnotify/fsnotify v1.6.0 // indirect
30-
github.com/go-logr/logr v1.2.4 // indirect
30+
github.com/go-logr/logr v1.3.0 // indirect
3131
github.com/go-openapi/jsonpointer v0.19.6 // indirect
3232
github.com/go-openapi/jsonreference v0.20.2 // indirect
3333
github.com/go-openapi/swag v0.22.3 // indirect
3434
github.com/golang/protobuf v1.5.3 // indirect
3535
github.com/google/gnostic-models v0.6.8 // indirect
36-
github.com/google/go-cmp v0.5.9 // indirect
36+
github.com/google/go-cmp v0.6.0 // indirect
3737
github.com/google/gofuzz v1.2.0 // indirect
3838
github.com/google/uuid v1.3.0 // indirect
3939
github.com/imdario/mergo v0.3.12 // indirect
@@ -52,25 +52,25 @@ require (
5252
github.com/prometheus/common v0.44.0 // indirect
5353
github.com/prometheus/procfs v0.10.1 // indirect
5454
go.uber.org/zap v1.26.0 // indirect
55-
golang.org/x/mod v0.10.0 // indirect
56-
golang.org/x/net v0.17.0 // indirect
57-
golang.org/x/oauth2 v0.8.0 // indirect
58-
golang.org/x/sys v0.13.0 // indirect
59-
golang.org/x/term v0.13.0 // indirect
60-
golang.org/x/text v0.13.0 // indirect
55+
golang.org/x/mod v0.14.0 // indirect
56+
golang.org/x/net v0.19.0 // indirect
57+
golang.org/x/oauth2 v0.10.0 // indirect
58+
golang.org/x/sys v0.15.0 // indirect
59+
golang.org/x/term v0.15.0 // indirect
60+
golang.org/x/text v0.14.0 // indirect
6161
golang.org/x/time v0.3.0 // indirect
62-
golang.org/x/tools v0.9.3 // indirect
62+
golang.org/x/tools v0.16.1 // indirect
6363
google.golang.org/appengine v1.6.7 // indirect
64-
google.golang.org/protobuf v1.30.0 // indirect
64+
google.golang.org/protobuf v1.31.0 // indirect
6565
gopkg.in/inf.v0 v0.9.1 // indirect
6666
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
6767
gopkg.in/yaml.v2 v2.4.0 // indirect
6868
gopkg.in/yaml.v3 v3.0.1 // indirect
6969
k8s.io/apiextensions-apiserver v0.28.0 // indirect
70-
k8s.io/gengo v0.0.0-20220902162205-c0856e24416d // indirect
71-
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
72-
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
70+
k8s.io/gengo v0.0.0-20230829151522-9cce18d56c01 // indirect
71+
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
72+
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
7373
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
74-
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
74+
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
7575
sigs.k8s.io/yaml v1.3.0 // indirect
7676
)

0 commit comments

Comments
 (0)