containers.pb.go 69 KB

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