slsa

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PredicateType02 = attestation.PredicateType("https://slsa.dev/provenance/v0.2")
	PredicateType10 = attestation.PredicateType("https://slsa.dev/provenance/v1")
	PredicateType11 = attestation.PredicateType("https://slsa.dev/provenance/v1.1")
)

Functions

This section is empty.

Types

type ParserV02

type ParserV02 struct{}

Single version parsers

func NewParserV02

func NewParserV02() *ParserV02

func (*ParserV02) Parse

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

func (*ParserV02) SupportsType

func (*ParserV02) SupportsType(types ...attestation.PredicateType) bool

type ParserV10

type ParserV10 struct{}

Single version parsers

func NewParserV10

func NewParserV10() *ParserV10

func (*ParserV10) Parse

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

func (*ParserV10) SupportsType

func (*ParserV10) SupportsType(types ...attestation.PredicateType) bool

type ParserV11

type ParserV11 struct{}

Single version parsers

func NewParserV11

func NewParserV11() *ParserV11

func (*ParserV11) Parse

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

func (*ParserV11) SupportsType

func (*ParserV11) SupportsType(types ...attestation.PredicateType) bool

Directories

Path Synopsis
provenance
v02
v10
v11

Jump to

Keyboard shortcuts

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