fettle v0.1.0 Fettle.Schema behaviour View Source
Behaviour for report generators.
Link to this section Summary
Callbacks
Convert a list of check spec/result tuples into a particular output format, based on a list or a map
Link to this section Types
Link to this section Functions
Link to this section Callbacks
Link to this callback
to_schema(config, checks)
View Source
to_schema(config :: Fettle.Config.t, checks :: [check]) :: report
Convert a list of check spec/result tuples into a particular output format, based on a list or a map.
Typically the report will ultimately be serialized to JSON.