diff --git a/pkg/api/queue.pb.go b/pkg/api/queue.pb.go index d4920bfa852..2bac328b841 100644 --- a/pkg/api/queue.pb.go +++ b/pkg/api/queue.pb.go @@ -172,8 +172,8 @@ func (m *Job) GetCreated() time.Time { } type LeaseRequest struct { - ClusterId string `protobuf:"bytes,1,opt,name=ClusterId,proto3" json:"ClusterId,omitempty"` - Pool string `protobuf:"bytes,8,opt,name=Pool,proto3" json:"Pool,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"clusterId,omitempty"` + Pool string `protobuf:"bytes,8,opt,name=pool,proto3" json:"pool,omitempty"` Resources map[string]resource.Quantity `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` ClusterLeasedReport ClusterLeasedReport `protobuf:"bytes,4,opt,name=cluster_leased_report,json=clusterLeasedReport,proto3" json:"cluster_leased_report"` MinimumJobSize map[string]resource.Quantity `protobuf:"bytes,6,rep,name=minimum_job_size,json=minimumJobSize,proto3" json:"minimumJobSize,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -391,7 +391,7 @@ func (m *NodeType) GetAllocatableResources() map[string]resource.Quantity { // Used to store last info in Redis type ClusterSchedulingInfoReport struct { ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"clusterId,omitempty"` - Pool string `protobuf:"bytes,7,opt,name=Pool,proto3" json:"Pool,omitempty"` + Pool string `protobuf:"bytes,7,opt,name=pool,proto3" json:"pool,omitempty"` ReportTime time.Time `protobuf:"bytes,2,opt,name=report_time,json=reportTime,proto3,stdtime" json:"report_time"` NodeTypes []*NodeType `protobuf:"bytes,5,rep,name=node_types,json=nodeTypes,proto3" json:"nodeTypes,omitempty"` MinimumJobSize map[string]resource.Quantity `protobuf:"bytes,6,rep,name=minimum_job_size,json=minimumJobSize,proto3" json:"minimumJobSize,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -881,87 +881,87 @@ func init() { func init() { proto.RegisterFile("pkg/api/queue.proto", fileDescriptor_d92c0c680df9617a) } var fileDescriptor_d92c0c680df9617a = []byte{ - // 1279 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0xdb, 0x6e, 0x14, 0x47, - 0x13, 0xf6, 0xec, 0xc9, 0xbb, 0xb5, 0x1c, 0x4c, 0xdb, 0xc0, 0x30, 0xc0, 0xb2, 0xda, 0x5f, 0x3f, - 0x71, 0x14, 0x98, 0x95, 0x1d, 0xa2, 0x10, 0x22, 0x21, 0x01, 0xb6, 0x22, 0xaf, 0x48, 0x04, 0x63, - 0x92, 0x2b, 0xa4, 0xd5, 0x1c, 0x9a, 0xa1, 0xed, 0xd9, 0xe9, 0x61, 0xa6, 0xc7, 0x68, 0xb9, 0xe2, - 0x09, 0x22, 0x9e, 0x20, 0x2f, 0x90, 0x67, 0xc8, 0xbd, 0x2f, 0xb9, 0xc8, 0x05, 0x52, 0xa4, 0x1c, - 0xec, 0x87, 0x88, 0x72, 0x17, 0x75, 0x4f, 0xcf, 0x61, 0x77, 0xc7, 0x31, 0x86, 0x38, 0x51, 0xee, - 0xa6, 0xbb, 0xaa, 0xbe, 0xea, 0xaa, 0xfe, 0xba, 0xaa, 0x06, 0x16, 0x83, 0x6d, 0xb7, 0x6f, 0x06, - 0xa4, 0xff, 0x2c, 0xc6, 0x31, 0xd6, 0x83, 0x90, 0x32, 0x8a, 0xaa, 0x66, 0x40, 0xb4, 0x2b, 0x2e, - 0xa5, 0xae, 0x87, 0xfb, 0x62, 0xcb, 0x8a, 0x9f, 0xf4, 0x19, 0x19, 0xe1, 0x88, 0x99, 0xa3, 0x20, - 0xd1, 0xd2, 0x7a, 0xdb, 0x37, 0x23, 0x9d, 0x50, 0x61, 0x6d, 0xd3, 0x10, 0xf7, 0x77, 0x56, 0xfa, - 0x2e, 0xf6, 0x71, 0x68, 0x32, 0xec, 0x48, 0x9d, 0x1b, 0xb9, 0xce, 0xc8, 0xb4, 0x9f, 0x12, 0x1f, - 0x87, 0xe3, 0x7e, 0xea, 0x32, 0xc4, 0x11, 0x8d, 0x43, 0x1b, 0xcf, 0x58, 0x5d, 0x77, 0x09, 0x7b, - 0x1a, 0x5b, 0xba, 0x4d, 0x47, 0x7d, 0x97, 0xba, 0x34, 0x3f, 0x03, 0x5f, 0x89, 0x85, 0xf8, 0x92, - 0xea, 0x17, 0xa7, 0x4f, 0x8a, 0x47, 0x01, 0x1b, 0x27, 0xc2, 0xde, 0x8f, 0x75, 0xa8, 0x0e, 0xa8, - 0x85, 0x4e, 0x41, 0x85, 0x38, 0xaa, 0xd2, 0x55, 0x96, 0x5b, 0x46, 0x85, 0x38, 0xe8, 0x12, 0xc0, - 0x16, 0xb5, 0x86, 0x11, 0x66, 0x43, 0xe2, 0xa8, 0x15, 0xb1, 0xdf, 0xdc, 0xa2, 0xd6, 0x26, 0x66, - 0x1b, 0x0e, 0x5a, 0x82, 0xba, 0x48, 0x88, 0x5a, 0x15, 0x82, 0x64, 0x81, 0x2e, 0x41, 0xcb, 0x37, - 0x47, 0x38, 0x0a, 0x4c, 0x1b, 0xab, 0xf3, 0x42, 0x92, 0x6f, 0xa0, 0x6b, 0xd0, 0xf0, 0x4c, 0x0b, - 0x7b, 0x91, 0xda, 0xea, 0x56, 0x97, 0xdb, 0xab, 0x4b, 0xba, 0x19, 0x10, 0x7d, 0x40, 0x2d, 0xfd, - 0xbe, 0xd8, 0x5e, 0xf7, 0x59, 0x38, 0x36, 0xa4, 0x0e, 0xfa, 0x1c, 0xda, 0xa6, 0xef, 0x53, 0x66, - 0x32, 0x42, 0xfd, 0x48, 0x05, 0x61, 0x72, 0x21, 0x33, 0xb9, 0x93, 0xcb, 0x12, 0xbb, 0xa2, 0x36, - 0xfa, 0x06, 0x96, 0x42, 0xfc, 0x2c, 0x26, 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 0xac, 0x86, 0x40, 0xfe, - 0xf8, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfe, 0xcd, 0x8d, 0x1f, 0x7a, 0x10, 0x00, 0x00, + // 1269 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0xcd, 0x6e, 0xdb, 0x46, + 0x10, 0x36, 0xf5, 0x67, 0x69, 0x94, 0x1f, 0x67, 0xed, 0x24, 0x0c, 0x93, 0x28, 0x82, 0x8a, 0xa6, + 0x2e, 0x9a, 0x50, 0xb0, 0x9b, 0xa2, 0x69, 0x0a, 0x04, 0x48, 0x62, 0xa3, 0xb0, 0x90, 0x16, 0x0d, + 0xed, 0xf6, 0x14, 0x40, 0xe0, 0xcf, 0x86, 0x5e, 0x9b, 0xe2, 0xd2, 0xe4, 0xd2, 0x86, 0x72, 0xca, + 0x13, 0x14, 0x79, 0x82, 0xbe, 0x40, 0xdf, 0xa1, 0x67, 0x1f, 0x73, 0xe8, 0x21, 0x40, 0x81, 0xfe, + 0xd8, 0x0f, 0x51, 0xf4, 0x56, 0xec, 0x72, 0x49, 0x51, 0x12, 0xdd, 0xd8, 0x49, 0xdd, 0xa2, 0x37, + 0xee, 0xce, 0xcc, 0x37, 0x3b, 0xb3, 0xdf, 0xce, 0x0c, 0x61, 0x3e, 0xd8, 0x76, 0xbb, 0x66, 0x40, + 0xba, 0x3b, 0x31, 0x8e, 0xb1, 0x1e, 0x84, 0x94, 0x51, 0x54, 0x36, 0x03, 0xa2, 0xdd, 0x70, 0x29, + 0x75, 0x3d, 0xdc, 0x15, 0x5b, 0x56, 0xfc, 0xac, 0xcb, 0xc8, 0x00, 0x47, 0xcc, 0x1c, 0x04, 0x89, + 0x96, 0xd6, 0xd9, 0xbe, 0x1b, 0xe9, 0x84, 0x0a, 0x6b, 0x9b, 0x86, 0xb8, 0xbb, 0xbb, 0xd4, 0x75, + 0xb1, 0x8f, 0x43, 0x93, 0x61, 0x47, 0xea, 0xdc, 0x19, 0xe9, 0x0c, 0x4c, 0x7b, 0x93, 0xf8, 0x38, + 0x1c, 0x76, 0x53, 0x97, 0x21, 0x8e, 0x68, 0x1c, 0xda, 0x78, 0xca, 0xea, 0xb6, 0x4b, 0xd8, 0x66, + 0x6c, 0xe9, 0x36, 0x1d, 0x74, 0x5d, 0xea, 0xd2, 0xd1, 0x19, 0xf8, 0x4a, 0x2c, 0xc4, 0x97, 0x54, + 0xbf, 0x3a, 0x79, 0x52, 0x3c, 0x08, 0xd8, 0x30, 0x11, 0x76, 0x7e, 0xaa, 0x42, 0xb9, 0x47, 0x2d, + 0x74, 0x0e, 0x4a, 0xc4, 0x51, 0x95, 0xb6, 0xb2, 0xd8, 0x30, 0x4a, 0xc4, 0x41, 0xd7, 0x00, 0xb6, + 0xa8, 0xd5, 0x8f, 0x30, 0xeb, 0x13, 0x47, 0x2d, 0x89, 0xfd, 0xfa, 0x16, 0xb5, 0xd6, 0x31, 0x5b, + 0x73, 0xd0, 0x02, 0x54, 0x45, 0x42, 0xd4, 0xb2, 0x10, 0x24, 0x0b, 0x74, 0x0d, 0x1a, 0xbe, 0x39, + 0xc0, 0x51, 0x60, 0xda, 0x58, 0x9d, 0x15, 0x92, 0xd1, 0x06, 0xba, 0x05, 0x35, 0xcf, 0xb4, 0xb0, + 0x17, 0xa9, 0x8d, 0x76, 0x79, 0xb1, 0xb9, 0xbc, 0xa0, 0x9b, 0x01, 0xd1, 0x7b, 0xd4, 0xd2, 0x1f, + 0x8b, 0xed, 0x55, 0x9f, 0x85, 0x43, 0x43, 0xea, 0xa0, 0xcf, 0xa1, 0x69, 0xfa, 0x3e, 0x65, 0x26, + 0x23, 0xd4, 0x8f, 0x54, 0x10, 0x26, 0x57, 0x32, 0x93, 0x07, 0x23, 0x59, 0x62, 0x97, 0xd7, 0x46, + 0xdf, 0xc2, 0x42, 0x88, 0x77, 0x62, 0x12, 0x62, 0xa7, 0xef, 0x53, 0x07, 0xf7, 0xa5, 0xe3, 0xa6, + 0x40, 0x69, 0x67, 0x28, 0x86, 0x54, 0xfa, 0x8a, 0x3a, 0x38, 0x77, 0x88, 0x87, 0x25, 0x55, 0x31, + 0x50, 0x38, 0x25, 0xe4, 0x61, 0xd3, 0x3d, 0x1f, 0x87, 0x6a, 0x3d, 0x09, 0x5b, 0x2c, 0x90, 0x06, + 0xf5, 0x20, 0x24, 0x34, 0x24, 0x6c, 0xa8, 0x56, 0xda, 0xca, 0xa2, 0x62, 0x64, 0x6b, 0x74, 0x0f, + 0xea, 0x01, 0x75, 0xfa, 0x51, 0x80, 0x6d, 0xb5, 0xda, 0x56, 0x16, 0x9b, 0xcb, 0x57, 0xf5, 0xe4, + 0xce, 0xc5, 0x21, 0x38, 0x2f, 0xf4, 0xdd, 0x25, 0xfd, 0x6b, 0xea, 0xac, 0x07, 0xd8, 0x16, 0x8e, + 0x67, 0x83, 0x64, 0x81, 0xee, 0x42, 0x23, 0xb5, 0x8d, 0xd4, 0x33, 0xe2, 0xe8, 0x7f, 0x67, 0x6c, + 0xd4, 0xa5, 0x61, 0x84, 0xee, 0xc3, 0xac, 0x1d, 0x62, 0xce, 0x18, 0xb5, 0x26, 0x9c, 0x6a, 0x7a, + 0xc2, 0x01, 0x3d, 0xe5, 0x80, 0xbe, 0x91, 0xb2, 0xf5, 0x61, 0x7d, 0xff, 0x97, 0x1b, 0x33, 0x2f, + 0x7f, 0xbd, 0xa1, 0x18, 0xa9, 0x91, 0xf6, 0x19, 0x34, 0x73, 0xe9, 0x40, 0x73, 0x50, 0xde, 0xc6, + 0x43, 0x49, 0x0e, 0xfe, 0xc9, 0x13, 0xb1, 0x6b, 0x7a, 0x31, 0x96, 0xc4, 0x48, 0x16, 0xf7, 0x4a, + 0x77, 0x15, 0xed, 0x3e, 0xcc, 0x4d, 0xde, 0xcd, 0x89, 0xec, 0x57, 0xe1, 0xf2, 0x11, 0xb7, 0x72, + 0x12, 0x98, 0xce, 0x8f,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xa6, 0xf5, 0x20, + 0x37, 0x7b, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/pkg/api/queue.proto b/pkg/api/queue.proto index e72d1e7431d..5b398c31885 100644 --- a/pkg/api/queue.proto +++ b/pkg/api/queue.proto @@ -27,8 +27,8 @@ message Job { } message LeaseRequest { - string ClusterId = 1; - string Pool = 8; + string cluster_id = 1; + string pool = 8; map resources = 2 [(gogoproto.nullable) = false]; ClusterLeasedReport cluster_leased_report = 4 [(gogoproto.nullable) = false]; map minimum_job_size = 6 [(gogoproto.nullable) = false]; @@ -52,7 +52,7 @@ message NodeType { // Used to store last info in Redis message ClusterSchedulingInfoReport { string cluster_id = 1; - string Pool = 7; + string pool = 7; google.protobuf.Timestamp report_time = 2 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; repeated NodeType node_types = 5; map minimum_job_size = 6 [(gogoproto.nullable) = false]; diff --git a/pkg/api/usage.pb.go b/pkg/api/usage.pb.go index 8fafa2e7523..4958abe3c7c 100644 --- a/pkg/api/usage.pb.go +++ b/pkg/api/usage.pb.go @@ -37,9 +37,9 @@ var _ = time.Kitchen const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type QueueReport struct { - Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` - Resources map[string]resource.Quantity `protobuf:"bytes,2,rep,name=Resources,proto3" json:"Resources" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - ResourcesUsed map[string]resource.Quantity `protobuf:"bytes,3,rep,name=ResourcesUsed,proto3" json:"ResourcesUsed" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Resources map[string]resource.Quantity `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ResourcesUsed map[string]resource.Quantity `protobuf:"bytes,3,rep,name=resources_used,json=resourcesUsed,proto3" json:"resourcesUsed,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *QueueReport) Reset() { *m = QueueReport{} } @@ -96,12 +96,12 @@ func (m *QueueReport) GetResourcesUsed() map[string]resource.Quantity { } type ClusterUsageReport struct { - ClusterId string `protobuf:"bytes,1,opt,name=ClusterId,proto3" json:"ClusterId,omitempty"` - Pool string `protobuf:"bytes,6,opt,name=Pool,proto3" json:"Pool,omitempty"` - ReportTime time.Time `protobuf:"bytes,2,opt,name=ReportTime,proto3,stdtime" json:"ReportTime"` - Queues []*QueueReport `protobuf:"bytes,3,rep,name=Queues,proto3" json:"Queues,omitempty"` - ClusterCapacity map[string]resource.Quantity `protobuf:"bytes,4,rep,name=ClusterCapacity,proto3" json:"ClusterCapacity" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - ClusterAvailableCapacity map[string]resource.Quantity `protobuf:"bytes,5,rep,name=ClusterAvailableCapacity,proto3" json:"ClusterAvailableCapacity" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"clusterId,omitempty"` + Pool string `protobuf:"bytes,6,opt,name=pool,proto3" json:"pool,omitempty"` + ReportTime time.Time `protobuf:"bytes,2,opt,name=report_time,json=reportTime,proto3,stdtime" json:"report_time"` + Queues []*QueueReport `protobuf:"bytes,3,rep,name=queues,proto3" json:"queues,omitempty"` + ClusterCapacity map[string]resource.Quantity `protobuf:"bytes,4,rep,name=cluster_capacity,json=clusterCapacity,proto3" json:"clusterCapacity,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ClusterAvailableCapacity map[string]resource.Quantity `protobuf:"bytes,5,rep,name=cluster_available_capacity,json=clusterAvailableCapacity,proto3" json:"clusterAvailableCapacity,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *ClusterUsageReport) Reset() { *m = ClusterUsageReport{} } @@ -190,41 +190,42 @@ func init() { func init() { proto.RegisterFile("pkg/api/usage.proto", fileDescriptor_5643ccb387d55d48) } var fileDescriptor_5643ccb387d55d48 = []byte{ - // 536 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0xb5, 0xeb, 0x24, 0x22, 0x13, 0x01, 0xd5, 0x82, 0xc0, 0x32, 0xe0, 0x44, 0xe5, 0x92, 0x03, - 0xac, 0xa5, 0x00, 0x52, 0xc5, 0x01, 0x89, 0xa4, 0x15, 0xe2, 0x02, 0xd4, 0x6a, 0x6f, 0x5c, 0x36, - 0xc9, 0xe2, 0xae, 0x62, 0x67, 0x57, 0xf6, 0xba, 0xc8, 0xe2, 0xc2, 0x4f, 0xe8, 0x8d, 0xbf, 0xd4, - 0x63, 0x8f, 0x3d, 0xf1, 0x91, 0xfc, 0x0f, 0x84, 0xbc, 0x5e, 0x27, 0x6e, 0x42, 0xe0, 0x94, 0xdb, - 0xcc, 0xec, 0xbc, 0x79, 0xe3, 0xf7, 0x46, 0x86, 0x3b, 0x62, 0x12, 0x78, 0x44, 0x30, 0x2f, 0x4d, - 0x48, 0x40, 0xb1, 0x88, 0xb9, 0xe4, 0xc8, 0x22, 0x82, 0x39, 0xed, 0x80, 0xf3, 0x20, 0xa4, 0x9e, - 0x2a, 0x0d, 0xd3, 0x4f, 0x9e, 0x64, 0x11, 0x4d, 0x24, 0x89, 0x44, 0xd1, 0xe5, 0x3c, 0x58, 0x6d, - 0xa0, 0x91, 0x90, 0x99, 0x7e, 0x7c, 0x3e, 0xd9, 0x4f, 0x30, 0xe3, 0xf9, 0xe8, 0x88, 0x8c, 0x4e, - 0xd9, 0x94, 0xc6, 0x99, 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, - 0x9c, 0xbb, 0xc6, 0xd5, 0xdc, 0x35, 0x86, 0x0d, 0x85, 0x78, 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, - 0x02, 0xfd, 0x3d, 0x67, 0x4b, 0x05, 0x00, 0x00, + // 554 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, + 0x14, 0x8d, 0x9b, 0x1f, 0x7d, 0xb9, 0xd1, 0x57, 0xa2, 0x01, 0x81, 0x65, 0x54, 0x27, 0x2a, 0x9b, + 0x2c, 0x60, 0x2c, 0x05, 0x90, 0x2a, 0x16, 0x48, 0x24, 0x44, 0x88, 0x1d, 0xb5, 0xe8, 0x12, 0x45, + 0x13, 0x67, 0x70, 0x47, 0xb1, 0x33, 0xc3, 0x78, 0x5c, 0xc9, 0x62, 0x83, 0xc4, 0x0b, 0x74, 0xc9, + 0x23, 0x75, 0xd9, 0x65, 0x57, 0xfc, 0x24, 0x2f, 0x82, 0x66, 0x6c, 0x93, 0xb4, 0x69, 0x60, 0x95, + 0xdd, 0xdc, 0x9f, 0x73, 0xcf, 0xf5, 0x3d, 0x47, 0x86, 0xbb, 0x62, 0x16, 0x7a, 0x44, 0x30, 0x2f, + 0x4d, 0x48, 0x48, 0xb1, 0x90, 0x5c, 0x71, 0x54, 0x25, 0x82, 0x39, 0x9d, 0x90, 0xf3, 0x30, 0xa2, + 0x9e, 0x49, 0x4d, 0xd2, 0x8f, 0x9e, 0x62, 0x31, 0x4d, 0x14, 0x89, 0x45, 0xde, 0xe5, 0x3c, 0xbc, + 0xd9, 0x40, 0x63, 0xa1, 0xb2, 0xa2, 0xf8, 0x6c, 0x76, 0x94, 0x60, 0xc6, 0xf5, 0xe8, 0x98, 0x04, + 0xa7, 0x6c, 0x4e, 0x65, 0xe6, 0x95, 0x5c, 0x92, 0x26, 0x3c, 0x95, 0x01, 0xf5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b, 0xfd, 0x5c, 0xb8, 0xd6, 0xf9, 0xd2, 0xad, + 0x5c, 0x2e, 0xdd, 0xca, 0xd5, 0xd2, 0xad, 0x4c, 0x1a, 0x06, 0xf1, 0xf4, 0x77, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x72, 0xe2, 0xef, 0x6a, 0x51, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/pkg/api/usage.proto b/pkg/api/usage.proto index 204ca52b129..1319546a1b8 100644 --- a/pkg/api/usage.proto +++ b/pkg/api/usage.proto @@ -11,18 +11,18 @@ option (gogoproto.goproto_stringer_all) = false; option (gogoproto.stringer_all) = true; message QueueReport { - string Name = 1; - map Resources = 2 [(gogoproto.nullable) = false]; - map ResourcesUsed = 3 [(gogoproto.nullable) = false]; + string name = 1; + map resources = 2 [(gogoproto.nullable) = false]; + map resources_used = 3 [(gogoproto.nullable) = false]; } message ClusterUsageReport { - string ClusterId = 1; - string Pool = 6; - google.protobuf.Timestamp ReportTime = 2 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - repeated QueueReport Queues = 3; - map ClusterCapacity = 4 [(gogoproto.nullable) = false]; - map ClusterAvailableCapacity = 5 [(gogoproto.nullable) = false]; + string cluster_id = 1; + string pool = 6; + google.protobuf.Timestamp report_time = 2 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + repeated QueueReport queues = 3; + map cluster_capacity = 4 [(gogoproto.nullable) = false]; + map cluster_available_capacity = 5 [(gogoproto.nullable) = false]; } service Usage {