Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAttestation ¶
func GenerateAttestation(ctx context.Context, tro *objects.TaskRunObject, slsaConfig *slsaconfig.SlsaConfig) (interface{}, error)
func Metadata ¶ added in v0.16.0
func Metadata(tro *objects.TaskRunObject) *slsa.ProvenanceMetadata
Metadata adds taskrun's start time, completion time and reproducibility labels to the metadata section of the generated provenance.
Types ¶
type BuildConfig ¶
type BuildConfig struct {
Steps []attest.StepAttestation `json:"steps"`
}
BuildConfig is the custom Chains format to fill out the "buildConfig" section of the slsa-provenance predicate
Click to show internal directories.
Click to hide internal directories.