kubernetes/cmd/libs/go2idl/go-to-protobuf/protobuf
Clayton Coleman cdfbeff1ba
Generate protobuf with stable ordered maps
The default marshalers from gogo-protobuf do not order keys, which means
successive serializations of the same data would result in same bytes.
Kubernetes leverages stable serialization to avoid excessive writes to
etcd when body content has not changed, which reduces the amount of
watch traffic generated by successive callers.

This will have a small memory impact on objects which have maps -
allocating a new string array for each map key. All maps must be keys
because we serialize those to JSON, so non-string types are not
relevant.
2017-06-17 14:32:50 -04:00
..
BUILD autogenerated 2017-04-14 10:40:57 -07:00
cmd.go Rename {kube- ->}apiextensions-{-> api}server 2017-06-06 12:06:31 +02:00
generator.go Generate protobuf with stable ordered maps 2017-06-17 14:32:50 -04:00
import_tracker.go rewrite import paths 2016-09-22 13:42:46 -07:00
namer_test.go Convert - to _ for protobuf package names 2016-10-28 11:08:13 -04:00
namer.go [go-to-protobuf] Skip private types and functions 2017-05-26 19:59:06 -04:00
package.go Protobuf generation for staged packages 2017-01-13 16:20:03 -05:00
parser.go start the apimachinery repo 2017-01-11 09:09:48 -05:00
tags.go rewrite import paths 2016-09-22 13:42:46 -07:00