Documentation ¶
Index ¶
- Constants
- func DispatchSendSMPolicyTerminationNotifyEvent(uri string, request *models.TerminationNotification)
- func DispatchSendSMPolicyUpdateNotifyEvent(uri string, request *models.SmPolicyNotification)
- func RegisterNotifyDispatcher() error
- type NotifyListener
- type SendSMpolicyTerminationNotifyEvent
- type SendSMpolicyUpdateNotifyEvent
Constants ¶
View Source
const SendSMpolicyTerminationNotifyEventName event.Name = "SendSMpolicyTerminationNotify"
View Source
const SendSMpolicyUpdateNotifyEventName event.Name = "SendSMpolicyUpdateNotify"
Variables ¶
This section is empty.
Functions ¶
func DispatchSendSMPolicyTerminationNotifyEvent ¶
func DispatchSendSMPolicyTerminationNotifyEvent(uri string, request *models.TerminationNotification)
func DispatchSendSMPolicyUpdateNotifyEvent ¶
func DispatchSendSMPolicyUpdateNotifyEvent(uri string, request *models.SmPolicyNotification)
func RegisterNotifyDispatcher ¶
func RegisterNotifyDispatcher() error
Types ¶
type NotifyListener ¶
type NotifyListener struct{}
func (NotifyListener) Listen ¶
func (l NotifyListener) Listen(event interface{})
type SendSMpolicyTerminationNotifyEvent ¶
type SendSMpolicyTerminationNotifyEvent struct {
// contains filtered or unexported fields
}
func (SendSMpolicyTerminationNotifyEvent) Handle ¶
func (e SendSMpolicyTerminationNotifyEvent) Handle()
type SendSMpolicyUpdateNotifyEvent ¶
type SendSMpolicyUpdateNotifyEvent struct {
// contains filtered or unexported fields
}
func (SendSMpolicyUpdateNotifyEvent) Handle ¶
func (e SendSMpolicyUpdateNotifyEvent) Handle()
Click to show internal directories.
Click to hide internal directories.