Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScorecardProcessor ¶
type ScorecardProcessor struct { }
ScorecardProcessor processes Scorecard documents. Currently only supports JSON Scorecard documents
func (*ScorecardProcessor) Unpack ¶
Unpack takes in the document and tries to unpack it if there is a valid decomposition of sub-documents.
Returns empty list and nil error if nothing to unpack Returns unpacked list and nil error if successfully unpacked
func (*ScorecardProcessor) ValidateSchema ¶
func (p *ScorecardProcessor) ValidateSchema(d *processor.Document) error
Click to show internal directories.
Click to hide internal directories.