containers.pb.go 75 KB

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