plugingetter
packageThis package is not in the latest version of its module.
Details
Valid go.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
const (// Lookup doesn't update RefCountLookup = 0// Acquire increments RefCountAcquire = 1// Release decrements RefCountRelease = -1)
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeCompatPlugin¶
type CompatPlugin interface {Name()stringScopedPath(string)stringIsV1()boolPluginWithV1Client}CompatPlugin is an abstraction to handle both v2(new) and v1(legacy) plugins.
typeCountedPlugin¶
type CountedPlugin interface {Acquire()Release()CompatPlugin}CountedPlugin is a plugin which is reference counted.
typePluginAddr¶
PluginAddr is a plugin that exposes the socket address for creating custom clients rather than the built-in `*plugins.Client`
typePluginGetter¶
type PluginGetter interface {Get(name, capabilitystring, modeint) (CompatPlugin,error)GetAllByCap(capabilitystring) ([]CompatPlugin,error)GetAllManagedPluginsByCap(capabilitystring) []CompatPluginHandle(capabilitystring, callback func(string, *plugins.Client))}PluginGetter is the interface implemented by Store
typePluginWithV1Client¶
PluginWithV1Client is a plugin that directly utilizes the v1/http plugin client