@@ -2,20 +2,20 @@ package oci;
22
33// LinuxStateDirectory holds the container's state information
44message DefaultState {
5- // TODO(vbatts) not as elegant in some ways, but there is not a concept of const here
6- optional string Directory = 1 [default = "/run/opencontainer/containers" ];
5+ // TODO(vbatts) not as elegant in some ways, but there is not a concept of const here
6+ optional string Directory = 1 [default = "/run/opencontainer/containers" ];
77}
88
99// LinuxRuntime hosts the Linux-only runtime information
1010message LinuxRuntime {
1111 // UIDMapping specifies user mappings for supporting user namespaces on linux.
12- repeated IDMapping UIDMapping = 1 ;
12+ repeated IDMapping UIDMapping = 1 ;
1313 // GIDMapping specifies group mappings for supporting user namespaces on linux.
14- repeated IDMapping GIDMapping = 2 ;
14+ repeated IDMapping GIDMapping = 2 ;
1515 // Rlimits specifies rlimit options to apply to the container's process.
16- repeated Rlimit Rlimits = 3 ;
16+ repeated Rlimit Rlimits = 3 ;
1717 // Sysctl are a set of key value pairs that are set for the container on start
18- repeated StringStringEntry Sysctl = 4 ;
18+ repeated StringStringEntry Sysctl = 4 ;
1919 // Resources contain cgroup information for handling resource constraints
2020 // for the container
2121 optional Resources Resources = 5 ;
@@ -40,11 +40,11 @@ message LinuxRuntime {
4040// IDMapping specifies UID/GID mappings
4141message IDMapping {
4242 // HostID is the UID/GID of the host user or group
43- optional int32 HostID = 1 ;
43+ optional int32 HostID = 1 ;
4444 // ContainerID is the UID/GID of the container's user or group
45- optional int32 ContainerID = 2 ;
45+ optional int32 ContainerID = 2 ;
4646 // Size is the length of the range of IDs mapped between the two namespaces
47- optional int32 Size = 3 ;
47+ optional int32 Size = 3 ;
4848}
4949
5050// Rlimit type and restrictions
@@ -59,8 +59,8 @@ message Rlimit {
5959
6060// StringStringEntry is more backwards compatible protobuf associative map (than map<string, Mount>)
6161message StringStringEntry {
62- required string key = 1 ;
63- required string value = 2 ;
62+ required string key = 1 ;
63+ required string value = 2 ;
6464}
6565
6666// Resources has container runtime resource constraints
@@ -171,7 +171,7 @@ message Device {
171171 // Path to the device.
172172 optional string Path = 1 ;
173173 // Device type, block, char, etc.
174- // TODO(vbatts) ensure int32 is fine here, instead of golang's rune
174+ // TODO(vbatts) ensure int32 is fine here, instead of golang's rune
175175 optional int32 Type = 2 ;
176176 // Major is the device's major number.
177177 optional int64 Major = 3 ;
@@ -180,7 +180,7 @@ message Device {
180180 // Cgroup permissions format, rwm.
181181 optional string Permissions = 5 ;
182182 // FileMode permission bits for the device.
183- // TODO(vbatts) os.FileMode is an octal uint32
183+ // TODO(vbatts) os.FileMode is an octal uint32
184184 optional uint32 FileMode = 6 ;
185185 // UID of the device.
186186 optional uint32 UID = 7 ;
@@ -190,7 +190,7 @@ message Device {
190190
191191// Seccomp represents syscall restrictions
192192message Seccomp {
193- // TODO(vbatts) string instead of "Action" type
193+ // TODO(vbatts) string instead of "Action" type
194194 optional string DefaultAction = 1 ;
195195 repeated Syscall Syscalls = 2 ;
196196}
@@ -207,7 +207,7 @@ message Arg {
207207 optional uint32 Index = 1 ;
208208 optional uint64 Value = 2 ;
209209 optional uint64 ValueTwo = 3 ;
210- // Op is the operator string
210+ // Op is the operator string
211211 optional string Op = 4 ;
212212}
213213
0 commit comments