tiling

package
v0.0.0-...-ace5988 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// MissingDigest is a sentinel value meaning no digest is available at the given commit.
	MissingDigest = types.Digest("")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Trace

type Trace struct {
	// Digests represents the images seen over the last N commits. Index 0 is the oldest data, index
	// len-1 is the newest data.
	Digests []types.Digest

	// OptionsID is the md5 hash of the options map.
	OptionsID []byte
	// contains filtered or unexported fields
}

Trace represents all the Digests of a single test across a series of Commits.

func NewEmptyTrace

func NewEmptyTrace(numDigests int, keys, options map[string]string) *Trace

NewEmptyTrace allocates a new Trace set up for the given number of samples.

The Trace Digests are pre-filled in with the missing data sentinel since not all tests will be run on all commits.

type TraceID

type TraceID string

TraceID helps document when strings should represent ids of traces This form of id is a comma separated listed of key-value pairs.

type TraceIDV2

type TraceIDV2 string

TraceIDV2 helps document when strings should represent ids of traces This form of is is a hex-encoded MD5 hash. The hash is of a JSON representation of the keys.

Jump to

Keyboard shortcuts

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