Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeProps ¶
Types ¶
type AlertFailData ¶
type AlertFailData struct {
Subject string
DisplayName string
ExecutionTimeString string // Will be inferred from ExecutionTime
FailFields []AlertFailField // The fields of the row that matched the alert criteria, if only one row is listed
FailRowLines []string // One line per row that matched the alert criteria, if several rows are listed
FailRowsLeadColumn string // The column whose value leads each of FailRowLines
FailRowsTruncated bool // True if more rows matched the alert criteria than are listed
OpenLink htemplate.URL
EditLink htemplate.URL
}
type AlertFailField ¶
type AlertStatusData ¶
type NotifierProperties ¶
type NotifierProperties struct {
Users []string `mapstructure:"users"`
Channels []string `mapstructure:"channels"`
Webhooks []string `mapstructure:"webhooks"`
}
func DecodeProps ¶
func DecodeProps(propsMap map[string]any) (*NotifierProperties, error)
Click to show internal directories.
Click to hide internal directories.