alerter

package
v0.0.0-...-9c2cf05 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: Apache-2.0 Imports: 5 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(testName 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) error

SetupGitHub will setup SetupGitHub for the alerter.

func (*Alerter) SetupSlack

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

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