registry

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Default = Compact(Merge(
		EnvList("PATH"),
		CwdBin(),
		Cli("dummy"),
	))

	Empty plugin.Registry = aggregate{}
)

Functions

func Append added in v0.0.9

func Append(source plugin.Registry, elem ...plugin.Registry) plugin.Registry

func Cli added in v0.0.9

func Cli(path string) plugin.Registry

func Compact added in v0.0.9

func Compact(registry plugin.Registry) plugin.Registry

func CwdBin added in v0.0.2

func CwdBin() plugin.Registry

func EnvList added in v0.0.9

func EnvList(name string) plugin.Registry

func Errored added in v0.0.9

func Errored(err error) plugin.Registry

func GitHub added in v0.0.9

func GitHub(client *github.Client, owner, repo string) plugin.Registry

func ListSources added in v0.0.9

func ListSources(r plugin.Registry) iter.Seq[plugin.Source]

ListSources is an aesthetic wrapper around r.Sources()

func LocalDir added in v0.0.9

func LocalDir(dir string) plugin.Registry

func Merge added in v0.0.9

func Merge(registries ...plugin.Registry) plugin.Registry

func Must added in v0.0.9

func Must(registry plugin.Registry, err error) plugin.Registry

func Source added in v0.0.9

func Source(source plugin.Source) plugin.Registry

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL