mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-08 10:26:41 +00:00
In order to allow a Go type to have a different internal representation, provide the comment `// +protobuf.as=MESSAGENAME` which substitutes the current message's members with the named message's members. Used by the unversioned.Time type to have the same fields as unversioned.Timestamp and to have an alternate serialization.