dryrun

package
v0.0.0-...-d850389 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: BSD-3-Clause Imports: 16 Imported by: 1

Documentation

Overview

dryrun allows testing an Alert and seeing the regression it would find.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegressionAtCommit

type RegressionAtCommit struct {
	CID        provider.Commit        `json:"cid"`
	Regression *regression.Regression `json:"regression"`
}

RegressionAtCommit is a Regression found for a specific commit.

type Requests

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

Requests handles HTTP request for doing dryruns.

func New

func New(perfGit perfgit.Git, tracker progress.Tracker, shortcutStore shortcut.Store, dfBuilder dataframe.DataFrameBuilder, paramsProvider regression.ParamsetProvider) *Requests

New create a new dryrun Request processor.

func (*Requests) StartHandler

func (d *Requests) StartHandler(w http.ResponseWriter, r *http.Request)

StartHandler starts a dryrun.

Jump to

Keyboard shortcuts

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