Update plugin load and snapshot service

Allow plugins to be mapped and returned by their ID.
Add skip plugin to allow plugins to decide whether they should
be loaded.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan
2017-06-27 16:55:50 -07:00
parent 5b105f86ce
commit 3db8adc5d7
11 changed files with 82 additions and 47 deletions

View File

@@ -15,7 +15,5 @@ func defaultConfig() *server.Config {
Level: "info",
Address: "/run/containerd/debug.sock",
},
Snapshotter: "io.containerd.snapshotter.v1.overlayfs",
Differ: "io.containerd.differ.v1.base-diff",
}
}

View File

@@ -14,7 +14,5 @@ func defaultConfig() *server.Config {
Level: "info",
Address: "/run/containerd/debug.sock",
},
Snapshotter: "io.containerd.snapshotter.v1.naive",
Differ: "io.containerd.differ.v1.base-diff",
}
}

View File

@@ -17,7 +17,5 @@ func defaultConfig() *server.Config {
Level: "info",
Address: `\\.\pipe\containerd-debug`,
},
Snapshotter: "io.containerd.snapshotter.v1.windows",
Differ: "io.containerd.differ.v1.base-diff",
}
}