forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gopkg.toml
182 lines (154 loc) · 5.02 KB
/
Gopkg.toml
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
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
# TODO: fork the repo to checkin artifacts, or find an alternative repo that has artifacts available.
# This repo includes only istio-generated files.
required = [
### BEGIN Mixer codegen deps
"github.com/gogo/protobuf/proto",
"github.com/gogo/protobuf/jsonpb",
"github.com/gogo/protobuf/protoc-gen-gogoslick",
"github.com/gogo/protobuf/gogoproto",
"github.com/istio/tools/protoc-gen-docs",
"github.com/gogo/protobuf/protoc-min-version",
### END Mixer codegen deps
# fortio binary (main) is used by the testing framework and should not be
# pruned
"istio.io/fortio",
]
### Pruning settings
[prune]
unused-packages = true
go-tests = true
non-go = true
[[prune.project]]
name = "istio.io/fortio"
non-go = false
unused-packages = false
[[prune.project]]
name = "istio.io/api"
non-go = false
unused-packages = false
[[prune.project]]
name = "github.com/envoyproxy/go-control-plane"
non-go = false
unused-packages = false
[[prune.project]]
name = "github.com/gogo/googleapis"
non-go = false
unused-packages = false
[[prune.project]]
name = "github.com/gogo/protobuf"
non-go = false
unused-packages = false
###
[[constraint]]
name = "google.golang.org/grpc"
version = "^1.8.2" # match istio/api
# Lock mergo against kubernetes/client-go's version to fix merging related kubeconfig bugs
# related to CertificateAuthorityData/certificate-authority-data failures
# https://github.com/kubernetes/client-go/blob/7cd1d3291b7d9b1e2d54d4b69eb65995eaf8888e/tools/clientcmd/client_config.go#L160-L162
[[override]]
name = "github.com/imdario/mergo"
revision = "6633656539c1639d9d78127b7d47c622b5d7b6dc"
# When necessary, override transitive contraints that might be pinned
# to older versions (e.g. ingress-nginx pinned to 1.8).
#
# kubernetes has a quarterly release cycle. For now the k8s
# dependencies below follow this convention, but that could possibly
# change in the future as repos are further decoupled from
# kubernetes/kubernetes proper.
#
# client-go release-6.0 corresponds to k8s release-1.9 branch. See
# https://github.com/kubernetes/client-go/tree/release-6.0#compatibility-matrix
# for details.
[[override]]
name = "k8s.io/client-go"
branch = "release-7.0"
[[override]]
name = "k8s.io/apimachinery"
branch = "release-1.10"
[[override]]
name = "k8s.io/api"
branch = "release-1.10"
[[override]]
name = "github.com/Azure/go-autorest"
version = "v9.10.0"
[[constraint]]
name = "k8s.io/apiextensions-apiserver"
branch = "release-1.10"
[[override]]
name = "k8s.io/kubernetes"
branch = "release-1.10"
# TODO(https://github.com/istio/istio/issues/2413). Keep
# k8s.io/ingress-nginx pinned to an older version until istio ingress code
# is refactored.
#
# istio.io/istio/pilot/pkg/config/kube/ingress uses the following nginx
# controller packages from an older version of k8s.io/ingress which
# have since been made internal and are no longer available.
#
# "k8s.io/ingress-nginx/core/pkg/ingress/status"
# "k8s.io/ingress-nginx/core/pkg/ingress/store"
# "k8s.io/ingress-nginx/core/pkg/ingress/annotations/class"
#[[constraint]]
# name = "k8s.io/ingress-nginx"
# revision = "0c6f15e372c831de52fcc393932540bb3a6d51b5"
[[override]]
name = "github.com/apache/thrift"
version = ">=0.9.3, <0.11.0"
# Default behavior of dep is to get the latest tagged version for fortio
# which is what we want.
[[constraint]]
name = "istio.io/api"
branch = "master"
[[constraint]]
name = "github.com/envoyproxy/go-control-plane"
branch = "master"
### Begin Mixer codegen dep pinning
[[override]]
name = "github.com/gogo/protobuf"
version = "=0.5"
# Api is pinning this to a version, needs to be fixed. Protobuf is supposed to have stable master.
# The api constraint prevents dep update
[[override]]
name = "github.com/golang/protobuf"
branch = "master"
### End Mixer codegen dep pinning
[[constraint]]
name = "github.com/open-policy-agent/opa"
version = "0.5.13"
# To use reference package:
# vendor/k8s.io/kubernetes/pkg/util/parsers/parsers.go:36:16: undefined: reference.ParseNormalizedNamed
[[override]]
name = "github.com/docker/distribution"
branch = "master"
[[constraint]]
name = "code.cloudfoundry.org/copilot"
revision = "ac2922c9b5cfb46d70befdc91612343e6e382811"
[[constraint]]
branch = "master"
name = "github.com/istio/tools"
[[constraint]]
name = "github.com/openshift/api"
revision = "0d921e363e951d89f583292c60d013c318df64dc"
[[override]]
name = "github.com/golang/glog"
source = "github.com/istio/glog"