mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-16 10:34:06 -08:00
ddefee52dc
Note that by just running `make update-go-deps`, the K8s Go client was set to `k8s.io/client-go v11.0.0+incompatible`. However, that doesn't play well with `k8s.io/apimachinery v0.18.5`. I the manually changed the Go client line to `k8s.io/client-go v0.18.5`, which made everything work. I guess Go Modules got confused by the ginormous v11.0.0 version tag. Or it is a problem that pulling k8s.io/client-go with git results in a rather old repo without the v0.18.5 tag. github.com/kubernetes/client-go has all the right tags. I actually don't understand how Go Modules still correctly figures out the source from the `k8s.io/client-go v0.18.5` line. If one of the reviewers could enlighten me, I'd much appreciate it. Signed-off-by: beorn7 <beorn@grafana.com>
60 lines
1.2 KiB
TOML
60 lines
1.2 KiB
TOML
# Gopkg.toml example
|
|
#
|
|
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
|
|
# 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
|
|
|
|
required = ["golang.org/x/lint/golint"]
|
|
|
|
[prune]
|
|
go-tests = true
|
|
unused-packages = true
|
|
|
|
[[constraint]]
|
|
name = "contrib.go.opencensus.io/exporter/ocagent"
|
|
version = "0.6.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/dgrijalva/jwt-go"
|
|
version = "3.2.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/dimchansky/utfbom"
|
|
version = "1.1.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/mitchellh/go-homedir"
|
|
version = "1.1.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/stretchr/testify"
|
|
version = "1.3.0"
|
|
|
|
[[constraint]]
|
|
name = "go.opencensus.io"
|
|
version = "0.22.0"
|
|
|
|
[[constraint]]
|
|
branch = "master"
|
|
name = "golang.org/x/crypto"
|