Documentation ¶
Overview ¶
Package proto_common is a generated GoMock package.
Index ¶
- func RegisterPluginInitializerServer(s *grpc.Server, srv PluginInitializerServer)
- type MockPluginInitializerClient
- type MockPluginInitializerClientMockRecorder
- type MockPluginInitializerServer
- type MockPluginInitializerServerMockRecorder
- type PluginInitialization
- func (*PluginInitialization) Descriptor() ([]byte, []int)
- func (*PluginInitialization) ProtoMessage()
- func (m *PluginInitialization) Reset()
- func (m *PluginInitialization) String() string
- func (m *PluginInitialization) XXX_DiscardUnknown()
- func (m *PluginInitialization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PluginInitialization) XXX_Merge(src proto.Message)
- func (m *PluginInitialization) XXX_Size() int
- func (m *PluginInitialization) XXX_Unmarshal(b []byte) error
- type PluginInitialization_Request
- func (*PluginInitialization_Request) Descriptor() ([]byte, []int)
- func (m *PluginInitialization_Request) GetHostIdentity() string
- func (m *PluginInitialization_Request) GetRawConfiguration() []byte
- func (*PluginInitialization_Request) ProtoMessage()
- func (m *PluginInitialization_Request) Reset()
- func (m *PluginInitialization_Request) String() string
- func (m *PluginInitialization_Request) XXX_DiscardUnknown()
- func (m *PluginInitialization_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PluginInitialization_Request) XXX_Merge(src proto.Message)
- func (m *PluginInitialization_Request) XXX_Size() int
- func (m *PluginInitialization_Request) XXX_Unmarshal(b []byte) error
- type PluginInitialization_Response
- func (*PluginInitialization_Response) Descriptor() ([]byte, []int)
- func (*PluginInitialization_Response) ProtoMessage()
- func (m *PluginInitialization_Response) Reset()
- func (m *PluginInitialization_Response) String() string
- func (m *PluginInitialization_Response) XXX_DiscardUnknown()
- func (m *PluginInitialization_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PluginInitialization_Response) XXX_Merge(src proto.Message)
- func (m *PluginInitialization_Response) XXX_Size() int
- func (m *PluginInitialization_Response) XXX_Unmarshal(b []byte) error
- type PluginInitializerClient
- type PluginInitializerServer
- type UnimplementedPluginInitializerServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPluginInitializerServer ¶
func RegisterPluginInitializerServer(s *grpc.Server, srv PluginInitializerServer)
Types ¶
type MockPluginInitializerClient ¶
type MockPluginInitializerClient struct {
// contains filtered or unexported fields
}
MockPluginInitializerClient is a mock of PluginInitializerClient interface
func NewMockPluginInitializerClient ¶
func NewMockPluginInitializerClient(ctrl *gomock.Controller) *MockPluginInitializerClient
NewMockPluginInitializerClient creates a new mock instance
func (*MockPluginInitializerClient) EXPECT ¶
func (m *MockPluginInitializerClient) EXPECT() *MockPluginInitializerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPluginInitializerClient) Init ¶
func (m *MockPluginInitializerClient) Init(ctx context.Context, in *PluginInitialization_Request, opts ...grpc.CallOption) (*PluginInitialization_Response, error)
Init mocks base method
type MockPluginInitializerClientMockRecorder ¶
type MockPluginInitializerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginInitializerClientMockRecorder is the mock recorder for MockPluginInitializerClient
func (*MockPluginInitializerClientMockRecorder) Init ¶
func (mr *MockPluginInitializerClientMockRecorder) Init(ctx, in interface{}, opts ...interface{}) *gomock.Call
Init indicates an expected call of Init
type MockPluginInitializerServer ¶
type MockPluginInitializerServer struct {
// contains filtered or unexported fields
}
MockPluginInitializerServer is a mock of PluginInitializerServer interface
func NewMockPluginInitializerServer ¶
func NewMockPluginInitializerServer(ctrl *gomock.Controller) *MockPluginInitializerServer
NewMockPluginInitializerServer creates a new mock instance
func (*MockPluginInitializerServer) EXPECT ¶
func (m *MockPluginInitializerServer) EXPECT() *MockPluginInitializerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPluginInitializerServer) Init ¶
func (m *MockPluginInitializerServer) Init(arg0 context.Context, arg1 *PluginInitialization_Request) (*PluginInitialization_Response, error)
Init mocks base method
type MockPluginInitializerServerMockRecorder ¶
type MockPluginInitializerServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginInitializerServerMockRecorder is the mock recorder for MockPluginInitializerServer
func (*MockPluginInitializerServerMockRecorder) Init ¶
func (mr *MockPluginInitializerServerMockRecorder) Init(arg0, arg1 interface{}) *gomock.Call
Init indicates an expected call of Init
type PluginInitialization ¶
type PluginInitialization struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* A wrapper message to logically group other messages
func (*PluginInitialization) Descriptor ¶
func (*PluginInitialization) Descriptor() ([]byte, []int)
func (*PluginInitialization) ProtoMessage ¶
func (*PluginInitialization) ProtoMessage()
func (*PluginInitialization) Reset ¶
func (m *PluginInitialization) Reset()
func (*PluginInitialization) String ¶
func (m *PluginInitialization) String() string
func (*PluginInitialization) XXX_DiscardUnknown ¶
func (m *PluginInitialization) XXX_DiscardUnknown()
func (*PluginInitialization) XXX_Marshal ¶
func (m *PluginInitialization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PluginInitialization) XXX_Merge ¶
func (m *PluginInitialization) XXX_Merge(src proto.Message)
func (*PluginInitialization) XXX_Size ¶
func (m *PluginInitialization) XXX_Size() int
func (*PluginInitialization) XXX_Unmarshal ¶
func (m *PluginInitialization) XXX_Unmarshal(b []byte) error
type PluginInitialization_Request ¶
type PluginInitialization_Request struct { // `geth` node identity HostIdentity string `protobuf:"bytes,1,opt,name=hostIdentity,proto3" json:"hostIdentity,omitempty"` // Raw configuration to be processed by the plugin RawConfiguration []byte `protobuf:"bytes,2,opt,name=rawConfiguration,proto3" json:"rawConfiguration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Initialization data for the plugin
func (*PluginInitialization_Request) Descriptor ¶
func (*PluginInitialization_Request) Descriptor() ([]byte, []int)
func (*PluginInitialization_Request) GetHostIdentity ¶
func (m *PluginInitialization_Request) GetHostIdentity() string
func (*PluginInitialization_Request) GetRawConfiguration ¶
func (m *PluginInitialization_Request) GetRawConfiguration() []byte
func (*PluginInitialization_Request) ProtoMessage ¶
func (*PluginInitialization_Request) ProtoMessage()
func (*PluginInitialization_Request) Reset ¶
func (m *PluginInitialization_Request) Reset()
func (*PluginInitialization_Request) String ¶
func (m *PluginInitialization_Request) String() string
func (*PluginInitialization_Request) XXX_DiscardUnknown ¶
func (m *PluginInitialization_Request) XXX_DiscardUnknown()
func (*PluginInitialization_Request) XXX_Marshal ¶
func (m *PluginInitialization_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PluginInitialization_Request) XXX_Merge ¶
func (m *PluginInitialization_Request) XXX_Merge(src proto.Message)
func (*PluginInitialization_Request) XXX_Size ¶
func (m *PluginInitialization_Request) XXX_Size() int
func (*PluginInitialization_Request) XXX_Unmarshal ¶
func (m *PluginInitialization_Request) XXX_Unmarshal(b []byte) error
type PluginInitialization_Response ¶
type PluginInitialization_Response struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PluginInitialization_Response) Descriptor ¶
func (*PluginInitialization_Response) Descriptor() ([]byte, []int)
func (*PluginInitialization_Response) ProtoMessage ¶
func (*PluginInitialization_Response) ProtoMessage()
func (*PluginInitialization_Response) Reset ¶
func (m *PluginInitialization_Response) Reset()
func (*PluginInitialization_Response) String ¶
func (m *PluginInitialization_Response) String() string
func (*PluginInitialization_Response) XXX_DiscardUnknown ¶
func (m *PluginInitialization_Response) XXX_DiscardUnknown()
func (*PluginInitialization_Response) XXX_Marshal ¶
func (m *PluginInitialization_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PluginInitialization_Response) XXX_Merge ¶
func (m *PluginInitialization_Response) XXX_Merge(src proto.Message)
func (*PluginInitialization_Response) XXX_Size ¶
func (m *PluginInitialization_Response) XXX_Size() int
func (*PluginInitialization_Response) XXX_Unmarshal ¶
func (m *PluginInitialization_Response) XXX_Unmarshal(b []byte) error
type PluginInitializerClient ¶
type PluginInitializerClient interface {
Init(ctx context.Context, in *PluginInitialization_Request, opts ...grpc.CallOption) (*PluginInitialization_Response, error)
}
PluginInitializerClient is the client API for PluginInitializer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPluginInitializerClient ¶
func NewPluginInitializerClient(cc *grpc.ClientConn) PluginInitializerClient
type PluginInitializerServer ¶
type PluginInitializerServer interface {
Init(context.Context, *PluginInitialization_Request) (*PluginInitialization_Response, error)
}
PluginInitializerServer is the server API for PluginInitializer service.
type UnimplementedPluginInitializerServer ¶
type UnimplementedPluginInitializerServer struct { }
UnimplementedPluginInitializerServer can be embedded to have forward compatible implementations.
func (*UnimplementedPluginInitializerServer) Init ¶
func (*UnimplementedPluginInitializerServer) Init(ctx context.Context, req *PluginInitialization_Request) (*PluginInitialization_Response, error)