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(ctx context.Context, opaSessionObj *cautils.OPASessionObj, _ []cautils.ImageScanData)
func (*JsonPrinter) PrintNextSteps ¶ added in v2.9.0
func (jsonPrinter *JsonPrinter) PrintNextSteps()
func (*JsonPrinter) Score ¶
func (jsonPrinter *JsonPrinter) Score(score float32)
type PrometheusPrinter ¶
type PrometheusPrinter struct {
// contains filtered or unexported fields
}
func NewPrometheusPrinter ¶
func NewPrometheusPrinter(verboseMode bool) *PrometheusPrinter
func (*PrometheusPrinter) ActionPrint ¶
func (p *PrometheusPrinter) ActionPrint(ctx context.Context, opaSessionObj *cautils.OPASessionObj)
func (*PrometheusPrinter) Score ¶
func (p *PrometheusPrinter) Score(score float32)
Click to show internal directories.
Click to hide internal directories.