Documentation ¶
Index ¶
- Constants
- type Attestor
- func (a *Attestor) Attest(ctx *attestation.AttestationContext) error
- func (a *Attestor) MarshalJSON() ([]byte, error)
- func (a *Attestor) Materials() map[string]cryptoutil.DigestSet
- func (a *Attestor) Name() string
- func (a *Attestor) RunType() attestation.RunType
- func (a *Attestor) Schema() *jsonschema.Schema
- func (a *Attestor) Type() string
- func (a *Attestor) UnmarshalJSON(data []byte) error
- type MaterialAttestor
- type Option
Constants ¶
View Source
const ( Name = "material" Type = "https://witness.dev/attestations/material/v0.1" RunType = attestation.MaterialRunType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attestor ¶
type Attestor struct {
// contains filtered or unexported fields
}
func (*Attestor) Attest ¶
func (a *Attestor) Attest(ctx *attestation.AttestationContext) error
func (*Attestor) MarshalJSON ¶
func (*Attestor) RunType ¶
func (a *Attestor) RunType() attestation.RunType
func (*Attestor) Schema ¶ added in v0.4.0
func (a *Attestor) Schema() *jsonschema.Schema
func (*Attestor) UnmarshalJSON ¶
type MaterialAttestor ¶ added in v0.4.0
type MaterialAttestor interface { // Attestor Name() string Type() string RunType() attestation.RunType Attest(ctx *attestation.AttestationContext) error // Materialer Materials() map[string]cryptoutil.DigestSet }
Click to show internal directories.
Click to hide internal directories.