Documentation ¶
Index ¶
Constants ¶
View Source
const ( Name = "oci" Type = "https://witness.dev/attestations/oci/v0.1" RunType = attestation.PostProductRunType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attestor ¶
type Attestor struct { TarDigest cryptoutil.DigestSet `json:"tardigest"` Manifest []Manifest `json:"manifest"` ImageTags []string `json:"imagetags"` LayerDiffIDs []cryptoutil.DigestSet `json:"diffids"` ImageID cryptoutil.DigestSet `json:"imageid"` ManifestRaw []byte `json:"manifestraw"` ManifestDigest cryptoutil.DigestSet `json:"manifestdigest"` // contains filtered or unexported fields }
func (*Attestor) Attest ¶
func (a *Attestor) Attest(ctx *attestation.AttestationContext) error
func (*Attestor) RunType ¶
func (a *Attestor) RunType() attestation.RunType
func (*Attestor) Schema ¶ added in v0.4.0
func (a *Attestor) Schema() *jsonschema.Schema
type OCIAttestor ¶ added in v0.4.0
type OCIAttestor interface { // Attestor Name() string Type() string RunType() attestation.RunType Attest(ctx *attestation.AttestationContext) error // Subjector Subjects() map[string]cryptoutil.DigestSet }
Click to show internal directories.
Click to hide internal directories.