Documentation ¶
Index ¶
- type Notifier
- func (n *Notifier) JobCompleted(ctx contexts.Context, id string, volumes []string, err error) error
- func (n *Notifier) JobStarted(ctx contexts.Context, id string, volumes []string) error
- func (n *Notifier) NextBackupSchedule(ctx contexts.Context, next time.Time) error
- func (n *Notifier) Send(msg string) error
- func (n *Notifier) TaskCompleted(ctx contexts.Context, id string, volume string, err error) error
- func (n *Notifier) TaskStarted(ctx contexts.Context, id string, volume string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
func New ¶
func New(action string, notificationSettings *types.NotificationSettings) (*Notifier, error)
func (*Notifier) JobCompleted ¶
func (*Notifier) JobStarted ¶
func (*Notifier) NextBackupSchedule ¶
func (*Notifier) TaskCompleted ¶
Click to show internal directories.
Click to hide internal directories.