Documentation ¶
Index ¶
- Constants
- type Attestor
- func (a *Attestor) Attest(ctx *attestation.AttestationContext) error
- func (a *Attestor) MarshalJSON() ([]byte, error)
- func (a *Attestor) Name() string
- func (a *Attestor) Products() map[string]attestation.Product
- func (a *Attestor) RunType() attestation.RunType
- func (a *Attestor) Subjects() map[string]cryptoutil.DigestSet
- func (a *Attestor) Type() string
- func (a *Attestor) UnmarshalJSON(data []byte) error
- type Option
Constants ¶
View Source
const ( Name = "product" Type = "https://witness.dev/attestations/product/v0.1" RunType = attestation.ProductRunType )
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) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.