compose.pb.go 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.21.0-devel
  4. // protoc v3.6.1
  5. // source: compose/v1/compose.proto
  6. package v1
  7. import (
  8. context "context"
  9. proto "github.com/golang/protobuf/proto"
  10. grpc "google.golang.org/grpc"
  11. codes "google.golang.org/grpc/codes"
  12. status "google.golang.org/grpc/status"
  13. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  14. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  15. reflect "reflect"
  16. sync "sync"
  17. )
  18. const (
  19. // Verify that this generated code is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  21. // Verify that runtime/protoimpl is sufficiently up-to-date.
  22. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  23. )
  24. // This is a compile-time assertion that a sufficiently up-to-date version
  25. // of the legacy proto package is being used.
  26. const _ = proto.ProtoPackageIsVersion4
  27. type ComposeUpRequest struct {
  28. state protoimpl.MessageState
  29. sizeCache protoimpl.SizeCache
  30. unknownFields protoimpl.UnknownFields
  31. ProjectName string `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"`
  32. WorkDir string `protobuf:"bytes,2,opt,name=workDir,proto3" json:"workDir,omitempty"`
  33. Files []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"`
  34. }
  35. func (x *ComposeUpRequest) Reset() {
  36. *x = ComposeUpRequest{}
  37. if protoimpl.UnsafeEnabled {
  38. mi := &file_compose_v1_compose_proto_msgTypes[0]
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. ms.StoreMessageInfo(mi)
  41. }
  42. }
  43. func (x *ComposeUpRequest) String() string {
  44. return protoimpl.X.MessageStringOf(x)
  45. }
  46. func (*ComposeUpRequest) ProtoMessage() {}
  47. func (x *ComposeUpRequest) ProtoReflect() protoreflect.Message {
  48. mi := &file_compose_v1_compose_proto_msgTypes[0]
  49. if protoimpl.UnsafeEnabled && x != nil {
  50. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  51. if ms.LoadMessageInfo() == nil {
  52. ms.StoreMessageInfo(mi)
  53. }
  54. return ms
  55. }
  56. return mi.MessageOf(x)
  57. }
  58. // Deprecated: Use ComposeUpRequest.ProtoReflect.Descriptor instead.
  59. func (*ComposeUpRequest) Descriptor() ([]byte, []int) {
  60. return file_compose_v1_compose_proto_rawDescGZIP(), []int{0}
  61. }
  62. func (x *ComposeUpRequest) GetProjectName() string {
  63. if x != nil {
  64. return x.ProjectName
  65. }
  66. return ""
  67. }
  68. func (x *ComposeUpRequest) GetWorkDir() string {
  69. if x != nil {
  70. return x.WorkDir
  71. }
  72. return ""
  73. }
  74. func (x *ComposeUpRequest) GetFiles() []string {
  75. if x != nil {
  76. return x.Files
  77. }
  78. return nil
  79. }
  80. type ComposeUpResponse struct {
  81. state protoimpl.MessageState
  82. sizeCache protoimpl.SizeCache
  83. unknownFields protoimpl.UnknownFields
  84. }
  85. func (x *ComposeUpResponse) Reset() {
  86. *x = ComposeUpResponse{}
  87. if protoimpl.UnsafeEnabled {
  88. mi := &file_compose_v1_compose_proto_msgTypes[1]
  89. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  90. ms.StoreMessageInfo(mi)
  91. }
  92. }
  93. func (x *ComposeUpResponse) String() string {
  94. return protoimpl.X.MessageStringOf(x)
  95. }
  96. func (*ComposeUpResponse) ProtoMessage() {}
  97. func (x *ComposeUpResponse) ProtoReflect() protoreflect.Message {
  98. mi := &file_compose_v1_compose_proto_msgTypes[1]
  99. if protoimpl.UnsafeEnabled && x != nil {
  100. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  101. if ms.LoadMessageInfo() == nil {
  102. ms.StoreMessageInfo(mi)
  103. }
  104. return ms
  105. }
  106. return mi.MessageOf(x)
  107. }
  108. // Deprecated: Use ComposeUpResponse.ProtoReflect.Descriptor instead.
  109. func (*ComposeUpResponse) Descriptor() ([]byte, []int) {
  110. return file_compose_v1_compose_proto_rawDescGZIP(), []int{1}
  111. }
  112. type ComposeDownRequest struct {
  113. state protoimpl.MessageState
  114. sizeCache protoimpl.SizeCache
  115. unknownFields protoimpl.UnknownFields
  116. }
  117. func (x *ComposeDownRequest) Reset() {
  118. *x = ComposeDownRequest{}
  119. if protoimpl.UnsafeEnabled {
  120. mi := &file_compose_v1_compose_proto_msgTypes[2]
  121. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  122. ms.StoreMessageInfo(mi)
  123. }
  124. }
  125. func (x *ComposeDownRequest) String() string {
  126. return protoimpl.X.MessageStringOf(x)
  127. }
  128. func (*ComposeDownRequest) ProtoMessage() {}
  129. func (x *ComposeDownRequest) ProtoReflect() protoreflect.Message {
  130. mi := &file_compose_v1_compose_proto_msgTypes[2]
  131. if protoimpl.UnsafeEnabled && x != nil {
  132. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  133. if ms.LoadMessageInfo() == nil {
  134. ms.StoreMessageInfo(mi)
  135. }
  136. return ms
  137. }
  138. return mi.MessageOf(x)
  139. }
  140. // Deprecated: Use ComposeDownRequest.ProtoReflect.Descriptor instead.
  141. func (*ComposeDownRequest) Descriptor() ([]byte, []int) {
  142. return file_compose_v1_compose_proto_rawDescGZIP(), []int{2}
  143. }
  144. type ComposeDownResponse struct {
  145. state protoimpl.MessageState
  146. sizeCache protoimpl.SizeCache
  147. unknownFields protoimpl.UnknownFields
  148. }
  149. func (x *ComposeDownResponse) Reset() {
  150. *x = ComposeDownResponse{}
  151. if protoimpl.UnsafeEnabled {
  152. mi := &file_compose_v1_compose_proto_msgTypes[3]
  153. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  154. ms.StoreMessageInfo(mi)
  155. }
  156. }
  157. func (x *ComposeDownResponse) String() string {
  158. return protoimpl.X.MessageStringOf(x)
  159. }
  160. func (*ComposeDownResponse) ProtoMessage() {}
  161. func (x *ComposeDownResponse) ProtoReflect() protoreflect.Message {
  162. mi := &file_compose_v1_compose_proto_msgTypes[3]
  163. if protoimpl.UnsafeEnabled && x != nil {
  164. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  165. if ms.LoadMessageInfo() == nil {
  166. ms.StoreMessageInfo(mi)
  167. }
  168. return ms
  169. }
  170. return mi.MessageOf(x)
  171. }
  172. // Deprecated: Use ComposeDownResponse.ProtoReflect.Descriptor instead.
  173. func (*ComposeDownResponse) Descriptor() ([]byte, []int) {
  174. return file_compose_v1_compose_proto_rawDescGZIP(), []int{3}
  175. }
  176. var File_compose_v1_compose_proto protoreflect.FileDescriptor
  177. var file_compose_v1_compose_proto_rawDesc = []byte{
  178. 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d,
  179. 0x70, 0x6f, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x63, 0x6f, 0x6d, 0x2e,
  180. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
  181. 0x73, 0x65, 0x2e, 0x76, 0x31, 0x22, 0x64, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65,
  182. 0x55, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x72, 0x6f,
  183. 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  184. 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77,
  185. 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f,
  186. 0x72, 0x6b, 0x44, 0x69, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03,
  187. 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x43,
  188. 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  189. 0x22, 0x14, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x52,
  190. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73,
  191. 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xd1, 0x01,
  192. 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x02, 0x55, 0x70, 0x12,
  193. 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  194. 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70,
  195. 0x6f, 0x73, 0x65, 0x55, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63,
  196. 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  197. 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65,
  198. 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x04, 0x44, 0x6f,
  199. 0x77, 0x6e, 0x12, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
  200. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
  201. 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  202. 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  203. 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,
  204. 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  205. 0x65, 0x42, 0x25, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  206. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
  207. 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  208. }
  209. var (
  210. file_compose_v1_compose_proto_rawDescOnce sync.Once
  211. file_compose_v1_compose_proto_rawDescData = file_compose_v1_compose_proto_rawDesc
  212. )
  213. func file_compose_v1_compose_proto_rawDescGZIP() []byte {
  214. file_compose_v1_compose_proto_rawDescOnce.Do(func() {
  215. file_compose_v1_compose_proto_rawDescData = protoimpl.X.CompressGZIP(file_compose_v1_compose_proto_rawDescData)
  216. })
  217. return file_compose_v1_compose_proto_rawDescData
  218. }
  219. var file_compose_v1_compose_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  220. var file_compose_v1_compose_proto_goTypes = []interface{}{
  221. (*ComposeUpRequest)(nil), // 0: com.docker.api.compose.v1.ComposeUpRequest
  222. (*ComposeUpResponse)(nil), // 1: com.docker.api.compose.v1.ComposeUpResponse
  223. (*ComposeDownRequest)(nil), // 2: com.docker.api.compose.v1.ComposeDownRequest
  224. (*ComposeDownResponse)(nil), // 3: com.docker.api.compose.v1.ComposeDownResponse
  225. }
  226. var file_compose_v1_compose_proto_depIdxs = []int32{
  227. 0, // 0: com.docker.api.compose.v1.Compose.Up:input_type -> com.docker.api.compose.v1.ComposeUpRequest
  228. 2, // 1: com.docker.api.compose.v1.Compose.Down:input_type -> com.docker.api.compose.v1.ComposeDownRequest
  229. 1, // 2: com.docker.api.compose.v1.Compose.Up:output_type -> com.docker.api.compose.v1.ComposeUpResponse
  230. 3, // 3: com.docker.api.compose.v1.Compose.Down:output_type -> com.docker.api.compose.v1.ComposeDownResponse
  231. 2, // [2:4] is the sub-list for method output_type
  232. 0, // [0:2] is the sub-list for method input_type
  233. 0, // [0:0] is the sub-list for extension type_name
  234. 0, // [0:0] is the sub-list for extension extendee
  235. 0, // [0:0] is the sub-list for field type_name
  236. }
  237. func init() { file_compose_v1_compose_proto_init() }
  238. func file_compose_v1_compose_proto_init() {
  239. if File_compose_v1_compose_proto != nil {
  240. return
  241. }
  242. if !protoimpl.UnsafeEnabled {
  243. file_compose_v1_compose_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  244. switch v := v.(*ComposeUpRequest); i {
  245. case 0:
  246. return &v.state
  247. case 1:
  248. return &v.sizeCache
  249. case 2:
  250. return &v.unknownFields
  251. default:
  252. return nil
  253. }
  254. }
  255. file_compose_v1_compose_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  256. switch v := v.(*ComposeUpResponse); i {
  257. case 0:
  258. return &v.state
  259. case 1:
  260. return &v.sizeCache
  261. case 2:
  262. return &v.unknownFields
  263. default:
  264. return nil
  265. }
  266. }
  267. file_compose_v1_compose_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  268. switch v := v.(*ComposeDownRequest); i {
  269. case 0:
  270. return &v.state
  271. case 1:
  272. return &v.sizeCache
  273. case 2:
  274. return &v.unknownFields
  275. default:
  276. return nil
  277. }
  278. }
  279. file_compose_v1_compose_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  280. switch v := v.(*ComposeDownResponse); i {
  281. case 0:
  282. return &v.state
  283. case 1:
  284. return &v.sizeCache
  285. case 2:
  286. return &v.unknownFields
  287. default:
  288. return nil
  289. }
  290. }
  291. }
  292. type x struct{}
  293. out := protoimpl.TypeBuilder{
  294. File: protoimpl.DescBuilder{
  295. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  296. RawDescriptor: file_compose_v1_compose_proto_rawDesc,
  297. NumEnums: 0,
  298. NumMessages: 4,
  299. NumExtensions: 0,
  300. NumServices: 1,
  301. },
  302. GoTypes: file_compose_v1_compose_proto_goTypes,
  303. DependencyIndexes: file_compose_v1_compose_proto_depIdxs,
  304. MessageInfos: file_compose_v1_compose_proto_msgTypes,
  305. }.Build()
  306. File_compose_v1_compose_proto = out.File
  307. file_compose_v1_compose_proto_rawDesc = nil
  308. file_compose_v1_compose_proto_goTypes = nil
  309. file_compose_v1_compose_proto_depIdxs = nil
  310. }
  311. // Reference imports to suppress errors if they are not otherwise used.
  312. var _ context.Context
  313. var _ grpc.ClientConnInterface
  314. // This is a compile-time assertion to ensure that this generated file
  315. // is compatible with the grpc package it is being compiled against.
  316. const _ = grpc.SupportPackageIsVersion6
  317. // ComposeClient is the client API for Compose service.
  318. //
  319. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  320. type ComposeClient interface {
  321. Up(ctx context.Context, in *ComposeUpRequest, opts ...grpc.CallOption) (*ComposeUpResponse, error)
  322. Down(ctx context.Context, in *ComposeDownRequest, opts ...grpc.CallOption) (*ComposeDownResponse, error)
  323. }
  324. type composeClient struct {
  325. cc grpc.ClientConnInterface
  326. }
  327. func NewComposeClient(cc grpc.ClientConnInterface) ComposeClient {
  328. return &composeClient{cc}
  329. }
  330. func (c *composeClient) Up(ctx context.Context, in *ComposeUpRequest, opts ...grpc.CallOption) (*ComposeUpResponse, error) {
  331. out := new(ComposeUpResponse)
  332. err := c.cc.Invoke(ctx, "/com.docker.api.compose.v1.Compose/Up", in, out, opts...)
  333. if err != nil {
  334. return nil, err
  335. }
  336. return out, nil
  337. }
  338. func (c *composeClient) Down(ctx context.Context, in *ComposeDownRequest, opts ...grpc.CallOption) (*ComposeDownResponse, error) {
  339. out := new(ComposeDownResponse)
  340. err := c.cc.Invoke(ctx, "/com.docker.api.compose.v1.Compose/Down", in, out, opts...)
  341. if err != nil {
  342. return nil, err
  343. }
  344. return out, nil
  345. }
  346. // ComposeServer is the server API for Compose service.
  347. type ComposeServer interface {
  348. Up(context.Context, *ComposeUpRequest) (*ComposeUpResponse, error)
  349. Down(context.Context, *ComposeDownRequest) (*ComposeDownResponse, error)
  350. }
  351. // UnimplementedComposeServer can be embedded to have forward compatible implementations.
  352. type UnimplementedComposeServer struct {
  353. }
  354. func (*UnimplementedComposeServer) Up(context.Context, *ComposeUpRequest) (*ComposeUpResponse, error) {
  355. return nil, status.Errorf(codes.Unimplemented, "method Up not implemented")
  356. }
  357. func (*UnimplementedComposeServer) Down(context.Context, *ComposeDownRequest) (*ComposeDownResponse, error) {
  358. return nil, status.Errorf(codes.Unimplemented, "method Down not implemented")
  359. }
  360. func RegisterComposeServer(s *grpc.Server, srv ComposeServer) {
  361. s.RegisterService(&_Compose_serviceDesc, srv)
  362. }
  363. func _Compose_Up_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  364. in := new(ComposeUpRequest)
  365. if err := dec(in); err != nil {
  366. return nil, err
  367. }
  368. if interceptor == nil {
  369. return srv.(ComposeServer).Up(ctx, in)
  370. }
  371. info := &grpc.UnaryServerInfo{
  372. Server: srv,
  373. FullMethod: "/com.docker.api.compose.v1.Compose/Up",
  374. }
  375. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  376. return srv.(ComposeServer).Up(ctx, req.(*ComposeUpRequest))
  377. }
  378. return interceptor(ctx, in, info, handler)
  379. }
  380. func _Compose_Down_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  381. in := new(ComposeDownRequest)
  382. if err := dec(in); err != nil {
  383. return nil, err
  384. }
  385. if interceptor == nil {
  386. return srv.(ComposeServer).Down(ctx, in)
  387. }
  388. info := &grpc.UnaryServerInfo{
  389. Server: srv,
  390. FullMethod: "/com.docker.api.compose.v1.Compose/Down",
  391. }
  392. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  393. return srv.(ComposeServer).Down(ctx, req.(*ComposeDownRequest))
  394. }
  395. return interceptor(ctx, in, info, handler)
  396. }
  397. var _Compose_serviceDesc = grpc.ServiceDesc{
  398. ServiceName: "com.docker.api.compose.v1.Compose",
  399. HandlerType: (*ComposeServer)(nil),
  400. Methods: []grpc.MethodDesc{
  401. {
  402. MethodName: "Up",
  403. Handler: _Compose_Up_Handler,
  404. },
  405. {
  406. MethodName: "Down",
  407. Handler: _Compose_Down_Handler,
  408. },
  409. },
  410. Streams: []grpc.StreamDesc{},
  411. Metadata: "compose/v1/compose.proto",
  412. }