Versions in this module Expand all Collapse all v0 v0.2.0 Nov 22, 2026 v0.1.0 Sep 6, 2026 Changes in this version + const LockFormatVersion + type Catalog struct + func NewCatalog() *Catalog + func (catalog *Catalog) Exact(identity element.Identity) (element.Descriptor, bool) + func (catalog *Catalog) Latest(name string) (element.Descriptor, bool) + func (catalog *Catalog) Names() []string + func (catalog *Catalog) Register(descriptor element.Descriptor) error + func (catalog *Catalog) Revision(name string, revision uint64) (element.Descriptor, bool) + type Entry struct + Identity element.Identity + Reference string + type Lock struct + Entries []Entry + FormatVersion uint64 + func NewLock() Lock + func ParseLock(source []byte) (Lock, error) + func (lock Lock) Canonical() (Lock, error) + func (lock Lock) Equal(other Lock) bool + func (lock Lock) Lookup(reference string) (element.Identity, bool) + func (lock Lock) Marshal() ([]byte, error) + func (lock Lock) Validate() error + type Mode uint8 + const Locked + const Update + type Result struct + Descriptors map[string]element.Descriptor + Lock Lock + func Resolve(catalog *Catalog, references []string, lock Lock, mode Mode) (Result, error)