common

package
v0.0.0-...-2b2d3ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationData

type NotificationData struct {
	// The body of the notification.
	Body string
	// The subject of the notification.
	Subject string
}

NotificationData provides a struct to contain data to be used for regression notifications.

type RegressionMetadata

type RegressionMetadata struct {
	RegressionCommit provider.Commit
	PreviousCommit   provider.Commit
	AlertConfig      *alerts.Alert
	Cl               *clustering2.ClusterSummary
	Frame            *frame.FrameResponse
	InstanceUrl      string

	// The fields below are only available when detection mode is Individual
	RegressionCommitLinks map[string]string
	PreviousCommitLinks   map[string]string
	TraceID               string
}

RegressionMetadata provides a struct to hold metadata related to the regression for notification generation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL