provenance

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertV02ToV1

func ConvertV02ToV1(v02Prov v02.ProvenancePredicate, override *v1.ProvenancePredicate) v1.ProvenancePredicate

Types

type ArchProvenance

type ArchProvenance struct {
	SLSA v02.ProvenancePredicate `json:"SLSA,omitempty"`
}

type ArchProvenanceV1

type ArchProvenanceV1 struct {
	SLSA v1.ProvenancePredicate `json:"SLSA,omitempty"`
}

type BuildKitProvenance02

type BuildKitProvenance02 struct {
	LinuxAmd64 *ArchProvenance          `json:"linux/amd64,omitempty"`
	LinuxArm64 *ArchProvenance          `json:"linux/arm64,omitempty"`
	SLSA       *v02.ProvenancePredicate `json:"SLSA,omitempty"`
}

type InternalParameters

type InternalParameters struct {
	Platform      string `json:"platform,omitempty"`
	Trigger       string `json:"trigger,omitempty"`
	InvocationUri string `json:"invocationUri,omitempty"`
}

type SLSAV1Provenance

type SLSAV1Provenance struct {
	LinuxAmd64 *ArchProvenanceV1 `json:"linux/amd64,omitempty"`
	LinuxArm64 *ArchProvenanceV1 `json:"linux/arm64,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL