Documentation ¶
Overview ¶
Package document_mock is a generated GoMock package.
Index ¶
- type MockDocumentAPIServiceClient
- func (m *MockDocumentAPIServiceClient) Delete(ctx context.Context, in *v1.DeleteRequest, opts ...grpc.CallOption) (*v1.DeleteResponse, error)
- func (m *MockDocumentAPIServiceClient) EXPECT() *MockDocumentAPIServiceClientMockRecorder
- func (m *MockDocumentAPIServiceClient) Get(ctx context.Context, in *v1.GetRequest, opts ...grpc.CallOption) (*v1.GetResponse, error)
- func (m *MockDocumentAPIServiceClient) GetAllKeys(ctx context.Context, in *v1.GetAllKeysRequest, opts ...grpc.CallOption) (*v1.GetAllKeysResponse, error)
- func (m *MockDocumentAPIServiceClient) Put(ctx context.Context, in *v1.PutRequest, opts ...grpc.CallOption) (*v1.PutResponse, error)
- type MockDocumentAPIServiceClientMockRecorder
- func (mr *MockDocumentAPIServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDocumentAPIServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDocumentAPIServiceClientMockRecorder) GetAllKeys(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDocumentAPIServiceClientMockRecorder) Put(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockDocumentAPIServiceServer
- func (m *MockDocumentAPIServiceServer) Delete(arg0 context.Context, arg1 *v1.DeleteRequest) (*v1.DeleteResponse, error)
- func (m *MockDocumentAPIServiceServer) EXPECT() *MockDocumentAPIServiceServerMockRecorder
- func (m *MockDocumentAPIServiceServer) Get(arg0 context.Context, arg1 *v1.GetRequest) (*v1.GetResponse, error)
- func (m *MockDocumentAPIServiceServer) GetAllKeys(arg0 context.Context, arg1 *v1.GetAllKeysRequest) (*v1.GetAllKeysResponse, error)
- func (m *MockDocumentAPIServiceServer) Put(arg0 context.Context, arg1 *v1.PutRequest) (*v1.PutResponse, error)
- type MockDocumentAPIServiceServerMockRecorder
- func (mr *MockDocumentAPIServiceServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDocumentAPIServiceServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDocumentAPIServiceServerMockRecorder) GetAllKeys(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDocumentAPIServiceServerMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeDocumentAPIServiceServer
- type MockUnsafeDocumentAPIServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDocumentAPIServiceClient ¶
type MockDocumentAPIServiceClient struct {
// contains filtered or unexported fields
}
MockDocumentAPIServiceClient is a mock of DocumentAPIServiceClient interface.
func NewMockDocumentAPIServiceClient ¶
func NewMockDocumentAPIServiceClient(ctrl *gomock.Controller) *MockDocumentAPIServiceClient
NewMockDocumentAPIServiceClient creates a new mock instance.
func (*MockDocumentAPIServiceClient) Delete ¶
func (m *MockDocumentAPIServiceClient) Delete(ctx context.Context, in *v1.DeleteRequest, opts ...grpc.CallOption) (*v1.DeleteResponse, error)
Delete mocks base method.
func (*MockDocumentAPIServiceClient) EXPECT ¶
func (m *MockDocumentAPIServiceClient) EXPECT() *MockDocumentAPIServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDocumentAPIServiceClient) Get ¶
func (m *MockDocumentAPIServiceClient) Get(ctx context.Context, in *v1.GetRequest, opts ...grpc.CallOption) (*v1.GetResponse, error)
Get mocks base method.
func (*MockDocumentAPIServiceClient) GetAllKeys ¶
func (m *MockDocumentAPIServiceClient) GetAllKeys(ctx context.Context, in *v1.GetAllKeysRequest, opts ...grpc.CallOption) (*v1.GetAllKeysResponse, error)
GetAllKeys mocks base method.
func (*MockDocumentAPIServiceClient) Put ¶
func (m *MockDocumentAPIServiceClient) Put(ctx context.Context, in *v1.PutRequest, opts ...grpc.CallOption) (*v1.PutResponse, error)
Put mocks base method.
type MockDocumentAPIServiceClientMockRecorder ¶
type MockDocumentAPIServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDocumentAPIServiceClientMockRecorder is the mock recorder for MockDocumentAPIServiceClient.
func (*MockDocumentAPIServiceClientMockRecorder) Delete ¶
func (mr *MockDocumentAPIServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDocumentAPIServiceClientMockRecorder) Get ¶
func (mr *MockDocumentAPIServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockDocumentAPIServiceClientMockRecorder) GetAllKeys ¶
func (mr *MockDocumentAPIServiceClientMockRecorder) GetAllKeys(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAllKeys indicates an expected call of GetAllKeys.
func (*MockDocumentAPIServiceClientMockRecorder) Put ¶
func (mr *MockDocumentAPIServiceClientMockRecorder) Put(ctx, in interface{}, opts ...interface{}) *gomock.Call
Put indicates an expected call of Put.
type MockDocumentAPIServiceServer ¶
type MockDocumentAPIServiceServer struct {
// contains filtered or unexported fields
}
MockDocumentAPIServiceServer is a mock of DocumentAPIServiceServer interface.
func NewMockDocumentAPIServiceServer ¶
func NewMockDocumentAPIServiceServer(ctrl *gomock.Controller) *MockDocumentAPIServiceServer
NewMockDocumentAPIServiceServer creates a new mock instance.
func (*MockDocumentAPIServiceServer) Delete ¶
func (m *MockDocumentAPIServiceServer) Delete(arg0 context.Context, arg1 *v1.DeleteRequest) (*v1.DeleteResponse, error)
Delete mocks base method.
func (*MockDocumentAPIServiceServer) EXPECT ¶
func (m *MockDocumentAPIServiceServer) EXPECT() *MockDocumentAPIServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDocumentAPIServiceServer) Get ¶
func (m *MockDocumentAPIServiceServer) Get(arg0 context.Context, arg1 *v1.GetRequest) (*v1.GetResponse, error)
Get mocks base method.
func (*MockDocumentAPIServiceServer) GetAllKeys ¶
func (m *MockDocumentAPIServiceServer) GetAllKeys(arg0 context.Context, arg1 *v1.GetAllKeysRequest) (*v1.GetAllKeysResponse, error)
GetAllKeys mocks base method.
func (*MockDocumentAPIServiceServer) Put ¶
func (m *MockDocumentAPIServiceServer) Put(arg0 context.Context, arg1 *v1.PutRequest) (*v1.PutResponse, error)
Put mocks base method.
type MockDocumentAPIServiceServerMockRecorder ¶
type MockDocumentAPIServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDocumentAPIServiceServerMockRecorder is the mock recorder for MockDocumentAPIServiceServer.
func (*MockDocumentAPIServiceServerMockRecorder) Delete ¶
func (mr *MockDocumentAPIServiceServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDocumentAPIServiceServerMockRecorder) Get ¶
func (mr *MockDocumentAPIServiceServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockDocumentAPIServiceServerMockRecorder) GetAllKeys ¶
func (mr *MockDocumentAPIServiceServerMockRecorder) GetAllKeys(arg0, arg1 interface{}) *gomock.Call
GetAllKeys indicates an expected call of GetAllKeys.
func (*MockDocumentAPIServiceServerMockRecorder) Put ¶
func (mr *MockDocumentAPIServiceServerMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
Put indicates an expected call of Put.
type MockUnsafeDocumentAPIServiceServer ¶
type MockUnsafeDocumentAPIServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeDocumentAPIServiceServer is a mock of UnsafeDocumentAPIServiceServer interface.
func NewMockUnsafeDocumentAPIServiceServer ¶
func NewMockUnsafeDocumentAPIServiceServer(ctrl *gomock.Controller) *MockUnsafeDocumentAPIServiceServer
NewMockUnsafeDocumentAPIServiceServer creates a new mock instance.
func (*MockUnsafeDocumentAPIServiceServer) EXPECT ¶
func (m *MockUnsafeDocumentAPIServiceServer) EXPECT() *MockUnsafeDocumentAPIServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeDocumentAPIServiceServerMockRecorder ¶
type MockUnsafeDocumentAPIServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeDocumentAPIServiceServerMockRecorder is the mock recorder for MockUnsafeDocumentAPIServiceServer.