scorecard

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL