interfaces

package
v0.0.0-...-19f3ddf Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryForResults

func QueryForResults(variant string, milestone string) (*bigquery.RowIterator, error)

QueryForResults will query the Flake tables to find the history for tests.

func WriteResults

func WriteResults(filteredTests []string, req *api.FilterFlakyRequest, d map[string]structs.SignalFormat) error

WriteResults will publish the filtering results into Bq.

Types

type Entry

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

Entry represents a row item.

func (*Entry) Save

func (i *Entry) Save() (map[string]bigquery.Value, string, error)

Save implements the ValueSaver interface. This example disables best-effort de-duplication, which allows for higher throughput.

type SensorFormat

type SensorFormat struct {
	Test_id        string
	Board          string
	Latest_results string
	Test_stats     SensorTestStats
}

func CallForStability

func CallForStability() ([]SensorFormat, error)

CallForStability return stability data in the SensorFormat from StabiitySensor rest endpoint

type SensorTestStats

type SensorTestStats struct {
	Stats          string
	First_row_seq  int
	First_run_time string
	Last_row_seq   int
	Last_run_time  string
}

Jump to

Keyboard shortcuts

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