containers.pb.go 74 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119
  1. //
  2. // Copyright 2020 Docker, Inc.
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. // http://www.apache.org/licenses/LICENSE-2.0
  7. // Unless required by applicable law or agreed to in writing, software
  8. // distributed under the License is distributed on an "AS IS" BASIS,
  9. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. // See the License for the specific language governing permissions and
  11. // limitations under the License.
  12. // Code generated by protoc-gen-go. DO NOT EDIT.
  13. // versions:
  14. // protoc-gen-go v1.25.0
  15. // protoc v3.12.2
  16. // source: protos/containers/v1/containers.proto
  17. package v1
  18. import (
  19. context "context"
  20. proto "github.com/golang/protobuf/proto"
  21. grpc "google.golang.org/grpc"
  22. codes "google.golang.org/grpc/codes"
  23. status "google.golang.org/grpc/status"
  24. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  25. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  26. reflect "reflect"
  27. sync "sync"
  28. )
  29. const (
  30. // Verify that this generated code is sufficiently up-to-date.
  31. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  32. // Verify that runtime/protoimpl is sufficiently up-to-date.
  33. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  34. )
  35. // This is a compile-time assertion that a sufficiently up-to-date version
  36. // of the legacy proto package is being used.
  37. const _ = proto.ProtoPackageIsVersion4
  38. type Port struct {
  39. state protoimpl.MessageState
  40. sizeCache protoimpl.SizeCache
  41. unknownFields protoimpl.UnknownFields
  42. HostPort uint32 `protobuf:"varint,1,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`
  43. ContainerPort uint32 `protobuf:"varint,2,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
  44. Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
  45. HostIp string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
  46. }
  47. func (x *Port) Reset() {
  48. *x = Port{}
  49. if protoimpl.UnsafeEnabled {
  50. mi := &file_protos_containers_v1_containers_proto_msgTypes[0]
  51. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  52. ms.StoreMessageInfo(mi)
  53. }
  54. }
  55. func (x *Port) String() string {
  56. return protoimpl.X.MessageStringOf(x)
  57. }
  58. func (*Port) ProtoMessage() {}
  59. func (x *Port) ProtoReflect() protoreflect.Message {
  60. mi := &file_protos_containers_v1_containers_proto_msgTypes[0]
  61. if protoimpl.UnsafeEnabled && x != nil {
  62. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  63. if ms.LoadMessageInfo() == nil {
  64. ms.StoreMessageInfo(mi)
  65. }
  66. return ms
  67. }
  68. return mi.MessageOf(x)
  69. }
  70. // Deprecated: Use Port.ProtoReflect.Descriptor instead.
  71. func (*Port) Descriptor() ([]byte, []int) {
  72. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{0}
  73. }
  74. func (x *Port) GetHostPort() uint32 {
  75. if x != nil {
  76. return x.HostPort
  77. }
  78. return 0
  79. }
  80. func (x *Port) GetContainerPort() uint32 {
  81. if x != nil {
  82. return x.ContainerPort
  83. }
  84. return 0
  85. }
  86. func (x *Port) GetProtocol() string {
  87. if x != nil {
  88. return x.Protocol
  89. }
  90. return ""
  91. }
  92. func (x *Port) GetHostIp() string {
  93. if x != nil {
  94. return x.HostIp
  95. }
  96. return ""
  97. }
  98. type Container struct {
  99. state protoimpl.MessageState
  100. sizeCache protoimpl.SizeCache
  101. unknownFields protoimpl.UnknownFields
  102. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  103. Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
  104. Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
  105. Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"`
  106. CpuTime uint64 `protobuf:"varint,5,opt,name=cpu_time,json=cpuTime,proto3" json:"cpu_time,omitempty"`
  107. MemoryUsage uint64 `protobuf:"varint,6,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"`
  108. MemoryLimit uint64 `protobuf:"varint,7,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
  109. PidsCurrent uint64 `protobuf:"varint,8,opt,name=pids_current,json=pidsCurrent,proto3" json:"pids_current,omitempty"`
  110. PidsLimit uint64 `protobuf:"varint,9,opt,name=pids_limit,json=pidsLimit,proto3" json:"pids_limit,omitempty"`
  111. Labels []string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty"`
  112. Ports []*Port `protobuf:"bytes,11,rep,name=ports,proto3" json:"ports,omitempty"`
  113. CpuLimit uint64 `protobuf:"varint,12,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"`
  114. Platform string `protobuf:"bytes,13,opt,name=platform,proto3" json:"platform,omitempty"`
  115. RestartPolicyCondition string `protobuf:"bytes,14,opt,name=restart_policy_condition,json=restartPolicyCondition,proto3" json:"restart_policy_condition,omitempty"`
  116. }
  117. func (x *Container) Reset() {
  118. *x = Container{}
  119. if protoimpl.UnsafeEnabled {
  120. mi := &file_protos_containers_v1_containers_proto_msgTypes[1]
  121. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  122. ms.StoreMessageInfo(mi)
  123. }
  124. }
  125. func (x *Container) String() string {
  126. return protoimpl.X.MessageStringOf(x)
  127. }
  128. func (*Container) ProtoMessage() {}
  129. func (x *Container) ProtoReflect() protoreflect.Message {
  130. mi := &file_protos_containers_v1_containers_proto_msgTypes[1]
  131. if protoimpl.UnsafeEnabled && x != nil {
  132. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  133. if ms.LoadMessageInfo() == nil {
  134. ms.StoreMessageInfo(mi)
  135. }
  136. return ms
  137. }
  138. return mi.MessageOf(x)
  139. }
  140. // Deprecated: Use Container.ProtoReflect.Descriptor instead.
  141. func (*Container) Descriptor() ([]byte, []int) {
  142. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{1}
  143. }
  144. func (x *Container) GetId() string {
  145. if x != nil {
  146. return x.Id
  147. }
  148. return ""
  149. }
  150. func (x *Container) GetImage() string {
  151. if x != nil {
  152. return x.Image
  153. }
  154. return ""
  155. }
  156. func (x *Container) GetStatus() string {
  157. if x != nil {
  158. return x.Status
  159. }
  160. return ""
  161. }
  162. func (x *Container) GetCommand() string {
  163. if x != nil {
  164. return x.Command
  165. }
  166. return ""
  167. }
  168. func (x *Container) GetCpuTime() uint64 {
  169. if x != nil {
  170. return x.CpuTime
  171. }
  172. return 0
  173. }
  174. func (x *Container) GetMemoryUsage() uint64 {
  175. if x != nil {
  176. return x.MemoryUsage
  177. }
  178. return 0
  179. }
  180. func (x *Container) GetMemoryLimit() uint64 {
  181. if x != nil {
  182. return x.MemoryLimit
  183. }
  184. return 0
  185. }
  186. func (x *Container) GetPidsCurrent() uint64 {
  187. if x != nil {
  188. return x.PidsCurrent
  189. }
  190. return 0
  191. }
  192. func (x *Container) GetPidsLimit() uint64 {
  193. if x != nil {
  194. return x.PidsLimit
  195. }
  196. return 0
  197. }
  198. func (x *Container) GetLabels() []string {
  199. if x != nil {
  200. return x.Labels
  201. }
  202. return nil
  203. }
  204. func (x *Container) GetPorts() []*Port {
  205. if x != nil {
  206. return x.Ports
  207. }
  208. return nil
  209. }
  210. func (x *Container) GetCpuLimit() uint64 {
  211. if x != nil {
  212. return x.CpuLimit
  213. }
  214. return 0
  215. }
  216. func (x *Container) GetPlatform() string {
  217. if x != nil {
  218. return x.Platform
  219. }
  220. return ""
  221. }
  222. func (x *Container) GetRestartPolicyCondition() string {
  223. if x != nil {
  224. return x.RestartPolicyCondition
  225. }
  226. return ""
  227. }
  228. type InspectRequest struct {
  229. state protoimpl.MessageState
  230. sizeCache protoimpl.SizeCache
  231. unknownFields protoimpl.UnknownFields
  232. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  233. }
  234. func (x *InspectRequest) Reset() {
  235. *x = InspectRequest{}
  236. if protoimpl.UnsafeEnabled {
  237. mi := &file_protos_containers_v1_containers_proto_msgTypes[2]
  238. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  239. ms.StoreMessageInfo(mi)
  240. }
  241. }
  242. func (x *InspectRequest) String() string {
  243. return protoimpl.X.MessageStringOf(x)
  244. }
  245. func (*InspectRequest) ProtoMessage() {}
  246. func (x *InspectRequest) ProtoReflect() protoreflect.Message {
  247. mi := &file_protos_containers_v1_containers_proto_msgTypes[2]
  248. if protoimpl.UnsafeEnabled && x != nil {
  249. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  250. if ms.LoadMessageInfo() == nil {
  251. ms.StoreMessageInfo(mi)
  252. }
  253. return ms
  254. }
  255. return mi.MessageOf(x)
  256. }
  257. // Deprecated: Use InspectRequest.ProtoReflect.Descriptor instead.
  258. func (*InspectRequest) Descriptor() ([]byte, []int) {
  259. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{2}
  260. }
  261. func (x *InspectRequest) GetId() string {
  262. if x != nil {
  263. return x.Id
  264. }
  265. return ""
  266. }
  267. type InspectResponse struct {
  268. state protoimpl.MessageState
  269. sizeCache protoimpl.SizeCache
  270. unknownFields protoimpl.UnknownFields
  271. Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
  272. }
  273. func (x *InspectResponse) Reset() {
  274. *x = InspectResponse{}
  275. if protoimpl.UnsafeEnabled {
  276. mi := &file_protos_containers_v1_containers_proto_msgTypes[3]
  277. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  278. ms.StoreMessageInfo(mi)
  279. }
  280. }
  281. func (x *InspectResponse) String() string {
  282. return protoimpl.X.MessageStringOf(x)
  283. }
  284. func (*InspectResponse) ProtoMessage() {}
  285. func (x *InspectResponse) ProtoReflect() protoreflect.Message {
  286. mi := &file_protos_containers_v1_containers_proto_msgTypes[3]
  287. if protoimpl.UnsafeEnabled && x != nil {
  288. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  289. if ms.LoadMessageInfo() == nil {
  290. ms.StoreMessageInfo(mi)
  291. }
  292. return ms
  293. }
  294. return mi.MessageOf(x)
  295. }
  296. // Deprecated: Use InspectResponse.ProtoReflect.Descriptor instead.
  297. func (*InspectResponse) Descriptor() ([]byte, []int) {
  298. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{3}
  299. }
  300. func (x *InspectResponse) GetContainer() *Container {
  301. if x != nil {
  302. return x.Container
  303. }
  304. return nil
  305. }
  306. type DeleteRequest struct {
  307. state protoimpl.MessageState
  308. sizeCache protoimpl.SizeCache
  309. unknownFields protoimpl.UnknownFields
  310. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  311. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
  312. }
  313. func (x *DeleteRequest) Reset() {
  314. *x = DeleteRequest{}
  315. if protoimpl.UnsafeEnabled {
  316. mi := &file_protos_containers_v1_containers_proto_msgTypes[4]
  317. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  318. ms.StoreMessageInfo(mi)
  319. }
  320. }
  321. func (x *DeleteRequest) String() string {
  322. return protoimpl.X.MessageStringOf(x)
  323. }
  324. func (*DeleteRequest) ProtoMessage() {}
  325. func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
  326. mi := &file_protos_containers_v1_containers_proto_msgTypes[4]
  327. if protoimpl.UnsafeEnabled && x != nil {
  328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  329. if ms.LoadMessageInfo() == nil {
  330. ms.StoreMessageInfo(mi)
  331. }
  332. return ms
  333. }
  334. return mi.MessageOf(x)
  335. }
  336. // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
  337. func (*DeleteRequest) Descriptor() ([]byte, []int) {
  338. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{4}
  339. }
  340. func (x *DeleteRequest) GetId() string {
  341. if x != nil {
  342. return x.Id
  343. }
  344. return ""
  345. }
  346. func (x *DeleteRequest) GetForce() bool {
  347. if x != nil {
  348. return x.Force
  349. }
  350. return false
  351. }
  352. type DeleteResponse struct {
  353. state protoimpl.MessageState
  354. sizeCache protoimpl.SizeCache
  355. unknownFields protoimpl.UnknownFields
  356. }
  357. func (x *DeleteResponse) Reset() {
  358. *x = DeleteResponse{}
  359. if protoimpl.UnsafeEnabled {
  360. mi := &file_protos_containers_v1_containers_proto_msgTypes[5]
  361. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  362. ms.StoreMessageInfo(mi)
  363. }
  364. }
  365. func (x *DeleteResponse) String() string {
  366. return protoimpl.X.MessageStringOf(x)
  367. }
  368. func (*DeleteResponse) ProtoMessage() {}
  369. func (x *DeleteResponse) ProtoReflect() protoreflect.Message {
  370. mi := &file_protos_containers_v1_containers_proto_msgTypes[5]
  371. if protoimpl.UnsafeEnabled && x != nil {
  372. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  373. if ms.LoadMessageInfo() == nil {
  374. ms.StoreMessageInfo(mi)
  375. }
  376. return ms
  377. }
  378. return mi.MessageOf(x)
  379. }
  380. // Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
  381. func (*DeleteResponse) Descriptor() ([]byte, []int) {
  382. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{5}
  383. }
  384. type StartRequest struct {
  385. state protoimpl.MessageState
  386. sizeCache protoimpl.SizeCache
  387. unknownFields protoimpl.UnknownFields
  388. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  389. }
  390. func (x *StartRequest) Reset() {
  391. *x = StartRequest{}
  392. if protoimpl.UnsafeEnabled {
  393. mi := &file_protos_containers_v1_containers_proto_msgTypes[6]
  394. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  395. ms.StoreMessageInfo(mi)
  396. }
  397. }
  398. func (x *StartRequest) String() string {
  399. return protoimpl.X.MessageStringOf(x)
  400. }
  401. func (*StartRequest) ProtoMessage() {}
  402. func (x *StartRequest) ProtoReflect() protoreflect.Message {
  403. mi := &file_protos_containers_v1_containers_proto_msgTypes[6]
  404. if protoimpl.UnsafeEnabled && x != nil {
  405. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  406. if ms.LoadMessageInfo() == nil {
  407. ms.StoreMessageInfo(mi)
  408. }
  409. return ms
  410. }
  411. return mi.MessageOf(x)
  412. }
  413. // Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
  414. func (*StartRequest) Descriptor() ([]byte, []int) {
  415. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{6}
  416. }
  417. func (x *StartRequest) GetId() string {
  418. if x != nil {
  419. return x.Id
  420. }
  421. return ""
  422. }
  423. type StartResponse struct {
  424. state protoimpl.MessageState
  425. sizeCache protoimpl.SizeCache
  426. unknownFields protoimpl.UnknownFields
  427. }
  428. func (x *StartResponse) Reset() {
  429. *x = StartResponse{}
  430. if protoimpl.UnsafeEnabled {
  431. mi := &file_protos_containers_v1_containers_proto_msgTypes[7]
  432. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  433. ms.StoreMessageInfo(mi)
  434. }
  435. }
  436. func (x *StartResponse) String() string {
  437. return protoimpl.X.MessageStringOf(x)
  438. }
  439. func (*StartResponse) ProtoMessage() {}
  440. func (x *StartResponse) ProtoReflect() protoreflect.Message {
  441. mi := &file_protos_containers_v1_containers_proto_msgTypes[7]
  442. if protoimpl.UnsafeEnabled && x != nil {
  443. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  444. if ms.LoadMessageInfo() == nil {
  445. ms.StoreMessageInfo(mi)
  446. }
  447. return ms
  448. }
  449. return mi.MessageOf(x)
  450. }
  451. // Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.
  452. func (*StartResponse) Descriptor() ([]byte, []int) {
  453. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{7}
  454. }
  455. type StopRequest struct {
  456. state protoimpl.MessageState
  457. sizeCache protoimpl.SizeCache
  458. unknownFields protoimpl.UnknownFields
  459. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  460. Timeout uint32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
  461. }
  462. func (x *StopRequest) Reset() {
  463. *x = StopRequest{}
  464. if protoimpl.UnsafeEnabled {
  465. mi := &file_protos_containers_v1_containers_proto_msgTypes[8]
  466. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  467. ms.StoreMessageInfo(mi)
  468. }
  469. }
  470. func (x *StopRequest) String() string {
  471. return protoimpl.X.MessageStringOf(x)
  472. }
  473. func (*StopRequest) ProtoMessage() {}
  474. func (x *StopRequest) ProtoReflect() protoreflect.Message {
  475. mi := &file_protos_containers_v1_containers_proto_msgTypes[8]
  476. if protoimpl.UnsafeEnabled && x != nil {
  477. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  478. if ms.LoadMessageInfo() == nil {
  479. ms.StoreMessageInfo(mi)
  480. }
  481. return ms
  482. }
  483. return mi.MessageOf(x)
  484. }
  485. // Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
  486. func (*StopRequest) Descriptor() ([]byte, []int) {
  487. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{8}
  488. }
  489. func (x *StopRequest) GetId() string {
  490. if x != nil {
  491. return x.Id
  492. }
  493. return ""
  494. }
  495. func (x *StopRequest) GetTimeout() uint32 {
  496. if x != nil {
  497. return x.Timeout
  498. }
  499. return 0
  500. }
  501. type StopResponse struct {
  502. state protoimpl.MessageState
  503. sizeCache protoimpl.SizeCache
  504. unknownFields protoimpl.UnknownFields
  505. }
  506. func (x *StopResponse) Reset() {
  507. *x = StopResponse{}
  508. if protoimpl.UnsafeEnabled {
  509. mi := &file_protos_containers_v1_containers_proto_msgTypes[9]
  510. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  511. ms.StoreMessageInfo(mi)
  512. }
  513. }
  514. func (x *StopResponse) String() string {
  515. return protoimpl.X.MessageStringOf(x)
  516. }
  517. func (*StopResponse) ProtoMessage() {}
  518. func (x *StopResponse) ProtoReflect() protoreflect.Message {
  519. mi := &file_protos_containers_v1_containers_proto_msgTypes[9]
  520. if protoimpl.UnsafeEnabled && x != nil {
  521. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  522. if ms.LoadMessageInfo() == nil {
  523. ms.StoreMessageInfo(mi)
  524. }
  525. return ms
  526. }
  527. return mi.MessageOf(x)
  528. }
  529. // Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
  530. func (*StopResponse) Descriptor() ([]byte, []int) {
  531. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{9}
  532. }
  533. type KillRequest struct {
  534. state protoimpl.MessageState
  535. sizeCache protoimpl.SizeCache
  536. unknownFields protoimpl.UnknownFields
  537. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  538. Signal string `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"`
  539. }
  540. func (x *KillRequest) Reset() {
  541. *x = KillRequest{}
  542. if protoimpl.UnsafeEnabled {
  543. mi := &file_protos_containers_v1_containers_proto_msgTypes[10]
  544. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  545. ms.StoreMessageInfo(mi)
  546. }
  547. }
  548. func (x *KillRequest) String() string {
  549. return protoimpl.X.MessageStringOf(x)
  550. }
  551. func (*KillRequest) ProtoMessage() {}
  552. func (x *KillRequest) ProtoReflect() protoreflect.Message {
  553. mi := &file_protos_containers_v1_containers_proto_msgTypes[10]
  554. if protoimpl.UnsafeEnabled && x != nil {
  555. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  556. if ms.LoadMessageInfo() == nil {
  557. ms.StoreMessageInfo(mi)
  558. }
  559. return ms
  560. }
  561. return mi.MessageOf(x)
  562. }
  563. // Deprecated: Use KillRequest.ProtoReflect.Descriptor instead.
  564. func (*KillRequest) Descriptor() ([]byte, []int) {
  565. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{10}
  566. }
  567. func (x *KillRequest) GetId() string {
  568. if x != nil {
  569. return x.Id
  570. }
  571. return ""
  572. }
  573. func (x *KillRequest) GetSignal() string {
  574. if x != nil {
  575. return x.Signal
  576. }
  577. return ""
  578. }
  579. type KillResponse struct {
  580. state protoimpl.MessageState
  581. sizeCache protoimpl.SizeCache
  582. unknownFields protoimpl.UnknownFields
  583. }
  584. func (x *KillResponse) Reset() {
  585. *x = KillResponse{}
  586. if protoimpl.UnsafeEnabled {
  587. mi := &file_protos_containers_v1_containers_proto_msgTypes[11]
  588. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  589. ms.StoreMessageInfo(mi)
  590. }
  591. }
  592. func (x *KillResponse) String() string {
  593. return protoimpl.X.MessageStringOf(x)
  594. }
  595. func (*KillResponse) ProtoMessage() {}
  596. func (x *KillResponse) ProtoReflect() protoreflect.Message {
  597. mi := &file_protos_containers_v1_containers_proto_msgTypes[11]
  598. if protoimpl.UnsafeEnabled && x != nil {
  599. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  600. if ms.LoadMessageInfo() == nil {
  601. ms.StoreMessageInfo(mi)
  602. }
  603. return ms
  604. }
  605. return mi.MessageOf(x)
  606. }
  607. // Deprecated: Use KillResponse.ProtoReflect.Descriptor instead.
  608. func (*KillResponse) Descriptor() ([]byte, []int) {
  609. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{11}
  610. }
  611. type RunRequest struct {
  612. state protoimpl.MessageState
  613. sizeCache protoimpl.SizeCache
  614. unknownFields protoimpl.UnknownFields
  615. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  616. Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
  617. Ports []*Port `protobuf:"bytes,3,rep,name=ports,proto3" json:"ports,omitempty"`
  618. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  619. Volumes []string `protobuf:"bytes,5,rep,name=volumes,proto3" json:"volumes,omitempty"`
  620. MemoryLimit uint64 `protobuf:"varint,6,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
  621. CpuLimit uint64 `protobuf:"varint,7,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"`
  622. RestartPolicyCondition string `protobuf:"bytes,8,opt,name=restart_policy_condition,json=restartPolicyCondition,proto3" json:"restart_policy_condition,omitempty"`
  623. }
  624. func (x *RunRequest) Reset() {
  625. *x = RunRequest{}
  626. if protoimpl.UnsafeEnabled {
  627. mi := &file_protos_containers_v1_containers_proto_msgTypes[12]
  628. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  629. ms.StoreMessageInfo(mi)
  630. }
  631. }
  632. func (x *RunRequest) String() string {
  633. return protoimpl.X.MessageStringOf(x)
  634. }
  635. func (*RunRequest) ProtoMessage() {}
  636. func (x *RunRequest) ProtoReflect() protoreflect.Message {
  637. mi := &file_protos_containers_v1_containers_proto_msgTypes[12]
  638. if protoimpl.UnsafeEnabled && x != nil {
  639. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  640. if ms.LoadMessageInfo() == nil {
  641. ms.StoreMessageInfo(mi)
  642. }
  643. return ms
  644. }
  645. return mi.MessageOf(x)
  646. }
  647. // Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.
  648. func (*RunRequest) Descriptor() ([]byte, []int) {
  649. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{12}
  650. }
  651. func (x *RunRequest) GetId() string {
  652. if x != nil {
  653. return x.Id
  654. }
  655. return ""
  656. }
  657. func (x *RunRequest) GetImage() string {
  658. if x != nil {
  659. return x.Image
  660. }
  661. return ""
  662. }
  663. func (x *RunRequest) GetPorts() []*Port {
  664. if x != nil {
  665. return x.Ports
  666. }
  667. return nil
  668. }
  669. func (x *RunRequest) GetLabels() map[string]string {
  670. if x != nil {
  671. return x.Labels
  672. }
  673. return nil
  674. }
  675. func (x *RunRequest) GetVolumes() []string {
  676. if x != nil {
  677. return x.Volumes
  678. }
  679. return nil
  680. }
  681. func (x *RunRequest) GetMemoryLimit() uint64 {
  682. if x != nil {
  683. return x.MemoryLimit
  684. }
  685. return 0
  686. }
  687. func (x *RunRequest) GetCpuLimit() uint64 {
  688. if x != nil {
  689. return x.CpuLimit
  690. }
  691. return 0
  692. }
  693. func (x *RunRequest) GetRestartPolicyCondition() string {
  694. if x != nil {
  695. return x.RestartPolicyCondition
  696. }
  697. return ""
  698. }
  699. type RunResponse struct {
  700. state protoimpl.MessageState
  701. sizeCache protoimpl.SizeCache
  702. unknownFields protoimpl.UnknownFields
  703. }
  704. func (x *RunResponse) Reset() {
  705. *x = RunResponse{}
  706. if protoimpl.UnsafeEnabled {
  707. mi := &file_protos_containers_v1_containers_proto_msgTypes[13]
  708. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  709. ms.StoreMessageInfo(mi)
  710. }
  711. }
  712. func (x *RunResponse) String() string {
  713. return protoimpl.X.MessageStringOf(x)
  714. }
  715. func (*RunResponse) ProtoMessage() {}
  716. func (x *RunResponse) ProtoReflect() protoreflect.Message {
  717. mi := &file_protos_containers_v1_containers_proto_msgTypes[13]
  718. if protoimpl.UnsafeEnabled && x != nil {
  719. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  720. if ms.LoadMessageInfo() == nil {
  721. ms.StoreMessageInfo(mi)
  722. }
  723. return ms
  724. }
  725. return mi.MessageOf(x)
  726. }
  727. // Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.
  728. func (*RunResponse) Descriptor() ([]byte, []int) {
  729. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{13}
  730. }
  731. type ExecRequest struct {
  732. state protoimpl.MessageState
  733. sizeCache protoimpl.SizeCache
  734. unknownFields protoimpl.UnknownFields
  735. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  736. Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
  737. StreamId string `protobuf:"bytes,3,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
  738. Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
  739. Env []string `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"`
  740. Tty bool `protobuf:"varint,6,opt,name=tty,proto3" json:"tty,omitempty"`
  741. }
  742. func (x *ExecRequest) Reset() {
  743. *x = ExecRequest{}
  744. if protoimpl.UnsafeEnabled {
  745. mi := &file_protos_containers_v1_containers_proto_msgTypes[14]
  746. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  747. ms.StoreMessageInfo(mi)
  748. }
  749. }
  750. func (x *ExecRequest) String() string {
  751. return protoimpl.X.MessageStringOf(x)
  752. }
  753. func (*ExecRequest) ProtoMessage() {}
  754. func (x *ExecRequest) ProtoReflect() protoreflect.Message {
  755. mi := &file_protos_containers_v1_containers_proto_msgTypes[14]
  756. if protoimpl.UnsafeEnabled && x != nil {
  757. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  758. if ms.LoadMessageInfo() == nil {
  759. ms.StoreMessageInfo(mi)
  760. }
  761. return ms
  762. }
  763. return mi.MessageOf(x)
  764. }
  765. // Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
  766. func (*ExecRequest) Descriptor() ([]byte, []int) {
  767. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{14}
  768. }
  769. func (x *ExecRequest) GetId() string {
  770. if x != nil {
  771. return x.Id
  772. }
  773. return ""
  774. }
  775. func (x *ExecRequest) GetCommand() string {
  776. if x != nil {
  777. return x.Command
  778. }
  779. return ""
  780. }
  781. func (x *ExecRequest) GetStreamId() string {
  782. if x != nil {
  783. return x.StreamId
  784. }
  785. return ""
  786. }
  787. func (x *ExecRequest) GetArgs() []string {
  788. if x != nil {
  789. return x.Args
  790. }
  791. return nil
  792. }
  793. func (x *ExecRequest) GetEnv() []string {
  794. if x != nil {
  795. return x.Env
  796. }
  797. return nil
  798. }
  799. func (x *ExecRequest) GetTty() bool {
  800. if x != nil {
  801. return x.Tty
  802. }
  803. return false
  804. }
  805. type ExecResponse struct {
  806. state protoimpl.MessageState
  807. sizeCache protoimpl.SizeCache
  808. unknownFields protoimpl.UnknownFields
  809. Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
  810. }
  811. func (x *ExecResponse) Reset() {
  812. *x = ExecResponse{}
  813. if protoimpl.UnsafeEnabled {
  814. mi := &file_protos_containers_v1_containers_proto_msgTypes[15]
  815. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  816. ms.StoreMessageInfo(mi)
  817. }
  818. }
  819. func (x *ExecResponse) String() string {
  820. return protoimpl.X.MessageStringOf(x)
  821. }
  822. func (*ExecResponse) ProtoMessage() {}
  823. func (x *ExecResponse) ProtoReflect() protoreflect.Message {
  824. mi := &file_protos_containers_v1_containers_proto_msgTypes[15]
  825. if protoimpl.UnsafeEnabled && x != nil {
  826. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  827. if ms.LoadMessageInfo() == nil {
  828. ms.StoreMessageInfo(mi)
  829. }
  830. return ms
  831. }
  832. return mi.MessageOf(x)
  833. }
  834. // Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.
  835. func (*ExecResponse) Descriptor() ([]byte, []int) {
  836. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{15}
  837. }
  838. func (x *ExecResponse) GetOutput() []byte {
  839. if x != nil {
  840. return x.Output
  841. }
  842. return nil
  843. }
  844. type ListRequest struct {
  845. state protoimpl.MessageState
  846. sizeCache protoimpl.SizeCache
  847. unknownFields protoimpl.UnknownFields
  848. All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
  849. }
  850. func (x *ListRequest) Reset() {
  851. *x = ListRequest{}
  852. if protoimpl.UnsafeEnabled {
  853. mi := &file_protos_containers_v1_containers_proto_msgTypes[16]
  854. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  855. ms.StoreMessageInfo(mi)
  856. }
  857. }
  858. func (x *ListRequest) String() string {
  859. return protoimpl.X.MessageStringOf(x)
  860. }
  861. func (*ListRequest) ProtoMessage() {}
  862. func (x *ListRequest) ProtoReflect() protoreflect.Message {
  863. mi := &file_protos_containers_v1_containers_proto_msgTypes[16]
  864. if protoimpl.UnsafeEnabled && x != nil {
  865. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  866. if ms.LoadMessageInfo() == nil {
  867. ms.StoreMessageInfo(mi)
  868. }
  869. return ms
  870. }
  871. return mi.MessageOf(x)
  872. }
  873. // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
  874. func (*ListRequest) Descriptor() ([]byte, []int) {
  875. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{16}
  876. }
  877. func (x *ListRequest) GetAll() bool {
  878. if x != nil {
  879. return x.All
  880. }
  881. return false
  882. }
  883. type ListResponse struct {
  884. state protoimpl.MessageState
  885. sizeCache protoimpl.SizeCache
  886. unknownFields protoimpl.UnknownFields
  887. Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
  888. }
  889. func (x *ListResponse) Reset() {
  890. *x = ListResponse{}
  891. if protoimpl.UnsafeEnabled {
  892. mi := &file_protos_containers_v1_containers_proto_msgTypes[17]
  893. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  894. ms.StoreMessageInfo(mi)
  895. }
  896. }
  897. func (x *ListResponse) String() string {
  898. return protoimpl.X.MessageStringOf(x)
  899. }
  900. func (*ListResponse) ProtoMessage() {}
  901. func (x *ListResponse) ProtoReflect() protoreflect.Message {
  902. mi := &file_protos_containers_v1_containers_proto_msgTypes[17]
  903. if protoimpl.UnsafeEnabled && x != nil {
  904. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  905. if ms.LoadMessageInfo() == nil {
  906. ms.StoreMessageInfo(mi)
  907. }
  908. return ms
  909. }
  910. return mi.MessageOf(x)
  911. }
  912. // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
  913. func (*ListResponse) Descriptor() ([]byte, []int) {
  914. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{17}
  915. }
  916. func (x *ListResponse) GetContainers() []*Container {
  917. if x != nil {
  918. return x.Containers
  919. }
  920. return nil
  921. }
  922. type LogsRequest struct {
  923. state protoimpl.MessageState
  924. sizeCache protoimpl.SizeCache
  925. unknownFields protoimpl.UnknownFields
  926. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
  927. Follow bool `protobuf:"varint,3,opt,name=follow,proto3" json:"follow,omitempty"`
  928. }
  929. func (x *LogsRequest) Reset() {
  930. *x = LogsRequest{}
  931. if protoimpl.UnsafeEnabled {
  932. mi := &file_protos_containers_v1_containers_proto_msgTypes[18]
  933. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  934. ms.StoreMessageInfo(mi)
  935. }
  936. }
  937. func (x *LogsRequest) String() string {
  938. return protoimpl.X.MessageStringOf(x)
  939. }
  940. func (*LogsRequest) ProtoMessage() {}
  941. func (x *LogsRequest) ProtoReflect() protoreflect.Message {
  942. mi := &file_protos_containers_v1_containers_proto_msgTypes[18]
  943. if protoimpl.UnsafeEnabled && x != nil {
  944. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  945. if ms.LoadMessageInfo() == nil {
  946. ms.StoreMessageInfo(mi)
  947. }
  948. return ms
  949. }
  950. return mi.MessageOf(x)
  951. }
  952. // Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.
  953. func (*LogsRequest) Descriptor() ([]byte, []int) {
  954. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{18}
  955. }
  956. func (x *LogsRequest) GetContainerId() string {
  957. if x != nil {
  958. return x.ContainerId
  959. }
  960. return ""
  961. }
  962. func (x *LogsRequest) GetFollow() bool {
  963. if x != nil {
  964. return x.Follow
  965. }
  966. return false
  967. }
  968. type LogsResponse struct {
  969. state protoimpl.MessageState
  970. sizeCache protoimpl.SizeCache
  971. unknownFields protoimpl.UnknownFields
  972. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  973. }
  974. func (x *LogsResponse) Reset() {
  975. *x = LogsResponse{}
  976. if protoimpl.UnsafeEnabled {
  977. mi := &file_protos_containers_v1_containers_proto_msgTypes[19]
  978. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  979. ms.StoreMessageInfo(mi)
  980. }
  981. }
  982. func (x *LogsResponse) String() string {
  983. return protoimpl.X.MessageStringOf(x)
  984. }
  985. func (*LogsResponse) ProtoMessage() {}
  986. func (x *LogsResponse) ProtoReflect() protoreflect.Message {
  987. mi := &file_protos_containers_v1_containers_proto_msgTypes[19]
  988. if protoimpl.UnsafeEnabled && x != nil {
  989. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  990. if ms.LoadMessageInfo() == nil {
  991. ms.StoreMessageInfo(mi)
  992. }
  993. return ms
  994. }
  995. return mi.MessageOf(x)
  996. }
  997. // Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.
  998. func (*LogsResponse) Descriptor() ([]byte, []int) {
  999. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{19}
  1000. }
  1001. func (x *LogsResponse) GetValue() []byte {
  1002. if x != nil {
  1003. return x.Value
  1004. }
  1005. return nil
  1006. }
  1007. var File_protos_containers_v1_containers_proto protoreflect.FileDescriptor
  1008. var file_protos_containers_v1_containers_proto_rawDesc = []byte{
  1009. 0x0a, 0x25, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
  1010. 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
  1011. 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63,
  1012. 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63,
  1013. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x7f, 0x0a, 0x04,
  1014. 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x72,
  1015. 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x6f, 0x72,
  1016. 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x70,
  1017. 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1018. 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74,
  1019. 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74,
  1020. 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x70, 0x18,
  1021. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x70, 0x22, 0xd2, 0x03,
  1022. 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  1023. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69,
  1024. 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67,
  1025. 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
  1026. 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d,
  1027. 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
  1028. 0x61, 0x6e, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
  1029. 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x70, 0x75, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21,
  1030. 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06,
  1031. 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67,
  1032. 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69,
  1033. 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4c,
  1034. 0x69, 0x6d, 0x69, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x69, 0x64, 0x73, 0x5f, 0x63, 0x75, 0x72,
  1035. 0x72, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x69, 0x64, 0x73,
  1036. 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x69, 0x64, 0x73, 0x5f,
  1037. 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x69, 0x64,
  1038. 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
  1039. 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3f,
  1040. 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,
  1041. 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70,
  1042. 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  1043. 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12,
  1044. 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0c, 0x20, 0x01,
  1045. 0x28, 0x04, 0x52, 0x08, 0x63, 0x70, 0x75, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08,
  1046. 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  1047. 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x74,
  1048. 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69,
  1049. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x73, 0x74,
  1050. 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
  1051. 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71,
  1052. 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1053. 0x52, 0x02, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x0f, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52,
  1054. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1055. 0x69, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d,
  1056. 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1057. 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31,
  1058. 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74,
  1059. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0x35, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,
  1060. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1061. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18,
  1062. 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x10, 0x0a, 0x0e,
  1063. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e,
  1064. 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,
  1065. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x0f,
  1066. 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  1067. 0x37, 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,
  1068. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18,
  1069. 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1070. 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x70,
  1071. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x0b, 0x4b, 0x69, 0x6c, 0x6c,
  1072. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  1073. 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61,
  1074. 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22,
  1075. 0x0e, 0x0a, 0x0c, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  1076. 0x97, 0x03, 0x0a, 0x0a, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,
  1077. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14,
  1078. 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69,
  1079. 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x03, 0x20,
  1080. 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
  1081. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
  1082. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05,
  1083. 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
  1084. 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
  1085. 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f,
  1086. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x52,
  1087. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74,
  1088. 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x6f,
  1089. 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x76, 0x6f, 0x6c,
  1090. 0x75, 0x6d, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6c,
  1091. 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f,
  1092. 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x6c,
  1093. 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x70, 0x75, 0x4c,
  1094. 0x69, 0x6d, 0x69, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f,
  1095. 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1096. 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50,
  1097. 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x39,
  1098. 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
  1099. 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  1100. 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1101. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x0d, 0x0a, 0x0b, 0x52, 0x75, 0x6e,
  1102. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x65,
  1103. 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  1104. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
  1105. 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
  1106. 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18,
  1107. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12,
  1108. 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61,
  1109. 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09,
  1110. 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01,
  1111. 0x28, 0x08, 0x52, 0x03, 0x74, 0x74, 0x79, 0x22, 0x26, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x52,
  1112. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75,
  1113. 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22,
  1114. 0x1f, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10,
  1115. 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x6c, 0x6c,
  1116. 0x22, 0x5e, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1117. 0x12, 0x4e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01,
  1118. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  1119. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
  1120. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61,
  1121. 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  1122. 0x22, 0x48, 0x0a, 0x0b, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  1123. 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  1124. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
  1125. 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01,
  1126. 0x28, 0x08, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f,
  1127. 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
  1128. 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1129. 0x32, 0xf2, 0x07, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12,
  1130. 0x6b, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f,
  1131. 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e,
  1132. 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
  1133. 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
  1134. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1135. 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e,
  1136. 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x05,
  1137. 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
  1138. 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f,
  1139. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72,
  1140. 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
  1141. 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  1142. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53,
  1143. 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x04,
  1144. 0x53, 0x74, 0x6f, 0x70, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  1145. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
  1146. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52,
  1147. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63,
  1148. 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63,
  1149. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f,
  1150. 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x04, 0x4b, 0x69, 0x6c,
  1151. 0x6c, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  1152. 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
  1153. 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75,
  1154. 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
  1155. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
  1156. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65,
  1157. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x03, 0x52, 0x75, 0x6e, 0x12, 0x2f, 0x2e,
  1158. 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70,
  1159. 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  1160. 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30,
  1161. 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  1162. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
  1163. 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1164. 0x12, 0x6b, 0x0a, 0x04, 0x45, 0x78, 0x65, 0x63, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
  1165. 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  1166. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45,
  1167. 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d,
  1168. 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1169. 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31,
  1170. 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a,
  1171. 0x04, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
  1172. 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f,
  1173. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73,
  1174. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f,
  1175. 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e,
  1176. 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f,
  1177. 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x06,
  1178. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63,
  1179. 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63,
  1180. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
  1181. 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d,
  1182. 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1183. 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31,
  1184. 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1185. 0x74, 0x0a, 0x07, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x33, 0x2e, 0x63, 0x6f, 0x6d,
  1186. 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1187. 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31,
  1188. 0x2e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  1189. 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  1190. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
  1191. 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73,
  1192. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
  1193. 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
  1194. 0x73, 0x65, 0x2d, 0x63, 0x6c, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f,
  1195. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06,
  1196. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1197. }
  1198. var (
  1199. file_protos_containers_v1_containers_proto_rawDescOnce sync.Once
  1200. file_protos_containers_v1_containers_proto_rawDescData = file_protos_containers_v1_containers_proto_rawDesc
  1201. )
  1202. func file_protos_containers_v1_containers_proto_rawDescGZIP() []byte {
  1203. file_protos_containers_v1_containers_proto_rawDescOnce.Do(func() {
  1204. file_protos_containers_v1_containers_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_containers_v1_containers_proto_rawDescData)
  1205. })
  1206. return file_protos_containers_v1_containers_proto_rawDescData
  1207. }
  1208. var file_protos_containers_v1_containers_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
  1209. var file_protos_containers_v1_containers_proto_goTypes = []interface{}{
  1210. (*Port)(nil), // 0: com.docker.api.protos.containers.v1.Port
  1211. (*Container)(nil), // 1: com.docker.api.protos.containers.v1.Container
  1212. (*InspectRequest)(nil), // 2: com.docker.api.protos.containers.v1.InspectRequest
  1213. (*InspectResponse)(nil), // 3: com.docker.api.protos.containers.v1.InspectResponse
  1214. (*DeleteRequest)(nil), // 4: com.docker.api.protos.containers.v1.DeleteRequest
  1215. (*DeleteResponse)(nil), // 5: com.docker.api.protos.containers.v1.DeleteResponse
  1216. (*StartRequest)(nil), // 6: com.docker.api.protos.containers.v1.StartRequest
  1217. (*StartResponse)(nil), // 7: com.docker.api.protos.containers.v1.StartResponse
  1218. (*StopRequest)(nil), // 8: com.docker.api.protos.containers.v1.StopRequest
  1219. (*StopResponse)(nil), // 9: com.docker.api.protos.containers.v1.StopResponse
  1220. (*KillRequest)(nil), // 10: com.docker.api.protos.containers.v1.KillRequest
  1221. (*KillResponse)(nil), // 11: com.docker.api.protos.containers.v1.KillResponse
  1222. (*RunRequest)(nil), // 12: com.docker.api.protos.containers.v1.RunRequest
  1223. (*RunResponse)(nil), // 13: com.docker.api.protos.containers.v1.RunResponse
  1224. (*ExecRequest)(nil), // 14: com.docker.api.protos.containers.v1.ExecRequest
  1225. (*ExecResponse)(nil), // 15: com.docker.api.protos.containers.v1.ExecResponse
  1226. (*ListRequest)(nil), // 16: com.docker.api.protos.containers.v1.ListRequest
  1227. (*ListResponse)(nil), // 17: com.docker.api.protos.containers.v1.ListResponse
  1228. (*LogsRequest)(nil), // 18: com.docker.api.protos.containers.v1.LogsRequest
  1229. (*LogsResponse)(nil), // 19: com.docker.api.protos.containers.v1.LogsResponse
  1230. nil, // 20: com.docker.api.protos.containers.v1.RunRequest.LabelsEntry
  1231. }
  1232. var file_protos_containers_v1_containers_proto_depIdxs = []int32{
  1233. 0, // 0: com.docker.api.protos.containers.v1.Container.ports:type_name -> com.docker.api.protos.containers.v1.Port
  1234. 1, // 1: com.docker.api.protos.containers.v1.InspectResponse.container:type_name -> com.docker.api.protos.containers.v1.Container
  1235. 0, // 2: com.docker.api.protos.containers.v1.RunRequest.ports:type_name -> com.docker.api.protos.containers.v1.Port
  1236. 20, // 3: com.docker.api.protos.containers.v1.RunRequest.labels:type_name -> com.docker.api.protos.containers.v1.RunRequest.LabelsEntry
  1237. 1, // 4: com.docker.api.protos.containers.v1.ListResponse.containers:type_name -> com.docker.api.protos.containers.v1.Container
  1238. 16, // 5: com.docker.api.protos.containers.v1.Containers.List:input_type -> com.docker.api.protos.containers.v1.ListRequest
  1239. 6, // 6: com.docker.api.protos.containers.v1.Containers.Start:input_type -> com.docker.api.protos.containers.v1.StartRequest
  1240. 8, // 7: com.docker.api.protos.containers.v1.Containers.Stop:input_type -> com.docker.api.protos.containers.v1.StopRequest
  1241. 10, // 8: com.docker.api.protos.containers.v1.Containers.Kill:input_type -> com.docker.api.protos.containers.v1.KillRequest
  1242. 12, // 9: com.docker.api.protos.containers.v1.Containers.Run:input_type -> com.docker.api.protos.containers.v1.RunRequest
  1243. 14, // 10: com.docker.api.protos.containers.v1.Containers.Exec:input_type -> com.docker.api.protos.containers.v1.ExecRequest
  1244. 18, // 11: com.docker.api.protos.containers.v1.Containers.Logs:input_type -> com.docker.api.protos.containers.v1.LogsRequest
  1245. 4, // 12: com.docker.api.protos.containers.v1.Containers.Delete:input_type -> com.docker.api.protos.containers.v1.DeleteRequest
  1246. 2, // 13: com.docker.api.protos.containers.v1.Containers.Inspect:input_type -> com.docker.api.protos.containers.v1.InspectRequest
  1247. 17, // 14: com.docker.api.protos.containers.v1.Containers.List:output_type -> com.docker.api.protos.containers.v1.ListResponse
  1248. 7, // 15: com.docker.api.protos.containers.v1.Containers.Start:output_type -> com.docker.api.protos.containers.v1.StartResponse
  1249. 9, // 16: com.docker.api.protos.containers.v1.Containers.Stop:output_type -> com.docker.api.protos.containers.v1.StopResponse
  1250. 11, // 17: com.docker.api.protos.containers.v1.Containers.Kill:output_type -> com.docker.api.protos.containers.v1.KillResponse
  1251. 13, // 18: com.docker.api.protos.containers.v1.Containers.Run:output_type -> com.docker.api.protos.containers.v1.RunResponse
  1252. 15, // 19: com.docker.api.protos.containers.v1.Containers.Exec:output_type -> com.docker.api.protos.containers.v1.ExecResponse
  1253. 19, // 20: com.docker.api.protos.containers.v1.Containers.Logs:output_type -> com.docker.api.protos.containers.v1.LogsResponse
  1254. 5, // 21: com.docker.api.protos.containers.v1.Containers.Delete:output_type -> com.docker.api.protos.containers.v1.DeleteResponse
  1255. 3, // 22: com.docker.api.protos.containers.v1.Containers.Inspect:output_type -> com.docker.api.protos.containers.v1.InspectResponse
  1256. 14, // [14:23] is the sub-list for method output_type
  1257. 5, // [5:14] is the sub-list for method input_type
  1258. 5, // [5:5] is the sub-list for extension type_name
  1259. 5, // [5:5] is the sub-list for extension extendee
  1260. 0, // [0:5] is the sub-list for field type_name
  1261. }
  1262. func init() { file_protos_containers_v1_containers_proto_init() }
  1263. func file_protos_containers_v1_containers_proto_init() {
  1264. if File_protos_containers_v1_containers_proto != nil {
  1265. return
  1266. }
  1267. if !protoimpl.UnsafeEnabled {
  1268. file_protos_containers_v1_containers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1269. switch v := v.(*Port); i {
  1270. case 0:
  1271. return &v.state
  1272. case 1:
  1273. return &v.sizeCache
  1274. case 2:
  1275. return &v.unknownFields
  1276. default:
  1277. return nil
  1278. }
  1279. }
  1280. file_protos_containers_v1_containers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1281. switch v := v.(*Container); i {
  1282. case 0:
  1283. return &v.state
  1284. case 1:
  1285. return &v.sizeCache
  1286. case 2:
  1287. return &v.unknownFields
  1288. default:
  1289. return nil
  1290. }
  1291. }
  1292. file_protos_containers_v1_containers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1293. switch v := v.(*InspectRequest); i {
  1294. case 0:
  1295. return &v.state
  1296. case 1:
  1297. return &v.sizeCache
  1298. case 2:
  1299. return &v.unknownFields
  1300. default:
  1301. return nil
  1302. }
  1303. }
  1304. file_protos_containers_v1_containers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1305. switch v := v.(*InspectResponse); i {
  1306. case 0:
  1307. return &v.state
  1308. case 1:
  1309. return &v.sizeCache
  1310. case 2:
  1311. return &v.unknownFields
  1312. default:
  1313. return nil
  1314. }
  1315. }
  1316. file_protos_containers_v1_containers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1317. switch v := v.(*DeleteRequest); i {
  1318. case 0:
  1319. return &v.state
  1320. case 1:
  1321. return &v.sizeCache
  1322. case 2:
  1323. return &v.unknownFields
  1324. default:
  1325. return nil
  1326. }
  1327. }
  1328. file_protos_containers_v1_containers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1329. switch v := v.(*DeleteResponse); i {
  1330. case 0:
  1331. return &v.state
  1332. case 1:
  1333. return &v.sizeCache
  1334. case 2:
  1335. return &v.unknownFields
  1336. default:
  1337. return nil
  1338. }
  1339. }
  1340. file_protos_containers_v1_containers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1341. switch v := v.(*StartRequest); i {
  1342. case 0:
  1343. return &v.state
  1344. case 1:
  1345. return &v.sizeCache
  1346. case 2:
  1347. return &v.unknownFields
  1348. default:
  1349. return nil
  1350. }
  1351. }
  1352. file_protos_containers_v1_containers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1353. switch v := v.(*StartResponse); i {
  1354. case 0:
  1355. return &v.state
  1356. case 1:
  1357. return &v.sizeCache
  1358. case 2:
  1359. return &v.unknownFields
  1360. default:
  1361. return nil
  1362. }
  1363. }
  1364. file_protos_containers_v1_containers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1365. switch v := v.(*StopRequest); i {
  1366. case 0:
  1367. return &v.state
  1368. case 1:
  1369. return &v.sizeCache
  1370. case 2:
  1371. return &v.unknownFields
  1372. default:
  1373. return nil
  1374. }
  1375. }
  1376. file_protos_containers_v1_containers_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1377. switch v := v.(*StopResponse); i {
  1378. case 0:
  1379. return &v.state
  1380. case 1:
  1381. return &v.sizeCache
  1382. case 2:
  1383. return &v.unknownFields
  1384. default:
  1385. return nil
  1386. }
  1387. }
  1388. file_protos_containers_v1_containers_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1389. switch v := v.(*KillRequest); i {
  1390. case 0:
  1391. return &v.state
  1392. case 1:
  1393. return &v.sizeCache
  1394. case 2:
  1395. return &v.unknownFields
  1396. default:
  1397. return nil
  1398. }
  1399. }
  1400. file_protos_containers_v1_containers_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1401. switch v := v.(*KillResponse); i {
  1402. case 0:
  1403. return &v.state
  1404. case 1:
  1405. return &v.sizeCache
  1406. case 2:
  1407. return &v.unknownFields
  1408. default:
  1409. return nil
  1410. }
  1411. }
  1412. file_protos_containers_v1_containers_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1413. switch v := v.(*RunRequest); i {
  1414. case 0:
  1415. return &v.state
  1416. case 1:
  1417. return &v.sizeCache
  1418. case 2:
  1419. return &v.unknownFields
  1420. default:
  1421. return nil
  1422. }
  1423. }
  1424. file_protos_containers_v1_containers_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1425. switch v := v.(*RunResponse); i {
  1426. case 0:
  1427. return &v.state
  1428. case 1:
  1429. return &v.sizeCache
  1430. case 2:
  1431. return &v.unknownFields
  1432. default:
  1433. return nil
  1434. }
  1435. }
  1436. file_protos_containers_v1_containers_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1437. switch v := v.(*ExecRequest); i {
  1438. case 0:
  1439. return &v.state
  1440. case 1:
  1441. return &v.sizeCache
  1442. case 2:
  1443. return &v.unknownFields
  1444. default:
  1445. return nil
  1446. }
  1447. }
  1448. file_protos_containers_v1_containers_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1449. switch v := v.(*ExecResponse); i {
  1450. case 0:
  1451. return &v.state
  1452. case 1:
  1453. return &v.sizeCache
  1454. case 2:
  1455. return &v.unknownFields
  1456. default:
  1457. return nil
  1458. }
  1459. }
  1460. file_protos_containers_v1_containers_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1461. switch v := v.(*ListRequest); i {
  1462. case 0:
  1463. return &v.state
  1464. case 1:
  1465. return &v.sizeCache
  1466. case 2:
  1467. return &v.unknownFields
  1468. default:
  1469. return nil
  1470. }
  1471. }
  1472. file_protos_containers_v1_containers_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1473. switch v := v.(*ListResponse); i {
  1474. case 0:
  1475. return &v.state
  1476. case 1:
  1477. return &v.sizeCache
  1478. case 2:
  1479. return &v.unknownFields
  1480. default:
  1481. return nil
  1482. }
  1483. }
  1484. file_protos_containers_v1_containers_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  1485. switch v := v.(*LogsRequest); i {
  1486. case 0:
  1487. return &v.state
  1488. case 1:
  1489. return &v.sizeCache
  1490. case 2:
  1491. return &v.unknownFields
  1492. default:
  1493. return nil
  1494. }
  1495. }
  1496. file_protos_containers_v1_containers_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  1497. switch v := v.(*LogsResponse); i {
  1498. case 0:
  1499. return &v.state
  1500. case 1:
  1501. return &v.sizeCache
  1502. case 2:
  1503. return &v.unknownFields
  1504. default:
  1505. return nil
  1506. }
  1507. }
  1508. }
  1509. type x struct{}
  1510. out := protoimpl.TypeBuilder{
  1511. File: protoimpl.DescBuilder{
  1512. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1513. RawDescriptor: file_protos_containers_v1_containers_proto_rawDesc,
  1514. NumEnums: 0,
  1515. NumMessages: 21,
  1516. NumExtensions: 0,
  1517. NumServices: 1,
  1518. },
  1519. GoTypes: file_protos_containers_v1_containers_proto_goTypes,
  1520. DependencyIndexes: file_protos_containers_v1_containers_proto_depIdxs,
  1521. MessageInfos: file_protos_containers_v1_containers_proto_msgTypes,
  1522. }.Build()
  1523. File_protos_containers_v1_containers_proto = out.File
  1524. file_protos_containers_v1_containers_proto_rawDesc = nil
  1525. file_protos_containers_v1_containers_proto_goTypes = nil
  1526. file_protos_containers_v1_containers_proto_depIdxs = nil
  1527. }
  1528. // Reference imports to suppress errors if they are not otherwise used.
  1529. var _ context.Context
  1530. var _ grpc.ClientConnInterface
  1531. // This is a compile-time assertion to ensure that this generated file
  1532. // is compatible with the grpc package it is being compiled against.
  1533. const _ = grpc.SupportPackageIsVersion6
  1534. // ContainersClient is the client API for Containers service.
  1535. //
  1536. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1537. type ContainersClient interface {
  1538. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
  1539. Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error)
  1540. Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
  1541. Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error)
  1542. Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error)
  1543. Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
  1544. Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error)
  1545. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
  1546. Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error)
  1547. }
  1548. type containersClient struct {
  1549. cc grpc.ClientConnInterface
  1550. }
  1551. func NewContainersClient(cc grpc.ClientConnInterface) ContainersClient {
  1552. return &containersClient{cc}
  1553. }
  1554. func (c *containersClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
  1555. out := new(ListResponse)
  1556. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/List", in, out, opts...)
  1557. if err != nil {
  1558. return nil, err
  1559. }
  1560. return out, nil
  1561. }
  1562. func (c *containersClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) {
  1563. out := new(StartResponse)
  1564. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Start", in, out, opts...)
  1565. if err != nil {
  1566. return nil, err
  1567. }
  1568. return out, nil
  1569. }
  1570. func (c *containersClient) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) {
  1571. out := new(StopResponse)
  1572. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Stop", in, out, opts...)
  1573. if err != nil {
  1574. return nil, err
  1575. }
  1576. return out, nil
  1577. }
  1578. func (c *containersClient) Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error) {
  1579. out := new(KillResponse)
  1580. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Kill", in, out, opts...)
  1581. if err != nil {
  1582. return nil, err
  1583. }
  1584. return out, nil
  1585. }
  1586. func (c *containersClient) Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error) {
  1587. out := new(RunResponse)
  1588. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Run", in, out, opts...)
  1589. if err != nil {
  1590. return nil, err
  1591. }
  1592. return out, nil
  1593. }
  1594. func (c *containersClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) {
  1595. out := new(ExecResponse)
  1596. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Exec", in, out, opts...)
  1597. if err != nil {
  1598. return nil, err
  1599. }
  1600. return out, nil
  1601. }
  1602. func (c *containersClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error) {
  1603. stream, err := c.cc.NewStream(ctx, &_Containers_serviceDesc.Streams[0], "/com.docker.api.protos.containers.v1.Containers/Logs", opts...)
  1604. if err != nil {
  1605. return nil, err
  1606. }
  1607. x := &containersLogsClient{stream}
  1608. if err := x.ClientStream.SendMsg(in); err != nil {
  1609. return nil, err
  1610. }
  1611. if err := x.ClientStream.CloseSend(); err != nil {
  1612. return nil, err
  1613. }
  1614. return x, nil
  1615. }
  1616. type Containers_LogsClient interface {
  1617. Recv() (*LogsResponse, error)
  1618. grpc.ClientStream
  1619. }
  1620. type containersLogsClient struct {
  1621. grpc.ClientStream
  1622. }
  1623. func (x *containersLogsClient) Recv() (*LogsResponse, error) {
  1624. m := new(LogsResponse)
  1625. if err := x.ClientStream.RecvMsg(m); err != nil {
  1626. return nil, err
  1627. }
  1628. return m, nil
  1629. }
  1630. func (c *containersClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
  1631. out := new(DeleteResponse)
  1632. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Delete", in, out, opts...)
  1633. if err != nil {
  1634. return nil, err
  1635. }
  1636. return out, nil
  1637. }
  1638. func (c *containersClient) Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error) {
  1639. out := new(InspectResponse)
  1640. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Inspect", in, out, opts...)
  1641. if err != nil {
  1642. return nil, err
  1643. }
  1644. return out, nil
  1645. }
  1646. // ContainersServer is the server API for Containers service.
  1647. type ContainersServer interface {
  1648. List(context.Context, *ListRequest) (*ListResponse, error)
  1649. Start(context.Context, *StartRequest) (*StartResponse, error)
  1650. Stop(context.Context, *StopRequest) (*StopResponse, error)
  1651. Kill(context.Context, *KillRequest) (*KillResponse, error)
  1652. Run(context.Context, *RunRequest) (*RunResponse, error)
  1653. Exec(context.Context, *ExecRequest) (*ExecResponse, error)
  1654. Logs(*LogsRequest, Containers_LogsServer) error
  1655. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
  1656. Inspect(context.Context, *InspectRequest) (*InspectResponse, error)
  1657. }
  1658. // UnimplementedContainersServer can be embedded to have forward compatible implementations.
  1659. type UnimplementedContainersServer struct {
  1660. }
  1661. func (*UnimplementedContainersServer) List(context.Context, *ListRequest) (*ListResponse, error) {
  1662. return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
  1663. }
  1664. func (*UnimplementedContainersServer) Start(context.Context, *StartRequest) (*StartResponse, error) {
  1665. return nil, status.Errorf(codes.Unimplemented, "method Start not implemented")
  1666. }
  1667. func (*UnimplementedContainersServer) Stop(context.Context, *StopRequest) (*StopResponse, error) {
  1668. return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented")
  1669. }
  1670. func (*UnimplementedContainersServer) Kill(context.Context, *KillRequest) (*KillResponse, error) {
  1671. return nil, status.Errorf(codes.Unimplemented, "method Kill not implemented")
  1672. }
  1673. func (*UnimplementedContainersServer) Run(context.Context, *RunRequest) (*RunResponse, error) {
  1674. return nil, status.Errorf(codes.Unimplemented, "method Run not implemented")
  1675. }
  1676. func (*UnimplementedContainersServer) Exec(context.Context, *ExecRequest) (*ExecResponse, error) {
  1677. return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented")
  1678. }
  1679. func (*UnimplementedContainersServer) Logs(*LogsRequest, Containers_LogsServer) error {
  1680. return status.Errorf(codes.Unimplemented, "method Logs not implemented")
  1681. }
  1682. func (*UnimplementedContainersServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) {
  1683. return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
  1684. }
  1685. func (*UnimplementedContainersServer) Inspect(context.Context, *InspectRequest) (*InspectResponse, error) {
  1686. return nil, status.Errorf(codes.Unimplemented, "method Inspect not implemented")
  1687. }
  1688. func RegisterContainersServer(s *grpc.Server, srv ContainersServer) {
  1689. s.RegisterService(&_Containers_serviceDesc, srv)
  1690. }
  1691. func _Containers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1692. in := new(ListRequest)
  1693. if err := dec(in); err != nil {
  1694. return nil, err
  1695. }
  1696. if interceptor == nil {
  1697. return srv.(ContainersServer).List(ctx, in)
  1698. }
  1699. info := &grpc.UnaryServerInfo{
  1700. Server: srv,
  1701. FullMethod: "/com.docker.api.protos.containers.v1.Containers/List",
  1702. }
  1703. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1704. return srv.(ContainersServer).List(ctx, req.(*ListRequest))
  1705. }
  1706. return interceptor(ctx, in, info, handler)
  1707. }
  1708. func _Containers_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1709. in := new(StartRequest)
  1710. if err := dec(in); err != nil {
  1711. return nil, err
  1712. }
  1713. if interceptor == nil {
  1714. return srv.(ContainersServer).Start(ctx, in)
  1715. }
  1716. info := &grpc.UnaryServerInfo{
  1717. Server: srv,
  1718. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Start",
  1719. }
  1720. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1721. return srv.(ContainersServer).Start(ctx, req.(*StartRequest))
  1722. }
  1723. return interceptor(ctx, in, info, handler)
  1724. }
  1725. func _Containers_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1726. in := new(StopRequest)
  1727. if err := dec(in); err != nil {
  1728. return nil, err
  1729. }
  1730. if interceptor == nil {
  1731. return srv.(ContainersServer).Stop(ctx, in)
  1732. }
  1733. info := &grpc.UnaryServerInfo{
  1734. Server: srv,
  1735. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Stop",
  1736. }
  1737. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1738. return srv.(ContainersServer).Stop(ctx, req.(*StopRequest))
  1739. }
  1740. return interceptor(ctx, in, info, handler)
  1741. }
  1742. func _Containers_Kill_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1743. in := new(KillRequest)
  1744. if err := dec(in); err != nil {
  1745. return nil, err
  1746. }
  1747. if interceptor == nil {
  1748. return srv.(ContainersServer).Kill(ctx, in)
  1749. }
  1750. info := &grpc.UnaryServerInfo{
  1751. Server: srv,
  1752. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Kill",
  1753. }
  1754. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1755. return srv.(ContainersServer).Kill(ctx, req.(*KillRequest))
  1756. }
  1757. return interceptor(ctx, in, info, handler)
  1758. }
  1759. func _Containers_Run_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1760. in := new(RunRequest)
  1761. if err := dec(in); err != nil {
  1762. return nil, err
  1763. }
  1764. if interceptor == nil {
  1765. return srv.(ContainersServer).Run(ctx, in)
  1766. }
  1767. info := &grpc.UnaryServerInfo{
  1768. Server: srv,
  1769. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Run",
  1770. }
  1771. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1772. return srv.(ContainersServer).Run(ctx, req.(*RunRequest))
  1773. }
  1774. return interceptor(ctx, in, info, handler)
  1775. }
  1776. func _Containers_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1777. in := new(ExecRequest)
  1778. if err := dec(in); err != nil {
  1779. return nil, err
  1780. }
  1781. if interceptor == nil {
  1782. return srv.(ContainersServer).Exec(ctx, in)
  1783. }
  1784. info := &grpc.UnaryServerInfo{
  1785. Server: srv,
  1786. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Exec",
  1787. }
  1788. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1789. return srv.(ContainersServer).Exec(ctx, req.(*ExecRequest))
  1790. }
  1791. return interceptor(ctx, in, info, handler)
  1792. }
  1793. func _Containers_Logs_Handler(srv interface{}, stream grpc.ServerStream) error {
  1794. m := new(LogsRequest)
  1795. if err := stream.RecvMsg(m); err != nil {
  1796. return err
  1797. }
  1798. return srv.(ContainersServer).Logs(m, &containersLogsServer{stream})
  1799. }
  1800. type Containers_LogsServer interface {
  1801. Send(*LogsResponse) error
  1802. grpc.ServerStream
  1803. }
  1804. type containersLogsServer struct {
  1805. grpc.ServerStream
  1806. }
  1807. func (x *containersLogsServer) Send(m *LogsResponse) error {
  1808. return x.ServerStream.SendMsg(m)
  1809. }
  1810. func _Containers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1811. in := new(DeleteRequest)
  1812. if err := dec(in); err != nil {
  1813. return nil, err
  1814. }
  1815. if interceptor == nil {
  1816. return srv.(ContainersServer).Delete(ctx, in)
  1817. }
  1818. info := &grpc.UnaryServerInfo{
  1819. Server: srv,
  1820. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Delete",
  1821. }
  1822. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1823. return srv.(ContainersServer).Delete(ctx, req.(*DeleteRequest))
  1824. }
  1825. return interceptor(ctx, in, info, handler)
  1826. }
  1827. func _Containers_Inspect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1828. in := new(InspectRequest)
  1829. if err := dec(in); err != nil {
  1830. return nil, err
  1831. }
  1832. if interceptor == nil {
  1833. return srv.(ContainersServer).Inspect(ctx, in)
  1834. }
  1835. info := &grpc.UnaryServerInfo{
  1836. Server: srv,
  1837. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Inspect",
  1838. }
  1839. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1840. return srv.(ContainersServer).Inspect(ctx, req.(*InspectRequest))
  1841. }
  1842. return interceptor(ctx, in, info, handler)
  1843. }
  1844. var _Containers_serviceDesc = grpc.ServiceDesc{
  1845. ServiceName: "com.docker.api.protos.containers.v1.Containers",
  1846. HandlerType: (*ContainersServer)(nil),
  1847. Methods: []grpc.MethodDesc{
  1848. {
  1849. MethodName: "List",
  1850. Handler: _Containers_List_Handler,
  1851. },
  1852. {
  1853. MethodName: "Start",
  1854. Handler: _Containers_Start_Handler,
  1855. },
  1856. {
  1857. MethodName: "Stop",
  1858. Handler: _Containers_Stop_Handler,
  1859. },
  1860. {
  1861. MethodName: "Kill",
  1862. Handler: _Containers_Kill_Handler,
  1863. },
  1864. {
  1865. MethodName: "Run",
  1866. Handler: _Containers_Run_Handler,
  1867. },
  1868. {
  1869. MethodName: "Exec",
  1870. Handler: _Containers_Exec_Handler,
  1871. },
  1872. {
  1873. MethodName: "Delete",
  1874. Handler: _Containers_Delete_Handler,
  1875. },
  1876. {
  1877. MethodName: "Inspect",
  1878. Handler: _Containers_Inspect_Handler,
  1879. },
  1880. },
  1881. Streams: []grpc.StreamDesc{
  1882. {
  1883. StreamName: "Logs",
  1884. Handler: _Containers_Logs_Handler,
  1885. ServerStreams: true,
  1886. },
  1887. },
  1888. Metadata: "protos/containers/v1/containers.proto",
  1889. }