Versions in this module Expand all Collapse all v1 v1.4.15 Oct 19, 2026 Changes in this version type ServiceSource + Override bool + Reset bool v1.4.14 Oct 12, 2026 Changes in this version + const Absent + const CLIPattern + const ChecksumPattern + const FileName + const Header + const KeyPattern + const KindBundle + const KindCLI + const KindImage + const KindPlugin + const MaxBytes + const MirrorHeader + const PinnedPattern + const SchemaVersion + const TierFree + const TierLicensed + const Trailer + const UnpinnedPattern + var ErrNotFound = errors.New("lock: no nself.lock.yaml in this project") + var Tiers = []string + func CLIMinor(v string) string + func ComposeImages(data []byte) (map[string]string, error) + func ComposeSources(data []byte) (services map[string]ServiceSource, include, multiDoc bool, err error) + func MergeImages(files []SourceFile, owned func(service string) bool, forCompare bool) (merged map[string]string, unverifiable []string, err error) + func Path(dir string) string + func Pin(refs map[string]string, r Resolver) (images, unpinned map[string]string) + func PruneMirror(data []byte, rendered map[string]string) (out []byte, dropped []string, err error) + func RefDigest(ref string) string + type Lock struct + Bundles []string + CLI string + Images map[string]string + Plugins map[string]PluginPin + SchemaVersion int + Unpinned map[string]string + func Load(dir string) (*Lock, error) + func New() Lock + func Parse(data []byte) (Lock, error) + func (l *Lock) Pins() map[string]string + func (l *Lock) PluginVersion(slug string) (string, bool) + func (l Lock) Marshal() ([]byte, error) + func (l Lock) Validate() error + type Merged struct + Images map[string]string + Services []string + Unverifiable []string + func MergeDetailed(files []SourceFile, owned func(service string) bool, forCompare bool) (Merged, error) + type Mismatch struct + Actual string + Kind string + Locked string + Name string + func Compare(locked, actual Lock) []Mismatch + func CompareStrict(locked, actual Lock) []Mismatch + func (m Mismatch) String() string + type PluginPin struct + SHA256 string + Tier string + Version string + type Resolver struct + CLILocked func(ref string) (string, bool) + LocalDigest func(ref string) string + type ServiceSource struct + Build bool + Extends bool + Image string + type SourceFile struct + Data []byte + Mirror bool + Name string + func LoadSources(workdir string, base []byte, paths []string, mirror string) ([]SourceFile, error)