registry

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Default = Compact(Aggregate(
		FromEnv("PATH"),
		CwdBin(),
		LocalFile("dummy"),
	))

	Empty plugin.Registry = aggregate{}
)

Functions

func Aggregate

func Aggregate(sources ...plugin.Registry) plugin.Registry

func Append added in v0.0.7

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

func Compact added in v0.0.7

func Compact(registry plugin.Registry) plugin.Registry

func CwdBin added in v0.0.2

func CwdBin() plugin.Registry

func Error added in v0.0.7

func Error(err error) plugin.Registry

func FromEnv added in v0.0.7

func FromEnv(name string) plugin.Registry

func GitHub added in v0.0.7

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

func ListSources added in v0.0.7

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

func LocalDir added in v0.0.7

func LocalDir(dir string) plugin.Registry

func LocalFile added in v0.0.7

func LocalFile(path string) plugin.Registry

func Must added in v0.0.7

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

func Singleton added in v0.0.7

func Singleton(source plugin.Source) plugin.Registry

func WithErr added in v0.0.7

func WithErr(registry plugin.Registry, err error) 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