containers.pb.go 79 KB

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