Skip to content

Commit 45adc99

Browse files
committed
Use k8s 1.34 client libs
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 49315ac commit 45adc99

1,797 files changed

Lines changed: 137783 additions & 64868 deletions

File tree

Some content is hidden

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

.golangci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: "2"
2+
linters:
3+
default: standard
4+
enable:
5+
- unparam
6+
7+
formatters:
8+
enable:
9+
- gofmt
10+
- goimports
11+
settings:
12+
gofmt:
13+
rewrite-rules:
14+
- pattern: 'interface{}'
15+
replacement: 'any'
16+
17+
issues:
18+
max-same-issues: 100
19+
20+
exclude-files:
21+
- generated.*\\.go
22+
23+
exclude-dirs:
24+
- client
25+
- vendor
26+
27+
run:
28+
timeout: 10m

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ unit-tests: $(BUILD_DIRS)
227227
./hack/test.sh $(SRC_DIRS) \
228228
"
229229

230-
ADDTL_LINTERS := gofmt,goimports,unparam
231-
232230
.PHONY: lint
233231
lint: $(BUILD_DIRS)
234232
@echo "running linter"
@@ -246,7 +244,7 @@ lint: $(BUILD_DIRS)
246244
--env GO111MODULE=on \
247245
--env GOFLAGS="-mod=vendor" \
248246
$(BUILD_IMAGE) \
249-
golangci-lint run --enable $(ADDTL_LINTERS) --timeout=10m --exclude-files="generated.*\.go$\" --exclude-dirs-use-default
247+
golangci-lint run
250248

251249
$(BUILD_DIRS):
252250
@mkdir -p $@

api/v1/openapi_generated.go

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

go.mod

Lines changed: 53 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module kmodules.xyz/objectstore-api
22

3-
go 1.24
4-
5-
toolchain go1.24.1
3+
go 1.25
64

