Move plugin type definitions to containerd plugins package

The plugins packages defines the plugins used by containerd.
Move all the types and properties to this package.

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2023-10-12 15:31:45 -07:00
parent cb969085f5
commit a80606bc2d
74 changed files with 429 additions and 314 deletions

View File

@@ -31,7 +31,7 @@ import (
"github.com/containerd/containerd"
"github.com/containerd/containerd/integration/remote"
"github.com/containerd/containerd/namespaces"
"github.com/containerd/containerd/plugin"
"github.com/containerd/containerd/plugins"
"github.com/containerd/log"
metrics "github.com/docker/go-metrics"
"github.com/urfave/cli"
@@ -167,7 +167,7 @@ func main() {
cli.StringFlag{
Name: "runtime",
Usage: "Set the runtime to stress test",
Value: plugin.RuntimeRuncV2,
Value: plugins.RuntimeRuncV2,
},
cli.StringFlag{
Name: "snapshotter",