EventsAdded adds event to the test schema and notifies a registered follower
(events *schema.Events)
| 24 | |
| 25 | // EventsAdded adds event to the test schema and notifies a registered follower |
| 26 | func (devfile *TestDevfile) EventsAdded(events *schema.Events) { |
| 27 | LogInfoMessage(fmt.Sprintf("events added")) |
| 28 | devfile.SchemaDevFile.Events = events |
| 29 | if devfile.Follower != nil { |
| 30 | devfile.Follower.AddEvent(*events) |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | // EventsUpdated notifies a registered follower that the events have been updated |
| 35 | func (devfile *TestDevfile) EventsUpdated(events *schema.Events) { |
no test coverage detected