blob: 17a6ed022f9233ad8f99419afa33937d352691e7 [file] [log] [blame]
package common
import (
"go.skia.org/infra/perf/go/alerts"
"go.skia.org/infra/perf/go/clustering2"
"go.skia.org/infra/perf/go/git/provider"
"go.skia.org/infra/perf/go/ui/frame"
)
// NotificationData provides a struct to contain data to be used for regression notifications.
type NotificationData struct {
// The body of the notification.
Body string
// The subject of the notification.
Subject string
}
// RegressionMetadata provides a struct to hold metadata related to the regression for notification generation.
type RegressionMetadata struct {
CurrentCommit provider.Commit
PreviousCommit provider.Commit
AlertConfig *alerts.Alert
Cl *clustering2.ClusterSummary
Frame *frame.FrameResponse
InstanceUrl string
}