File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
staging/src/k8s.io/client-go Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ for each follows.
65
65
### Go modules
66
66
67
67
Dependency management tools are built into go 1.11+ in the form of [ go modules] ( https://github.com/golang/go/wiki/Modules ) .
68
- These are used by the main Kubernetes repo (>= 1.15) and ` client-go ` (>= v12.0) to manage dependencies.
68
+ These are used by the main Kubernetes repo (>= 1.15) and ` client-go ` (on master, and v12.0.0+ once released ) to manage dependencies.
69
69
When using ` client-go ` v12.0.0+ and go 1.11.4+, go modules are the recommended dependency management tool.
70
70
71
71
If you are using go 1.11 or 1.12 and are working with a project located within ` $GOPATH ` ,
@@ -83,10 +83,10 @@ go mod init
83
83
```
84
84
85
85
Indicate which version of ` client-go ` your project requires.
86
- For ` client-go ` 12 .0.0+ , this is a single step:
86
+ For ` client-go ` on master (and once version v12 .0.0 is released) , this is a single step:
87
87
88
88
``` sh
89
- go get k8s.io/client-go@v12.0.0 # replace v12.0.0 with the required version
89
+ go get k8s.io/client-go@master # or v12.0.0+ once released
90
90
```
91
91
92
92
For ` client-go ` prior to v12.0.0, you also need to indicate the required versions of ` k8s.io/api ` and ` k8s.io/apimachinery ` :
You can’t perform that action at this time.
0 commit comments