mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 11:42:14 +00:00
Protobuf doc changes
This commit is contained in:
@@ -64,6 +64,11 @@ Step 2 and 3 are mechanical, we plan on autogenerate these using the cmd/libs/go
|
||||
1. Touch types.generated.go in pkg/apis/`<group>`{/, `<version>`};
|
||||
2. Run hack/update-codecgen.sh.
|
||||
|
||||
3. Generate protobuf objects:
|
||||
|
||||
1. Add your group to `cmd/libs/go2idl/go-to-protobuf/protobuf/cmd.go` to `New()` in the `Packages` field
|
||||
2. Run hack/update-generated-protobuf.sh
|
||||
|
||||
### Client (optional):
|
||||
|
||||
We are overhauling pkg/client, so this section might be outdated; see [#15730](https://github.com/kubernetes/kubernetes/pull/15730) for how the client package might evolve. Currently, to add your group to the client package, you need to
|
||||
|
Reference in New Issue
Block a user