Versions in this module Expand all Collapse all v0 v0.1.0 Nov 2, 2026 Changes in this version + const AnnotationName + const AnnotationRequiresLfed + const ArtifactType + const DefaultRegistry + const LayerMediaType + const ManifestFile + const SourceOCI + const SourcePath + func BinaryName(name string) string + func CheckLfedVersion(requires, running string) error + func Complete(ctx context.Context, f *cmdutil.Factory, name string, args []string) error + func Dir() (string, error) + func Env(lfedVersion string, ctx contexts.Context, token string, mode output.Mode, ...) []string + func Exec(ctx context.Context, f *cmdutil.Factory, p Installed, args []string) error + func ExitCode(err error) int + func Remove(name string) error + func Run(ctx context.Context, f *cmdutil.Factory, name string, args []string) error + type ExitError struct + Code int + func (e *ExitError) Error() string + type IncompatibleError struct + Name string + Requires string + Running string + func (e *IncompatibleError) Error() string + type Installed struct + Binary string + Dir string + Manifest sdkplugin.Manifest + Source Source + func Install(ctx context.Context, f *cmdutil.Factory, arg string, opts Options) (Installed, error) + func List() ([]Installed, error) + func Lookup(name string) (Installed, error) + type NoReleaseError struct + Newest string + Ref string + Requires string + Running string + func (e *NoReleaseError) Error() string + type NotFoundError struct + Name string + Suggestions []string + func (e *NotFoundError) Error() string + type Options struct + Reserved []string + type Source struct + Path string + Ref string + Type string + Version string + func ParseSource(arg string) (Source, error) + func (s Source) Name() string + func (s Source) String() string + type UpgradeResult struct + From string + Name string + Note string + To string + Upgraded bool + func Upgrade(ctx context.Context, f *cmdutil.Factory, names []string, dryRun bool, ...) ([]UpgradeResult, error)