Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Registry ¶
type Registry interface {
// Register registers a plugin factory with the given name.
Register(name string, factory Factory)
// Create creates a plugin instance using the factory associated with the given name.
Create(opt configv1.Option, log *log.Helper) (configv1.Plugin, error)
}
func NewRegistry ¶
func NewRegistry() Registry
Click to show internal directories.
Click to hide internal directories.