MCPcopy Create free account
hub / github.com/devfile/api / EventsUpdated

Method EventsUpdated

test/v200/utils/common/events-utils.go:35–40  ·  view source on GitHub ↗

EventsUpdated notifies a registered follower that the events have been updated

(events *schema.Events)

Source from the content-addressed store, hash-verified

33
34// EventsUpdated notifies a registered follower that the events have been updated
35func (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
43func (devfile *TestDevfile) AddEvents() schema.Events {

Callers 1

SetEventsValuesMethod · 0.95

Calls 2

LogInfoMessageFunction · 0.85
UpdateEventMethod · 0.80

Tested by

no test coverage detected