forked from projectcalico/vpp-dataplane
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgo.mod
More file actions
209 lines (201 loc) · 10.5 KB
/
go.mod
File metadata and controls
209 lines (201 loc) · 10.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
module github.com/projectcalico/vpp-dataplane/v3
go 1.26.1
require (
github.com/calico-vpp/vpplink v0.1.0
github.com/census-instrumentation/opencensus-proto v0.4.1
github.com/containernetworking/plugins v1.9.0
github.com/google/gopacket v1.1.19
github.com/inconshreveable/mousetrap v1.1.0
github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.4.0
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.39.1
github.com/orijtech/prometheus-go-metrics-exporter v0.0.6
github.com/osrg/gobgp/v3 v3.35.0
github.com/pkg/errors v0.9.1
github.com/projectcalico/api v0.0.0-20260421135545-c314aea77bae // v3.32
github.com/projectcalico/calico v0.0.0-20260422095008-f3e5253afd75 // v3.32
github.com/sirupsen/logrus v1.9.4
github.com/spf13/cobra v1.10.2
github.com/vishvananda/netlink v1.3.1
github.com/vishvananda/netns v0.0.5
github.com/yookoala/realpath v1.0.0
go.fd.io/govpp v0.11.0
go.fd.io/govpp/extras v0.1.0
golang.org/x/sys v0.42.0
google.golang.org/grpc v1.79.3
google.golang.org/protobuf v1.36.11
gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637
k8s.io/api v0.35.4
k8s.io/apimachinery v0.35.4
k8s.io/client-go v0.35.4
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4
sigs.k8s.io/controller-runtime v0.23.3
)
require (
cel.dev/expr v0.25.1 // indirect
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
github.com/bennyscetbun/jsongo v1.1.2 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/coreos/go-semver v0.3.1 // indirect
github.com/coreos/go-systemd/v22 v22.6.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
github.com/eapache/channels v1.1.0 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
github.com/fsnotify/fsnotify v1.9.0 // indirect
github.com/ftrvxmtrx/fd v0.0.0-20150925145434-c6d800382fff // indirect
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
github.com/go-ini/ini v1.67.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/cel-go v0.26.0 // indirect
github.com/google/gnostic-models v0.7.0 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 // indirect
github.com/jinzhu/copier v0.4.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/k-sone/critbitgo v1.4.0 // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
github.com/kelseyhightower/envconfig v1.4.0 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/lunixbochs/struc v0.0.0-20241101090106-8d528fa2c543 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/nxadm/tail v1.4.11 // indirect
github.com/openshift/custom-resource-status v1.1.2 // indirect
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/projectcalico/calico/lib/std v0.0.0-00010101000000-000000000000 // indirect
github.com/prometheus/client_golang v1.23.2 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.67.5 // indirect
github.com/prometheus/procfs v0.20.1 // indirect
github.com/sagikazarmark/locafero v0.11.0 // indirect
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
github.com/spf13/afero v1.15.0 // indirect
github.com/spf13/cast v1.10.0 // indirect
github.com/spf13/pflag v1.0.10 // indirect
github.com/spf13/viper v1.21.0 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/x448/float16 v0.8.4 // indirect
go.etcd.io/etcd/api/v3 v3.6.8 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.6.8 // indirect
go.etcd.io/etcd/client/v3 v3.6.8 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/otel v1.43.0 // indirect
go.opentelemetry.io/otel/trace v1.43.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
go.yaml.in/yaml/v2 v2.4.3 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/crypto v0.49.0 // indirect
golang.org/x/exp v0.0.0-20251219203646-944ab1f22d93 // indirect
golang.org/x/net v0.52.0 // indirect
golang.org/x/oauth2 v0.36.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/term v0.41.0 // indirect
golang.org/x/text v0.35.0 // indirect
golang.org/x/time v0.15.0 // indirect
golang.zx2c4.com/wireguard/wgctrl v0.0.0-20241231184526-a9ab2273dd10 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260209200024-4cfbd4190f57 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260311181403-84a4fc48630c // indirect
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
gopkg.in/go-playground/validator.v9 v9.31.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.35.4 // indirect
k8s.io/apiserver v0.35.4 // indirect
k8s.io/component-base v0.35.4 // indirect
k8s.io/klog/v2 v2.140.0 // indirect
k8s.io/kube-openapi v0.31.0 // indirect
kubevirt.io/api v1.8.0-rc.0 // indirect
kubevirt.io/client-go v1.8.0-alpha.0 // indirect
kubevirt.io/containerized-data-importer-api v1.64.0 // indirect
kubevirt.io/controller-lifecycle-operator-sdk/api v0.2.4 // indirect
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
sigs.k8s.io/network-policy-api v0.2.0 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482 // indirect
sigs.k8s.io/yaml v1.6.0 // indirect
)
// We match the Calico/VPP version to a given Calico version.
// In order to upgrade proceed as follows
// - Get the appropriate commit hash for the new versions in both
// * https://github.com/projectcalico/calico
// * https://github.com/projectcalico/api
// - `go get github.com/projectcalico/calico@<commit hash>`
// - `go get github.com/projectcalico/api@<commit hash>`
// - This will change the go.mod (this file) & go.sum with
// `github.com/projectcalico/calico v1.11.0-cni-plugin.0.{SOMEDATE}-{COMMITHASH}`
// `github.com/projectcalico/api v1.11.0-cni-plugin.0.{SOMEDATE}-{COMMITHASH}`
// - Edit go.mod (this file) version string to make it `v0.0.0-{SOMEDATE}-{COMMITHASH}`
// - Add comments e.g. `// v3.30.0` to make the commit hash explicit
// - Update the `replace ()` section at the bootom of go.mod
// with the replacement found in github.com/projectcalico/calico/go.mod
// (those for `google.golang.org/grpc` and `k8s.io/*` in the main section)
// - upgrade the calico self-references replacements :
// * github.com/projectcalico/calico/lib/httpmachinery => github.com/projectcalico/calico/lib/httpmachinery v0.0.0-{SOMEDATE}-{COMMITHASH}
// * github.com/projectcalico/calico/lib/std => github.com/projectcalico/calico/lib/std v0.0.0-{SOMEDATE}-{COMMITHASH}
//
// - Run `go mod tidy
replace (
github.com/projectcalico/calico/lib/httpmachinery => github.com/projectcalico/calico/lib/httpmachinery v0.0.0-20260407032530-9d002f03266c // master
github.com/projectcalico/calico/lib/std => github.com/projectcalico/calico/lib/std v0.0.0-20260407032530-9d002f03266c // master
// Newer versions set the file mode on logs to 0600, which breaks a lot of our tests.
gopkg.in/natefinch/lumberjack.v2 => gopkg.in/natefinch/lumberjack.v2 v2.0.0
// Need replacements for all the k8s subsidiary projects that are pulled in indirectly because
// the kubernets repo pulls them in via a replacement to its own vendored copies, which doesn't work for
// transient imports.
k8s.io/api => k8s.io/api v0.35.3
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.35.3
k8s.io/apimachinery => k8s.io/apimachinery v0.35.3
k8s.io/apiserver => k8s.io/apiserver v0.35.3
k8s.io/cli-runtime => k8s.io/cli-runtime v0.35.3
k8s.io/client-go => k8s.io/client-go v0.35.3
k8s.io/cloud-provider => k8s.io/cloud-provider v0.35.3
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.35.3
k8s.io/code-generator => k8s.io/code-generator v0.35.3
k8s.io/component-base => k8s.io/component-base v0.35.3
k8s.io/component-helpers => k8s.io/component-helpers v0.35.3
k8s.io/controller-manager => k8s.io/controller-manager v0.35.3
k8s.io/cri-api => k8s.io/cri-api v0.35.3
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.35.3
k8s.io/endpointslice => k8s.io/endpointslice v0.35.3
k8s.io/externaljwt => k8s.io/externaljwt v0.35.3
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.35.3
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.35.3
// kubevirt.io/client-go requires a tagged kube-openapi version that doesn't
// exist; pin to the pseudo-version used by the rest of our k8s dependencies.
k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912
k8s.io/kube-proxy => k8s.io/kube-proxy v0.35.3
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.35.3
k8s.io/kubectl => k8s.io/kubectl v0.35.3
k8s.io/kubelet => k8s.io/kubelet v0.35.3
k8s.io/metrics => k8s.io/metrics v0.35.3
k8s.io/mount-utils => k8s.io/mount-utils v0.35.3
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.35.3
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.35.3
kubevirt.io/client-go => github.com/tigera/kubevirt-client-go v1.7.0-tigera1
)