containers.pb.go 75 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128
  1. //
  2. // Copyright 2020 Docker Compose CLI authors
  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. Command []string `protobuf:"bytes,9,rep,name=command,proto3" json:"command,omitempty"`
  624. }
  625. func (x *RunRequest) Reset() {
  626. *x = RunRequest{}
  627. if protoimpl.UnsafeEnabled {
  628. mi := &file_protos_containers_v1_containers_proto_msgTypes[12]
  629. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  630. ms.StoreMessageInfo(mi)
  631. }
  632. }
  633. func (x *RunRequest) String() string {
  634. return protoimpl.X.MessageStringOf(x)
  635. }
  636. func (*RunRequest) ProtoMessage() {}
  637. func (x *RunRequest) ProtoReflect() protoreflect.Message {
  638. mi := &file_protos_containers_v1_containers_proto_msgTypes[12]
  639. if protoimpl.UnsafeEnabled && x != nil {
  640. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  641. if ms.LoadMessageInfo() == nil {
  642. ms.StoreMessageInfo(mi)
  643. }
  644. return ms
  645. }
  646. return mi.MessageOf(x)
  647. }
  648. // Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.
  649. func (*RunRequest) Descriptor() ([]byte, []int) {
  650. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{12}
  651. }
  652. func (x *RunRequest) GetId() string {
  653. if x != nil {
  654. return x.Id
  655. }
  656. return ""
  657. }
  658. func (x *RunRequest) GetImage() string {
  659. if x != nil {
  660. return x.Image
  661. }
  662. return ""
  663. }
  664. func (x *RunRequest) GetPorts() []*Port {
  665. if x != nil {
  666. return x.Ports
  667. }
  668. return nil
  669. }
  670. func (x *RunRequest) GetLabels() map[string]string {
  671. if x != nil {
  672. return x.Labels
  673. }
  674. return nil
  675. }
  676. func (x *RunRequest) GetVolumes() []string {
  677. if x != nil {
  678. return x.Volumes
  679. }
  680. return nil
  681. }
  682. func (x *RunRequest) GetMemoryLimit() uint64 {
  683. if x != nil {
  684. return x.MemoryLimit
  685. }
  686. return 0
  687. }
  688. func (x *RunRequest) GetCpuLimit() uint64 {
  689. if x != nil {
  690. return x.CpuLimit
  691. }
  692. return 0
  693. }
  694. func (x *RunRequest) GetRestartPolicyCondition() string {
  695. if x != nil {
  696. return x.RestartPolicyCondition
  697. }
  698. return ""
  699. }
  700. func (x *RunRequest) GetCommand() []string {
  701. if x != nil {
  702. return x.Command
  703. }
  704. return nil
  705. }
  706. type RunResponse struct {
  707. state protoimpl.MessageState
  708. sizeCache protoimpl.SizeCache
  709. unknownFields protoimpl.UnknownFields
  710. }
  711. func (x *RunResponse) Reset() {
  712. *x = RunResponse{}
  713. if protoimpl.UnsafeEnabled {
  714. mi := &file_protos_containers_v1_containers_proto_msgTypes[13]
  715. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  716. ms.StoreMessageInfo(mi)
  717. }
  718. }
  719. func (x *RunResponse) String() string {
  720. return protoimpl.X.MessageStringOf(x)
  721. }
  722. func (*RunResponse) ProtoMessage() {}
  723. func (x *RunResponse) ProtoReflect() protoreflect.Message {
  724. mi := &file_protos_containers_v1_containers_proto_msgTypes[13]
  725. if protoimpl.UnsafeEnabled && x != nil {
  726. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  727. if ms.LoadMessageInfo() == nil {
  728. ms.StoreMessageInfo(mi)
  729. }
  730. return ms
  731. }
  732. return mi.MessageOf(x)
  733. }
  734. // Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.
  735. func (*RunResponse) Descriptor() ([]byte, []int) {
  736. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{13}
  737. }
  738. type ExecRequest struct {
  739. state protoimpl.MessageState
  740. sizeCache protoimpl.SizeCache
  741. unknownFields protoimpl.UnknownFields
  742. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  743. Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
  744. StreamId string `protobuf:"bytes,3,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
  745. Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
  746. Env []string `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"`
  747. Tty bool `protobuf:"varint,6,opt,name=tty,proto3" json:"tty,omitempty"`
  748. }
  749. func (x *ExecRequest) Reset() {
  750. *x = ExecRequest{}
  751. if protoimpl.UnsafeEnabled {
  752. mi := &file_protos_containers_v1_containers_proto_msgTypes[14]
  753. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  754. ms.StoreMessageInfo(mi)
  755. }
  756. }
  757. func (x *ExecRequest) String() string {
  758. return protoimpl.X.MessageStringOf(x)
  759. }
  760. func (*ExecRequest) ProtoMessage() {}
  761. func (x *ExecRequest) ProtoReflect() protoreflect.Message {
  762. mi := &file_protos_containers_v1_containers_proto_msgTypes[14]
  763. if protoimpl.UnsafeEnabled && x != nil {
  764. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  765. if ms.LoadMessageInfo() == nil {
  766. ms.StoreMessageInfo(mi)
  767. }
  768. return ms
  769. }
  770. return mi.MessageOf(x)
  771. }
  772. // Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
  773. func (*ExecRequest) Descriptor() ([]byte, []int) {
  774. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{14}
  775. }
  776. func (x *ExecRequest) GetId() string {
  777. if x != nil {
  778. return x.Id
  779. }
  780. return ""
  781. }
  782. func (x *ExecRequest) GetCommand() string {
  783. if x != nil {
  784. return x.Command
  785. }
  786. return ""
  787. }
  788. func (x *ExecRequest) GetStreamId() string {
  789. if x != nil {
  790. return x.StreamId
  791. }
  792. return ""
  793. }
  794. func (x *ExecRequest) GetArgs() []string {
  795. if x != nil {
  796. return x.Args
  797. }
  798. return nil
  799. }
  800. func (x *ExecRequest) GetEnv() []string {
  801. if x != nil {
  802. return x.Env
  803. }
  804. return nil
  805. }
  806. func (x *ExecRequest) GetTty() bool {
  807. if x != nil {
  808. return x.Tty
  809. }
  810. return false
  811. }
  812. type ExecResponse struct {
  813. state protoimpl.MessageState
  814. sizeCache protoimpl.SizeCache
  815. unknownFields protoimpl.UnknownFields
  816. Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
  817. }
  818. func (x *ExecResponse) Reset() {
  819. *x = ExecResponse{}
  820. if protoimpl.UnsafeEnabled {
  821. mi := &file_protos_containers_v1_containers_proto_msgTypes[15]
  822. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  823. ms.StoreMessageInfo(mi)
  824. }
  825. }
  826. func (x *ExecResponse) String() string {
  827. return protoimpl.X.MessageStringOf(x)
  828. }
  829. func (*ExecResponse) ProtoMessage() {}
  830. func (x *ExecResponse) ProtoReflect() protoreflect.Message {
  831. mi := &file_protos_containers_v1_containers_proto_msgTypes[15]
  832. if protoimpl.UnsafeEnabled && x != nil {
  833. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  834. if ms.LoadMessageInfo() == nil {
  835. ms.StoreMessageInfo(mi)
  836. }
  837. return ms
  838. }
  839. return mi.MessageOf(x)
  840. }
  841. // Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.
  842. func (*ExecResponse) Descriptor() ([]byte, []int) {
  843. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{15}
  844. }
  845. func (x *ExecResponse) GetOutput() []byte {
  846. if x != nil {
  847. return x.Output
  848. }
  849. return nil
  850. }
  851. type ListRequest struct {
  852. state protoimpl.MessageState
  853. sizeCache protoimpl.SizeCache
  854. unknownFields protoimpl.UnknownFields
  855. All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
  856. }
  857. func (x *ListRequest) Reset() {
  858. *x = ListRequest{}
  859. if protoimpl.UnsafeEnabled {
  860. mi := &file_protos_containers_v1_containers_proto_msgTypes[16]
  861. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  862. ms.StoreMessageInfo(mi)
  863. }
  864. }
  865. func (x *ListRequest) String() string {
  866. return protoimpl.X.MessageStringOf(x)
  867. }
  868. func (*ListRequest) ProtoMessage() {}
  869. func (x *ListRequest) ProtoReflect() protoreflect.Message {
  870. mi := &file_protos_containers_v1_containers_proto_msgTypes[16]
  871. if protoimpl.UnsafeEnabled && x != nil {
  872. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  873. if ms.LoadMessageInfo() == nil {
  874. ms.StoreMessageInfo(mi)
  875. }
  876. return ms
  877. }
  878. return mi.MessageOf(x)
  879. }
  880. // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
  881. func (*ListRequest) Descriptor() ([]byte, []int) {
  882. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{16}
  883. }
  884. func (x *ListRequest) GetAll() bool {
  885. if x != nil {
  886. return x.All
  887. }
  888. return false
  889. }
  890. type ListResponse struct {
  891. state protoimpl.MessageState
  892. sizeCache protoimpl.SizeCache
  893. unknownFields protoimpl.UnknownFields
  894. Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
  895. }
  896. func (x *ListResponse) Reset() {
  897. *x = ListResponse{}
  898. if protoimpl.UnsafeEnabled {
  899. mi := &file_protos_containers_v1_containers_proto_msgTypes[17]
  900. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  901. ms.StoreMessageInfo(mi)
  902. }
  903. }
  904. func (x *ListResponse) String() string {
  905. return protoimpl.X.MessageStringOf(x)
  906. }
  907. func (*ListResponse) ProtoMessage() {}
  908. func (x *ListResponse) ProtoReflect() protoreflect.Message {
  909. mi := &file_protos_containers_v1_containers_proto_msgTypes[17]
  910. if protoimpl.UnsafeEnabled && x != nil {
  911. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  912. if ms.LoadMessageInfo() == nil {
  913. ms.StoreMessageInfo(mi)
  914. }
  915. return ms
  916. }
  917. return mi.MessageOf(x)
  918. }
  919. // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
  920. func (*ListResponse) Descriptor() ([]byte, []int) {
  921. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{17}
  922. }
  923. func (x *ListResponse) GetContainers() []*Container {
  924. if x != nil {
  925. return x.Containers
  926. }
  927. return nil
  928. }
  929. type LogsRequest struct {
  930. state protoimpl.MessageState
  931. sizeCache protoimpl.SizeCache
  932. unknownFields protoimpl.UnknownFields
  933. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
  934. Follow bool `protobuf:"varint,3,opt,name=follow,proto3" json:"follow,omitempty"`
  935. }
  936. func (x *LogsRequest) Reset() {
  937. *x = LogsRequest{}
  938. if protoimpl.UnsafeEnabled {
  939. mi := &file_protos_containers_v1_containers_proto_msgTypes[18]
  940. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  941. ms.StoreMessageInfo(mi)
  942. }
  943. }
  944. func (x *LogsRequest) String() string {
  945. return protoimpl.X.MessageStringOf(x)
  946. }
  947. func (*LogsRequest) ProtoMessage() {}
  948. func (x *LogsRequest) ProtoReflect() protoreflect.Message {
  949. mi := &file_protos_containers_v1_containers_proto_msgTypes[18]
  950. if protoimpl.UnsafeEnabled && x != nil {
  951. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  952. if ms.LoadMessageInfo() == nil {
  953. ms.StoreMessageInfo(mi)
  954. }
  955. return ms
  956. }
  957. return mi.MessageOf(x)
  958. }
  959. // Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.
  960. func (*LogsRequest) Descriptor() ([]byte, []int) {
  961. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{18}
  962. }
  963. func (x *LogsRequest) GetContainerId() string {
  964. if x != nil {
  965. return x.ContainerId
  966. }
  967. return ""
  968. }
  969. func (x *LogsRequest) GetFollow() bool {
  970. if x != nil {
  971. return x.Follow
  972. }
  973. return false
  974. }
  975. type LogsResponse struct {
  976. state protoimpl.MessageState
  977. sizeCache protoimpl.SizeCache
  978. unknownFields protoimpl.UnknownFields
  979. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  980. }
  981. func (x *LogsResponse) Reset() {
  982. *x = LogsResponse{}
  983. if protoimpl.UnsafeEnabled {
  984. mi := &file_protos_containers_v1_containers_proto_msgTypes[19]
  985. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  986. ms.StoreMessageInfo(mi)
  987. }
  988. }
  989. func (x *LogsResponse) String() string {
  990. return protoimpl.X.MessageStringOf(x)
  991. }
  992. func (*LogsResponse) ProtoMessage() {}
  993. func (x *LogsResponse) ProtoReflect() protoreflect.Message {
  994. mi := &file_protos_containers_v1_containers_proto_msgTypes[19]
  995. if protoimpl.UnsafeEnabled && x != nil {
  996. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  997. if ms.LoadMessageInfo() == nil {
  998. ms.StoreMessageInfo(mi)
  999. }
  1000. return ms
  1001. }
  1002. return mi.MessageOf(x)
  1003. }
  1004. // Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.
  1005. func (*LogsResponse) Descriptor() ([]byte, []int) {
  1006. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{19}
  1007. }
  1008. func (x *LogsResponse) GetValue() []byte {
  1009. if x != nil {
  1010. return x.Value
  1011. }
  1012. return nil
  1013. }
  1014. var File_protos_containers_v1_containers_proto protoreflect.FileDescriptor
  1015. var file_protos_containers_v1_containers_proto_rawDesc = []byte{
  1016. 0x0a, 0x25, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
  1017. 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
  1018. 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63,
  1019. 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63,
  1020. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x7f, 0x0a, 0x04,
  1021. 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x72,
  1022. 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x6f, 0x72,
  1023. 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x70,
  1024. 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1025. 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74,
  1026. 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74,
  1027. 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x70, 0x18,
  1028. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x70, 0x22, 0xd2, 0x03,
  1029. 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  1030. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69,
  1031. 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67,
  1032. 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
  1033. 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d,
  1034. 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
  1035. 0x61, 0x6e, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
  1036. 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x70, 0x75, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21,
  1037. 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06,
  1038. 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67,
  1039. 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69,
  1040. 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4c,
  1041. 0x69, 0x6d, 0x69, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x69, 0x64, 0x73, 0x5f, 0x63, 0x75, 0x72,
  1042. 0x72, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x69, 0x64, 0x73,
  1043. 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x69, 0x64, 0x73, 0x5f,
  1044. 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x69, 0x64,
  1045. 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
  1046. 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3f,
  1047. 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,
  1048. 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70,
  1049. 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  1050. 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12,
  1051. 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0c, 0x20, 0x01,
  1052. 0x28, 0x04, 0x52, 0x08, 0x63, 0x70, 0x75, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08,
  1053. 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  1054. 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x74,
  1055. 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69,
  1056. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x73, 0x74,
  1057. 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
  1058. 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71,
  1059. 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1060. 0x52, 0x02, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x0f, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52,
  1061. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1062. 0x69, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d,
  1063. 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1064. 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31,
  1065. 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74,
  1066. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0x35, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,
  1067. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1068. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18,
  1069. 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x10, 0x0a, 0x0e,
  1070. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e,
  1071. 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,
  1072. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x0f,
  1073. 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  1074. 0x37, 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,
  1075. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18,
  1076. 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1077. 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x70,
  1078. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x0b, 0x4b, 0x69, 0x6c, 0x6c,
  1079. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  1080. 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61,
  1081. 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22,
  1082. 0x0e, 0x0a, 0x0c, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  1083. 0xb1, 0x03, 0x0a, 0x0a, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,
  1084. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14,
  1085. 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69,
  1086. 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x03, 0x20,
  1087. 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
  1088. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
  1089. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05,
  1090. 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
  1091. 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
  1092. 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f,
  1093. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x52,
  1094. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74,
  1095. 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x6f,
  1096. 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x76, 0x6f, 0x6c,
  1097. 0x75, 0x6d, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6c,
  1098. 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f,
  1099. 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x6c,
  1100. 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x70, 0x75, 0x4c,
  1101. 0x69, 0x6d, 0x69, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f,
  1102. 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1103. 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50,
  1104. 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18,
  1105. 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52,
  1106. 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65,
  1107. 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
  1108. 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
  1109. 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
  1110. 0x02, 0x38, 0x01, 0x22, 0x0d, 0x0a, 0x0b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  1111. 0x73, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65,
  1112. 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
  1113. 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20,
  1114. 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09,
  1115. 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  1116. 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67,
  1117. 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a,
  1118. 0x03, 0x65, 0x6e, 0x76, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12,
  1119. 0x10, 0x0a, 0x03, 0x74, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x74, 0x74,
  1120. 0x79, 0x22, 0x26, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  1121. 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
  1122. 0x0c, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0x1f, 0x0a, 0x0b, 0x4c, 0x69, 0x73,
  1123. 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18,
  1124. 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x22, 0x5e, 0x0a, 0x0c, 0x4c, 0x69,
  1125. 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0a, 0x63, 0x6f,
  1126. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e,
  1127. 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  1128. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
  1129. 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0a,
  1130. 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x22, 0x48, 0x0a, 0x0b, 0x4c, 0x6f,
  1131. 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e,
  1132. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1133. 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
  1134. 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x6f,
  1135. 0x6c, 0x6c, 0x6f, 0x77, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70,
  1136. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
  1137. 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0xf2, 0x07, 0x0a, 0x0a, 0x43,
  1138. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x6b, 0x0a, 0x04, 0x4c, 0x69, 0x73,
  1139. 0x74, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  1140. 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
  1141. 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
  1142. 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
  1143. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
  1144. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  1145. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12,
  1146. 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  1147. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
  1148. 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
  1149. 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
  1150. 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1151. 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65,
  1152. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x04, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x30,
  1153. 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  1154. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
  1155. 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1156. 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70,
  1157. 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
  1158. 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f,
  1159. 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x04, 0x4b, 0x69, 0x6c, 0x6c, 0x12, 0x30, 0x2e, 0x63, 0x6f,
  1160. 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f,
  1161. 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76,
  1162. 0x31, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e,
  1163. 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70,
  1164. 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  1165. 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1166. 0x12, 0x68, 0x0a, 0x03, 0x52, 0x75, 0x6e, 0x12, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f,
  1167. 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e,
  1168. 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75,
  1169. 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
  1170. 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  1171. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52,
  1172. 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x04, 0x45, 0x78,
  1173. 0x65, 0x63, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
  1174. 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1175. 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71,
  1176. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  1177. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
  1178. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52,
  1179. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x04, 0x4c, 0x6f, 0x67, 0x73, 0x12,
  1180. 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  1181. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
  1182. 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  1183. 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  1184. 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
  1185. 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70,
  1186. 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  1187. 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70,
  1188. 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
  1189. 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71,
  1190. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  1191. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
  1192. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
  1193. 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x07, 0x49, 0x6e, 0x73,
  1194. 0x70, 0x65, 0x63, 0x74, 0x12, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  1195. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
  1196. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x70, 0x65,
  1197. 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
  1198. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1199. 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e,
  1200. 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
  1201. 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x6f,
  1202. 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x2d, 0x63, 0x6c, 0x69,
  1203. 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
  1204. 0x72, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1205. }
  1206. var (
  1207. file_protos_containers_v1_containers_proto_rawDescOnce sync.Once
  1208. file_protos_containers_v1_containers_proto_rawDescData = file_protos_containers_v1_containers_proto_rawDesc
  1209. )
  1210. func file_protos_containers_v1_containers_proto_rawDescGZIP() []byte {
  1211. file_protos_containers_v1_containers_proto_rawDescOnce.Do(func() {
  1212. file_protos_containers_v1_containers_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_containers_v1_containers_proto_rawDescData)
  1213. })
  1214. return file_protos_containers_v1_containers_proto_rawDescData
  1215. }
  1216. var file_protos_containers_v1_containers_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
  1217. var file_protos_containers_v1_containers_proto_goTypes = []interface{}{
  1218. (*Port)(nil), // 0: com.docker.api.protos.containers.v1.Port
  1219. (*Container)(nil), // 1: com.docker.api.protos.containers.v1.Container
  1220. (*InspectRequest)(nil), // 2: com.docker.api.protos.containers.v1.InspectRequest
  1221. (*InspectResponse)(nil), // 3: com.docker.api.protos.containers.v1.InspectResponse
  1222. (*DeleteRequest)(nil), // 4: com.docker.api.protos.containers.v1.DeleteRequest
  1223. (*DeleteResponse)(nil), // 5: com.docker.api.protos.containers.v1.DeleteResponse
  1224. (*StartRequest)(nil), // 6: com.docker.api.protos.containers.v1.StartRequest
  1225. (*StartResponse)(nil), // 7: com.docker.api.protos.containers.v1.StartResponse
  1226. (*StopRequest)(nil), // 8: com.docker.api.protos.containers.v1.StopRequest
  1227. (*StopResponse)(nil), // 9: com.docker.api.protos.containers.v1.StopResponse
  1228. (*KillRequest)(nil), // 10: com.docker.api.protos.containers.v1.KillRequest
  1229. (*KillResponse)(nil), // 11: com.docker.api.protos.containers.v1.KillResponse
  1230. (*RunRequest)(nil), // 12: com.docker.api.protos.containers.v1.RunRequest
  1231. (*RunResponse)(nil), // 13: com.docker.api.protos.containers.v1.RunResponse
  1232. (*ExecRequest)(nil), // 14: com.docker.api.protos.containers.v1.ExecRequest
  1233. (*ExecResponse)(nil), // 15: com.docker.api.protos.containers.v1.ExecResponse
  1234. (*ListRequest)(nil), // 16: com.docker.api.protos.containers.v1.ListRequest
  1235. (*ListResponse)(nil), // 17: com.docker.api.protos.containers.v1.ListResponse
  1236. (*LogsRequest)(nil), // 18: com.docker.api.protos.containers.v1.LogsRequest
  1237. (*LogsResponse)(nil), // 19: com.docker.api.protos.containers.v1.LogsResponse
  1238. nil, // 20: com.docker.api.protos.containers.v1.RunRequest.LabelsEntry
  1239. }
  1240. var file_protos_containers_v1_containers_proto_depIdxs = []int32{
  1241. 0, // 0: com.docker.api.protos.containers.v1.Container.ports:type_name -> com.docker.api.protos.containers.v1.Port
  1242. 1, // 1: com.docker.api.protos.containers.v1.InspectResponse.container:type_name -> com.docker.api.protos.containers.v1.Container
  1243. 0, // 2: com.docker.api.protos.containers.v1.RunRequest.ports:type_name -> com.docker.api.protos.containers.v1.Port
  1244. 20, // 3: com.docker.api.protos.containers.v1.RunRequest.labels:type_name -> com.docker.api.protos.containers.v1.RunRequest.LabelsEntry
  1245. 1, // 4: com.docker.api.protos.containers.v1.ListResponse.containers:type_name -> com.docker.api.protos.containers.v1.Container
  1246. 16, // 5: com.docker.api.protos.containers.v1.Containers.List:input_type -> com.docker.api.protos.containers.v1.ListRequest
  1247. 6, // 6: com.docker.api.protos.containers.v1.Containers.Start:input_type -> com.docker.api.protos.containers.v1.StartRequest
  1248. 8, // 7: com.docker.api.protos.containers.v1.Containers.Stop:input_type -> com.docker.api.protos.containers.v1.StopRequest
  1249. 10, // 8: com.docker.api.protos.containers.v1.Containers.Kill:input_type -> com.docker.api.protos.containers.v1.KillRequest
  1250. 12, // 9: com.docker.api.protos.containers.v1.Containers.Run:input_type -> com.docker.api.protos.containers.v1.RunRequest
  1251. 14, // 10: com.docker.api.protos.containers.v1.Containers.Exec:input_type -> com.docker.api.protos.containers.v1.ExecRequest
  1252. 18, // 11: com.docker.api.protos.containers.v1.Containers.Logs:input_type -> com.docker.api.protos.containers.v1.LogsRequest
  1253. 4, // 12: com.docker.api.protos.containers.v1.Containers.Delete:input_type -> com.docker.api.protos.containers.v1.DeleteRequest
  1254. 2, // 13: com.docker.api.protos.containers.v1.Containers.Inspect:input_type -> com.docker.api.protos.containers.v1.InspectRequest
  1255. 17, // 14: com.docker.api.protos.containers.v1.Containers.List:output_type -> com.docker.api.protos.containers.v1.ListResponse
  1256. 7, // 15: com.docker.api.protos.containers.v1.Containers.Start:output_type -> com.docker.api.protos.containers.v1.StartResponse
  1257. 9, // 16: com.docker.api.protos.containers.v1.Containers.Stop:output_type -> com.docker.api.protos.containers.v1.StopResponse
  1258. 11, // 17: com.docker.api.protos.containers.v1.Containers.Kill:output_type -> com.docker.api.protos.containers.v1.KillResponse
  1259. 13, // 18: com.docker.api.protos.containers.v1.Containers.Run:output_type -> com.docker.api.protos.containers.v1.RunResponse
  1260. 15, // 19: com.docker.api.protos.containers.v1.Containers.Exec:output_type -> com.docker.api.protos.containers.v1.ExecResponse
  1261. 19, // 20: com.docker.api.protos.containers.v1.Containers.Logs:output_type -> com.docker.api.protos.containers.v1.LogsResponse
  1262. 5, // 21: com.docker.api.protos.containers.v1.Containers.Delete:output_type -> com.docker.api.protos.containers.v1.DeleteResponse
  1263. 3, // 22: com.docker.api.protos.containers.v1.Containers.Inspect:output_type -> com.docker.api.protos.containers.v1.InspectResponse
  1264. 14, // [14:23] is the sub-list for method output_type
  1265. 5, // [5:14] is the sub-list for method input_type
  1266. 5, // [5:5] is the sub-list for extension type_name
  1267. 5, // [5:5] is the sub-list for extension extendee
  1268. 0, // [0:5] is the sub-list for field type_name
  1269. }
  1270. func init() { file_protos_containers_v1_containers_proto_init() }
  1271. func file_protos_containers_v1_containers_proto_init() {
  1272. if File_protos_containers_v1_containers_proto != nil {
  1273. return
  1274. }
  1275. if !protoimpl.UnsafeEnabled {
  1276. file_protos_containers_v1_containers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1277. switch v := v.(*Port); i {
  1278. case 0:
  1279. return &v.state
  1280. case 1:
  1281. return &v.sizeCache
  1282. case 2:
  1283. return &v.unknownFields
  1284. default:
  1285. return nil
  1286. }
  1287. }
  1288. file_protos_containers_v1_containers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1289. switch v := v.(*Container); i {
  1290. case 0:
  1291. return &v.state
  1292. case 1:
  1293. return &v.sizeCache
  1294. case 2:
  1295. return &v.unknownFields
  1296. default:
  1297. return nil
  1298. }
  1299. }
  1300. file_protos_containers_v1_containers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1301. switch v := v.(*InspectRequest); i {
  1302. case 0:
  1303. return &v.state
  1304. case 1:
  1305. return &v.sizeCache
  1306. case 2:
  1307. return &v.unknownFields
  1308. default:
  1309. return nil
  1310. }
  1311. }
  1312. file_protos_containers_v1_containers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1313. switch v := v.(*InspectResponse); i {
  1314. case 0:
  1315. return &v.state
  1316. case 1:
  1317. return &v.sizeCache
  1318. case 2:
  1319. return &v.unknownFields
  1320. default:
  1321. return nil
  1322. }
  1323. }
  1324. file_protos_containers_v1_containers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1325. switch v := v.(*DeleteRequest); i {
  1326. case 0:
  1327. return &v.state
  1328. case 1:
  1329. return &v.sizeCache
  1330. case 2:
  1331. return &v.unknownFields
  1332. default:
  1333. return nil
  1334. }
  1335. }
  1336. file_protos_containers_v1_containers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1337. switch v := v.(*DeleteResponse); i {
  1338. case 0:
  1339. return &v.state
  1340. case 1:
  1341. return &v.sizeCache
  1342. case 2:
  1343. return &v.unknownFields
  1344. default:
  1345. return nil
  1346. }
  1347. }
  1348. file_protos_containers_v1_containers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1349. switch v := v.(*StartRequest); i {
  1350. case 0:
  1351. return &v.state
  1352. case 1:
  1353. return &v.sizeCache
  1354. case 2:
  1355. return &v.unknownFields
  1356. default:
  1357. return nil
  1358. }
  1359. }
  1360. file_protos_containers_v1_containers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1361. switch v := v.(*StartResponse); i {
  1362. case 0:
  1363. return &v.state
  1364. case 1:
  1365. return &v.sizeCache
  1366. case 2:
  1367. return &v.unknownFields
  1368. default:
  1369. return nil
  1370. }
  1371. }
  1372. file_protos_containers_v1_containers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1373. switch v := v.(*StopRequest); i {
  1374. case 0:
  1375. return &v.state
  1376. case 1:
  1377. return &v.sizeCache
  1378. case 2:
  1379. return &v.unknownFields
  1380. default:
  1381. return nil
  1382. }
  1383. }
  1384. file_protos_containers_v1_containers_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1385. switch v := v.(*StopResponse); i {
  1386. case 0:
  1387. return &v.state
  1388. case 1:
  1389. return &v.sizeCache
  1390. case 2:
  1391. return &v.unknownFields
  1392. default:
  1393. return nil
  1394. }
  1395. }
  1396. file_protos_containers_v1_containers_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1397. switch v := v.(*KillRequest); i {
  1398. case 0:
  1399. return &v.state
  1400. case 1:
  1401. return &v.sizeCache
  1402. case 2:
  1403. return &v.unknownFields
  1404. default:
  1405. return nil
  1406. }
  1407. }
  1408. file_protos_containers_v1_containers_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1409. switch v := v.(*KillResponse); i {
  1410. case 0:
  1411. return &v.state
  1412. case 1:
  1413. return &v.sizeCache
  1414. case 2:
  1415. return &v.unknownFields
  1416. default:
  1417. return nil
  1418. }
  1419. }
  1420. file_protos_containers_v1_containers_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1421. switch v := v.(*RunRequest); i {
  1422. case 0:
  1423. return &v.state
  1424. case 1:
  1425. return &v.sizeCache
  1426. case 2:
  1427. return &v.unknownFields
  1428. default:
  1429. return nil
  1430. }
  1431. }
  1432. file_protos_containers_v1_containers_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1433. switch v := v.(*RunResponse); i {
  1434. case 0:
  1435. return &v.state
  1436. case 1:
  1437. return &v.sizeCache
  1438. case 2:
  1439. return &v.unknownFields
  1440. default:
  1441. return nil
  1442. }
  1443. }
  1444. file_protos_containers_v1_containers_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1445. switch v := v.(*ExecRequest); i {
  1446. case 0:
  1447. return &v.state
  1448. case 1:
  1449. return &v.sizeCache
  1450. case 2:
  1451. return &v.unknownFields
  1452. default:
  1453. return nil
  1454. }
  1455. }
  1456. file_protos_containers_v1_containers_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1457. switch v := v.(*ExecResponse); i {
  1458. case 0:
  1459. return &v.state
  1460. case 1:
  1461. return &v.sizeCache
  1462. case 2:
  1463. return &v.unknownFields
  1464. default:
  1465. return nil
  1466. }
  1467. }
  1468. file_protos_containers_v1_containers_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1469. switch v := v.(*ListRequest); i {
  1470. case 0:
  1471. return &v.state
  1472. case 1:
  1473. return &v.sizeCache
  1474. case 2:
  1475. return &v.unknownFields
  1476. default:
  1477. return nil
  1478. }
  1479. }
  1480. file_protos_containers_v1_containers_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1481. switch v := v.(*ListResponse); i {
  1482. case 0:
  1483. return &v.state
  1484. case 1:
  1485. return &v.sizeCache
  1486. case 2:
  1487. return &v.unknownFields
  1488. default:
  1489. return nil
  1490. }
  1491. }
  1492. file_protos_containers_v1_containers_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  1493. switch v := v.(*LogsRequest); i {
  1494. case 0:
  1495. return &v.state
  1496. case 1:
  1497. return &v.sizeCache
  1498. case 2:
  1499. return &v.unknownFields
  1500. default:
  1501. return nil
  1502. }
  1503. }
  1504. file_protos_containers_v1_containers_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  1505. switch v := v.(*LogsResponse); i {
  1506. case 0:
  1507. return &v.state
  1508. case 1:
  1509. return &v.sizeCache
  1510. case 2:
  1511. return &v.unknownFields
  1512. default:
  1513. return nil
  1514. }
  1515. }
  1516. }
  1517. type x struct{}
  1518. out := protoimpl.TypeBuilder{
  1519. File: protoimpl.DescBuilder{
  1520. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1521. RawDescriptor: file_protos_containers_v1_containers_proto_rawDesc,
  1522. NumEnums: 0,
  1523. NumMessages: 21,
  1524. NumExtensions: 0,
  1525. NumServices: 1,
  1526. },
  1527. GoTypes: file_protos_containers_v1_containers_proto_goTypes,
  1528. DependencyIndexes: file_protos_containers_v1_containers_proto_depIdxs,
  1529. MessageInfos: file_protos_containers_v1_containers_proto_msgTypes,
  1530. }.Build()
  1531. File_protos_containers_v1_containers_proto = out.File
  1532. file_protos_containers_v1_containers_proto_rawDesc = nil
  1533. file_protos_containers_v1_containers_proto_goTypes = nil
  1534. file_protos_containers_v1_containers_proto_depIdxs = nil
  1535. }
  1536. // Reference imports to suppress errors if they are not otherwise used.
  1537. var _ context.Context
  1538. var _ grpc.ClientConnInterface
  1539. // This is a compile-time assertion to ensure that this generated file
  1540. // is compatible with the grpc package it is being compiled against.
  1541. const _ = grpc.SupportPackageIsVersion6
  1542. // ContainersClient is the client API for Containers service.
  1543. //
  1544. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1545. type ContainersClient interface {
  1546. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
  1547. Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error)
  1548. Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
  1549. Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error)
  1550. Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error)
  1551. Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
  1552. Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error)
  1553. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
  1554. Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error)
  1555. }
  1556. type containersClient struct {
  1557. cc grpc.ClientConnInterface
  1558. }
  1559. func NewContainersClient(cc grpc.ClientConnInterface) ContainersClient {
  1560. return &containersClient{cc}
  1561. }
  1562. func (c *containersClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
  1563. out := new(ListResponse)
  1564. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/List", in, out, opts...)
  1565. if err != nil {
  1566. return nil, err
  1567. }
  1568. return out, nil
  1569. }
  1570. func (c *containersClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) {
  1571. out := new(StartResponse)
  1572. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Start", in, out, opts...)
  1573. if err != nil {
  1574. return nil, err
  1575. }
  1576. return out, nil
  1577. }
  1578. func (c *containersClient) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) {
  1579. out := new(StopResponse)
  1580. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Stop", in, out, opts...)
  1581. if err != nil {
  1582. return nil, err
  1583. }
  1584. return out, nil
  1585. }
  1586. func (c *containersClient) Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error) {
  1587. out := new(KillResponse)
  1588. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Kill", in, out, opts...)
  1589. if err != nil {
  1590. return nil, err
  1591. }
  1592. return out, nil
  1593. }
  1594. func (c *containersClient) Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error) {
  1595. out := new(RunResponse)
  1596. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Run", in, out, opts...)
  1597. if err != nil {
  1598. return nil, err
  1599. }
  1600. return out, nil
  1601. }
  1602. func (c *containersClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) {
  1603. out := new(ExecResponse)
  1604. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Exec", in, out, opts...)
  1605. if err != nil {
  1606. return nil, err
  1607. }
  1608. return out, nil
  1609. }
  1610. func (c *containersClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error) {
  1611. stream, err := c.cc.NewStream(ctx, &_Containers_serviceDesc.Streams[0], "/com.docker.api.protos.containers.v1.Containers/Logs", opts...)
  1612. if err != nil {
  1613. return nil, err
  1614. }
  1615. x := &containersLogsClient{stream}
  1616. if err := x.ClientStream.SendMsg(in); err != nil {
  1617. return nil, err
  1618. }
  1619. if err := x.ClientStream.CloseSend(); err != nil {
  1620. return nil, err
  1621. }
  1622. return x, nil
  1623. }
  1624. type Containers_LogsClient interface {
  1625. Recv() (*LogsResponse, error)
  1626. grpc.ClientStream
  1627. }
  1628. type containersLogsClient struct {
  1629. grpc.ClientStream
  1630. }
  1631. func (x *containersLogsClient) Recv() (*LogsResponse, error) {
  1632. m := new(LogsResponse)
  1633. if err := x.ClientStream.RecvMsg(m); err != nil {
  1634. return nil, err
  1635. }
  1636. return m, nil
  1637. }
  1638. func (c *containersClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
  1639. out := new(DeleteResponse)
  1640. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Delete", in, out, opts...)
  1641. if err != nil {
  1642. return nil, err
  1643. }
  1644. return out, nil
  1645. }
  1646. func (c *containersClient) Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error) {
  1647. out := new(InspectResponse)
  1648. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Inspect", in, out, opts...)
  1649. if err != nil {
  1650. return nil, err
  1651. }
  1652. return out, nil
  1653. }
  1654. // ContainersServer is the server API for Containers service.
  1655. type ContainersServer interface {
  1656. List(context.Context, *ListRequest) (*ListResponse, error)
  1657. Start(context.Context, *StartRequest) (*StartResponse, error)
  1658. Stop(context.Context, *StopRequest) (*StopResponse, error)
  1659. Kill(context.Context, *KillRequest) (*KillResponse, error)
  1660. Run(context.Context, *RunRequest) (*RunResponse, error)
  1661. Exec(context.Context, *ExecRequest) (*ExecResponse, error)
  1662. Logs(*LogsRequest, Containers_LogsServer) error
  1663. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
  1664. Inspect(context.Context, *InspectRequest) (*InspectResponse, error)
  1665. }
  1666. // UnimplementedContainersServer can be embedded to have forward compatible implementations.
  1667. type UnimplementedContainersServer struct {
  1668. }
  1669. func (*UnimplementedContainersServer) List(context.Context, *ListRequest) (*ListResponse, error) {
  1670. return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
  1671. }
  1672. func (*UnimplementedContainersServer) Start(context.Context, *StartRequest) (*StartResponse, error) {
  1673. return nil, status.Errorf(codes.Unimplemented, "method Start not implemented")
  1674. }
  1675. func (*UnimplementedContainersServer) Stop(context.Context, *StopRequest) (*StopResponse, error) {
  1676. return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented")
  1677. }
  1678. func (*UnimplementedContainersServer) Kill(context.Context, *KillRequest) (*KillResponse, error) {
  1679. return nil, status.Errorf(codes.Unimplemented, "method Kill not implemented")
  1680. }
  1681. func (*UnimplementedContainersServer) Run(context.Context, *RunRequest) (*RunResponse, error) {
  1682. return nil, status.Errorf(codes.Unimplemented, "method Run not implemented")
  1683. }
  1684. func (*UnimplementedContainersServer) Exec(context.Context, *ExecRequest) (*ExecResponse, error) {
  1685. return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented")
  1686. }
  1687. func (*UnimplementedContainersServer) Logs(*LogsRequest, Containers_LogsServer) error {
  1688. return status.Errorf(codes.Unimplemented, "method Logs not implemented")
  1689. }
  1690. func (*UnimplementedContainersServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) {
  1691. return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
  1692. }
  1693. func (*UnimplementedContainersServer) Inspect(context.Context, *InspectRequest) (*InspectResponse, error) {
  1694. return nil, status.Errorf(codes.Unimplemented, "method Inspect not implemented")
  1695. }
  1696. func RegisterContainersServer(s *grpc.Server, srv ContainersServer) {
  1697. s.RegisterService(&_Containers_serviceDesc, srv)
  1698. }
  1699. func _Containers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1700. in := new(ListRequest)
  1701. if err := dec(in); err != nil {
  1702. return nil, err
  1703. }
  1704. if interceptor == nil {
  1705. return srv.(ContainersServer).List(ctx, in)
  1706. }
  1707. info := &grpc.UnaryServerInfo{
  1708. Server: srv,
  1709. FullMethod: "/com.docker.api.protos.containers.v1.Containers/List",
  1710. }
  1711. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1712. return srv.(ContainersServer).List(ctx, req.(*ListRequest))
  1713. }
  1714. return interceptor(ctx, in, info, handler)
  1715. }
  1716. func _Containers_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1717. in := new(StartRequest)
  1718. if err := dec(in); err != nil {
  1719. return nil, err
  1720. }
  1721. if interceptor == nil {
  1722. return srv.(ContainersServer).Start(ctx, in)
  1723. }
  1724. info := &grpc.UnaryServerInfo{
  1725. Server: srv,
  1726. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Start",
  1727. }
  1728. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1729. return srv.(ContainersServer).Start(ctx, req.(*StartRequest))
  1730. }
  1731. return interceptor(ctx, in, info, handler)
  1732. }
  1733. func _Containers_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1734. in := new(StopRequest)
  1735. if err := dec(in); err != nil {
  1736. return nil, err
  1737. }
  1738. if interceptor == nil {
  1739. return srv.(ContainersServer).Stop(ctx, in)
  1740. }
  1741. info := &grpc.UnaryServerInfo{
  1742. Server: srv,
  1743. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Stop",
  1744. }
  1745. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1746. return srv.(ContainersServer).Stop(ctx, req.(*StopRequest))
  1747. }
  1748. return interceptor(ctx, in, info, handler)
  1749. }
  1750. func _Containers_Kill_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1751. in := new(KillRequest)
  1752. if err := dec(in); err != nil {
  1753. return nil, err
  1754. }
  1755. if interceptor == nil {
  1756. return srv.(ContainersServer).Kill(ctx, in)
  1757. }
  1758. info := &grpc.UnaryServerInfo{
  1759. Server: srv,
  1760. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Kill",
  1761. }
  1762. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1763. return srv.(ContainersServer).Kill(ctx, req.(*KillRequest))
  1764. }
  1765. return interceptor(ctx, in, info, handler)
  1766. }
  1767. func _Containers_Run_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1768. in := new(RunRequest)
  1769. if err := dec(in); err != nil {
  1770. return nil, err
  1771. }
  1772. if interceptor == nil {
  1773. return srv.(ContainersServer).Run(ctx, in)
  1774. }
  1775. info := &grpc.UnaryServerInfo{
  1776. Server: srv,
  1777. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Run",
  1778. }
  1779. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1780. return srv.(ContainersServer).Run(ctx, req.(*RunRequest))
  1781. }
  1782. return interceptor(ctx, in, info, handler)
  1783. }
  1784. func _Containers_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1785. in := new(ExecRequest)
  1786. if err := dec(in); err != nil {
  1787. return nil, err
  1788. }
  1789. if interceptor == nil {
  1790. return srv.(ContainersServer).Exec(ctx, in)
  1791. }
  1792. info := &grpc.UnaryServerInfo{
  1793. Server: srv,
  1794. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Exec",
  1795. }
  1796. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1797. return srv.(ContainersServer).Exec(ctx, req.(*ExecRequest))
  1798. }
  1799. return interceptor(ctx, in, info, handler)
  1800. }
  1801. func _Containers_Logs_Handler(srv interface{}, stream grpc.ServerStream) error {
  1802. m := new(LogsRequest)
  1803. if err := stream.RecvMsg(m); err != nil {
  1804. return err
  1805. }
  1806. return srv.(ContainersServer).Logs(m, &containersLogsServer{stream})
  1807. }
  1808. type Containers_LogsServer interface {
  1809. Send(*LogsResponse) error
  1810. grpc.ServerStream
  1811. }
  1812. type containersLogsServer struct {
  1813. grpc.ServerStream
  1814. }
  1815. func (x *containersLogsServer) Send(m *LogsResponse) error {
  1816. return x.ServerStream.SendMsg(m)
  1817. }
  1818. func _Containers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1819. in := new(DeleteRequest)
  1820. if err := dec(in); err != nil {
  1821. return nil, err
  1822. }
  1823. if interceptor == nil {
  1824. return srv.(ContainersServer).Delete(ctx, in)
  1825. }
  1826. info := &grpc.UnaryServerInfo{
  1827. Server: srv,
  1828. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Delete",
  1829. }
  1830. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1831. return srv.(ContainersServer).Delete(ctx, req.(*DeleteRequest))
  1832. }
  1833. return interceptor(ctx, in, info, handler)
  1834. }
  1835. func _Containers_Inspect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1836. in := new(InspectRequest)
  1837. if err := dec(in); err != nil {
  1838. return nil, err
  1839. }
  1840. if interceptor == nil {
  1841. return srv.(ContainersServer).Inspect(ctx, in)
  1842. }
  1843. info := &grpc.UnaryServerInfo{
  1844. Server: srv,
  1845. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Inspect",
  1846. }
  1847. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1848. return srv.(ContainersServer).Inspect(ctx, req.(*InspectRequest))
  1849. }
  1850. return interceptor(ctx, in, info, handler)
  1851. }
  1852. var _Containers_serviceDesc = grpc.ServiceDesc{
  1853. ServiceName: "com.docker.api.protos.containers.v1.Containers",
  1854. HandlerType: (*ContainersServer)(nil),
  1855. Methods: []grpc.MethodDesc{
  1856. {
  1857. MethodName: "List",
  1858. Handler: _Containers_List_Handler,
  1859. },
  1860. {
  1861. MethodName: "Start",
  1862. Handler: _Containers_Start_Handler,
  1863. },
  1864. {
  1865. MethodName: "Stop",
  1866. Handler: _Containers_Stop_Handler,
  1867. },
  1868. {
  1869. MethodName: "Kill",
  1870. Handler: _Containers_Kill_Handler,
  1871. },
  1872. {
  1873. MethodName: "Run",
  1874. Handler: _Containers_Run_Handler,
  1875. },
  1876. {
  1877. MethodName: "Exec",
  1878. Handler: _Containers_Exec_Handler,
  1879. },
  1880. {
  1881. MethodName: "Delete",
  1882. Handler: _Containers_Delete_Handler,
  1883. },
  1884. {
  1885. MethodName: "Inspect",
  1886. Handler: _Containers_Inspect_Handler,
  1887. },
  1888. },
  1889. Streams: []grpc.StreamDesc{
  1890. {
  1891. StreamName: "Logs",
  1892. Handler: _Containers_Logs_Handler,
  1893. ServerStreams: true,
  1894. },
  1895. },
  1896. Metadata: "protos/containers/v1/containers.proto",
  1897. }