Merge pull request #909 from vburenin/diff-plugin

Make Diff/Apply plugable
This commit is contained in:
Michael Crosby
2017-06-05 11:04:34 -07:00
committed by GitHub
11 changed files with 249 additions and 143 deletions

View File

@@ -19,6 +19,7 @@ const (
GRPCPlugin
SnapshotPlugin
TaskMonitorPlugin
DiffPlugin
)
type Registration struct {
@@ -35,6 +36,7 @@ type InitContext struct {
Content content.Store
Meta *bolt.DB
Snapshotter snapshot.Snapshotter
Differ Differ
Config interface{}
Context context.Context
Monitor TaskMonitor