provenance

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FileTypes = []string{
	"binary",
}

FileTypes ist a list of file types that we will automatically generate a provenance for when seen

View Source
var Workflow string
View Source
var WorkflowSource string

Functions

func GenerateInTotoPredicate

func GenerateInTotoPredicate(fileName string, hash string, env map[string]string, state *state.ActionStateContext) intoto.Statement

GenerateInTotoPredicate generates an in-toto statement with a SLSA-Predicate

func GeneratePredicate

func GeneratePredicate(env map[string]string, state *state.ActionStateContext) v1.ProvenancePredicate

Types

This section is empty.

Jump to

Keyboard shortcuts

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