Merge pull request #956 from ehazlett/events-service

Events Service
This commit is contained in:
Michael Crosby
2017-06-20 13:23:19 -07:00
committed by GitHub
50 changed files with 8284 additions and 69 deletions

View File

@@ -3,6 +3,8 @@ package plugin
import (
"context"
"fmt"
"github.com/containerd/containerd/events"
)
func NewContext(plugins map[PluginType][]interface{}) *InitContext {
@@ -15,6 +17,7 @@ type InitContext struct {
Root string
Context context.Context
Config interface{}
Emitter *events.Emitter
plugins map[PluginType][]interface{}
}