v02

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(builderID string, payload []byte) (iface.Provenance, error)

New returns a new Provenance for the given json payload.

Types

type Attestation added in v2.4.0

type Attestation struct {
	intoto.StatementHeader
	Predicate slsa02.ProvenancePredicate `json:"predicate"`
}

Attestation is a SLSA v0.2 in-toto attestation statement.

type ProvenanceV02

type ProvenanceV02 interface {
	Predicate() slsa02.ProvenancePredicate
}

ProvenanceV02 represents v0.2 provenance.

Jump to

Keyboard shortcuts

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