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:
		| @@ -22,12 +22,13 @@ import ( | ||||
| 	"github.com/containerd/containerd/pkg/imageverifier/bindir" | ||||
| 	"github.com/containerd/containerd/pkg/tomlext" | ||||
| 	"github.com/containerd/containerd/plugin" | ||||
| 	"github.com/containerd/containerd/plugins" | ||||
| ) | ||||
|  | ||||
| // Register default image verifier service plugin | ||||
| func init() { | ||||
| 	plugin.Register(&plugin.Registration{ | ||||
| 		Type:   plugin.ImageVerifierPlugin, | ||||
| 		Type:   plugins.ImageVerifierPlugin, | ||||
| 		ID:     "bindir", | ||||
| 		Config: defaultConfig(), | ||||
| 		InitFn: func(ic *plugin.InitContext) (interface{}, error) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Derek McGowan
					Derek McGowan