# 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 # Utility library deps [[constraint]] name = "github.com/prometheus/client_golang" version = "0.8.0" [[constraint]] branch = "master" name = "github.com/prometheus/common" [[constraint]] name = "github.com/spf13/cobra" version = "0.0.3" [[constraint]] name = "gopkg.in/yaml.v2" version = "2.2.1" # Kubernetes incubator deps [[constraint]] name = "github.com/kubernetes-incubator/custom-metrics-apiserver" revision = "1e669f6c224a8663cb22a5e32181ba2aacd69ee7" [[constraint]] name = "github.com/kubernetes-incubator/metrics-server" revision = "020262240108f783e5d0e46891627fa9c8385776" # Core Kubernetes deps [[constraint]] name = "k8s.io/api" branch = "release-1.14" [[constraint]] name = "k8s.io/apimachinery" branch = "release-1.14" [[override]] name = "k8s.io/component-base" branch = "release-1.14" [[constraint]] name = "k8s.io/client-go" branch = "release-11.0" [[constraint]] name = "k8s.io/metrics" branch = "release-1.14" # messed up kubernetes dep [[override]] name = "github.com/json-iterator/go" version = "1.1.5" # 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" # Test deps [[constraint]] name = "github.com/onsi/ginkgo" version = "1.6.0" [[constraint]] name = "github.com/onsi/gomega" version = "1.4.2" # For dependency below: Refer to issue https://github.com/golang/dep/issues/1799 [[override]] name = "gopkg.in/fsnotify.v1" source = "https://github.com/fsnotify/fsnotify.git" version="v1.4.7" [prune] go-tests = true unused-packages = true [[constraint]] name = "github.com/stretchr/testify" version = "1.3.0"