File tree 1 file changed +3
-20
lines changed
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).
33
33
34
34
## Fetch sample-controller and its dependencies
35
35
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.
55
38
56
39
``` sh
57
- git clone https://github.com/kubernetes/sample-controller.git
40
+ git clone https://github.com/kubernetes/sample-controller
58
41
cd sample-controller
59
42
```
60
43
You can’t perform that action at this time.
0 commit comments