Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonPrinter ¶
type JsonPrinter struct {
// contains filtered or unexported fields
}
func NewJsonPrinter ¶
func NewJsonPrinter() *JsonPrinter
func (*JsonPrinter) ActionPrint ¶
func (jsonPrinter *JsonPrinter) ActionPrint(opaSessionObj *cautils.OPASessionObj)
func (*JsonPrinter) FinalizeData ¶
func (jsonPrinter *JsonPrinter) FinalizeData(opaSessionObj *cautils.OPASessionObj)
func (*JsonPrinter) Score ¶
func (jsonPrinter *JsonPrinter) Score(score float32)
func (*JsonPrinter) SetWriter ¶
func (jsonPrinter *JsonPrinter) SetWriter(outputFile string)
type PrettyPrinter ¶
type PrettyPrinter struct {
// contains filtered or unexported fields
}
func NewPrettyPrinter ¶
func NewPrettyPrinter(verboseMode bool) *PrettyPrinter
func (*PrettyPrinter) ActionPrint ¶
func (prettyPrinter *PrettyPrinter) ActionPrint(opaSessionObj *cautils.OPASessionObj)
func (*PrettyPrinter) FinalizeData ¶
func (prettyPrinter *PrettyPrinter) FinalizeData(opaSessionObj *cautils.OPASessionObj)
func (*PrettyPrinter) Score ¶
func (prettyPrinter *PrettyPrinter) Score(score float32)
func (*PrettyPrinter) SetWriter ¶
func (prettyPrinter *PrettyPrinter) SetWriter(outputFile string)
Click to show internal directories.
Click to hide internal directories.