github.com/demonoid81/containerd@v1.3.4/api/types/task/task.proto (about) 1 syntax = "proto3"; 2 3 package containerd.v1.types; 4 5 import weak "gogoproto/gogo.proto"; 6 import "google/protobuf/timestamp.proto"; 7 import "google/protobuf/any.proto"; 8 9 enum Status { 10 option (gogoproto.goproto_enum_prefix) = false; 11 option (gogoproto.enum_customname) = "Status"; 12 13 UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "StatusUnknown"]; 14 CREATED = 1 [(gogoproto.enumvalue_customname) = "StatusCreated"]; 15 RUNNING = 2 [(gogoproto.enumvalue_customname) = "StatusRunning"]; 16 STOPPED = 3 [(gogoproto.enumvalue_customname) = "StatusStopped"]; 17 PAUSED = 4 [(gogoproto.enumvalue_customname) = "StatusPaused"]; 18 PAUSING = 5 [(gogoproto.enumvalue_customname) = "StatusPausing"]; 19 } 20 21 message Process { 22 string container_id = 1; 23 string id = 2; 24 uint32 pid = 3; 25 Status status = 4; 26 string stdin = 5; 27 string stdout = 6; 28 string stderr = 7; 29 bool terminal = 8; 30 uint32 exit_status = 9; 31 google.protobuf.Timestamp exited_at = 10 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; 32 } 33 34 message ProcessInfo { 35 // PID is the process ID. 36 uint32 pid = 1; 37 // Info contains additional process information. 38 // 39 // Info varies by platform. 40 google.protobuf.Any info = 2; 41 }