Documentation
¶
Index ¶
- Variables
- func AllOrDefault(registries []plugin.Registry) plugin.Registry
- func FilterErrors(registry plugin.Registry, filter func(error) bool) plugin.Registry
- func IgnoreNotFound(registry plugin.Registry) plugin.Registry
- func IsNotFound(err error) bool
- func List(ctx context.Context, options ...ListOption) (plugin.List, error)
- type Aggregate
- type ErrorFilter
- type Filtered
- type ListOption
- type ListOptions
- type LocalDirectory
Constants ¶
This section is empty.
Variables ¶
View Source
var BinPattern = regexp.MustCompile(`(.+2.+)|(ux-.+)`)
View Source
var Default plugin.Registry = Aggregate{UserConfig}
View Source
var UserConfig = IgnoreNotFound(LocalDirectory{ Path: config.PluginDir, })
Functions ¶
func FilterErrors ¶
func IsNotFound ¶
Types ¶
type ErrorFilter ¶
type ListOption ¶
type ListOption func(*ListOptions)
type ListOptions ¶
type ListOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.