forked from kubernetes-sigs/metrics-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gopkg.toml
107 lines (89 loc) · 2.84 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
# 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"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true
# for openapi gen
required = ["k8s.io/kube-openapi/cmd/openapi-gen"]
# general deps
[[constraint]]
name = "github.com/prometheus/client_golang"
version = "0.8.0"
[[constraint]]
name = "github.com/spf13/cobra"
version = "0.0.3"
# kubernetes deps
[[constraint]]
name = "k8s.io/api"
branch = "release-1.14"
[[constraint]]
name = "k8s.io/apimachinery"
branch = "release-1.14"
[[constraint]]
name = "k8s.io/apiserver"
branch = "release-1.14"
# explicitely override gengo version, as the one picked by dep still uses glog,
# causing https://github.com/kubernetes/kubernetes/issues/74560
[[override]]
name = "k8s.io/gengo"
revision = "e17681d19d3ac4837a019ece36c2a0ec31ffe985"
# we need to pin to the same version as the one used by kube:
# https://github.com/kubernetes/apiserver/blob/8b27c41bdbb11ff103caa673315e097bf0289171/Godeps/Godeps.json#L453-L464
# otherwise the build fails
[[override]]
name = "github.com/googleapis/gnostic"
revision = "0c5108395e2debce0d731cf0287ddf7242066aba"
# we need to pin to the same version as the one used by kube:
# https://github.com/kubernetes/apiserver/blob/8b27c41bdbb11ff103caa673315e097bf0289171/Godeps/Godeps.json#L2093-L2112
[[override]]
name = "sigs.k8s.io/structured-merge-diff"
revision = "e85c7b244fd2cc57bb829d73a061f93a441e63ce"
# we need to pin to the same version as the one used by kube:
# https://github.com/kubernetes/apiserver/blob/8b27c41bdbb11ff103caa673315e097bf0289171/Godeps/Godeps.json#L373-L376
[[override]]
name = "github.com/evanphx/json-patch"
revision = "5858425f75500d40c52783dce87d085a483ce135"
# see Godeps.json from k8s.io/[email protected]:
# https://github.com/kubernetes/apiserver/blob/8b27c41bdbb11ff103caa673315e097bf0289171/Godeps/Godeps.json#L2049-L2076
[[constraint]]
name = "k8s.io/kube-openapi"
revision = "b3a7cee44a305be0a69e1b9ac03018307287e1b0"
[[constraint]]
name = "k8s.io/client-go"
branch = "release-11.0"
[[constraint]]
name = "k8s.io/kubernetes"
branch = "release-1.14"
[[constraint]]
name = "k8s.io/metrics"
branch = "release-1.14"
# test deps
[[constraint]]
name = "github.com/onsi/ginkgo"
version = "1.5.0"
[[constraint]]
name = "github.com/onsi/gomega"
version = "1.4.0"
[prune]
go-tests = true
unused-packages = true