policies

package
v0.0.0-...-0342304 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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StabilityFromPolicy

func StabilityFromPolicy(req *api.FilterFlakyRequest_PassRatePolicy, variant string, milestone string, tcList map[string]struct{}) (map[string]structs.SignalFormat, error)

StabilityFromPolicy returns the stability information computed from the policy given. Uses BQ results directly for test history.

func StabilityFromStabilitySensor

func StabilityFromStabilitySensor() (map[string]structs.SignalFormat, error)

StabilityFromStabilitySensor will get Stability info from the StabilitySensor endpoint.

Types

type PassRatePolicy

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

PassRatePolicy is a helper struct for GetFile.

Jump to

Keyboard shortcuts

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