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 ...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) 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 Notifier ¶
type Notifier struct{}
Notifier 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.