Skip to content

Commit 4b77683

Browse files
committed
Add sandbox events protos
Signed-off-by: Maksym Pavlenko <[email protected]>
1 parent 23c8913 commit 4b77683

4 files changed

Lines changed: 482 additions & 31 deletions

File tree

api/events/sandbox.pb.go

Lines changed: 316 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/events/sandbox.proto

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
Copyright The containerd Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
syntax = "proto3";
18+
19+
package containerd.events;
20+
21+
import "google/protobuf/timestamp.proto";
22+
23+
option go_package = "github.com/containerd/containerd/api/events;events";
24+
25+
message SandboxCreate {
26+
string sandbox_id = 1;
27+
}
28+
29+
message SandboxStart {
30+
string sandbox_id = 1;
31+
}
32+
33+
message SandboxExit {
34+
string sandbox_id = 1;
35+
uint32 exit_status = 2;
36+
google.protobuf.Timestamp exited_at = 3;
37+
}

api/events/sandbox_fieldpath.pb.go

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)