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.

          Source Files

          Directories

          Path Synopsis