Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [diff] [blame^] | 1 | # Gopkg.toml example |
| 2 | # |
| 3 | # Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md |
| 4 | # for detailed Gopkg.toml documentation. |
| 5 | # |
| 6 | # required = ["github.com/user/thing/cmd/thing"] |
| 7 | # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] |
| 8 | # |
| 9 | # [[constraint]] |
| 10 | # name = "github.com/user/project" |
| 11 | # version = "1.0.0" |
| 12 | # |
| 13 | # [[constraint]] |
| 14 | # name = "github.com/user/project2" |
| 15 | # branch = "dev" |
| 16 | # source = "github.com/myfork/project2" |
| 17 | # |
| 18 | # [[override]] |
| 19 | # name = "github.com/x/y" |
| 20 | # version = "2.4.0" |
| 21 | # |
| 22 | # [prune] |
| 23 | # non-go = false |
| 24 | # go-tests = true |
| 25 | # unused-packages = true |
| 26 | |
| 27 | |
| 28 | # for openapi gen |
| 29 | required = ["k8s.io/kube-openapi/cmd/openapi-gen"] |
| 30 | |
| 31 | # general deps |
| 32 | [[constraint]] |
| 33 | branch = "master" |
| 34 | name = "github.com/golang/glog" |
| 35 | |
| 36 | [[constraint]] |
| 37 | name = "github.com/prometheus/client_golang" |
| 38 | version = "0.8.0" |
| 39 | |
| 40 | [[constraint]] |
| 41 | name = "github.com/spf13/cobra" |
| 42 | version = "0.0.3" |
| 43 | |
| 44 | # kubernetes deps |
| 45 | [[constraint]] |
| 46 | name = "k8s.io/api" |
| 47 | branch = "release-1.11" |
| 48 | |
| 49 | [[constraint]] |
| 50 | name = "k8s.io/apimachinery" |
| 51 | branch = "release-1.11" |
| 52 | |
| 53 | [[constraint]] |
| 54 | name = "k8s.io/apiserver" |
| 55 | branch = "release-1.11" |
| 56 | |
| 57 | [[constraint]] |
| 58 | name = "k8s.io/client-go" |
| 59 | branch = "release-8.0" |
| 60 | |
| 61 | [[constraint]] |
| 62 | name = "k8s.io/kubernetes" |
| 63 | branch = "release-1.11" |
| 64 | |
| 65 | [[constraint]] |
| 66 | name = "k8s.io/metrics" |
| 67 | branch = "release-1.11" |
| 68 | |
| 69 | # test deps |
| 70 | [[constraint]] |
| 71 | name = "github.com/onsi/ginkgo" |
| 72 | version = "1.5.0" |
| 73 | |
| 74 | [[constraint]] |
| 75 | name = "github.com/onsi/gomega" |
| 76 | version = "1.4.0" |
| 77 | |
| 78 | [prune] |
| 79 | go-tests = true |
| 80 | unused-packages = true |