Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAttestation ¶
func GenerateAttestation(ctx context.Context, pro *objects.PipelineRunObjectV1Beta1, slsaConfig *slsaconfig.SlsaConfig) (interface{}, error)
Types ¶
type BuildConfig ¶
type BuildConfig struct {
Tasks []TaskAttestation `json:"tasks"`
}
type TaskAttestation ¶
type TaskAttestation struct { Name string `json:"name,omitempty"` After []string `json:"after,omitempty"` Ref v1beta1.TaskRef `json:"ref,omitempty"` StartedOn time.Time `json:"startedOn,omitempty"` FinishedOn time.Time `json:"finishedOn,omitempty"` Status string `json:"status,omitempty"` Steps []attest.StepAttestation `json:"steps,omitempty"` Invocation slsa.ProvenanceInvocation `json:"invocation,omitempty"` Results []v1beta1.TaskRunResult `json:"results,omitempty"` }
Click to show internal directories.
Click to hide internal directories.