You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
384 B
Go
20 lines
384 B
Go
2 years ago
|
package notifications
|
||
|
|
||
|
import (
|
||
|
t "github.com/containrrr/watchtower/pkg/types"
|
||
|
log "github.com/sirupsen/logrus"
|
||
|
)
|
||
|
|
||
|
// StaticData is the part of the notification template data model set upon initialization
|
||
|
type StaticData struct {
|
||
|
Title string
|
||
|
Host string
|
||
|
}
|
||
|
|
||
|
// Data is the notification template data model
|
||
|
type Data struct {
|
||
|
StaticData
|
||
|
Entries []*log.Entry
|
||
|
Report t.Report
|
||
|
}
|