alerter

package
v0.0.0-...-3444316 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alerter

type Alerter struct {
	// contains filtered or unexported fields
}

Alerter controls alert for performance regressions detected by Mako.

func (*Alerter) HandleBenchmarkResult

func (alerter *Alerter) HandleBenchmarkResult(
	benchmarkKey, benchmarkName string,
	output qpb.QuickstoreOutput, err error) error

HandleBenchmarkResult will handle the benchmark result which returns from `q.Store()`

func (*Alerter) SetupGitHub

func (alerter *Alerter) SetupGitHub(org, repo, githubTokenPath string)

SetupGitHub will setup SetupGitHub for the alerter.

func (*Alerter) SetupSlack

func (alerter *Alerter) SetupSlack(userName, readTokenPath, writeTokenPath string, channels []config.Channel)

SetupSlack will setup Slack for the alerter.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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