Switch to github.com/containerd/plugin

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2023-10-31 21:44:03 -07:00
parent a72adffa65
commit 9db21401c4
86 changed files with 998 additions and 334 deletions

View File

@@ -51,8 +51,8 @@ func NewContext(ctx context.Context, plugins *Set, properties map[string]string)
}
}
// Get returns the first plugin by its type
func (i *InitContext) Get(t Type) (interface{}, error) {
// GetSingle returns the first plugin by its type
func (i *InitContext) GetSingle(t Type) (interface{}, error) {
return i.plugins.Get(t)
}