assessor

package
v0.0.0-...-be3778f Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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