api: introduce api/{types,services} for deduplication of API definition
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
6527a57d7b
commit
bf8abef70f
37 changed files with 2179 additions and 1753 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/docker/containerd"
|
||||
apishim "github.com/docker/containerd/api/shim"
|
||||
shimapi "github.com/docker/containerd/api/services/shim"
|
||||
"github.com/docker/containerd/shim"
|
||||
"github.com/docker/containerd/sys"
|
||||
"github.com/docker/containerd/utils"
|
||||
|
@ -57,7 +57,7 @@ func main() {
|
|||
sv = shim.New()
|
||||
)
|
||||
logrus.Debug("registering grpc server")
|
||||
apishim.RegisterShimServer(server, sv)
|
||||
shimapi.RegisterShimServer(server, sv)
|
||||
if err := serve(server, "shim.sock"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue