Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract interface { // SetUp is called once when the assessor is instantiated. SetUp() // TearDown is called once when assessor is terminated. TearDown() // Assess accepts data and returns associated assessments. Assess(annotations []*annotation.Instance) metadata.Contract // Failure creates a publisher-specific failure annotation. Failure(errorMessage string) metadata.Contract // Kind returns an implementation mnemonic. Kind() string }
Contract defines the assessor abstraction.
Click to show internal directories.
Click to hide internal directories.