Documentation ¶
Index ¶
- type ChoriaProvider
- type Notifier
- func (n *Notifier) Debugf(m machine.InfoSource, name string, format string, args ...any)
- func (n *Notifier) Errorf(m machine.InfoSource, name string, format string, args ...any)
- func (n *Notifier) Infof(m machine.InfoSource, name string, format string, args ...any)
- func (n *Notifier) NotifyPostTransition(transition *machine.TransitionNotification) (err error)
- func (n *Notifier) NotifyWatcherState(name string, detail machine.WatcherStateNotification) error
- func (n *Notifier) Warnf(m machine.InfoSource, name string, format string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChoriaProvider ¶
type ChoriaProvider interface { PublishRaw(target string, data []byte) error Logger(component string) *logrus.Entry }
ChoriaProvider provider key Choria service
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
Notifier implements machine.NotificationService
func (*Notifier) NotifyPostTransition ¶
func (n *Notifier) NotifyPostTransition(transition *machine.TransitionNotification) (err error)
NotifyPostTransition implements machine.NotificationService
func (*Notifier) NotifyWatcherState ¶
func (n *Notifier) NotifyWatcherState(name string, detail machine.WatcherStateNotification) error
NotifyWatcherState implements machine.NotificationService
Click to show internal directories.
Click to hide internal directories.