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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.