diff --git a/events.pb.go b/events.pb.go index 9fee051..3badf21 100644 --- a/events.pb.go +++ b/events.pb.go @@ -30,6 +30,7 @@ const ( Event_HIBERNATE Event_EventType = 4 Event_MIGRATE Event_EventType = 5 Event_DEMO Event_EventType = 6 + Event_GET Event_EventType = 7 ) var Event_EventType_name = map[int32]string{ @@ -40,6 +41,7 @@ var Event_EventType_name = map[int32]string{ 4: "HIBERNATE", 5: "MIGRATE", 6: "DEMO", + 7: "GET", } var Event_EventType_value = map[string]int32{ @@ -50,6 +52,7 @@ var Event_EventType_value = map[string]int32{ "HIBERNATE": 4, "MIGRATE": 5, "DEMO": 6, + "GET": 7, } func (x Event_EventType) String() string { @@ -411,36 +414,36 @@ func init() { func init() { proto.RegisterFile("events.proto", fileDescriptor_8f22242cb04491f9) } var fileDescriptor_8f22242cb04491f9 = []byte{ - // 485 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0xc6, 0x49, 0xd2, 0x24, 0xce, 0xe9, 0x98, 0x22, 0x0b, 0x90, 0x95, 0xed, 0xa2, 0xda, 0x0d, - 0xbd, 0xaa, 0xd0, 0x10, 0xbb, 0x1f, 0x34, 0x83, 0x4a, 0xf4, 0x8f, 0xac, 0x32, 0x2e, 0xa7, 0xb4, - 0x35, 0x23, 0x5a, 0x1c, 0x47, 0xb6, 0xd3, 0xa9, 0xf7, 0x3c, 0x01, 0x8f, 0xc5, 0xdb, 0xf0, 0x06, - 0xc8, 0x4e, 0xd2, 0x55, 0xa2, 0x5c, 0x72, 0x13, 0x9d, 0xef, 0x3b, 0xbf, 0xa3, 0xef, 0xd8, 0x56, - 0xe0, 0x84, 0x6d, 0x59, 0xa9, 0xd5, 0xa8, 0x92, 0x42, 0x0b, 0xdc, 0x7f, 0xcc, 0xf5, 0xc2, 0x54, - 0xab, 0xfa, 0xdb, 0xc5, 0xef, 0x00, 0xfc, 0xd4, 0x74, 0xf1, 0x1b, 0xe8, 0xe9, 0x5d, 0xc5, 0x88, - 0x33, 0x70, 0x86, 0xa7, 0x97, 0xe7, 0xa3, 0x03, 0x6a, 0x64, 0x89, 0xe6, 0xbb, 0xdc, 0x55, 0x8c, - 0x5a, 0x12, 0x9f, 0x82, 0x9b, 0x6f, 0x88, 0x3b, 0x70, 0x86, 0x3e, 0x75, 0xf3, 0x0d, 0xc6, 0xd0, - 0x2b, 0x33, 0xce, 0x88, 0x37, 0x70, 0x86, 0x11, 0xb5, 0x35, 0x26, 0x10, 0xae, 0x05, 0xe7, 0xac, - 0xd4, 0xa4, 0x67, 0xed, 0x4e, 0xe2, 0x17, 0xe0, 0x33, 0x9e, 0xe5, 0x05, 0xf1, 0xad, 0xdf, 0x08, - 0xfc, 0x0e, 0x42, 0xc9, 0x54, 0x5d, 0x68, 0x45, 0x82, 0x81, 0x37, 0xec, 0x5f, 0x9e, 0x1d, 0x59, - 0x84, 0x32, 0x55, 0x89, 0x52, 0x31, 0xda, 0xb1, 0xf8, 0x0a, 0x50, 0xc9, 0xf4, 0xa3, 0x90, 0x0f, - 0x8a, 0x84, 0x76, 0x2e, 0x39, 0x32, 0x37, 0x6b, 0x10, 0xba, 0x67, 0xf1, 0x6b, 0xf0, 0xb6, 0x5c, - 0x11, 0x64, 0x47, 0x5e, 0x1e, 0x19, 0xb9, 0x9d, 0x52, 0x43, 0x24, 0x3f, 0x1d, 0x40, 0x5d, 0xec, - 0x7f, 0xba, 0x2a, 0x73, 0x21, 0x52, 0x0a, 0xd9, 0x5e, 0x54, 0x23, 0x70, 0x02, 0x48, 0x95, 0x79, - 0x55, 0x31, 0xad, 0x88, 0x3f, 0xf0, 0x86, 0x11, 0xdd, 0xeb, 0xe4, 0x87, 0x03, 0x61, 0x7b, 0xa6, - 0x36, 0xc1, 0xf9, 0x2b, 0xc1, 0x3d, 0x48, 0x38, 0x83, 0x48, 0x0b, 0x9d, 0x15, 0x77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, 0xfd, 0x0f, 0xdf, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xaf, 0xcd, - 0x48, 0x97, 0x03, 0x00, 0x00, + // 491 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0xcf, 0x6f, 0xd3, 0x30, + 0x14, 0x26, 0x49, 0x93, 0x38, 0x6f, 0x63, 0x8a, 0x2c, 0x40, 0x56, 0xb6, 0x43, 0xb5, 0x0b, 0x3d, + 0x55, 0x68, 0x88, 0xdd, 0x07, 0xcd, 0x46, 0x25, 0xfa, 0x43, 0x56, 0x19, 0xc7, 0x29, 0x6d, 0xcd, + 0x08, 0x8b, 0xe3, 0xc8, 0x76, 0x3a, 0xf5, 0xce, 0x5f, 0xc0, 0x9f, 0xc5, 0x9f, 0xc4, 0x09, 0xd9, + 0x49, 0xba, 0x4a, 0x94, 0x23, 0x97, 0xe8, 0xfb, 0xbe, 0xf7, 0xbd, 0x7c, 0xcf, 0xcf, 0x32, 0x1c, + 0xb3, 0x0d, 0x2b, 0xb5, 0x1a, 0x56, 0x52, 0x68, 0x81, 0x8f, 0x1e, 0x73, 0x3d, 0x37, 0x68, 0x59, + 0x7f, 0x3d, 0xff, 0x1d, 0x80, 0x9f, 0x9a, 0x2a, 0x7e, 0x03, 0x3d, 0xbd, 0xad, 0x18, 0x71, 0xfa, + 0xce, 0xe0, 0xe4, 0xe2, 0x6c, 0xb8, 0xe7, 0x1a, 0x5a, 0x47, 0xf3, 0x5d, 0x6c, 0x2b, 0x46, 0xad, + 0x13, 0x9f, 0x80, 0x9b, 0xaf, 0x89, 0xdb, 0x77, 0x06, 0x3e, 0x75, 0xf3, 0x35, 0xc6, 0xd0, 0x2b, + 0x33, 0xce, 0x88, 0xd7, 0x77, 0x06, 0x11, 0xb5, 0x18, 0x13, 0x08, 0x57, 0x82, 0x73, 0x56, 0x6a, + 0xd2, 0xb3, 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, 0xb6, 0x18, 0xbf, 0x82, 0x80, 0x33, 0x2e, + 0xe4, 0xd6, 0x86, 0x7a, 0xb4, 0x65, 0xc6, 0xbb, 0xce, 0xd5, 0x03, 0x09, 0x1a, 0xaf, 0xc1, 0x46, + 0x1b, 0xcf, 0x37, 0x97, 0x24, 0x6c, 0xf2, 0x0c, 0x36, 0x9a, 0x14, 0x05, 0x23, 0xa8, 0xd1, 0x0c, + 0xc6, 0x67, 0x10, 0x2d, 0x33, 0xc5, 0xc6, 0x3c, 0xbb, 0x67, 0x24, 0xb2, 0x85, 0x27, 0xe1, 0xfc, + 0x3b, 0x44, 0xbb, 0xcb, 0xc3, 0x21, 0x78, 0x57, 0xa3, 0x51, 0xfc, 0x0c, 0x03, 0x04, 0xa3, 0xf4, + 0x53, 0xba, 0x48, 0x63, 0x07, 0x1f, 0x41, 0x38, 0x9f, 0x7d, 0x49, 0xe9, 0x6c, 0x1a, 0xbb, 0xf8, + 0x18, 0x50, 0x43, 0xae, 0xaf, 0x63, 0x0f, 0x3f, 0x87, 0xe8, 0xe3, 0xf8, 0x7d, 0x4a, 0xa7, 0x57, + 0x8b, 0x34, 0xee, 0x19, 0xe7, 0x64, 0x7c, 0x43, 0x0d, 0xf1, 0x31, 0x82, 0xde, 0x28, 0x9d, 0xcc, + 0xe2, 0xc0, 0xfc, 0xf5, 0x26, 0x5d, 0xc4, 0xe1, 0x32, 0xb0, 0x0f, 0xf2, 0xed, 0x9f, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x3f, 0xbd, 0x9b, 0x7d, 0xa0, 0x03, 0x00, 0x00, } diff --git a/events.proto b/events.proto index 5110eea..4f1f12a 100644 --- a/events.proto +++ b/events.proto @@ -20,6 +20,7 @@ message Event { HIBERNATE = 4; MIGRATE = 5; DEMO = 6; + GET = 7; } message Response { diff --git a/sampleData.go b/sampleData.go index 7a2f63f..93c0811 100644 --- a/sampleData.go +++ b/sampleData.go @@ -56,3 +56,15 @@ func DumpEventData(myevent *Event) { log.Println("\t", item) } } + +func MakeGetEvent() *Event { + e := &Event{ + Id: 1234, + Name: "List all user VMs", + Email: "test+protobuf@wit.com", + Comment: "this should return a protobuf with all the VM's", + Type: Event_GET, + } + e.Comment ="this should return a protobuf with all the VM's" + return e +}