Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ecs task lifecycle event #282

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
215 changes: 162 additions & 53 deletions contlcycle/contlcycle.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions proto/contlcycle/contlcycle.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ message Event {
oneof typedEvent {
ContainerEvent container = 2;
PodEvent pod = 3;
TaskEvent task = 4;
}
}

Expand Down Expand Up @@ -50,7 +51,15 @@ message PodEvent {
optional int64 exitTimestamp = 3; // exitTimestamp contains the exit timestamp of the pod
}

// TaskEvent contains task event metadata
message TaskEvent {
string taskARN = 1; // taskARN contains the task ARN
string source = 2; // source contains the task source
optional int64 exitTimestamp = 3; // exitTimestamp contains the exit timestamp of the task
}

enum ObjectKind {
Container = 0;
Pod = 1;
Task = 2;
}
Loading