...
1module github.com/emissary-ingress/emissary/v3
2
3go 1.20
4
5// If you're editing this file, there's a few things you should know:
6//
7// 1. Avoid the `replace` command as much as possible. Go only pays
8// attention to the `replace` command when it appears in the main
9// module, which means that if the `replace` command is required
10// for the compile to work, then anything using ambassador.git as
11// a library needs to duplicate that `replace` in their go.mod.
12// We don't want to burden our users with that if we can avoid it
13// (since we encourage them to use the gRPC Go libraries when
14// implementing plugin services), and we don't want to deal with
15// that ourselves in apro.git.
16//
17// The biggest reason we wouldn't be able to avoid it is if we
18// need to pull in a library that has a `replace` in its
19// go.mod--just as us adding a `replace` to our go.mod would
20// require our dependents to do the same, our dependencies adding
21// a `replace` requires us to do the same. And even then, if
22// we're careful we might be able to avoid it.
23//
24// 2. If you do add a `replace` command to this file, always include
25// a version number to the left of the "=>" (even if you're
26// copying the command from a dependnecy and the dependency's
27// go.mod doesn't have a version on the left side). This way we
28// don't accidentally keep pinning to an older version after our
29// dependency's `replace` goes away. Sometimes it can be tricky
30// to figure out what version to put on the left side; often the
31// easiest way to figure it out is to get it working without a
32// version, run `go mod vendor`, then grep for "=>" in
33// `./vendor/modules.txt`. If you don't see a "=>" line for that
34// replacement in modules.txt, then that's an indicator that we
35// don't really need that `replace`, maybe instead using a
36// `require`.
37//
38// 3. If you do add a `replace` command to this file, you must also
39// add it to the go.mod in apro.git (see above for explanation).
40
41// Because we (unfortunately) need to require k8s.io/kubernetes, which
42// is (unfortunately) managed in a way that makes it hostile to being
43// used as a library (see
44// https://news.ycombinator.com/item?id=27827389) we need to tell Go
45// to not try to resolve those bogus/broken v0.0.0 versions.
46exclude (
47 k8s.io/api v0.0.0
48 k8s.io/apiextensions-apiserver v0.0.0
49 k8s.io/apimachinery v0.0.0
50 k8s.io/apiserver v0.0.0
51 k8s.io/cli-runtime v0.0.0
52 k8s.io/client-go v0.0.0
53 k8s.io/cloud-provider v0.0.0
54 k8s.io/cluster-bootstrap v0.0.0
55 k8s.io/code-generator v0.0.0
56 k8s.io/component-base v0.0.0
57 k8s.io/component-helpers v0.0.0
58 k8s.io/controller-manager v0.0.0
59 k8s.io/cri-api v0.0.0
60 k8s.io/csi-translation-lib v0.0.0
61 k8s.io/kube-aggregator v0.0.0
62 k8s.io/kube-controller-manager v0.0.0
63 k8s.io/kube-proxy v0.0.0
64 k8s.io/kube-scheduler v0.0.0
65 k8s.io/kubectl v0.0.0
66 k8s.io/kubelet v0.0.0
67 k8s.io/legacy-cloud-providers v0.0.0
68 k8s.io/metrics v0.0.0
69 k8s.io/mount-utils v0.0.0
70 k8s.io/sample-apiserver v0.0.0
71)
72
73// Invalid pseudo-version.
74exclude github.com/go-check/check v1.0.0-20180628173108-788fd7840127
75
76// We've got some bug-fixes that we need for conversion-gen and
77// controller-gen.
78replace (
79 k8s.io/code-generator v0.21.9 => github.com/emissary-ingress/code-generator v0.21.10-rc.0.0.20220204004229-4708b255a33a
80 sigs.k8s.io/controller-tools v0.6.2 => github.com/emissary-ingress/controller-tools v0.6.3-0.20220204053320-db507acbb466
81)
82
83require (
84 github.com/Masterminds/sprig v2.22.0+incompatible
85 github.com/census-instrumentation/opencensus-proto v0.3.0
86 github.com/cncf/xds/go v0.0.0-20220121163655-4a2b9fdd466b
87 github.com/datawire/dlib v1.3.0
88 github.com/datawire/dtest v0.0.0-20210928162311-722b199c4c2f
89 github.com/datawire/go-mkopensource v0.0.7
90 github.com/envoyproxy/protoc-gen-validate v0.6.7
91 github.com/fsnotify/fsnotify v1.6.0
92 github.com/golang/protobuf v1.5.2
93 github.com/google/go-cmp v0.5.8
94 github.com/google/uuid v1.3.0
95 github.com/gorilla/websocket v1.5.0
96 github.com/hashicorp/consul/api v1.12.0
97 github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
98 github.com/pkg/errors v0.9.1
99 github.com/pmezard/go-difflib v1.0.0
100 github.com/prometheus/client_model v0.2.0
101 github.com/sirupsen/logrus v1.9.0
102 github.com/spf13/cobra v1.5.0
103 github.com/spf13/pflag v1.0.5
104 github.com/stretchr/testify v1.8.1
105 go.opentelemetry.io/proto/otlp v0.18.0
106 golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
107 golang.org/x/sys v0.5.0
108 google.golang.org/genproto v0.0.0-20220204002441-d6cc3cc0770e
109 google.golang.org/grpc v1.44.0
110 google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0
111 google.golang.org/protobuf v1.28.1
112 gopkg.in/yaml.v2 v2.4.0
113 k8s.io/api v0.21.9
114 k8s.io/apiextensions-apiserver v0.21.9
115 k8s.io/apimachinery v0.21.9
116 k8s.io/cli-runtime v0.21.9
117 k8s.io/client-go v0.21.9
118 k8s.io/code-generator v0.21.9
119 k8s.io/kube-openapi v0.0.0-20211110012726-3cc51fd1e909
120 k8s.io/kubectl v0.21.9
121 k8s.io/kubernetes v1.21.9
122 k8s.io/metrics v0.21.9
123 sigs.k8s.io/controller-runtime v0.9.7
124 sigs.k8s.io/controller-tools v0.6.2
125 sigs.k8s.io/gateway-api v0.2.0
126 sigs.k8s.io/yaml v1.3.0
127)
128
129require (
130 cloud.google.com/go/compute v1.2.0 // indirect
131 github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
132 github.com/Azure/go-autorest v14.2.0+incompatible // indirect
133 github.com/Azure/go-autorest/autorest v0.11.24 // indirect
134 github.com/Azure/go-autorest/autorest/adal v0.9.18 // indirect
135 github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
136 github.com/Azure/go-autorest/logger v0.2.1 // indirect
137 github.com/Azure/go-autorest/tracing v0.6.0 // indirect
138 github.com/MakeNowJust/heredoc v1.0.0 // indirect
139 github.com/Masterminds/goutils v1.1.1 // indirect
140 github.com/Masterminds/semver v1.5.0 // indirect
141 github.com/PuerkitoBio/purell v1.1.1 // indirect
142 github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
143 github.com/armon/go-metrics v0.3.10 // indirect
144 github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
145 github.com/davecgh/go-spew v1.1.1 // indirect
146 github.com/docker/distribution v2.8.1+incompatible // indirect
147 github.com/evanphx/json-patch v5.6.0+incompatible // indirect
148 github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
149 github.com/fatih/camelcase v1.0.0 // indirect
150 github.com/fatih/color v1.13.0 // indirect
151 github.com/go-errors/errors v1.4.2 // indirect
152 github.com/go-logr/logr v0.4.0 // indirect
153 github.com/go-openapi/jsonpointer v0.19.5 // indirect
154 github.com/go-openapi/jsonreference v0.19.6 // indirect
155 github.com/go-openapi/spec v0.20.4 // indirect
156 github.com/go-openapi/swag v0.21.1 // indirect
157 github.com/gobuffalo/flect v0.2.3 // indirect
158 github.com/gogo/protobuf v1.3.2 // indirect
159 github.com/golang-jwt/jwt/v4 v4.2.0 // indirect
160 github.com/google/btree v1.0.1 // indirect
161 github.com/google/gofuzz v1.2.0 // indirect
162 github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
163 github.com/googleapis/gnostic v0.5.5 // indirect
164 github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
165 github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
166 github.com/hashicorp/go-hclog v1.1.0 // indirect
167 github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
168 github.com/hashicorp/go-rootcerts v1.0.2 // indirect
169 github.com/hashicorp/golang-lru v0.5.4 // indirect
170 github.com/hashicorp/serf v0.9.7 // indirect
171 github.com/huandu/xstrings v1.3.2 // indirect
172 github.com/imdario/mergo v0.3.12 // indirect
173 github.com/inconshreveable/mousetrap v1.0.0 // indirect
174 github.com/josharian/intern v1.0.1-0.20211109044230-42b52b674af5 // indirect
175 github.com/json-iterator/go v1.1.12 // indirect
176 github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
177 github.com/mailru/easyjson v0.7.7 // indirect
178 github.com/mattn/go-colorable v0.1.12 // indirect
179 github.com/mattn/go-isatty v0.0.14 // indirect
180 github.com/mitchellh/copystructure v1.2.0 // indirect
181 github.com/mitchellh/go-homedir v1.1.0 // indirect
182 github.com/mitchellh/go-wordwrap v1.0.1 // indirect
183 github.com/mitchellh/mapstructure v1.4.3 // indirect
184 github.com/mitchellh/reflectwalk v1.0.2 // indirect
185 github.com/moby/spdystream v0.2.0 // indirect
186 github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
187 github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
188 github.com/modern-go/reflect2 v1.0.2 // indirect
189 github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
190 github.com/opencontainers/go-digest v1.0.0 // indirect
191 github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
192 github.com/russross/blackfriday v1.6.0 // indirect
193 github.com/xlab/treeprint v1.1.0 // indirect
194 go.starlark.net v0.0.0-20220203230714-bb14e151c28f // indirect
195 golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
196 golang.org/x/net v0.7.0 // indirect
197 golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
198 golang.org/x/term v0.5.0 // indirect
199 golang.org/x/text v0.7.0 // indirect
200 golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
201 golang.org/x/tools v0.1.12 // indirect
202 google.golang.org/appengine v1.6.7 // indirect
203 gopkg.in/inf.v0 v0.9.1 // indirect
204 gopkg.in/yaml.v3 v3.0.1 // indirect
205 k8s.io/apiserver v0.21.9 // indirect
206 k8s.io/component-base v0.21.9 // indirect
207 k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027 // indirect
208 k8s.io/klog/v2 v2.10.0 // indirect
209 k8s.io/utils v0.0.0-20210802155522-efc7438f0176 // indirect
210 sigs.k8s.io/kustomize/api v0.8.8 // indirect
211 sigs.k8s.io/kustomize/kyaml v0.10.17 // indirect
212 sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
213)
View as plain text