Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSubscriber ¶
AddSubscriber add the subscriber to handle the changed notification from model.ResourceRevision.
Types ¶
type BusMessage ¶
type BusMessage struct { // TransactionalModelClient holds the model.ClientSet of this calling session, // it should be a transactional DAO client, // please don't keep for long-term using. TransactionalModelClient model.ClientSet // Refer holds the updating model.ResourceRevision item of this calling session. Refer *model.ResourceRevision }
BusMessage wraps the changed model.ResourceRevision as a bus.Message.
Click to show internal directories.
Click to hide internal directories.