diff --git a/events.pb.go b/events.pb.go index f21bc72..9be256f 100644 --- a/events.pb.go +++ b/events.pb.go @@ -84,6 +84,7 @@ type Event struct { Networks []*Event_Network `protobuf:"bytes,9,rep,name=networks,proto3" json:"networks,omitempty"` Vms []*Event_VM `protobuf:"bytes,10,rep,name=vms,proto3" json:"vms,omitempty"` Test *Config `protobuf:"bytes,11,opt,name=test,proto3" json:"test,omitempty"` + Account *Account `protobuf:"bytes,12,opt,name=account,proto3" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -191,6 +192,13 @@ func (m *Event) GetTest() *Config { return nil } +func (m *Event) GetAccount() *Account { + if m != nil { + return m.Account + } + return nil +} + type Event_Response struct { Type Event_EventType `protobuf:"varint,1,opt,name=type,proto3,enum=witProtobuf.Event_EventType" json:"type,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` @@ -447,41 +455,43 @@ func init() { func init() { proto.RegisterFile("events.proto", fileDescriptor_8f22242cb04491f9) } var fileDescriptor_8f22242cb04491f9 = []byte{ - // 574 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x4f, 0xdb, 0x4e, - 0x10, 0xfd, 0xf9, 0xbf, 0x3d, 0xe1, 0x87, 0xac, 0xed, 0x1f, 0xad, 0x0c, 0x07, 0x8b, 0x0b, 0x39, - 0xa1, 0x8a, 0xaa, 0xdc, 0x29, 0x31, 0xd4, 0x2a, 0x49, 0xd0, 0x2a, 0xa5, 0x47, 0x64, 0x92, 0x85, - 0x5a, 0xd8, 0x5e, 0x6b, 0x77, 0x9d, 0x28, 0xf7, 0x4a, 0xbd, 0xf7, 0x63, 0xf5, 0x2b, 0xf5, 0x52, - 0xed, 0xda, 0x0e, 0xa9, 0x9a, 0xde, 0x7a, 0x89, 0xe6, 0xcd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0xe5, 0x38, 0x2b, 0x28, 0xf6, 0xdb, 0x9c, 0x8a, 0xd1, 0x21, 0x04, - 0xf7, 0x99, 0xa0, 0x69, 0x99, 0x3d, 0x52, 0x1c, 0x68, 0xe2, 0x39, 0x71, 0xf4, 0xcd, 0x80, 0x60, - 0xb3, 0x3d, 0xe4, 0x81, 0x75, 0x3e, 0x1a, 0x85, 0xff, 0x21, 0x00, 0x77, 0x94, 0x5c, 0x27, 0xb3, - 0x24, 0x34, 0xd0, 0x00, 0xbc, 0x9b, 0xe9, 0xe7, 0x84, 0x4c, 0x27, 0xa1, 0x89, 0xf6, 0xc0, 0x6f, - 0xc1, 0xe5, 0x65, 0x68, 0xa1, 0xff, 0x21, 0xf8, 0x90, 0xbe, 0x4f, 0xc8, 0xe4, 0x7c, 0x96, 0x84, - 0xb6, 0x52, 0x8e, 0xd3, 0x2b, 0xa2, 0x80, 0x83, 0x7c, 0xb0, 0x47, 0xc9, 0x78, 0x1a, 0xba, 0xea, - 0x5f, 0xaf, 0x92, 0x59, 0xe8, 0xa1, 0x00, 0x9c, 0xeb, 0xe9, 0x55, 0x3a, 0x09, 0x7d, 0xe4, 0x82, - 0x39, 0xfd, 0x18, 0x06, 0x4a, 0x75, 0x79, 0x9e, 0x5e, 0x87, 0x70, 0xef, 0xea, 0x8f, 0xc0, 0xdb, - 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x96, 0xb9, 0x94, 0xca, 0x2f, 0x04, 0x00, 0x00, + // 598 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xcf, 0x4f, 0xdb, 0x30, + 0x14, 0x5e, 0x7e, 0x35, 0xc9, 0x6b, 0x41, 0x91, 0xc7, 0x26, 0x2b, 0x70, 0xa8, 0xb8, 0xd0, 0x53, + 0x35, 0x31, 0x8d, 0x7b, 0x47, 0x03, 0xab, 0x46, 0x5b, 0x64, 0x75, 0xec,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c, + 0x22, 0x51, 0x6e, 0x04, 0x00, 0x00, } diff --git a/events.proto b/events.proto index a00a83c..4d6cd5c 100644 --- a/events.proto +++ b/events.proto @@ -2,6 +2,7 @@ syntax = "proto3"; package witProtobuf; import "config.proto"; +import "account.proto"; message Event { EventType type = 1; @@ -17,6 +18,7 @@ message Event { repeated VM vms = 10; Config test = 11; + Account account = 12; enum EventType { ADD = 0;