containers.pb.go 58 KB

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