Introduce dynamic plugins
go1.8 Plugin package brings a mechanism for dynamyc loading. StorageDriver or AccessController can be compiled as plugin and can be loaded at runtime. Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
This commit is contained in:
parent
beabc206e1
commit
9b1e893755
13 changed files with 214 additions and 10 deletions
|
@ -48,6 +48,9 @@ type Configuration struct {
|
|||
// deprecated. Please use Log.Level in the future.
|
||||
Loglevel Loglevel `yaml:"loglevel,omitempty"`
|
||||
|
||||
// Plugins is a path where plugins are expected to be found
|
||||
Plugins []string `yaml:"plugins,omitempty"`
|
||||
|
||||
// Storage is the configuration for the registry's storage driver
|
||||
Storage Storage `yaml:"storage"`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue