Rename deviceIDs -> device_ids to follow protobuf naming conventions

The protocol buffer [styleguide] says field names should use
underscore_separated_names.

Code generation tools rely on this convention to split words and
generate language-specific accessors/properties in the local style
conventions (ie: it's more than just a style convention).  For
example, the previous `deviceIDs` name caused Rust proto tools to
generate field names like `device_i_ds` which is just weird.

[styleguide]: https://developers.google.com/protocol-buffers/docs/style#message-and-field-names

Rename `deviceIDs` field to `device_ids`, and use a gogo-specific
option to keep the existing `DeviceIDs` golang name (otherwise it
would generate `DeviceIds`).

Note this doesn't affect protocol buffer / gRPC wire encoding, which
uses numeric values.
This commit is contained in:
Angus Lees 2020-06-05 12:27:02 +10:00
parent 081f68d685
commit 815dcd5b31
2 changed files with 71 additions and 70 deletions

View File

@ -429,7 +429,7 @@ func (m *Device) GetTopology() *TopologyInfo {
// - PreStartContainer allows Device Plugin to run device specific operations on
// the Devices requested
type PreStartContainerRequest struct {
DevicesIDs []string `protobuf:"bytes,1,rep,name=devicesIDs,proto3" json:"devicesIDs,omitempty"`
DevicesIDs []string `protobuf:"bytes,1,rep,name=devices_ids,json=devicesIds,proto3" json:"devices_ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
@ -769,7 +769,7 @@ func (m *AllocateRequest) GetContainerRequests() []*ContainerAllocateRequest {
}
type ContainerAllocateRequest struct {
DevicesIDs []string `protobuf:"bytes,1,rep,name=devicesIDs,proto3" json:"devicesIDs,omitempty"`
DevicesIDs []string `protobuf:"bytes,1,rep,name=devices_ids,json=devicesIds,proto3" json:"devices_ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
@ -1100,70 +1100,71 @@ func init() {
func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) }
var fileDescriptor_00212fb1f9d3bf1c = []byte{
// 996 bytes of a gzipped FileDescriptorProto
// 1014 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x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, 0xe4, 0x52, 0xfb, 0xb7, 0x12, 0xd4,
0xb2, 0x07, 0x15, 0x7d, 0x05, 0xdb, 0x5f, 0x12, 0x51, 0xf4, 0xf1, 0x91, 0x03, 0xeb, 0x0b, 0x2f,
0x32, 0x5e, 0x42, 0x1d, 0xa8, 0x65, 0x2f, 0xf0, 0x15, 0xfc, 0xbb, 0xc9, 0xbb, 0xe8, 0x50, 0xe3,
0xa5, 0x0f, 0x35, 0x44, 0x64, 0x32, 0x05, 0x5b, 0x0a, 0x1d, 0x24, 0xe0, 0xeb, 0x37, 0xbf, 0x7e,
0x7f, 0xb1, 0x51, 0x1c, 0x08, 0x75, 0xa0, 0x1c, 0x4f, 0x75, 0x86, 0xbc, 0xdc, 0xc6, 0xd1, 0x77,
0x0a, 0x34, 0x89, 0x8b, 0xef, 0xe1, 0xce, 0x95, 0x23, 0x89, 0xee, 0x65, 0xe3, 0x17, 0x5e, 0x63,
0x1d, 0x2f, 0x32, 0x89, 0xbd, 0x3f, 0xdd, 0x7b, 0xfd, 0xa6, 0xa9, 0xfd, 0xf5, 0xa6, 0xb9, 0xf4,
0xcb, 0xbc, 0xa9, 0xbd, 0x9e, 0x37, 0xb5, 0x3f, 0xe7, 0x4d, 0xed, 0x9f, 0x79, 0x53, 0x7b, 0xf5,
0x6f, 0x73, 0x69, 0xb0, 0x2a, 0x3f, 0x1a, 0x1f, 0xfd, 0x17, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x2d,
0xfa, 0x93, 0x79, 0x0a, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -94,9 +94,9 @@ message NUMANode {
* struct Device {
* ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
* Health: "Healthy",
* Topology:
* Node:
* ID: 1
* Topology:
* Node:
* ID: 1
*} */
message Device {
// A unique ID assigned by the device plugin used
@ -114,7 +114,7 @@ message Device {
// - PreStartContainer allows Device Plugin to run device specific operations on
// the Devices requested
message PreStartContainerRequest {
repeated string devicesIDs = 1;
repeated string devices_ids = 1 [(gogoproto.customname) = "DevicesIDs"];
}
// PreStartContainerResponse will be send by plugin in response to PreStartContainerRequest
@ -160,7 +160,7 @@ message AllocateRequest {
}
message ContainerAllocateRequest {
repeated string devicesIDs = 1;
repeated string devices_ids = 1 [(gogoproto.customname) = "DevicesIDs"];
}
// AllocateResponse includes the artifacts that needs to be injected into