containers.pb.go 75 KB

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