Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PrimaryKeyField is the field that uniquely identifies a key. PrimaryKeyField = "name" // CorpusField is the field that contains the corpus identifier. CorpusField = "source_type" // MaximumNameLength is the maximum length in bytes a test name can be. MaximumNameLength = 256 )
Variables ¶
View Source
var IgnoreStates = []IgnoreState{ExcludeIgnoredTraces, IncludeIgnoredTraces}
Functions ¶
This section is empty.
Types ¶
type Digest ¶
type Digest string
Strings are used a lot, so these type "aliases" can help document which are meant where. See also tiling.TraceID Of note, Digest exclusively means a unique image, identified by the MD5 hash of its pixels.
type DigestSet ¶
type DigestSlice ¶
type DigestSlice []Digest
func (DigestSlice) Len ¶
func (b DigestSlice) Len() int
func (DigestSlice) Less ¶
func (b DigestSlice) Less(i, j int) bool
func (DigestSlice) Swap ¶
func (b DigestSlice) Swap(i, j int)
type IgnoreState ¶
type IgnoreState int
The IgnoreState enum gives a human-readable way to determine if the tile or whatever is dealing with the full amount of information (IncludeIgnoredTraces) or the information with the ignore rules applied (ExcludeIgnoredTraces).
const ( ExcludeIgnoredTraces IgnoreState = iota IncludeIgnoredTraces // i.e. all digests )
type TestNameSet ¶
func (TestNameSet) Keys ¶
func (s TestNameSet) Keys() TestNameSlice
Keys returns the keys of a TestNameSet
type TestNameSlice ¶
type TestNameSlice []TestName
func (TestNameSlice) Len ¶
func (b TestNameSlice) Len() int
func (TestNameSlice) Less ¶
func (b TestNameSlice) Less(i, j int) bool
func (TestNameSlice) Swap ¶
func (b TestNameSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.