-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
chainzero
authored and
chainzero
committed
Oct 26, 2023
1 parent
87d0763
commit be66142
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
syntax = "proto3"; | ||
|
||
package akash.inventory.v1; | ||
|
||
import "gogoproto/gogo.proto"; | ||
|
||
import "akash/inventory/v1/resourcepair.proto"; | ||
|
||
option go_package = "github.com/akash-network/akash-api/go/inventory/v1"; | ||
|
||
message MemoryInfo { | ||
string vendor = 1 [ | ||
(gogoproto.customname) = "Vendor", | ||
(gogoproto.jsontag) = "vendor", | ||
(gogoproto.moretags) = "yaml:\"vendor\"" | ||
]; | ||
string type = 2 [ | ||
(gogoproto.customname) = "Type", | ||
(gogoproto.jsontag) = "type", | ||
(gogoproto.moretags) = "yaml:\"type\"" | ||
]; | ||
string size = 3 [ | ||
(gogoproto.customname) = "Size", | ||
(gogoproto.jsontag) = "size", | ||
(gogoproto.moretags) = "yaml:\"size\"" | ||
]; | ||
string speed = 4 [ | ||
(gogoproto.customname) = "Speed", | ||
(gogoproto.jsontag) = "speed", | ||
(gogoproto.moretags) = "yaml:\"speed\"" | ||
]; | ||
} | ||
|
||
message Memory { | ||
ResourcePair quantity = 1 [ | ||
(gogoproto.customname) = "Quantity", | ||
(gogoproto.jsontag) = "quantity", | ||
(gogoproto.moretags) = "yaml:\"quantity\"" | ||
]; | ||
|
||
repeated MemoryInfo info = 2 [ | ||
(gogoproto.customname) = "Info", | ||
(gogoproto.jsontag) = "info", | ||
(gogoproto.moretags) = "yaml:\"info\"" | ||
]; | ||
} | ||
|