diff --git a/sampleData.go b/sampleData.go index 0cef591..ebdcc13 100644 --- a/sampleData.go +++ b/sampleData.go @@ -120,3 +120,23 @@ func MakeFailResponse() *Event { } return e } + +func MakeAddVmEvent() *Event { + log.Println("MakeAddVmEvent() is generating a example 'create' virtual machine event") + + e := &Event{ + Id: 1234, + Email: "test+protobuf@wit.com", + Comment: "A Test Create VM Event", + Type: Event_ADD, + Vms: []*Event_VM{ + { + Hostname: "test323.lab.wit.com", + Memory: 2048, + Disk: 20, + Cpus: 4, + }, + }, + } + return e +}