File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed
Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -33,28 +33,11 @@ explained [here](docs/controller-client-go.md).
3333
3434## Fetch sample-controller and its dependencies
3535
36- Like the rest of Kubernetes, sample-controller has used
37- [ godep] ( https://github.com/tools/godep ) and ` $GOPATH ` for years and is
38- now adopting go 1.11 modules. There are thus two alternative ways to
39- go about fetching this demo and its dependencies.
40-
41- ### Fetch with godep
42-
43- When NOT using go 1.11 modules, you can use the following commands.
44-
45- ``` sh
46- go get -d k8s.io/sample-controller
47- cd $GOPATH /src/k8s.io/sample-controller
48- godep restore
49- ```
50-
51- ### When using go 1.11 modules
52-
53- When using go 1.11 modules (` GO111MODULE=on ` ), issue the following
54- commands --- starting in whatever working directory you like.
36+ Issue the following commands --- starting in whatever working directory you
37+ like.
5538
5639``` sh
57- git clone https://github.com/kubernetes/sample-controller.git
40+ git clone https://github.com/kubernetes/sample-controller
5841cd sample-controller
5942```
6043
You can’t perform that action at this time.
0 commit comments