Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Outcomes = [...]Outcome{ Pass, PassWithIssues, Fail, Skipped, }
Outcomes is the list of possible outcomes values
Functions ¶
Types ¶
type Check ¶
Check is the basic unit of analysis that is run against a data archive
func GetDefaultChecks ¶
func GetDefaultChecks() []Check
GetDefaultChecks creates the default list of check using default parameters
type ExamplesCollection ¶
type ExamplesCollection struct {
// contains filtered or unexported fields
}
ExamplesCollection stores examples of issues found by a check as it scans entities in an archive. A limit can be passed to avoid accumulating hundreds of example. After the limit is reached, further examples are just counted but not stored.
func (*ExamplesCollection) Count ¶
func (c *ExamplesCollection) Count() int
Count the number of examples added to this collection (including the omitted ones)
func (*ExamplesCollection) String ¶
func (c *ExamplesCollection) String() string
String produces a multi-line string with one example per line. If more examples were added than the limit, an extra line is printed with the number of omitted examples.