Documentation ¶
Index ¶
- Constants
- func NewEntry() types.EntryImpl
- func NewEntryFromBytes(timestamp []byte) models.ProposedEntry
- type V001Entry
- func (v V001Entry) APIVersion() string
- func (v V001Entry) ArtifactHash() (string, error)
- func (v *V001Entry) Canonicalize(_ context.Context) ([]byte, error)
- func (v V001Entry) CreateFromArtifactProperties(_ context.Context, props types.ArtifactProperties) (models.ProposedEntry, error)
- func (v V001Entry) IndexKeys() ([]string, error)
- func (v V001Entry) Insertable() (bool, error)
- func (v *V001Entry) Unmarshal(pe models.ProposedEntry) error
- func (v V001Entry) Verifiers() ([]pki.PublicKey, error)
Constants ¶
View Source
const (
APIVERSION = "0.0.1"
)
Variables ¶
This section is empty.
Functions ¶
func NewEntryFromBytes ¶
func NewEntryFromBytes(timestamp []byte) models.ProposedEntry
Types ¶
type V001Entry ¶
type V001Entry struct { Rfc3161Obj models.Rfc3161V001Schema // contains filtered or unexported fields }
func (V001Entry) APIVersion ¶
func (V001Entry) ArtifactHash ¶
func (*V001Entry) Canonicalize ¶
func (V001Entry) CreateFromArtifactProperties ¶
func (v V001Entry) CreateFromArtifactProperties(_ context.Context, props types.ArtifactProperties) (models.ProposedEntry, error)
func (V001Entry) Insertable ¶
Click to show internal directories.
Click to hide internal directories.