proto_common

package
v0.0.0-...-0599406 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package proto_common is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPluginInitializerClient) Init

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPluginInitializerServer) Init

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 (*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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL