Documentation ¶
Index ¶
- func AddSLSATaskDescriptor(tr *objects.TaskRunObjectV1) (*slsa.ResourceDescriptor, error)
- func AddTektonTaskDescriptor(tr *objects.TaskRunObjectV1) (*slsa.ResourceDescriptor, error)
- func PipelineRun(ctx context.Context, pro *objects.PipelineRunObjectV1, ...) ([]slsa.ResourceDescriptor, error)
- func TaskRun(ctx context.Context, tro *objects.TaskRunObjectV1) ([]slsa.ResourceDescriptor, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSLSATaskDescriptor ¶
func AddSLSATaskDescriptor(tr *objects.TaskRunObjectV1) (*slsa.ResourceDescriptor, error)
resolved dependency content for the more generic slsa verifiers. just logs the name, uri and digest.
func AddTektonTaskDescriptor ¶
func AddTektonTaskDescriptor(tr *objects.TaskRunObjectV1) (*slsa.ResourceDescriptor, error)
the more verbose resolved dependency content. this adds the name, uri, digest and content if possible.
func PipelineRun ¶
func PipelineRun(ctx context.Context, pro *objects.PipelineRunObjectV1, slsaconfig *slsaconfig.SlsaConfig, addTasks addTaskDescriptorContent) ([]slsa.ResourceDescriptor, error)
PipelineRun constructs `predicate.resolvedDependencies` section by collecting all the artifacts that influence a pipeline run such as source code repo and step&sidecar base images.
func TaskRun ¶
func TaskRun(ctx context.Context, tro *objects.TaskRunObjectV1) ([]slsa.ResourceDescriptor, error)
TaskRun constructs `predicate.resolvedDependencies` section by collecting all the artifacts that influence a taskrun such as source code repo and step&sidecar base images.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.