kubernetes/cmd/libs/go2idl/go-to-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
..
protobuf Generate protobuf with stable ordered maps 2017-06-17 14:32:50 -04:00
protoc-gen-gogo autogenerated 2017-04-14 10:40:57 -07:00
.gitignore go-to-protobuf: generate protobuf IDL and marshalers for Go structs 2016-01-06 21:09:20 -05:00
BUILD autogenerated 2017-04-14 10:40:57 -07:00
main.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
OWNERS OWNERS: Update latest OWNERS files 2017-01-23 10:05:48 -08:00