containers.pb.go 60 KB

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