1
0

containers.pb.go 80 KB

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