75
require (
86
github.com/aws/aws-sdk-go v1.55.6
@@ -13,45 +11,46 @@ require (
1311
github.com/gogo/protobuf v1.3.2
1412
github.com/pkg/errors v0.9.1
1513
github.com/spf13/cobra v1.9.1
16-
github.com/stretchr/testify v1.10.0
14+
github.com/stretchr/testify v1.11.1
1715
gocloud.dev v0.41.0
1816
gomodules.xyz/encoding v0.0.8
1917
gomodules.xyz/pointer v0.1.0
2018
gomodules.xyz/stow v0.2.4
2119
gomodules.xyz/x v0.0.17
22-
k8s.io/api v0.32.3
23-
k8s.io/apimachinery v0.32.3
24-
k8s.io/client-go v0.32.3
20+
k8s.io/api v0.34.3
21+
k8s.io/apimachinery v0.34.3
22+
k8s.io/client-go v0.34.3
2523
k8s.io/klog/v2 v2.130.1
26-
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff
27-
kmodules.xyz/constants v0.0.0-20250214231619-6782007b5d4b
28-
kubestash.dev/apimachinery v0.20.0
29-
sigs.k8s.io/controller-runtime v0.20.4
30-
sigs.k8s.io/yaml v1.4.0
24+
k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b
25+
kmodules.xyz/constants v0.0.0-20250815043538-9de88de78858
26+
kubestash.dev/apimachinery v0.22.0
27+
sigs.k8s.io/controller-runtime v0.22.4
28+
sigs.k8s.io/yaml v1.6.0
3129
)
3230

31+
require github.com/Azure/go-autorest v14.2.0+incompatible // indirect
32+
3333
require (
34-
cel.dev/expr v0.22.1 // indirect
34+
cel.dev/expr v0.24.0 // indirect
3535
cloud.google.com/go v0.120.0 // indirect
3636
cloud.google.com/go/auth v0.15.0 // indirect
3737
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
3838
cloud.google.com/go/compute/metadata v0.6.0 // indirect
3939
cloud.google.com/go/iam v1.4.2 // indirect
4040
cloud.google.com/go/monitoring v1.24.1 // indirect
4141
cloud.google.com/go/storage v1.51.0 // indirect
42-
github.com/Azure/azure-sdk-for-go v32.5.0+incompatible // indirect
43-
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.17.1 // indirect
44-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.8.2 // indirect
45-
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
46-
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.0 // indirect
47-
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
48-
github.com/Azure/go-autorest/autorest v0.9.0 // indirect
49-
github.com/Azure/go-autorest/autorest/adal v0.5.0 // indirect
50-
github.com/Azure/go-autorest/autorest/date v0.1.0 // indirect
42+
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible // indirect
43+
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.19.1 // indirect
44+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0 // indirect
45+
github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.2 // indirect
46+
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.3 // indirect
47+
github.com/Azure/go-autorest/autorest v0.11.30 // indirect
48+
github.com/Azure/go-autorest/autorest/adal v0.9.24 // indirect
49+
github.com/Azure/go-autorest/autorest/date v0.3.1 // indirect
5150
github.com/Azure/go-autorest/autorest/to v0.4.1 // indirect
52-
github.com/Azure/go-autorest/logger v0.1.0 // indirect
53-
github.com/Azure/go-autorest/tracing v0.5.0 // indirect
54-
github.com/AzureAD/microsoft-authentication-library-for-go v1.4.2 // indirect
51+
github.com/Azure/go-autorest/logger v0.2.2 // indirect
52+
github.com/Azure/go-autorest/tracing v0.6.1 // indirect
53+
github.com/AzureAD/microsoft-authentication-library-for-go v1.5.0 // indirect
5554
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.27.0 // indirect
5655
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.51.0 // indirect
5756
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.51.0 // indirect
@@ -73,28 +72,30 @@ require (
7372
github.com/beorn7/perks v1.0.1 // indirect
7473
github.com/cespare/xxhash/v2 v2.3.0 // indirect
7574
github.com/cncf/xds/go v0.0.0-20250326154945-ae57f3c0d45f // indirect
76-
github.com/cyphar/filepath-securejoin v0.3.4 // indirect
75+
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
7776
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
78-
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
79-
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
77+
github.com/dnaeon/go-vcr v1.2.0 // indirect
78+
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
8079
github.com/envoyproxy/go-control-plane/envoy v1.32.4 // indirect
8180
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
8281
github.com/evanphx/json-patch v5.9.11+incompatible // indirect
8382
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
8483
github.com/fatih/structs v1.1.0 // indirect
8584
github.com/felixge/httpsnoop v1.0.4 // indirect
86-
github.com/fsnotify/fsnotify v1.8.0 // indirect
87-
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
85+
github.com/fsnotify/fsnotify v1.9.0 // indirect
86+
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
87+
github.com/go-jose/go-jose/v4 v4.0.5 // indirect
8888
github.com/go-logr/logr v1.4.2 // indirect
8989
github.com/go-logr/stdr v1.2.2 // indirect
9090
github.com/go-openapi/jsonpointer v0.21.0 // indirect
9191
github.com/go-openapi/jsonreference v0.21.0 // indirect
9292
github.com/go-openapi/swag v0.23.0 // indirect
93-
github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
93+
github.com/gofrs/uuid v4.4.0+incompatible // indirect
94+
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
95+
github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
9496
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
95-
github.com/golang/protobuf v1.5.4 // indirect
9697
github.com/google/btree v1.1.3 // indirect
97-
github.com/google/gnostic-models v0.6.9 // indirect
98+
github.com/google/gnostic-models v0.7.0 // indirect
9899
github.com/google/go-cmp v0.7.0 // indirect
99100
github.com/google/gofuzz v1.2.0 // indirect
100101
github.com/google/s2a-go v0.1.9 // indirect
@@ -107,29 +108,29 @@ require (
107108
github.com/jmespath/go-jmespath v0.4.1-0.20220621161143-b0104c826a24 // indirect
108109
github.com/josharian/intern v1.0.0 // indirect
109110
github.com/json-iterator/go v1.1.12 // indirect
110-
github.com/klauspost/compress v1.18.0 // indirect
111-
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
111+
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
112112
github.com/kylelemons/godebug v1.1.0 // indirect
113113
github.com/mailru/easyjson v0.9.0 // indirect
114114
github.com/mitchellh/mapstructure v1.5.0 // indirect
115115
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
116-
github.com/modern-go/reflect2 v1.0.2 // indirect
116+
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
117117
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
118118
github.com/ncw/swift v1.0.49 // indirect
119119
github.com/onsi/gomega v1.36.2 // indirect
120120
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
121121
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
122122
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
123-
github.com/prometheus/client_golang v1.20.5 // indirect
123+
github.com/prometheus/client_golang v1.22.0 // indirect
124124
github.com/prometheus/client_model v0.6.1 // indirect
125-
github.com/prometheus/common v0.61.0 // indirect
125+
github.com/prometheus/common v0.62.0 // indirect
126126
github.com/prometheus/procfs v0.15.1 // indirect
127-
github.com/satori/go.uuid v1.2.0 // indirect
128127
github.com/sergi/go-diff v1.3.1 // indirect
129128
github.com/spf13/pflag v1.0.6 // indirect
129+
github.com/spiffe/go-spiffe/v2 v2.5.0 // indirect
130130
github.com/x448/float16 v0.8.4 // indirect
131131
github.com/yudai/gojsondiff v1.0.0 // indirect
132132
github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect
133+
github.com/zeebo/errs v1.4.0 // indirect
133134
github.com/zeebo/xxh3 v1.0.2 // indirect
134135
go.opencensus.io v0.24.0 // indirect
135136
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
@@ -141,34 +142,36 @@ require (
141142
go.opentelemetry.io/otel/sdk v1.35.0 // indirect
142143
go.opentelemetry.io/otel/sdk/metric v1.35.0 // indirect
143144
go.opentelemetry.io/otel/trace v1.35.0 // indirect
144-
golang.org/x/crypto v0.37.0 // indirect
145-
golang.org/x/net v0.38.0 // indirect
145+
go.yaml.in/yaml/v2 v2.4.2 // indirect
146+
go.yaml.in/yaml/v3 v3.0.4 // indirect
147+
golang.org/x/crypto v0.46.0 // indirect
148+
golang.org/x/net v0.47.0 // indirect
146149
golang.org/x/oauth2 v0.28.0 // indirect
147-
golang.org/x/sync v0.13.0 // indirect
148-
golang.org/x/sys v0.32.0 // indirect
149-
golang.org/x/term v0.31.0 // indirect
150-
golang.org/x/text v0.24.0 // indirect
150+
golang.org/x/sync v0.19.0 // indirect
151+
golang.org/x/sys v0.39.0 // indirect
152+
golang.org/x/term v0.38.0 // indirect
153+
golang.org/x/text v0.32.0 // indirect
151154
golang.org/x/time v0.11.0 // indirect
152155
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
153156
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
154157
google.golang.org/api v0.228.0 // indirect
155158
google.golang.org/genproto v0.0.0-20250324211829-b45e905df463 // indirect
156159
google.golang.org/genproto/googleapis/api v0.0.0-20250324211829-b45e905df463 // indirect
157160
google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463 // indirect
158-
google.golang.org/grpc v1.71.0 // indirect
161+
google.golang.org/grpc v1.72.1 // indirect
159162
google.golang.org/protobuf v1.36.6 // indirect
160163
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
161164
gopkg.in/inf.v0 v0.9.1 // indirect
162165
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
163166
gopkg.in/yaml.v2 v2.4.0 // indirect
164167
gopkg.in/yaml.v3 v3.0.1 // indirect
165-
k8s.io/apiextensions-apiserver v0.32.3 // indirect
166-
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect
167-
kmodules.xyz/client-go v0.32.7 // indirect
168+
k8s.io/apiextensions-apiserver v0.34.3 // indirect
169+
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 // indirect
170+
kmodules.xyz/client-go v0.32.11 // indirect
168171
kmodules.xyz/offshoot-api v0.32.0 // indirect
169172
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
170173
sigs.k8s.io/randfill v1.0.0 // indirect
171-
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
174+
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
172175
)
173176

174177
replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.6

0 commit comments

Comments
 (0)