Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventListener ¶
type EventListener interface {
// contains filtered or unexported methods
}
EventListener --
type EventSubscribers ¶
type EventSubscribers struct {
// contains filtered or unexported fields
}
EventSubscribers --
func (*EventSubscribers) Register ¶
func (u *EventSubscribers) Register(handler EventListener)
Register adds an event handler for this event
func (*EventSubscribers) Trigger ¶
func (u *EventSubscribers) Trigger(eventType EventType, resource types.NamespacedName, payload interface{})
Trigger sends out an event with the payload
Click to show internal directories.
Click to hide internal directories.