taskrun

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByProducts

func ByProducts(tro *objects.TaskRunObjectV1) ([]*intoto.ResourceDescriptor, error)

ByProducts returns the results categorized as byproduct from the given TaskRun.

func GenerateAttestation

func GenerateAttestation(ctx context.Context, tro *objects.TaskRunObjectV1, slsaConfig *slsaconfig.SlsaConfig) (interface{}, error)

GenerateAttestation returns the provenance for the given taskrun in SALSA 1.0 format.

func SubjectDigests

func SubjectDigests(ctx context.Context, tro *objects.TaskRunObjectV1) []*intoto.ResourceDescriptor

SubjectDigests returns the subjects detected in the given TaskRun. It takes into account taskrun and step results.

Types

This section is empty.

Jump to

Keyboard shortcuts

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