From 701d3f42ac25dc3e7ed7fdf50d5291fab8c1ac75 Mon Sep 17 00:00:00 2001 From: William Denniss Date: Tue, 14 Mar 2017 13:56:51 -0700 Subject: [PATCH] =?UTF-8?q?Updated=20installation=20instructions.=20?= =?UTF-8?q?=E2=80=93=C2=A0dep=20is=20now=20alpha,=20not=20pre-alpha=20?= =?UTF-8?q?=E2=80=93=C2=A0Added=20a=20link=20to=20the=20correctly=20versio?= =?UTF-8?q?ned=20samples=20for=20use=20with=20these=20instructions.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- INSTALL.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 0b45c390..51a7a836 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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