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.
Click to show internal directories.
Click to hide internal directories.