diff options
Diffstat (limited to 'droplet.proto')
| -rw-r--r-- | droplet.proto | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/droplet.proto b/droplet.proto index dd1b30a..42eeec5 100644 --- a/droplet.proto +++ b/droplet.proto @@ -4,15 +4,15 @@ package virtbuf; import "google/protobuf/duration.proto"; // Import the well-known type for Timestamp import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp -message Droplets { +message Droplets { // `autogenpb:marshal` string uuid = 1; // I guess why not just have this on each file string version = 2; // maybe can be used for protobuf schema change violations repeated Droplet droplets = 3; } -message Droplet { - string uuid = 1; // should be unique across the cluster - string hostname = 2; // should be unique and work in DNS +message Droplet { // `autogenpb:marshal` + string uuid = 1; // `autogenpb:unique` // should be unique across the cluster + string hostname = 2; // `autogenpb:unique` // should be unique and work in DNS int64 cpus = 3; // what's the point of int64 vs int32 int64 memory = 4; // in bytes Current current = 5; // what the state and values of the droplet is |
