pipelinerun

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// JSONMediaType is the media type of json encoded content used in resource descriptors
	JSONMediaType = "application/json"
)

Variables

This section is empty.

Functions

func GenerateAttestation

func GenerateAttestation(ctx context.Context, pro *objects.PipelineRunObjectV1, slsaconfig *slsaconfig.SlsaConfig) (interface{}, error)

GenerateAttestation generates a provenance statement with SLSA v1.0 predicate for a pipeline run.

func SubjectDigests added in v0.21.1

func SubjectDigests(ctx context.Context, pro *objects.PipelineRunObjectV1, slsaconfig *slsaconfig.SlsaConfig) []*intoto.ResourceDescriptor

SubjectDigests calculates the subjects associated with the given PipelineRun.

Types

This section is empty.

Jump to

Keyboard shortcuts

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