Documentation ¶
Index ¶
Constants ¶
View Source
const ( PrettyFormat string = "pretty-printer" JsonFormat string = "json" JunitResultFormat string = "junit" PrometheusFormat string = "prometheus" )
Variables ¶
View Source
var INDENT = " "
Functions ¶
Types ¶
type IPrinter ¶ added in v1.0.87
type IPrinter interface { ActionPrint(opaSessionObj *cautils.OPASessionObj) SetWriter(outputFile string) Score(score float32) // FinalizeData convert 'opaSessionObj' data to be ready for printing/reporting FinalizeData(opaSessionObj *cautils.OPASessionObj) }
Click to show internal directories.
Click to hide internal directories.