Merge pull request #146 from WilliamDenniss/master

Updated installation instructions.
This commit is contained in:
Daniel Smith 2017-03-14 16:17:33 -07:00 committed by GitHub
commit d04a6004ff

View File

@ -29,9 +29,9 @@ for each follows.
### Dep
[dep](https://github.com/golang/dep) is an up-and-coming dependency management tool,
which has the goal of being accepted as part of the standard go toolchain. It
is currently pre-alpha. However, it comes the closest to working easily out of
the box.
which has the goal of being accepted as part of the standard go toolchain. Its
status is currently alpha. However, it comes the closest to working easily out
of the box.
```sh
$ go get github.com/golang/dep
@ -43,6 +43,10 @@ $ dep init
$ dep ensure k8s.io/client-go@^2.0.0
```
Then you can try one of the
[examples](https://github.com/kubernetes/client-go/tree/v2.0.0/examples/) from
the 2.0.0 release.
This will set up a `vendor` directory in your current directory, add `k8s.io/client-go`
to it, and flatten all of `k8s.io/client-go`'s dependencies into that vendor directory,
so that your code and `client-go` will both get the same copy of each