Documentation
¶
Overview ¶
package satisfaction provides functionality for testing whether a spam policy can be satisfied in a given state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsatisfiable = errors.New("policy could not be satisfied")
)
Functions ¶
func FirstSatisfiable ¶
func FirstSatisfiable(policies normpolicy.NormalizedPolicy, currentState *tpmstate.TpmState) (*int, error)
FirstSatisfiable finds the index of the first satisfiable policy branch, or returns an error if no policy was satisfiable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.