
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp> Signed-off-by: Stephen J Day <stephen.day@docker.com>
32 lines
669 B
Protocol Buffer
32 lines
669 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package containerd.services.events.v1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "google/protobuf/any.proto";
|
|
import "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto";
|
|
|
|
option go_package = "github.com/containerd/containerd/api/services/events/v1;events";
|
|
option (containerd.plugin.fieldpath_all) = true;
|
|
|
|
message ContainerCreate {
|
|
string id = 1;
|
|
string image = 2;
|
|
message Runtime {
|
|
string name = 1;
|
|
google.protobuf.Any options = 2;
|
|
}
|
|
Runtime runtime = 3;
|
|
}
|
|
|
|
message ContainerUpdate {
|
|
string id = 1;
|
|
string image = 2;
|
|
map<string, string> labels = 3;
|
|
string snapshot_key = 4;
|
|
}
|
|
|
|
message ContainerDelete {
|
|
string id = 1;
|
|
}
|