spdx

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PredicateType = attestation.PredicateType("https://spdx.dev/Document")

Functions

This section is empty.

Types

type Parser

type Parser struct{}

func New

func New() *Parser

func (*Parser) Parse

func (p *Parser) Parse(data []byte) (attestation.Predicate, error)

Parse generates a generic JSON predicate object from any JSON it gets.

func (*Parser) SupportsType

func (p *Parser) SupportsType(predTypes ...attestation.PredicateType) bool

Jump to

Keyboard shortcuts

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