Documentation ¶
Overview ¶
Package mock_domain is a generated GoMock package.
Index ¶
- type MockUserClient
- func (m *MockUserClient) EXPECT() *MockUserClientMockRecorder
- func (m *MockUserClient) GetAll(arg0 context.Context, arg1 *domain.GetAllRequest, arg2 ...grpc.CallOption) (domain.User_GetAllClient, error)
- func (m *MockUserClient) GetByEmail(arg0 context.Context, arg1 *wrapperspb.StringValue, arg2 ...grpc.CallOption) (*projections.User, error)
- func (m *MockUserClient) GetById(arg0 context.Context, arg1 *wrapperspb.StringValue, arg2 ...grpc.CallOption) (*projections.User, error)
- func (m *MockUserClient) GetCount(arg0 context.Context, arg1 *domain.GetCountRequest, arg2 ...grpc.CallOption) (*domain.GetCountResult, error)
- func (m *MockUserClient) GetRoleBindingsById(arg0 context.Context, arg1 *wrapperspb.StringValue, arg2 ...grpc.CallOption) (domain.User_GetRoleBindingsByIdClient, error)
- type MockUserClientMockRecorder
- func (mr *MockUserClientMockRecorder) GetAll(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockUserClientMockRecorder) GetByEmail(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockUserClientMockRecorder) GetById(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockUserClientMockRecorder) GetCount(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockUserClientMockRecorder) GetRoleBindingsById(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockUser_GetAllClient
- func (m *MockUser_GetAllClient) CloseSend() error
- func (m *MockUser_GetAllClient) Context() context.Context
- func (m *MockUser_GetAllClient) EXPECT() *MockUser_GetAllClientMockRecorder
- func (m *MockUser_GetAllClient) Header() (metadata.MD, error)
- func (m *MockUser_GetAllClient) Recv() (*projections.User, error)
- func (m *MockUser_GetAllClient) RecvMsg(arg0 interface{}) error
- func (m *MockUser_GetAllClient) SendMsg(arg0 interface{}) error
- func (m *MockUser_GetAllClient) Trailer() metadata.MD
- type MockUser_GetAllClientMockRecorder
- func (mr *MockUser_GetAllClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockUser_GetAllClientMockRecorder) Context() *gomock.Call
- func (mr *MockUser_GetAllClientMockRecorder) Header() *gomock.Call
- func (mr *MockUser_GetAllClientMockRecorder) Recv() *gomock.Call
- func (mr *MockUser_GetAllClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockUser_GetAllClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockUser_GetAllClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUserClient ¶
type MockUserClient struct {
// contains filtered or unexported fields
}
MockUserClient is a mock of UserClient interface.
func NewMockUserClient ¶
func NewMockUserClient(ctrl *gomock.Controller) *MockUserClient
NewMockUserClient creates a new mock instance.
func (*MockUserClient) EXPECT ¶
func (m *MockUserClient) EXPECT() *MockUserClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserClient) GetAll ¶
func (m *MockUserClient) GetAll(arg0 context.Context, arg1 *domain.GetAllRequest, arg2 ...grpc.CallOption) (domain.User_GetAllClient, error)
GetAll mocks base method.
func (*MockUserClient) GetByEmail ¶
func (m *MockUserClient) GetByEmail(arg0 context.Context, arg1 *wrapperspb.StringValue, arg2 ...grpc.CallOption) (*projections.User, error)
GetByEmail mocks base method.
func (*MockUserClient) GetById ¶
func (m *MockUserClient) GetById(arg0 context.Context, arg1 *wrapperspb.StringValue, arg2 ...grpc.CallOption) (*projections.User, error)
GetById mocks base method.
func (*MockUserClient) GetCount ¶
func (m *MockUserClient) GetCount(arg0 context.Context, arg1 *domain.GetCountRequest, arg2 ...grpc.CallOption) (*domain.GetCountResult, error)
GetCount mocks base method.
func (*MockUserClient) GetRoleBindingsById ¶
func (m *MockUserClient) GetRoleBindingsById(arg0 context.Context, arg1 *wrapperspb.StringValue, arg2 ...grpc.CallOption) (domain.User_GetRoleBindingsByIdClient, error)
GetRoleBindingsById mocks base method.
type MockUserClientMockRecorder ¶
type MockUserClientMockRecorder struct {
// contains filtered or unexported fields
}
MockUserClientMockRecorder is the mock recorder for MockUserClient.
func (*MockUserClientMockRecorder) GetAll ¶
func (mr *MockUserClientMockRecorder) GetAll(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockUserClientMockRecorder) GetByEmail ¶
func (mr *MockUserClientMockRecorder) GetByEmail(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetByEmail indicates an expected call of GetByEmail.
func (*MockUserClientMockRecorder) GetById ¶
func (mr *MockUserClientMockRecorder) GetById(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetById indicates an expected call of GetById.
func (*MockUserClientMockRecorder) GetCount ¶
func (mr *MockUserClientMockRecorder) GetCount(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetCount indicates an expected call of GetCount.
func (*MockUserClientMockRecorder) GetRoleBindingsById ¶
func (mr *MockUserClientMockRecorder) GetRoleBindingsById(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetRoleBindingsById indicates an expected call of GetRoleBindingsById.
type MockUser_GetAllClient ¶
type MockUser_GetAllClient struct {
// contains filtered or unexported fields
}
MockUser_GetAllClient is a mock of User_GetAllClient interface.
func NewMockUser_GetAllClient ¶
func NewMockUser_GetAllClient(ctrl *gomock.Controller) *MockUser_GetAllClient
NewMockUser_GetAllClient creates a new mock instance.
func (*MockUser_GetAllClient) CloseSend ¶
func (m *MockUser_GetAllClient) CloseSend() error
CloseSend mocks base method.
func (*MockUser_GetAllClient) Context ¶
func (m *MockUser_GetAllClient) Context() context.Context
Context mocks base method.
func (*MockUser_GetAllClient) EXPECT ¶
func (m *MockUser_GetAllClient) EXPECT() *MockUser_GetAllClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUser_GetAllClient) Header ¶
func (m *MockUser_GetAllClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockUser_GetAllClient) Recv ¶
func (m *MockUser_GetAllClient) Recv() (*projections.User, error)
Recv mocks base method.
func (*MockUser_GetAllClient) RecvMsg ¶
func (m *MockUser_GetAllClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockUser_GetAllClient) SendMsg ¶
func (m *MockUser_GetAllClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockUser_GetAllClient) Trailer ¶
func (m *MockUser_GetAllClient) Trailer() metadata.MD
Trailer mocks base method.
type MockUser_GetAllClientMockRecorder ¶
type MockUser_GetAllClientMockRecorder struct {
// contains filtered or unexported fields
}
MockUser_GetAllClientMockRecorder is the mock recorder for MockUser_GetAllClient.
func (*MockUser_GetAllClientMockRecorder) CloseSend ¶
func (mr *MockUser_GetAllClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockUser_GetAllClientMockRecorder) Context ¶
func (mr *MockUser_GetAllClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockUser_GetAllClientMockRecorder) Header ¶
func (mr *MockUser_GetAllClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockUser_GetAllClientMockRecorder) Recv ¶
func (mr *MockUser_GetAllClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockUser_GetAllClientMockRecorder) RecvMsg ¶
func (mr *MockUser_GetAllClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockUser_GetAllClientMockRecorder) SendMsg ¶
func (mr *MockUser_GetAllClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockUser_GetAllClientMockRecorder) Trailer ¶
func (mr *MockUser_GetAllClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.