mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-19 07:25:19 +00:00
Merge pull request #131827 from nicklasfrahm/gomod-docs
docs: avoid broken link
This commit is contained in:
@@ -34,6 +34,8 @@ git clone https://github.com/kubernetes/sample-apiserver
|
||||
cd sample-apiserver
|
||||
```
|
||||
|
||||
### When using Go modules
|
||||
|
||||
Note, however, that if you intend to
|
||||
[generate code](#changes-to-the-types) then you will also need the
|
||||
code-generator repo to exist in an old-style location. One easy way
|
||||
@@ -56,7 +58,7 @@ then you already have a copy of this demo in
|
||||
If you change the API object type definitions in any of the
|
||||
`pkg/apis/.../types.go` files then you will need to update the files
|
||||
generated from the type definitions. To do this, first
|
||||
[create the vendor directory if necessary](#when-using-go-111-modules)
|
||||
[create the vendor directory if necessary](#when-using-go-modules)
|
||||
and then invoke `hack/update-codegen.sh` with `sample-apiserver` as
|
||||
your current working directory; the script takes no arguments.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user