Documentation ¶
Overview ¶
Package console is a NotificationService that logs to the console
Index ¶
- type Notifier
- func (n *Notifier) Debugf(m machine.InfoSource, name string, format string, args ...interface{})
- func (n *Notifier) Errorf(m machine.InfoSource, name string, format string, args ...interface{})
- func (n *Notifier) Infof(m machine.InfoSource, name string, format string, args ...interface{})
- func (n *Notifier) NotifyPostTransition(transition *machine.TransitionNotification) error
- func (n *Notifier) NotifyWatcherState(name string, detail machine.WatcherStateNotification) error
- func (n *Notifier) Warnf(m machine.InfoSource, name string, format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct{}
Notifier implements machine.NotificationService
func (*Notifier) Debugf ¶
func (n *Notifier) Debugf(m machine.InfoSource, name string, format string, args ...interface{})
Debugf implements machine.NotificationService
func (*Notifier) Errorf ¶
func (n *Notifier) Errorf(m machine.InfoSource, name string, format string, args ...interface{})
Errorf implements machine.NotificationService
func (*Notifier) Infof ¶
func (n *Notifier) Infof(m machine.InfoSource, name string, format string, args ...interface{})
Infof implements machine.NotificationService
func (*Notifier) NotifyPostTransition ¶
func (n *Notifier) NotifyPostTransition(transition *machine.TransitionNotification) 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.