diff options
Diffstat (limited to 'event.proto')
| -rw-r--r-- | event.proto | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/event.proto b/event.proto index 7a0d5a3..084d665 100644 --- a/event.proto +++ b/event.proto @@ -3,6 +3,7 @@ package virtpb; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp import "google/protobuf/any.proto"; // Import the well-known type for Timestamp +import "droplet.proto"; // global settings for autogenpb `autogenpb:no-sort` `autogenpb:mutex` @@ -26,7 +27,7 @@ message Event { // `autogenpb:marsh } int32 id = 1; // `autogenpb:unique` // should be unique across the cluster EventType etype = 2; - string droplet = 3; // name of the droplet + string dropletName = 3; // name of the droplet string dropletUuid = 4; // uuid of the droplet string hypervisor = 5; // name of the hypervisor string hypervisorUuid = 6; // uuid of the hypervisor @@ -39,6 +40,7 @@ message Event { // `autogenpb:marsh google.protobuf.Any newAny = 13; // anypb format string error = 14; // what went wrong status state = 15; // state of the event + Droplet droplet = 16; // droplet } enum EventType { ADD = 0; @@ -54,4 +56,5 @@ enum EventType { FAIL = 10; // everything failed CRASH = 11; // droplet hard crashed CHANGE = 12; // droplet or hypervisor config change + EDIT = 13; // edit droplet settings } |
