Documentation ¶
Index ¶
- Constants
- type Link
- func (l *Link) Attest(ctx *attestation.AttestationContext) error
- func (l *Link) Export() bool
- func (l *Link) MarshalJSON() ([]byte, error)
- func (l *Link) Name() string
- func (l *Link) RunType() attestation.RunType
- func (l *Link) Schema() *jsonschema.Schema
- func (l *Link) Subjects() map[string]cryptoutil.DigestSet
- func (l *Link) Type() string
- func (l *Link) UnmarshalJSON(data []byte) error
- type Option
Constants ¶
View Source
const ( Name = "link" Type = "https://in-toto.io/attestation/link/v0.3" RunType = attestation.PostProductRunType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
func (*Link) Attest ¶
func (l *Link) Attest(ctx *attestation.AttestationContext) error
func (*Link) MarshalJSON ¶
func (*Link) RunType ¶
func (l *Link) RunType() attestation.RunType
func (*Link) Schema ¶
func (l *Link) Schema() *jsonschema.Schema
func (*Link) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.