Skip to content

Commit 81aa3a7

Browse files
authored
Use go tools and reduce main go.mod (#4181)
* Move tools to its own directory * Adjust scripts to go tools * Enable workspace and clean go.mod * Update devguide to add tools section
1 parent 69946a0 commit 81aa3a7

File tree

18 files changed

+440
-178
lines changed

18 files changed

+440
-178
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Session.vim
5050
/www/test_out
5151
.*.timestamp
5252
/site
53-
go.work
5453
go.work.sum
5554

5655
/cache

go.mod

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,92 +3,72 @@ module sigs.k8s.io/gateway-api
33
go 1.24.0
44

55
require (
6-
github.com/elastic/crd-ref-docs v0.2.0
76
github.com/miekg/dns v1.1.68
87
github.com/stretchr/testify v1.11.1
98
golang.org/x/net v0.44.0
109
golang.org/x/sync v0.17.0
11-
golang.org/x/tools v0.36.0
1210
google.golang.org/grpc v1.75.1
13-
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1
1411
google.golang.org/protobuf v1.36.8
1512
k8s.io/api v0.34.1
1613
k8s.io/apiextensions-apiserver v0.34.1
1714
k8s.io/apimachinery v0.34.1
1815
k8s.io/client-go v0.34.1
19-
k8s.io/code-generator v0.34.1
2016
k8s.io/kube-openapi v0.0.0-20250814151709-d7b6acb124c3
2117
k8s.io/utils v0.0.0-20250820121507-0af2bda4dd1d
2218
sigs.k8s.io/controller-runtime v0.22.3
23-
sigs.k8s.io/controller-tools v0.19.0
2419
sigs.k8s.io/structured-merge-diff/v6 v6.3.0
2520
sigs.k8s.io/yaml v1.6.0
2621
)
2722

2823
require (
29-
github.com/Masterminds/goutils v1.1.1 // indirect
30-
github.com/Masterminds/semver v1.5.0 // indirect
31-
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
3224
github.com/beorn7/perks v1.0.1 // indirect
3325
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3426
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3527
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
3628
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
37-
github.com/fatih/color v1.18.0 // indirect
3829
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
3930
github.com/go-logr/logr v1.4.3 // indirect
4031
github.com/go-logr/zapr v1.3.0 // indirect
4132
github.com/go-openapi/jsonpointer v0.21.2 // indirect
4233
github.com/go-openapi/jsonreference v0.21.0 // indirect
4334
github.com/go-openapi/swag v0.23.1 // indirect
44-
github.com/gobuffalo/flect v1.0.3 // indirect
45-
github.com/goccy/go-yaml v1.18.0 // indirect
4635
github.com/gogo/protobuf v1.3.2 // indirect
4736
github.com/google/gnostic-models v0.7.0 // indirect
4837
github.com/google/go-cmp v0.7.0 // indirect
4938
github.com/google/uuid v1.6.0 // indirect
5039
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
51-
github.com/huandu/xstrings v1.3.3 // indirect
52-
github.com/imdario/mergo v0.3.11 // indirect
53-
github.com/inconshreveable/mousetrap v1.1.0 // indirect
5440
github.com/josharian/intern v1.0.0 // indirect
5541
github.com/json-iterator/go v1.1.12 // indirect
5642
github.com/mailru/easyjson v0.9.0 // indirect
57-
github.com/mattn/go-colorable v0.1.13 // indirect
58-
github.com/mattn/go-isatty v0.0.20 // indirect
59-
github.com/mitchellh/copystructure v1.2.0 // indirect
60-
github.com/mitchellh/reflectwalk v1.0.2 // indirect
6143
github.com/moby/spdystream v0.5.0 // indirect
6244
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
6345
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
6446
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
6547
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
48+
github.com/onsi/ginkgo/v2 v2.25.1 // indirect
49+
github.com/onsi/gomega v1.38.1 // indirect
6650
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
6751
github.com/prometheus/client_golang v1.23.0 // indirect
6852
github.com/prometheus/client_model v0.6.2 // indirect
6953
github.com/prometheus/common v0.65.0 // indirect
7054
github.com/prometheus/procfs v0.17.0 // indirect
71-
github.com/spf13/cobra v1.9.1 // indirect
7255
github.com/spf13/pflag v1.0.7 // indirect
7356
github.com/x448/float16 v0.8.4 // indirect
7457
go.uber.org/multierr v1.11.0 // indirect
7558
go.uber.org/zap v1.27.0 // indirect
7659
go.yaml.in/yaml/v2 v2.4.2 // indirect
7760
go.yaml.in/yaml/v3 v3.0.4 // indirect
78-
golang.org/x/crypto v0.42.0 // indirect
7961
golang.org/x/mod v0.27.0 // indirect
8062
golang.org/x/oauth2 v0.30.0 // indirect
8163
golang.org/x/sys v0.36.0 // indirect
8264
golang.org/x/term v0.35.0 // indirect
8365
golang.org/x/text v0.29.0 // indirect
8466
golang.org/x/time v0.12.0 // indirect
85-
golang.org/x/tools/go/expect v0.1.1-deprecated // indirect
67+
golang.org/x/tools v0.36.0 // indirect
8668
google.golang.org/genproto/googleapis/rpc v0.0.0-20250826171959-ef028d996bc1 // indirect
8769
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
8870
gopkg.in/inf.v0 v0.9.1 // indirect
89-
gopkg.in/yaml.v2 v2.4.0 // indirect
9071
gopkg.in/yaml.v3 v3.0.1 // indirect
91-
k8s.io/gengo/v2 v2.0.0-20250820003526-c297c0c1eb9d // indirect
9272
k8s.io/klog/v2 v2.130.1 // indirect
9373
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
9474
sigs.k8s.io/randfill v1.0.0 // indirect

0 commit comments

Comments
 (0)