Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DigestSet ¶
DigestSet contains a set of digests. It is represented as a map from algorithm name to lowercase hex-encoded value.
type Invocation ¶
type Invocation struct {
Parameters []string `json:"parameters"`
// This would be nil for an "inline task", a URI for the Task definition itself
// if it was created in-cluster, or an OCI uri if it came from OCI
// Something else if it came from a pipeline
RecipeURI string `json:"recipe_uri"`
EventID string `json:"event_id"`
ID string `json:"builder.id"`
}
Invocation describes how the Taskrun was created
type ProvenanceMaterial ¶
type ProvenanceMaterial struct {
URI string `json:"uri"`
Digest DigestSet `json:"digest,omitempty"`
}
ProvenanceMaterial defines the materials used to build an artifact.
type ProvenanceMetadata ¶
type ProvenanceMetadata struct {
// Use pointer to make sure that the abscense of a time is not
// encoded as the Epoch time.
BuildStartedOn *time.Time `json:"buildStartedOn,omitempty"`
BuildFinishedOn *time.Time `json:"buildFinishedOn,omitempty"`
// removed: Completeness
Reproducible bool `json:"reproducible,omitempty"`
}
ProvenanceMetadata contains metadata for the built artifact.
type ProvenancePredicate ¶
type ProvenancePredicate struct {
// removed: ProvenanceBuilder
Invocation Invocation `json:"invocation"`
Recipe ProvenanceRecipe `json:"recipe"`
Metadata ProvenanceMetadata `json:"metadata"`
Materials []ProvenanceMaterial `json:"materials,omitempty"`
}
ProvenancePredicate is the provenance predicate definition.
type ProvenanceRecipe ¶
type ProvenanceRecipe struct {
Steps []RecipeStep `json:"steps,omitempty"`
}
ProvenanceRecipe describes the actions performed by the builder.
type RecipeStep ¶
Click to show internal directories.
Click to hide internal directories.