Use Any instead of []byte

This allows us to get the fully TypeURL for consuming code.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-06-29 15:06:59 -07:00
parent 82d0208aaa
commit 72831b6985
5 changed files with 22 additions and 37 deletions

View File

@@ -5,6 +5,7 @@ import (
"time"
"github.com/containerd/containerd/mount"
"github.com/gogo/protobuf/types"
)
type IO struct {
@@ -24,7 +25,7 @@ type CreateOpts struct {
// Checkpoint digest to restore container state
Checkpoint string
// Options for the runtime and container
Options []byte
Options *types.Any
}
type Exit struct {