
Because of a side-effect import, we have the possibility of pulling in several unnecessary packages that are used by the plugin and not at runtime to implement protobuf structures. Setting these imports to `weak` prevents this from happening, reducing the total import set, reducing memory usage and binary size. Signed-off-by: Stephen J Day <stephen.day@docker.com>
43 lines
853 B
Protocol Buffer
43 lines
853 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package containerd.linux.runc;
|
|
|
|
import weak "gogoproto/gogo.proto";
|
|
|
|
option go_package = "github.com/containerd/containerd/linux/runctypes;runctypes";
|
|
|
|
message RuncOptions {
|
|
string runtime = 1;
|
|
string runtime_root = 2;
|
|
string criu_path = 3;
|
|
bool systemd_cgroup = 4;
|
|
}
|
|
|
|
message CreateOptions {
|
|
bool no_pivot_root = 1;
|
|
bool open_tcp = 2;
|
|
bool external_unix_sockets = 3;
|
|
bool terminal = 4;
|
|
bool file_locks = 5;
|
|
repeated string empty_namespaces = 6;
|
|
string cgroups_mode = 7;
|
|
bool no_new_keyring = 8;
|
|
string shim_cgroup = 9;
|
|
uint32 io_uid = 10;
|
|
uint32 io_gid = 11;
|
|
}
|
|
|
|
message CheckpointOptions {
|
|
bool exit = 1;
|
|
bool open_tcp = 2;
|
|
bool external_unix_sockets = 3;
|
|
bool terminal = 4;
|
|
bool file_locks = 5;
|
|
repeated string empty_namespaces = 6;
|
|
string cgroups_mode = 7;
|
|
}
|
|
|
|
message ProcessDetails {
|
|
string exec_id = 1;
|
|
}
|