Add EngineEventsBatch type (#2858)

This commit is contained in:
Chris Smith 2019-06-23 16:56:09 -07:00 committed by GitHub
parent 9823035de4
commit f59a934044
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,3 +173,8 @@ type EngineEvent struct {
ResOpFailedEvent *ResOpFailedEvent `json:"resOpFailedEvent,omitempty"`
PolicyEvent *PolicyEvent `json:"policyEvent,omitempty"`
}
// EngineEventBatch is a group of engine events.
type EngineEventBatch struct {
Events []EngineEvent `json:"events"`
}