|
@@ -1,3 +1,29 @@
|
|
|
|
|
+//
|
|
|
|
|
+//Copyright (c) 2020 Docker Inc.
|
|
|
|
|
+//
|
|
|
|
|
+//Permission is hereby granted, free of charge, to any person
|
|
|
|
|
+//obtaining a copy of this software and associated documentation
|
|
|
|
|
+//files (the "Software"), to deal in the Software without
|
|
|
|
|
+//restriction, including without limitation the rights to use, copy,
|
|
|
|
|
+//modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
|
|
|
+//of the Software, and to permit persons to whom the Software is
|
|
|
|
|
+//furnished to do so, subject to the following conditions:
|
|
|
|
|
+//
|
|
|
|
|
+//The above copyright notice and this permission notice shall be
|
|
|
|
|
+//included in all copies or substantial portions of the Software.
|
|
|
|
|
+//
|
|
|
|
|
+//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
|
|
+//EXPRESS OR IMPLIED,
|
|
|
|
|
+//INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
+//FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
|
|
|
+//IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
|
|
|
+//HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
|
|
|
+//DAMAGES OR OTHER LIABILITY,
|
|
|
|
|
+//WHETHER IN AN ACTION OF CONTRACT,
|
|
|
|
|
+//TORT OR OTHERWISE,
|
|
|
|
|
+//ARISING FROM, OUT OF OR IN CONNECTION WITH
|
|
|
|
|
+//THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|
+
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
// versions:
|
|
// versions:
|
|
|
// protoc-gen-go v1.21.0-devel
|
|
// protoc-gen-go v1.21.0-devel
|
|
@@ -8,15 +34,15 @@ package v1
|
|
|
|
|
|
|
|
import (
|
|
import (
|
|
|
context "context"
|
|
context "context"
|
|
|
|
|
+ reflect "reflect"
|
|
|
|
|
+ sync "sync"
|
|
|
|
|
+
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
- empty "github.com/golang/protobuf/ptypes/empty"
|
|
|
|
|
grpc "google.golang.org/grpc"
|
|
grpc "google.golang.org/grpc"
|
|
|
codes "google.golang.org/grpc/codes"
|
|
codes "google.golang.org/grpc/codes"
|
|
|
status "google.golang.org/grpc/status"
|
|
status "google.golang.org/grpc/status"
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
- reflect "reflect"
|
|
|
|
|
- sync "sync"
|
|
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
const (
|
|
@@ -30,6 +56,44 @@ const (
|
|
|
// of the legacy proto package is being used.
|
|
// of the legacy proto package is being used.
|
|
|
const _ = proto.ProtoPackageIsVersion4
|
|
const _ = proto.ProtoPackageIsVersion4
|
|
|
|
|
|
|
|
|
|
+type BackendInformationRequest struct {
|
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *BackendInformationRequest) Reset() {
|
|
|
|
|
+ *x = BackendInformationRequest{}
|
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
|
+ mi := &file_backend_v1_backend_proto_msgTypes[0]
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *BackendInformationRequest) String() string {
|
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (*BackendInformationRequest) ProtoMessage() {}
|
|
|
|
|
+
|
|
|
|
|
+func (x *BackendInformationRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
+ mi := &file_backend_v1_backend_proto_msgTypes[0]
|
|
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+ return ms
|
|
|
|
|
+ }
|
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Deprecated: Use BackendInformationRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
+func (*BackendInformationRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
+ return file_backend_v1_backend_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type BackendInformationResponse struct {
|
|
type BackendInformationResponse struct {
|
|
|
state protoimpl.MessageState
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -41,7 +105,7 @@ type BackendInformationResponse struct {
|
|
|
func (x *BackendInformationResponse) Reset() {
|
|
func (x *BackendInformationResponse) Reset() {
|
|
|
*x = BackendInformationResponse{}
|
|
*x = BackendInformationResponse{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_backend_v1_backend_proto_msgTypes[0]
|
|
|
|
|
|
|
+ mi := &file_backend_v1_backend_proto_msgTypes[1]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -54,7 +118,7 @@ func (x *BackendInformationResponse) String() string {
|
|
|
func (*BackendInformationResponse) ProtoMessage() {}
|
|
func (*BackendInformationResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *BackendInformationResponse) ProtoReflect() protoreflect.Message {
|
|
func (x *BackendInformationResponse) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_backend_v1_backend_proto_msgTypes[0]
|
|
|
|
|
|
|
+ mi := &file_backend_v1_backend_proto_msgTypes[1]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -67,7 +131,7 @@ func (x *BackendInformationResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use BackendInformationResponse.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use BackendInformationResponse.ProtoReflect.Descriptor instead.
|
|
|
func (*BackendInformationResponse) Descriptor() ([]byte, []int) {
|
|
func (*BackendInformationResponse) Descriptor() ([]byte, []int) {
|
|
|
- return file_backend_v1_backend_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
|
|
+ return file_backend_v1_backend_proto_rawDescGZIP(), []int{1}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *BackendInformationResponse) GetId() string {
|
|
func (x *BackendInformationResponse) GetId() string {
|
|
@@ -83,15 +147,17 @@ var file_backend_v1_backend_proto_rawDesc = []byte{
|
|
|
0x0a, 0x18, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x63,
|
|
0x0a, 0x18, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x63,
|
|
|
0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x63, 0x6f, 0x6d, 0x2e,
|
|
0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x63, 0x6f, 0x6d, 0x2e,
|
|
|
0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
|
|
0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
|
|
|
- 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
|
|
|
|
|
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
|
- 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x1a, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66,
|
|
|
|
|
|
|
+ 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x22, 0x1b, 0x0a, 0x19, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
|
|
|
|
|
+ 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
+ 0x73, 0x74, 0x22, 0x2c, 0x0a, 0x1a, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66,
|
|
|
0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
|
|
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
|
|
|
- 0x32, 0x6e, 0x0a, 0x07, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x63, 0x0a, 0x12, 0x42,
|
|
|
|
|
- 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
|
|
|
|
|
- 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
|
- 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
|
|
|
|
|
|
|
+ 0x32, 0x8d, 0x01, 0x0a, 0x07, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x81, 0x01, 0x0a,
|
|
|
|
|
+ 0x12, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74,
|
|
|
|
|
+ 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
|
|
|
|
|
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e,
|
|
|
|
|
+ 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69,
|
|
|
|
|
+ 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
|
|
|
0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
|
|
0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
|
|
|
0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66,
|
|
0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66,
|
|
|
0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
@@ -112,14 +178,14 @@ func file_backend_v1_backend_proto_rawDescGZIP() []byte {
|
|
|
return file_backend_v1_backend_proto_rawDescData
|
|
return file_backend_v1_backend_proto_rawDescData
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-var file_backend_v1_backend_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
|
|
|
|
|
|
+var file_backend_v1_backend_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
var file_backend_v1_backend_proto_goTypes = []interface{}{
|
|
var file_backend_v1_backend_proto_goTypes = []interface{}{
|
|
|
- (*BackendInformationResponse)(nil), // 0: com.docker.api.backend.v1.BackendInformationResponse
|
|
|
|
|
- (*empty.Empty)(nil), // 1: google.protobuf.Empty
|
|
|
|
|
|
|
+ (*BackendInformationRequest)(nil), // 0: com.docker.api.backend.v1.BackendInformationRequest
|
|
|
|
|
+ (*BackendInformationResponse)(nil), // 1: com.docker.api.backend.v1.BackendInformationResponse
|
|
|
}
|
|
}
|
|
|
var file_backend_v1_backend_proto_depIdxs = []int32{
|
|
var file_backend_v1_backend_proto_depIdxs = []int32{
|
|
|
- 1, // 0: com.docker.api.backend.v1.Backend.BackendInformation:input_type -> google.protobuf.Empty
|
|
|
|
|
- 0, // 1: com.docker.api.backend.v1.Backend.BackendInformation:output_type -> com.docker.api.backend.v1.BackendInformationResponse
|
|
|
|
|
|
|
+ 0, // 0: com.docker.api.backend.v1.Backend.BackendInformation:input_type -> com.docker.api.backend.v1.BackendInformationRequest
|
|
|
|
|
+ 1, // 1: com.docker.api.backend.v1.Backend.BackendInformation:output_type -> com.docker.api.backend.v1.BackendInformationResponse
|
|
|
1, // [1:2] is the sub-list for method output_type
|
|
1, // [1:2] is the sub-list for method output_type
|
|
|
0, // [0:1] is the sub-list for method input_type
|
|
0, // [0:1] is the sub-list for method input_type
|
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
@@ -134,6 +200,18 @@ func file_backend_v1_backend_proto_init() {
|
|
|
}
|
|
}
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
file_backend_v1_backend_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
file_backend_v1_backend_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
+ switch v := v.(*BackendInformationRequest); i {
|
|
|
|
|
+ case 0:
|
|
|
|
|
+ return &v.state
|
|
|
|
|
+ case 1:
|
|
|
|
|
+ return &v.sizeCache
|
|
|
|
|
+ case 2:
|
|
|
|
|
+ return &v.unknownFields
|
|
|
|
|
+ default:
|
|
|
|
|
+ return nil
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ file_backend_v1_backend_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*BackendInformationResponse); i {
|
|
switch v := v.(*BackendInformationResponse); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
@@ -152,7 +230,7 @@ func file_backend_v1_backend_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_backend_v1_backend_proto_rawDesc,
|
|
RawDescriptor: file_backend_v1_backend_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
NumEnums: 0,
|
|
|
- NumMessages: 1,
|
|
|
|
|
|
|
+ NumMessages: 2,
|
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
NumServices: 1,
|
|
|
},
|
|
},
|
|
@@ -179,7 +257,7 @@ const _ = grpc.SupportPackageIsVersion6
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
type BackendClient interface {
|
|
type BackendClient interface {
|
|
|
// BackendInformation returns implementation specific information on the backend.
|
|
// BackendInformation returns implementation specific information on the backend.
|
|
|
- BackendInformation(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BackendInformationResponse, error)
|
|
|
|
|
|
|
+ BackendInformation(ctx context.Context, in *BackendInformationRequest, opts ...grpc.CallOption) (*BackendInformationResponse, error)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type backendClient struct {
|
|
type backendClient struct {
|
|
@@ -190,7 +268,7 @@ func NewBackendClient(cc grpc.ClientConnInterface) BackendClient {
|
|
|
return &backendClient{cc}
|
|
return &backendClient{cc}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (c *backendClient) BackendInformation(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BackendInformationResponse, error) {
|
|
|
|
|
|
|
+func (c *backendClient) BackendInformation(ctx context.Context, in *BackendInformationRequest, opts ...grpc.CallOption) (*BackendInformationResponse, error) {
|
|
|
out := new(BackendInformationResponse)
|
|
out := new(BackendInformationResponse)
|
|
|
err := c.cc.Invoke(ctx, "/com.docker.api.backend.v1.Backend/BackendInformation", in, out, opts...)
|
|
err := c.cc.Invoke(ctx, "/com.docker.api.backend.v1.Backend/BackendInformation", in, out, opts...)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
@@ -202,14 +280,14 @@ func (c *backendClient) BackendInformation(ctx context.Context, in *empty.Empty,
|
|
|
// BackendServer is the server API for Backend service.
|
|
// BackendServer is the server API for Backend service.
|
|
|
type BackendServer interface {
|
|
type BackendServer interface {
|
|
|
// BackendInformation returns implementation specific information on the backend.
|
|
// BackendInformation returns implementation specific information on the backend.
|
|
|
- BackendInformation(context.Context, *empty.Empty) (*BackendInformationResponse, error)
|
|
|
|
|
|
|
+ BackendInformation(context.Context, *BackendInformationRequest) (*BackendInformationResponse, error)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// UnimplementedBackendServer can be embedded to have forward compatible implementations.
|
|
// UnimplementedBackendServer can be embedded to have forward compatible implementations.
|
|
|
type UnimplementedBackendServer struct {
|
|
type UnimplementedBackendServer struct {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (*UnimplementedBackendServer) BackendInformation(context.Context, *empty.Empty) (*BackendInformationResponse, error) {
|
|
|
|
|
|
|
+func (*UnimplementedBackendServer) BackendInformation(context.Context, *BackendInformationRequest) (*BackendInformationResponse, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method BackendInformation not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method BackendInformation not implemented")
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -218,7 +296,7 @@ func RegisterBackendServer(s *grpc.Server, srv BackendServer) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func _Backend_BackendInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _Backend_BackendInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(empty.Empty)
|
|
|
|
|
|
|
+ in := new(BackendInformationRequest)
|
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
|
}
|
|
}
|
|
@@ -230,7 +308,7 @@ func _Backend_BackendInformation_Handler(srv interface{}, ctx context.Context, d
|
|
|
FullMethod: "/com.docker.api.backend.v1.Backend/BackendInformation",
|
|
FullMethod: "/com.docker.api.backend.v1.Backend/BackendInformation",
|
|
|
}
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(BackendServer).BackendInformation(ctx, req.(*empty.Empty))
|
|
|
|
|
|
|
+ return srv.(BackendServer).BackendInformation(ctx, req.(*BackendInformationRequest))
|
|
|
}
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|