# 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]] | |
branch = "master" | |
name = "github.com/golang/glog" | |
[[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.11" | |
[[constraint]] | |
name = "k8s.io/apimachinery" | |
branch = "release-1.11" | |
[[constraint]] | |
name = "k8s.io/apiserver" | |
branch = "release-1.11" | |
[[constraint]] | |
name = "k8s.io/client-go" | |
branch = "release-8.0" | |
[[constraint]] | |
name = "k8s.io/kubernetes" | |
branch = "release-1.11" | |
[[constraint]] | |
name = "k8s.io/metrics" | |
branch = "release-1.11" | |
# 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 |