alerter

package
v0.0.0-...-87875e3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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