containers.pb.go 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740
  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.24.0
  29. // protoc v3.11.2
  30. // source: protos/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_protos_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_protos_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_protos_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_protos_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_protos_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_protos_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 InspectRequest 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. }
  227. func (x *InspectRequest) Reset() {
  228. *x = InspectRequest{}
  229. if protoimpl.UnsafeEnabled {
  230. mi := &file_protos_containers_v1_containers_proto_msgTypes[2]
  231. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  232. ms.StoreMessageInfo(mi)
  233. }
  234. }
  235. func (x *InspectRequest) String() string {
  236. return protoimpl.X.MessageStringOf(x)
  237. }
  238. func (*InspectRequest) ProtoMessage() {}
  239. func (x *InspectRequest) ProtoReflect() protoreflect.Message {
  240. mi := &file_protos_containers_v1_containers_proto_msgTypes[2]
  241. if protoimpl.UnsafeEnabled && x != nil {
  242. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  243. if ms.LoadMessageInfo() == nil {
  244. ms.StoreMessageInfo(mi)
  245. }
  246. return ms
  247. }
  248. return mi.MessageOf(x)
  249. }
  250. // Deprecated: Use InspectRequest.ProtoReflect.Descriptor instead.
  251. func (*InspectRequest) Descriptor() ([]byte, []int) {
  252. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{2}
  253. }
  254. func (x *InspectRequest) GetId() string {
  255. if x != nil {
  256. return x.Id
  257. }
  258. return ""
  259. }
  260. type InspectResponse struct {
  261. state protoimpl.MessageState
  262. sizeCache protoimpl.SizeCache
  263. unknownFields protoimpl.UnknownFields
  264. Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
  265. }
  266. func (x *InspectResponse) Reset() {
  267. *x = InspectResponse{}
  268. if protoimpl.UnsafeEnabled {
  269. mi := &file_protos_containers_v1_containers_proto_msgTypes[3]
  270. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  271. ms.StoreMessageInfo(mi)
  272. }
  273. }
  274. func (x *InspectResponse) String() string {
  275. return protoimpl.X.MessageStringOf(x)
  276. }
  277. func (*InspectResponse) ProtoMessage() {}
  278. func (x *InspectResponse) ProtoReflect() protoreflect.Message {
  279. mi := &file_protos_containers_v1_containers_proto_msgTypes[3]
  280. if protoimpl.UnsafeEnabled && x != nil {
  281. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  282. if ms.LoadMessageInfo() == nil {
  283. ms.StoreMessageInfo(mi)
  284. }
  285. return ms
  286. }
  287. return mi.MessageOf(x)
  288. }
  289. // Deprecated: Use InspectResponse.ProtoReflect.Descriptor instead.
  290. func (*InspectResponse) Descriptor() ([]byte, []int) {
  291. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{3}
  292. }
  293. func (x *InspectResponse) GetContainer() *Container {
  294. if x != nil {
  295. return x.Container
  296. }
  297. return nil
  298. }
  299. type DeleteRequest struct {
  300. state protoimpl.MessageState
  301. sizeCache protoimpl.SizeCache
  302. unknownFields protoimpl.UnknownFields
  303. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  304. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
  305. }
  306. func (x *DeleteRequest) Reset() {
  307. *x = DeleteRequest{}
  308. if protoimpl.UnsafeEnabled {
  309. mi := &file_protos_containers_v1_containers_proto_msgTypes[4]
  310. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  311. ms.StoreMessageInfo(mi)
  312. }
  313. }
  314. func (x *DeleteRequest) String() string {
  315. return protoimpl.X.MessageStringOf(x)
  316. }
  317. func (*DeleteRequest) ProtoMessage() {}
  318. func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
  319. mi := &file_protos_containers_v1_containers_proto_msgTypes[4]
  320. if protoimpl.UnsafeEnabled && x != nil {
  321. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  322. if ms.LoadMessageInfo() == nil {
  323. ms.StoreMessageInfo(mi)
  324. }
  325. return ms
  326. }
  327. return mi.MessageOf(x)
  328. }
  329. // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
  330. func (*DeleteRequest) Descriptor() ([]byte, []int) {
  331. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{4}
  332. }
  333. func (x *DeleteRequest) GetId() string {
  334. if x != nil {
  335. return x.Id
  336. }
  337. return ""
  338. }
  339. func (x *DeleteRequest) GetForce() bool {
  340. if x != nil {
  341. return x.Force
  342. }
  343. return false
  344. }
  345. type DeleteResponse struct {
  346. state protoimpl.MessageState
  347. sizeCache protoimpl.SizeCache
  348. unknownFields protoimpl.UnknownFields
  349. }
  350. func (x *DeleteResponse) Reset() {
  351. *x = DeleteResponse{}
  352. if protoimpl.UnsafeEnabled {
  353. mi := &file_protos_containers_v1_containers_proto_msgTypes[5]
  354. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  355. ms.StoreMessageInfo(mi)
  356. }
  357. }
  358. func (x *DeleteResponse) String() string {
  359. return protoimpl.X.MessageStringOf(x)
  360. }
  361. func (*DeleteResponse) ProtoMessage() {}
  362. func (x *DeleteResponse) ProtoReflect() protoreflect.Message {
  363. mi := &file_protos_containers_v1_containers_proto_msgTypes[5]
  364. if protoimpl.UnsafeEnabled && x != nil {
  365. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  366. if ms.LoadMessageInfo() == nil {
  367. ms.StoreMessageInfo(mi)
  368. }
  369. return ms
  370. }
  371. return mi.MessageOf(x)
  372. }
  373. // Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
  374. func (*DeleteResponse) Descriptor() ([]byte, []int) {
  375. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{5}
  376. }
  377. type StopRequest struct {
  378. state protoimpl.MessageState
  379. sizeCache protoimpl.SizeCache
  380. unknownFields protoimpl.UnknownFields
  381. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  382. Timeout uint32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
  383. }
  384. func (x *StopRequest) Reset() {
  385. *x = StopRequest{}
  386. if protoimpl.UnsafeEnabled {
  387. mi := &file_protos_containers_v1_containers_proto_msgTypes[6]
  388. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  389. ms.StoreMessageInfo(mi)
  390. }
  391. }
  392. func (x *StopRequest) String() string {
  393. return protoimpl.X.MessageStringOf(x)
  394. }
  395. func (*StopRequest) ProtoMessage() {}
  396. func (x *StopRequest) ProtoReflect() protoreflect.Message {
  397. mi := &file_protos_containers_v1_containers_proto_msgTypes[6]
  398. if protoimpl.UnsafeEnabled && x != nil {
  399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  400. if ms.LoadMessageInfo() == nil {
  401. ms.StoreMessageInfo(mi)
  402. }
  403. return ms
  404. }
  405. return mi.MessageOf(x)
  406. }
  407. // Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
  408. func (*StopRequest) Descriptor() ([]byte, []int) {
  409. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{6}
  410. }
  411. func (x *StopRequest) GetId() string {
  412. if x != nil {
  413. return x.Id
  414. }
  415. return ""
  416. }
  417. func (x *StopRequest) GetTimeout() uint32 {
  418. if x != nil {
  419. return x.Timeout
  420. }
  421. return 0
  422. }
  423. type StopResponse struct {
  424. state protoimpl.MessageState
  425. sizeCache protoimpl.SizeCache
  426. unknownFields protoimpl.UnknownFields
  427. }
  428. func (x *StopResponse) Reset() {
  429. *x = StopResponse{}
  430. if protoimpl.UnsafeEnabled {
  431. mi := &file_protos_containers_v1_containers_proto_msgTypes[7]
  432. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  433. ms.StoreMessageInfo(mi)
  434. }
  435. }
  436. func (x *StopResponse) String() string {
  437. return protoimpl.X.MessageStringOf(x)
  438. }
  439. func (*StopResponse) ProtoMessage() {}
  440. func (x *StopResponse) ProtoReflect() protoreflect.Message {
  441. mi := &file_protos_containers_v1_containers_proto_msgTypes[7]
  442. if protoimpl.UnsafeEnabled && x != nil {
  443. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  444. if ms.LoadMessageInfo() == nil {
  445. ms.StoreMessageInfo(mi)
  446. }
  447. return ms
  448. }
  449. return mi.MessageOf(x)
  450. }
  451. // Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
  452. func (*StopResponse) Descriptor() ([]byte, []int) {
  453. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{7}
  454. }
  455. type RunRequest struct {
  456. state protoimpl.MessageState
  457. sizeCache protoimpl.SizeCache
  458. unknownFields protoimpl.UnknownFields
  459. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  460. Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
  461. Ports []*Port `protobuf:"bytes,3,rep,name=ports,proto3" json:"ports,omitempty"`
  462. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  463. Volumes []string `protobuf:"bytes,5,rep,name=volumes,proto3" json:"volumes,omitempty"`
  464. }
  465. func (x *RunRequest) Reset() {
  466. *x = RunRequest{}
  467. if protoimpl.UnsafeEnabled {
  468. mi := &file_protos_containers_v1_containers_proto_msgTypes[8]
  469. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  470. ms.StoreMessageInfo(mi)
  471. }
  472. }
  473. func (x *RunRequest) String() string {
  474. return protoimpl.X.MessageStringOf(x)
  475. }
  476. func (*RunRequest) ProtoMessage() {}
  477. func (x *RunRequest) ProtoReflect() protoreflect.Message {
  478. mi := &file_protos_containers_v1_containers_proto_msgTypes[8]
  479. if protoimpl.UnsafeEnabled && x != nil {
  480. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  481. if ms.LoadMessageInfo() == nil {
  482. ms.StoreMessageInfo(mi)
  483. }
  484. return ms
  485. }
  486. return mi.MessageOf(x)
  487. }
  488. // Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.
  489. func (*RunRequest) Descriptor() ([]byte, []int) {
  490. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{8}
  491. }
  492. func (x *RunRequest) GetId() string {
  493. if x != nil {
  494. return x.Id
  495. }
  496. return ""
  497. }
  498. func (x *RunRequest) GetImage() string {
  499. if x != nil {
  500. return x.Image
  501. }
  502. return ""
  503. }
  504. func (x *RunRequest) GetPorts() []*Port {
  505. if x != nil {
  506. return x.Ports
  507. }
  508. return nil
  509. }
  510. func (x *RunRequest) GetLabels() map[string]string {
  511. if x != nil {
  512. return x.Labels
  513. }
  514. return nil
  515. }
  516. func (x *RunRequest) GetVolumes() []string {
  517. if x != nil {
  518. return x.Volumes
  519. }
  520. return nil
  521. }
  522. type RunResponse struct {
  523. state protoimpl.MessageState
  524. sizeCache protoimpl.SizeCache
  525. unknownFields protoimpl.UnknownFields
  526. }
  527. func (x *RunResponse) Reset() {
  528. *x = RunResponse{}
  529. if protoimpl.UnsafeEnabled {
  530. mi := &file_protos_containers_v1_containers_proto_msgTypes[9]
  531. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  532. ms.StoreMessageInfo(mi)
  533. }
  534. }
  535. func (x *RunResponse) String() string {
  536. return protoimpl.X.MessageStringOf(x)
  537. }
  538. func (*RunResponse) ProtoMessage() {}
  539. func (x *RunResponse) ProtoReflect() protoreflect.Message {
  540. mi := &file_protos_containers_v1_containers_proto_msgTypes[9]
  541. if protoimpl.UnsafeEnabled && x != nil {
  542. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  543. if ms.LoadMessageInfo() == nil {
  544. ms.StoreMessageInfo(mi)
  545. }
  546. return ms
  547. }
  548. return mi.MessageOf(x)
  549. }
  550. // Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.
  551. func (*RunResponse) Descriptor() ([]byte, []int) {
  552. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{9}
  553. }
  554. type ExecRequest struct {
  555. state protoimpl.MessageState
  556. sizeCache protoimpl.SizeCache
  557. unknownFields protoimpl.UnknownFields
  558. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  559. Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
  560. StreamId string `protobuf:"bytes,3,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
  561. Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
  562. Env []string `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"`
  563. Tty bool `protobuf:"varint,6,opt,name=tty,proto3" json:"tty,omitempty"`
  564. }
  565. func (x *ExecRequest) Reset() {
  566. *x = ExecRequest{}
  567. if protoimpl.UnsafeEnabled {
  568. mi := &file_protos_containers_v1_containers_proto_msgTypes[10]
  569. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  570. ms.StoreMessageInfo(mi)
  571. }
  572. }
  573. func (x *ExecRequest) String() string {
  574. return protoimpl.X.MessageStringOf(x)
  575. }
  576. func (*ExecRequest) ProtoMessage() {}
  577. func (x *ExecRequest) ProtoReflect() protoreflect.Message {
  578. mi := &file_protos_containers_v1_containers_proto_msgTypes[10]
  579. if protoimpl.UnsafeEnabled && x != nil {
  580. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  581. if ms.LoadMessageInfo() == nil {
  582. ms.StoreMessageInfo(mi)
  583. }
  584. return ms
  585. }
  586. return mi.MessageOf(x)
  587. }
  588. // Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
  589. func (*ExecRequest) Descriptor() ([]byte, []int) {
  590. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{10}
  591. }
  592. func (x *ExecRequest) GetId() string {
  593. if x != nil {
  594. return x.Id
  595. }
  596. return ""
  597. }
  598. func (x *ExecRequest) GetCommand() string {
  599. if x != nil {
  600. return x.Command
  601. }
  602. return ""
  603. }
  604. func (x *ExecRequest) GetStreamId() string {
  605. if x != nil {
  606. return x.StreamId
  607. }
  608. return ""
  609. }
  610. func (x *ExecRequest) GetArgs() []string {
  611. if x != nil {
  612. return x.Args
  613. }
  614. return nil
  615. }
  616. func (x *ExecRequest) GetEnv() []string {
  617. if x != nil {
  618. return x.Env
  619. }
  620. return nil
  621. }
  622. func (x *ExecRequest) GetTty() bool {
  623. if x != nil {
  624. return x.Tty
  625. }
  626. return false
  627. }
  628. type ExecResponse struct {
  629. state protoimpl.MessageState
  630. sizeCache protoimpl.SizeCache
  631. unknownFields protoimpl.UnknownFields
  632. Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
  633. }
  634. func (x *ExecResponse) Reset() {
  635. *x = ExecResponse{}
  636. if protoimpl.UnsafeEnabled {
  637. mi := &file_protos_containers_v1_containers_proto_msgTypes[11]
  638. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  639. ms.StoreMessageInfo(mi)
  640. }
  641. }
  642. func (x *ExecResponse) String() string {
  643. return protoimpl.X.MessageStringOf(x)
  644. }
  645. func (*ExecResponse) ProtoMessage() {}
  646. func (x *ExecResponse) ProtoReflect() protoreflect.Message {
  647. mi := &file_protos_containers_v1_containers_proto_msgTypes[11]
  648. if protoimpl.UnsafeEnabled && x != nil {
  649. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  650. if ms.LoadMessageInfo() == nil {
  651. ms.StoreMessageInfo(mi)
  652. }
  653. return ms
  654. }
  655. return mi.MessageOf(x)
  656. }
  657. // Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.
  658. func (*ExecResponse) Descriptor() ([]byte, []int) {
  659. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{11}
  660. }
  661. func (x *ExecResponse) GetOutput() []byte {
  662. if x != nil {
  663. return x.Output
  664. }
  665. return nil
  666. }
  667. type ListRequest struct {
  668. state protoimpl.MessageState
  669. sizeCache protoimpl.SizeCache
  670. unknownFields protoimpl.UnknownFields
  671. All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
  672. }
  673. func (x *ListRequest) Reset() {
  674. *x = ListRequest{}
  675. if protoimpl.UnsafeEnabled {
  676. mi := &file_protos_containers_v1_containers_proto_msgTypes[12]
  677. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  678. ms.StoreMessageInfo(mi)
  679. }
  680. }
  681. func (x *ListRequest) String() string {
  682. return protoimpl.X.MessageStringOf(x)
  683. }
  684. func (*ListRequest) ProtoMessage() {}
  685. func (x *ListRequest) ProtoReflect() protoreflect.Message {
  686. mi := &file_protos_containers_v1_containers_proto_msgTypes[12]
  687. if protoimpl.UnsafeEnabled && x != nil {
  688. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  689. if ms.LoadMessageInfo() == nil {
  690. ms.StoreMessageInfo(mi)
  691. }
  692. return ms
  693. }
  694. return mi.MessageOf(x)
  695. }
  696. // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
  697. func (*ListRequest) Descriptor() ([]byte, []int) {
  698. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{12}
  699. }
  700. func (x *ListRequest) GetAll() bool {
  701. if x != nil {
  702. return x.All
  703. }
  704. return false
  705. }
  706. type ListResponse struct {
  707. state protoimpl.MessageState
  708. sizeCache protoimpl.SizeCache
  709. unknownFields protoimpl.UnknownFields
  710. Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
  711. }
  712. func (x *ListResponse) Reset() {
  713. *x = ListResponse{}
  714. if protoimpl.UnsafeEnabled {
  715. mi := &file_protos_containers_v1_containers_proto_msgTypes[13]
  716. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  717. ms.StoreMessageInfo(mi)
  718. }
  719. }
  720. func (x *ListResponse) String() string {
  721. return protoimpl.X.MessageStringOf(x)
  722. }
  723. func (*ListResponse) ProtoMessage() {}
  724. func (x *ListResponse) ProtoReflect() protoreflect.Message {
  725. mi := &file_protos_containers_v1_containers_proto_msgTypes[13]
  726. if protoimpl.UnsafeEnabled && x != nil {
  727. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  728. if ms.LoadMessageInfo() == nil {
  729. ms.StoreMessageInfo(mi)
  730. }
  731. return ms
  732. }
  733. return mi.MessageOf(x)
  734. }
  735. // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
  736. func (*ListResponse) Descriptor() ([]byte, []int) {
  737. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{13}
  738. }
  739. func (x *ListResponse) GetContainers() []*Container {
  740. if x != nil {
  741. return x.Containers
  742. }
  743. return nil
  744. }
  745. type LogsRequest struct {
  746. state protoimpl.MessageState
  747. sizeCache protoimpl.SizeCache
  748. unknownFields protoimpl.UnknownFields
  749. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
  750. Follow bool `protobuf:"varint,3,opt,name=follow,proto3" json:"follow,omitempty"`
  751. }
  752. func (x *LogsRequest) Reset() {
  753. *x = LogsRequest{}
  754. if protoimpl.UnsafeEnabled {
  755. mi := &file_protos_containers_v1_containers_proto_msgTypes[14]
  756. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  757. ms.StoreMessageInfo(mi)
  758. }
  759. }
  760. func (x *LogsRequest) String() string {
  761. return protoimpl.X.MessageStringOf(x)
  762. }
  763. func (*LogsRequest) ProtoMessage() {}
  764. func (x *LogsRequest) ProtoReflect() protoreflect.Message {
  765. mi := &file_protos_containers_v1_containers_proto_msgTypes[14]
  766. if protoimpl.UnsafeEnabled && x != nil {
  767. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  768. if ms.LoadMessageInfo() == nil {
  769. ms.StoreMessageInfo(mi)
  770. }
  771. return ms
  772. }
  773. return mi.MessageOf(x)
  774. }
  775. // Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.
  776. func (*LogsRequest) Descriptor() ([]byte, []int) {
  777. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{14}
  778. }
  779. func (x *LogsRequest) GetContainerId() string {
  780. if x != nil {
  781. return x.ContainerId
  782. }
  783. return ""
  784. }
  785. func (x *LogsRequest) GetFollow() bool {
  786. if x != nil {
  787. return x.Follow
  788. }
  789. return false
  790. }
  791. type LogsResponse struct {
  792. state protoimpl.MessageState
  793. sizeCache protoimpl.SizeCache
  794. unknownFields protoimpl.UnknownFields
  795. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  796. }
  797. func (x *LogsResponse) Reset() {
  798. *x = LogsResponse{}
  799. if protoimpl.UnsafeEnabled {
  800. mi := &file_protos_containers_v1_containers_proto_msgTypes[15]
  801. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  802. ms.StoreMessageInfo(mi)
  803. }
  804. }
  805. func (x *LogsResponse) String() string {
  806. return protoimpl.X.MessageStringOf(x)
  807. }
  808. func (*LogsResponse) ProtoMessage() {}
  809. func (x *LogsResponse) ProtoReflect() protoreflect.Message {
  810. mi := &file_protos_containers_v1_containers_proto_msgTypes[15]
  811. if protoimpl.UnsafeEnabled && x != nil {
  812. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  813. if ms.LoadMessageInfo() == nil {
  814. ms.StoreMessageInfo(mi)
  815. }
  816. return ms
  817. }
  818. return mi.MessageOf(x)
  819. }
  820. // Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.
  821. func (*LogsResponse) Descriptor() ([]byte, []int) {
  822. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{15}
  823. }
  824. func (x *LogsResponse) GetValue() []byte {
  825. if x != nil {
  826. return x.Value
  827. }
  828. return nil
  829. }
  830. var File_protos_containers_v1_containers_proto protoreflect.FileDescriptor
  831. var file_protos_containers_v1_containers_proto_rawDesc = []byte{
  832. 0x0a, 0x25, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
  833. 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
  834. 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63,
  835. 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63,
  836. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x7f, 0x0a, 0x04,
  837. 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x72,
  838. 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x6f, 0x72,
  839. 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x70,
  840. 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  841. 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74,
  842. 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74,
  843. 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x70, 0x18,
  844. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x70, 0x22, 0xdf, 0x02,
  845. 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  846. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69,
  847. 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67,
  848. 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
  849. 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d,
  850. 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
  851. 0x61, 0x6e, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
  852. 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x70, 0x75, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21,
  853. 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06,
  854. 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67,
  855. 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69,
  856. 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4c,
  857. 0x69, 0x6d, 0x69, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x69, 0x64, 0x73, 0x5f, 0x63, 0x75, 0x72,
  858. 0x72, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x69, 0x64, 0x73,
  859. 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x69, 0x64, 0x73, 0x5f,
  860. 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x69, 0x64,
  861. 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
  862. 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3f,
  863. 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,
  864. 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70,
  865. 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  866. 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x22,
  867. 0x20, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  868. 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
  869. 0x64, 0x22, 0x5f, 0x0a, 0x0f, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70,
  870. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
  871. 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f,
  872. 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e,
  873. 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,
  874. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
  875. 0x65, 0x72, 0x22, 0x35, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
  876. 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  877. 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01,
  878. 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x44, 0x65, 0x6c,
  879. 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x0b, 0x53,
  880. 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  881. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69,
  882. 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x69, 0x6d,
  883. 0x65, 0x6f, 0x75, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70,
  884. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9d, 0x02, 0x0a, 0x0a, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75,
  885. 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  886. 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
  887. 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x70, 0x6f, 0x72,
  888. 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
  889. 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  890. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50,
  891. 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x06, 0x6c, 0x61,
  892. 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d,
  893. 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  894. 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31,
  895. 0x2e, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65,
  896. 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12,
  897. 0x18, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09,
  898. 0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62,
  899. 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
  900. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
  901. 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  902. 0x3a, 0x02, 0x38, 0x01, 0x22, 0x0d, 0x0a, 0x0b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
  903. 0x6e, 0x73, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75,
  904. 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  905. 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02,
  906. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1b, 0x0a,
  907. 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  908. 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72,
  909. 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10,
  910. 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76,
  911. 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x74,
  912. 0x74, 0x79, 0x22, 0x26, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  913. 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01,
  914. 0x28, 0x0c, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0x1f, 0x0a, 0x0b, 0x4c, 0x69,
  915. 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c,
  916. 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x22, 0x5e, 0x0a, 0x0c, 0x4c,
  917. 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0a, 0x63,
  918. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  919. 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  920. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
  921. 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52,
  922. 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x22, 0x48, 0x0a, 0x0b, 0x4c,
  923. 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f,
  924. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  925. 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a,
  926. 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66,
  927. 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73,
  928. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01,
  929. 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0x95, 0x06, 0x0a, 0x0a,
  930. 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x6b, 0x0a, 0x04, 0x4c, 0x69,
  931. 0x73, 0x74, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
  932. 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  933. 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
  934. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  935. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
  936. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52,
  937. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x04, 0x53, 0x74, 0x6f, 0x70, 0x12,
  938. 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  939. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
  940. 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  941. 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  942. 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
  943. 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70,
  944. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x03, 0x52, 0x75, 0x6e, 0x12, 0x2f, 0x2e, 0x63, 0x6f,
  945. 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f,
  946. 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76,
  947. 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63,
  948. 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72,
  949. 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e,
  950. 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b,
  951. 0x0a, 0x04, 0x45, 0x78, 0x65, 0x63, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63,
  952. 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63,
  953. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65,
  954. 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
  955. 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  956. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45,
  957. 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x04, 0x4c,
  958. 0x6f, 0x67, 0x73, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
  959. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
  960. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65,
  961. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
  962. 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f,
  963. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73,
  964. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x06, 0x44, 0x65,
  965. 0x6c, 0x65, 0x74, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  966. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
  967. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
  968. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
  969. 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  970. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44,
  971. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a,
  972. 0x07, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
  973. 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  974. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49,
  975. 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e,
  976. 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70,
  977. 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  978. 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
  979. 0x6e, 0x73, 0x65, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
  980. 0x6d, 0x2f, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f,
  981. 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x76,
  982. 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  983. }
  984. var (
  985. file_protos_containers_v1_containers_proto_rawDescOnce sync.Once
  986. file_protos_containers_v1_containers_proto_rawDescData = file_protos_containers_v1_containers_proto_rawDesc
  987. )
  988. func file_protos_containers_v1_containers_proto_rawDescGZIP() []byte {
  989. file_protos_containers_v1_containers_proto_rawDescOnce.Do(func() {
  990. file_protos_containers_v1_containers_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_containers_v1_containers_proto_rawDescData)
  991. })
  992. return file_protos_containers_v1_containers_proto_rawDescData
  993. }
  994. var file_protos_containers_v1_containers_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
  995. var file_protos_containers_v1_containers_proto_goTypes = []interface{}{
  996. (*Port)(nil), // 0: com.docker.api.protos.containers.v1.Port
  997. (*Container)(nil), // 1: com.docker.api.protos.containers.v1.Container
  998. (*InspectRequest)(nil), // 2: com.docker.api.protos.containers.v1.InspectRequest
  999. (*InspectResponse)(nil), // 3: com.docker.api.protos.containers.v1.InspectResponse
  1000. (*DeleteRequest)(nil), // 4: com.docker.api.protos.containers.v1.DeleteRequest
  1001. (*DeleteResponse)(nil), // 5: com.docker.api.protos.containers.v1.DeleteResponse
  1002. (*StopRequest)(nil), // 6: com.docker.api.protos.containers.v1.StopRequest
  1003. (*StopResponse)(nil), // 7: com.docker.api.protos.containers.v1.StopResponse
  1004. (*RunRequest)(nil), // 8: com.docker.api.protos.containers.v1.RunRequest
  1005. (*RunResponse)(nil), // 9: com.docker.api.protos.containers.v1.RunResponse
  1006. (*ExecRequest)(nil), // 10: com.docker.api.protos.containers.v1.ExecRequest
  1007. (*ExecResponse)(nil), // 11: com.docker.api.protos.containers.v1.ExecResponse
  1008. (*ListRequest)(nil), // 12: com.docker.api.protos.containers.v1.ListRequest
  1009. (*ListResponse)(nil), // 13: com.docker.api.protos.containers.v1.ListResponse
  1010. (*LogsRequest)(nil), // 14: com.docker.api.protos.containers.v1.LogsRequest
  1011. (*LogsResponse)(nil), // 15: com.docker.api.protos.containers.v1.LogsResponse
  1012. nil, // 16: com.docker.api.protos.containers.v1.RunRequest.LabelsEntry
  1013. }
  1014. var file_protos_containers_v1_containers_proto_depIdxs = []int32{
  1015. 0, // 0: com.docker.api.protos.containers.v1.Container.ports:type_name -> com.docker.api.protos.containers.v1.Port
  1016. 1, // 1: com.docker.api.protos.containers.v1.InspectResponse.container:type_name -> com.docker.api.protos.containers.v1.Container
  1017. 0, // 2: com.docker.api.protos.containers.v1.RunRequest.ports:type_name -> com.docker.api.protos.containers.v1.Port
  1018. 16, // 3: com.docker.api.protos.containers.v1.RunRequest.labels:type_name -> com.docker.api.protos.containers.v1.RunRequest.LabelsEntry
  1019. 1, // 4: com.docker.api.protos.containers.v1.ListResponse.containers:type_name -> com.docker.api.protos.containers.v1.Container
  1020. 12, // 5: com.docker.api.protos.containers.v1.Containers.List:input_type -> com.docker.api.protos.containers.v1.ListRequest
  1021. 6, // 6: com.docker.api.protos.containers.v1.Containers.Stop:input_type -> com.docker.api.protos.containers.v1.StopRequest
  1022. 8, // 7: com.docker.api.protos.containers.v1.Containers.Run:input_type -> com.docker.api.protos.containers.v1.RunRequest
  1023. 10, // 8: com.docker.api.protos.containers.v1.Containers.Exec:input_type -> com.docker.api.protos.containers.v1.ExecRequest
  1024. 14, // 9: com.docker.api.protos.containers.v1.Containers.Logs:input_type -> com.docker.api.protos.containers.v1.LogsRequest
  1025. 4, // 10: com.docker.api.protos.containers.v1.Containers.Delete:input_type -> com.docker.api.protos.containers.v1.DeleteRequest
  1026. 2, // 11: com.docker.api.protos.containers.v1.Containers.Inspect:input_type -> com.docker.api.protos.containers.v1.InspectRequest
  1027. 13, // 12: com.docker.api.protos.containers.v1.Containers.List:output_type -> com.docker.api.protos.containers.v1.ListResponse
  1028. 7, // 13: com.docker.api.protos.containers.v1.Containers.Stop:output_type -> com.docker.api.protos.containers.v1.StopResponse
  1029. 9, // 14: com.docker.api.protos.containers.v1.Containers.Run:output_type -> com.docker.api.protos.containers.v1.RunResponse
  1030. 11, // 15: com.docker.api.protos.containers.v1.Containers.Exec:output_type -> com.docker.api.protos.containers.v1.ExecResponse
  1031. 15, // 16: com.docker.api.protos.containers.v1.Containers.Logs:output_type -> com.docker.api.protos.containers.v1.LogsResponse
  1032. 5, // 17: com.docker.api.protos.containers.v1.Containers.Delete:output_type -> com.docker.api.protos.containers.v1.DeleteResponse
  1033. 3, // 18: com.docker.api.protos.containers.v1.Containers.Inspect:output_type -> com.docker.api.protos.containers.v1.InspectResponse
  1034. 12, // [12:19] is the sub-list for method output_type
  1035. 5, // [5:12] is the sub-list for method input_type
  1036. 5, // [5:5] is the sub-list for extension type_name
  1037. 5, // [5:5] is the sub-list for extension extendee
  1038. 0, // [0:5] is the sub-list for field type_name
  1039. }
  1040. func init() { file_protos_containers_v1_containers_proto_init() }
  1041. func file_protos_containers_v1_containers_proto_init() {
  1042. if File_protos_containers_v1_containers_proto != nil {
  1043. return
  1044. }
  1045. if !protoimpl.UnsafeEnabled {
  1046. file_protos_containers_v1_containers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1047. switch v := v.(*Port); i {
  1048. case 0:
  1049. return &v.state
  1050. case 1:
  1051. return &v.sizeCache
  1052. case 2:
  1053. return &v.unknownFields
  1054. default:
  1055. return nil
  1056. }
  1057. }
  1058. file_protos_containers_v1_containers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1059. switch v := v.(*Container); i {
  1060. case 0:
  1061. return &v.state
  1062. case 1:
  1063. return &v.sizeCache
  1064. case 2:
  1065. return &v.unknownFields
  1066. default:
  1067. return nil
  1068. }
  1069. }
  1070. file_protos_containers_v1_containers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1071. switch v := v.(*InspectRequest); i {
  1072. case 0:
  1073. return &v.state
  1074. case 1:
  1075. return &v.sizeCache
  1076. case 2:
  1077. return &v.unknownFields
  1078. default:
  1079. return nil
  1080. }
  1081. }
  1082. file_protos_containers_v1_containers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1083. switch v := v.(*InspectResponse); i {
  1084. case 0:
  1085. return &v.state
  1086. case 1:
  1087. return &v.sizeCache
  1088. case 2:
  1089. return &v.unknownFields
  1090. default:
  1091. return nil
  1092. }
  1093. }
  1094. file_protos_containers_v1_containers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1095. switch v := v.(*DeleteRequest); i {
  1096. case 0:
  1097. return &v.state
  1098. case 1:
  1099. return &v.sizeCache
  1100. case 2:
  1101. return &v.unknownFields
  1102. default:
  1103. return nil
  1104. }
  1105. }
  1106. file_protos_containers_v1_containers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1107. switch v := v.(*DeleteResponse); i {
  1108. case 0:
  1109. return &v.state
  1110. case 1:
  1111. return &v.sizeCache
  1112. case 2:
  1113. return &v.unknownFields
  1114. default:
  1115. return nil
  1116. }
  1117. }
  1118. file_protos_containers_v1_containers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1119. switch v := v.(*StopRequest); i {
  1120. case 0:
  1121. return &v.state
  1122. case 1:
  1123. return &v.sizeCache
  1124. case 2:
  1125. return &v.unknownFields
  1126. default:
  1127. return nil
  1128. }
  1129. }
  1130. file_protos_containers_v1_containers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1131. switch v := v.(*StopResponse); i {
  1132. case 0:
  1133. return &v.state
  1134. case 1:
  1135. return &v.sizeCache
  1136. case 2:
  1137. return &v.unknownFields
  1138. default:
  1139. return nil
  1140. }
  1141. }
  1142. file_protos_containers_v1_containers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1143. switch v := v.(*RunRequest); i {
  1144. case 0:
  1145. return &v.state
  1146. case 1:
  1147. return &v.sizeCache
  1148. case 2:
  1149. return &v.unknownFields
  1150. default:
  1151. return nil
  1152. }
  1153. }
  1154. file_protos_containers_v1_containers_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1155. switch v := v.(*RunResponse); i {
  1156. case 0:
  1157. return &v.state
  1158. case 1:
  1159. return &v.sizeCache
  1160. case 2:
  1161. return &v.unknownFields
  1162. default:
  1163. return nil
  1164. }
  1165. }
  1166. file_protos_containers_v1_containers_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1167. switch v := v.(*ExecRequest); i {
  1168. case 0:
  1169. return &v.state
  1170. case 1:
  1171. return &v.sizeCache
  1172. case 2:
  1173. return &v.unknownFields
  1174. default:
  1175. return nil
  1176. }
  1177. }
  1178. file_protos_containers_v1_containers_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1179. switch v := v.(*ExecResponse); i {
  1180. case 0:
  1181. return &v.state
  1182. case 1:
  1183. return &v.sizeCache
  1184. case 2:
  1185. return &v.unknownFields
  1186. default:
  1187. return nil
  1188. }
  1189. }
  1190. file_protos_containers_v1_containers_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1191. switch v := v.(*ListRequest); i {
  1192. case 0:
  1193. return &v.state
  1194. case 1:
  1195. return &v.sizeCache
  1196. case 2:
  1197. return &v.unknownFields
  1198. default:
  1199. return nil
  1200. }
  1201. }
  1202. file_protos_containers_v1_containers_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1203. switch v := v.(*ListResponse); i {
  1204. case 0:
  1205. return &v.state
  1206. case 1:
  1207. return &v.sizeCache
  1208. case 2:
  1209. return &v.unknownFields
  1210. default:
  1211. return nil
  1212. }
  1213. }
  1214. file_protos_containers_v1_containers_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1215. switch v := v.(*LogsRequest); i {
  1216. case 0:
  1217. return &v.state
  1218. case 1:
  1219. return &v.sizeCache
  1220. case 2:
  1221. return &v.unknownFields
  1222. default:
  1223. return nil
  1224. }
  1225. }
  1226. file_protos_containers_v1_containers_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1227. switch v := v.(*LogsResponse); i {
  1228. case 0:
  1229. return &v.state
  1230. case 1:
  1231. return &v.sizeCache
  1232. case 2:
  1233. return &v.unknownFields
  1234. default:
  1235. return nil
  1236. }
  1237. }
  1238. }
  1239. type x struct{}
  1240. out := protoimpl.TypeBuilder{
  1241. File: protoimpl.DescBuilder{
  1242. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1243. RawDescriptor: file_protos_containers_v1_containers_proto_rawDesc,
  1244. NumEnums: 0,
  1245. NumMessages: 17,
  1246. NumExtensions: 0,
  1247. NumServices: 1,
  1248. },
  1249. GoTypes: file_protos_containers_v1_containers_proto_goTypes,
  1250. DependencyIndexes: file_protos_containers_v1_containers_proto_depIdxs,
  1251. MessageInfos: file_protos_containers_v1_containers_proto_msgTypes,
  1252. }.Build()
  1253. File_protos_containers_v1_containers_proto = out.File
  1254. file_protos_containers_v1_containers_proto_rawDesc = nil
  1255. file_protos_containers_v1_containers_proto_goTypes = nil
  1256. file_protos_containers_v1_containers_proto_depIdxs = nil
  1257. }
  1258. // Reference imports to suppress errors if they are not otherwise used.
  1259. var _ context.Context
  1260. var _ grpc.ClientConnInterface
  1261. // This is a compile-time assertion to ensure that this generated file
  1262. // is compatible with the grpc package it is being compiled against.
  1263. const _ = grpc.SupportPackageIsVersion6
  1264. // ContainersClient is the client API for Containers service.
  1265. //
  1266. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1267. type ContainersClient interface {
  1268. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
  1269. Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
  1270. Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error)
  1271. Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
  1272. Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error)
  1273. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
  1274. Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error)
  1275. }
  1276. type containersClient struct {
  1277. cc grpc.ClientConnInterface
  1278. }
  1279. func NewContainersClient(cc grpc.ClientConnInterface) ContainersClient {
  1280. return &containersClient{cc}
  1281. }
  1282. func (c *containersClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
  1283. out := new(ListResponse)
  1284. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/List", in, out, opts...)
  1285. if err != nil {
  1286. return nil, err
  1287. }
  1288. return out, nil
  1289. }
  1290. func (c *containersClient) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) {
  1291. out := new(StopResponse)
  1292. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Stop", in, out, opts...)
  1293. if err != nil {
  1294. return nil, err
  1295. }
  1296. return out, nil
  1297. }
  1298. func (c *containersClient) Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error) {
  1299. out := new(RunResponse)
  1300. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Run", in, out, opts...)
  1301. if err != nil {
  1302. return nil, err
  1303. }
  1304. return out, nil
  1305. }
  1306. func (c *containersClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) {
  1307. out := new(ExecResponse)
  1308. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Exec", in, out, opts...)
  1309. if err != nil {
  1310. return nil, err
  1311. }
  1312. return out, nil
  1313. }
  1314. func (c *containersClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error) {
  1315. stream, err := c.cc.NewStream(ctx, &_Containers_serviceDesc.Streams[0], "/com.docker.api.protos.containers.v1.Containers/Logs", opts...)
  1316. if err != nil {
  1317. return nil, err
  1318. }
  1319. x := &containersLogsClient{stream}
  1320. if err := x.ClientStream.SendMsg(in); err != nil {
  1321. return nil, err
  1322. }
  1323. if err := x.ClientStream.CloseSend(); err != nil {
  1324. return nil, err
  1325. }
  1326. return x, nil
  1327. }
  1328. type Containers_LogsClient interface {
  1329. Recv() (*LogsResponse, error)
  1330. grpc.ClientStream
  1331. }
  1332. type containersLogsClient struct {
  1333. grpc.ClientStream
  1334. }
  1335. func (x *containersLogsClient) Recv() (*LogsResponse, error) {
  1336. m := new(LogsResponse)
  1337. if err := x.ClientStream.RecvMsg(m); err != nil {
  1338. return nil, err
  1339. }
  1340. return m, nil
  1341. }
  1342. func (c *containersClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
  1343. out := new(DeleteResponse)
  1344. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Delete", in, out, opts...)
  1345. if err != nil {
  1346. return nil, err
  1347. }
  1348. return out, nil
  1349. }
  1350. func (c *containersClient) Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error) {
  1351. out := new(InspectResponse)
  1352. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Inspect", in, out, opts...)
  1353. if err != nil {
  1354. return nil, err
  1355. }
  1356. return out, nil
  1357. }
  1358. // ContainersServer is the server API for Containers service.
  1359. type ContainersServer interface {
  1360. List(context.Context, *ListRequest) (*ListResponse, error)
  1361. Stop(context.Context, *StopRequest) (*StopResponse, error)
  1362. Run(context.Context, *RunRequest) (*RunResponse, error)
  1363. Exec(context.Context, *ExecRequest) (*ExecResponse, error)
  1364. Logs(*LogsRequest, Containers_LogsServer) error
  1365. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
  1366. Inspect(context.Context, *InspectRequest) (*InspectResponse, error)
  1367. }
  1368. // UnimplementedContainersServer can be embedded to have forward compatible implementations.
  1369. type UnimplementedContainersServer struct {
  1370. }
  1371. func (*UnimplementedContainersServer) List(context.Context, *ListRequest) (*ListResponse, error) {
  1372. return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
  1373. }
  1374. func (*UnimplementedContainersServer) Stop(context.Context, *StopRequest) (*StopResponse, error) {
  1375. return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented")
  1376. }
  1377. func (*UnimplementedContainersServer) Run(context.Context, *RunRequest) (*RunResponse, error) {
  1378. return nil, status.Errorf(codes.Unimplemented, "method Run not implemented")
  1379. }
  1380. func (*UnimplementedContainersServer) Exec(context.Context, *ExecRequest) (*ExecResponse, error) {
  1381. return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented")
  1382. }
  1383. func (*UnimplementedContainersServer) Logs(*LogsRequest, Containers_LogsServer) error {
  1384. return status.Errorf(codes.Unimplemented, "method Logs not implemented")
  1385. }
  1386. func (*UnimplementedContainersServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) {
  1387. return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
  1388. }
  1389. func (*UnimplementedContainersServer) Inspect(context.Context, *InspectRequest) (*InspectResponse, error) {
  1390. return nil, status.Errorf(codes.Unimplemented, "method Inspect not implemented")
  1391. }
  1392. func RegisterContainersServer(s *grpc.Server, srv ContainersServer) {
  1393. s.RegisterService(&_Containers_serviceDesc, srv)
  1394. }
  1395. func _Containers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1396. in := new(ListRequest)
  1397. if err := dec(in); err != nil {
  1398. return nil, err
  1399. }
  1400. if interceptor == nil {
  1401. return srv.(ContainersServer).List(ctx, in)
  1402. }
  1403. info := &grpc.UnaryServerInfo{
  1404. Server: srv,
  1405. FullMethod: "/com.docker.api.protos.containers.v1.Containers/List",
  1406. }
  1407. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1408. return srv.(ContainersServer).List(ctx, req.(*ListRequest))
  1409. }
  1410. return interceptor(ctx, in, info, handler)
  1411. }
  1412. func _Containers_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1413. in := new(StopRequest)
  1414. if err := dec(in); err != nil {
  1415. return nil, err
  1416. }
  1417. if interceptor == nil {
  1418. return srv.(ContainersServer).Stop(ctx, in)
  1419. }
  1420. info := &grpc.UnaryServerInfo{
  1421. Server: srv,
  1422. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Stop",
  1423. }
  1424. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1425. return srv.(ContainersServer).Stop(ctx, req.(*StopRequest))
  1426. }
  1427. return interceptor(ctx, in, info, handler)
  1428. }
  1429. func _Containers_Run_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1430. in := new(RunRequest)
  1431. if err := dec(in); err != nil {
  1432. return nil, err
  1433. }
  1434. if interceptor == nil {
  1435. return srv.(ContainersServer).Run(ctx, in)
  1436. }
  1437. info := &grpc.UnaryServerInfo{
  1438. Server: srv,
  1439. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Run",
  1440. }
  1441. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1442. return srv.(ContainersServer).Run(ctx, req.(*RunRequest))
  1443. }
  1444. return interceptor(ctx, in, info, handler)
  1445. }
  1446. func _Containers_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1447. in := new(ExecRequest)
  1448. if err := dec(in); err != nil {
  1449. return nil, err
  1450. }
  1451. if interceptor == nil {
  1452. return srv.(ContainersServer).Exec(ctx, in)
  1453. }
  1454. info := &grpc.UnaryServerInfo{
  1455. Server: srv,
  1456. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Exec",
  1457. }
  1458. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1459. return srv.(ContainersServer).Exec(ctx, req.(*ExecRequest))
  1460. }
  1461. return interceptor(ctx, in, info, handler)
  1462. }
  1463. func _Containers_Logs_Handler(srv interface{}, stream grpc.ServerStream) error {
  1464. m := new(LogsRequest)
  1465. if err := stream.RecvMsg(m); err != nil {
  1466. return err
  1467. }
  1468. return srv.(ContainersServer).Logs(m, &containersLogsServer{stream})
  1469. }
  1470. type Containers_LogsServer interface {
  1471. Send(*LogsResponse) error
  1472. grpc.ServerStream
  1473. }
  1474. type containersLogsServer struct {
  1475. grpc.ServerStream
  1476. }
  1477. func (x *containersLogsServer) Send(m *LogsResponse) error {
  1478. return x.ServerStream.SendMsg(m)
  1479. }
  1480. func _Containers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1481. in := new(DeleteRequest)
  1482. if err := dec(in); err != nil {
  1483. return nil, err
  1484. }
  1485. if interceptor == nil {
  1486. return srv.(ContainersServer).Delete(ctx, in)
  1487. }
  1488. info := &grpc.UnaryServerInfo{
  1489. Server: srv,
  1490. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Delete",
  1491. }
  1492. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1493. return srv.(ContainersServer).Delete(ctx, req.(*DeleteRequest))
  1494. }
  1495. return interceptor(ctx, in, info, handler)
  1496. }
  1497. func _Containers_Inspect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1498. in := new(InspectRequest)
  1499. if err := dec(in); err != nil {
  1500. return nil, err
  1501. }
  1502. if interceptor == nil {
  1503. return srv.(ContainersServer).Inspect(ctx, in)
  1504. }
  1505. info := &grpc.UnaryServerInfo{
  1506. Server: srv,
  1507. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Inspect",
  1508. }
  1509. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1510. return srv.(ContainersServer).Inspect(ctx, req.(*InspectRequest))
  1511. }
  1512. return interceptor(ctx, in, info, handler)
  1513. }
  1514. var _Containers_serviceDesc = grpc.ServiceDesc{
  1515. ServiceName: "com.docker.api.protos.containers.v1.Containers",
  1516. HandlerType: (*ContainersServer)(nil),
  1517. Methods: []grpc.MethodDesc{
  1518. {
  1519. MethodName: "List",
  1520. Handler: _Containers_List_Handler,
  1521. },
  1522. {
  1523. MethodName: "Stop",
  1524. Handler: _Containers_Stop_Handler,
  1525. },
  1526. {
  1527. MethodName: "Run",
  1528. Handler: _Containers_Run_Handler,
  1529. },
  1530. {
  1531. MethodName: "Exec",
  1532. Handler: _Containers_Exec_Handler,
  1533. },
  1534. {
  1535. MethodName: "Delete",
  1536. Handler: _Containers_Delete_Handler,
  1537. },
  1538. {
  1539. MethodName: "Inspect",
  1540. Handler: _Containers_Inspect_Handler,
  1541. },
  1542. },
  1543. Streams: []grpc.StreamDesc{
  1544. {
  1545. StreamName: "Logs",
  1546. Handler: _Containers_Logs_Handler,
  1547. ServerStreams: true,
  1548. },
  1549. },
  1550. Metadata: "protos/containers/v1/containers.proto",
  1551. }