Merge pull request #1145 from crosbymichael/event-push

Implement Events Push via Service
This commit is contained in:
Kenfe-Mickaël Laventure
2017-07-11 08:53:26 +02:00
committed by GitHub
18 changed files with 383 additions and 142 deletions

View File

@@ -49,6 +49,10 @@ func main() {
Name: "socket,s",
Usage: "abstract socket path to serve on",
},
cli.StringFlag{
Name: "address,a",
Usage: "grpc address back to containerd",
},
}
app.Before = func(context *cli.Context) error {
if context.GlobalBool("debug") {
@@ -74,6 +78,7 @@ func main() {
sv, err := shim.NewService(
path,
context.GlobalString("namespace"),
context.GlobalString("address"),
)
if err != nil {
return err