EventsUpdated notifies a registered follower that the events have been updated
(events *schema.Events)
| 33 | |
| 34 | // EventsUpdated notifies a registered follower that the events have been updated |
| 35 | func (devfile *TestDevfile) EventsUpdated(events *schema.Events) { |
| 36 | LogInfoMessage(fmt.Sprintf("events updated")) |
| 37 | if devfile.Follower != nil { |
| 38 | devfile.Follower.UpdateEvent(*events) |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | // AddEvents adds events in the test schema structure and populates it with random attributes |
| 43 | func (devfile *TestDevfile) AddEvents() schema.Events { |
no test coverage detected