Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockUnsafeUserServiceServer
- type MockUnsafeUserServiceServerMockRecorder
- type MockUserServiceClient
- func (m *MockUserServiceClient) ChangePassword(ctx context.Context, in *user.ChangePasswordRequest, opts ...grpc.CallOption) (*user.ChangePasswordResponse, error)
- func (m *MockUserServiceClient) Create(ctx context.Context, in *user.CreateRequest, opts ...grpc.CallOption) (*user.CreateResponse, error)
- func (m *MockUserServiceClient) Delete(ctx context.Context, in *user.DeleteRequest, opts ...grpc.CallOption) (*user.DeleteResponse, error)
- func (m *MockUserServiceClient) EXPECT() *MockUserServiceClientMockRecorder
- func (m *MockUserServiceClient) Get(ctx context.Context, in *user.GetRequest, opts ...grpc.CallOption) (*user.GetResponse, error)
- func (m *MockUserServiceClient) GetByUsername(ctx context.Context, in *user.GetByUsernameRequest, opts ...grpc.CallOption) (*user.GetByUsernameResponse, error)
- func (m *MockUserServiceClient) List(ctx context.Context, in *user.ListRequest, opts ...grpc.CallOption) (*user.ListResponse, error)
- func (m *MockUserServiceClient) Update(ctx context.Context, in *user.UpdateRequest, opts ...grpc.CallOption) (*user.UpdateResponse, error)
- type MockUserServiceClientMockRecorder
- func (mr *MockUserServiceClientMockRecorder) ChangePassword(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) GetByUsername(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockUserServiceServer
- func (m *MockUserServiceServer) ChangePassword(arg0 context.Context, arg1 *user.ChangePasswordRequest) (*user.ChangePasswordResponse, error)
- func (m *MockUserServiceServer) Create(arg0 context.Context, arg1 *user.CreateRequest) (*user.CreateResponse, error)
- func (m *MockUserServiceServer) Delete(arg0 context.Context, arg1 *user.DeleteRequest) (*user.DeleteResponse, error)
- func (m *MockUserServiceServer) EXPECT() *MockUserServiceServerMockRecorder
- func (m *MockUserServiceServer) Get(arg0 context.Context, arg1 *user.GetRequest) (*user.GetResponse, error)
- func (m *MockUserServiceServer) GetByUsername(arg0 context.Context, arg1 *user.GetByUsernameRequest) (*user.GetByUsernameResponse, error)
- func (m *MockUserServiceServer) List(arg0 context.Context, arg1 *user.ListRequest) (*user.ListResponse, error)
- func (m *MockUserServiceServer) Update(arg0 context.Context, arg1 *user.UpdateRequest) (*user.UpdateResponse, error)
- type MockUserServiceServerMockRecorder
- func (mr *MockUserServiceServerMockRecorder) ChangePassword(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) GetByUsername(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUnsafeUserServiceServer ¶
type MockUnsafeUserServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeUserServiceServer is a mock of UnsafeUserServiceServer interface.
func NewMockUnsafeUserServiceServer ¶
func NewMockUnsafeUserServiceServer(ctrl *gomock.Controller) *MockUnsafeUserServiceServer
NewMockUnsafeUserServiceServer creates a new mock instance.
func (*MockUnsafeUserServiceServer) EXPECT ¶
func (m *MockUnsafeUserServiceServer) EXPECT() *MockUnsafeUserServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeUserServiceServerMockRecorder ¶
type MockUnsafeUserServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeUserServiceServerMockRecorder is the mock recorder for MockUnsafeUserServiceServer.
type MockUserServiceClient ¶
type MockUserServiceClient struct {
// contains filtered or unexported fields
}
MockUserServiceClient is a mock of UserServiceClient interface.
func NewMockUserServiceClient ¶
func NewMockUserServiceClient(ctrl *gomock.Controller) *MockUserServiceClient
NewMockUserServiceClient creates a new mock instance.
func (*MockUserServiceClient) ChangePassword ¶
func (m *MockUserServiceClient) ChangePassword(ctx context.Context, in *user.ChangePasswordRequest, opts ...grpc.CallOption) (*user.ChangePasswordResponse, error)
ChangePassword mocks base method.
func (*MockUserServiceClient) Create ¶
func (m *MockUserServiceClient) Create(ctx context.Context, in *user.CreateRequest, opts ...grpc.CallOption) (*user.CreateResponse, error)
Create mocks base method.
func (*MockUserServiceClient) Delete ¶
func (m *MockUserServiceClient) Delete(ctx context.Context, in *user.DeleteRequest, opts ...grpc.CallOption) (*user.DeleteResponse, error)
Delete mocks base method.
func (*MockUserServiceClient) EXPECT ¶
func (m *MockUserServiceClient) EXPECT() *MockUserServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserServiceClient) Get ¶
func (m *MockUserServiceClient) Get(ctx context.Context, in *user.GetRequest, opts ...grpc.CallOption) (*user.GetResponse, error)
Get mocks base method.
func (*MockUserServiceClient) GetByUsername ¶
func (m *MockUserServiceClient) GetByUsername(ctx context.Context, in *user.GetByUsernameRequest, opts ...grpc.CallOption) (*user.GetByUsernameResponse, error)
GetByUsername mocks base method.
func (*MockUserServiceClient) List ¶
func (m *MockUserServiceClient) List(ctx context.Context, in *user.ListRequest, opts ...grpc.CallOption) (*user.ListResponse, error)
List mocks base method.
func (*MockUserServiceClient) Update ¶
func (m *MockUserServiceClient) Update(ctx context.Context, in *user.UpdateRequest, opts ...grpc.CallOption) (*user.UpdateResponse, error)
Update mocks base method.
type MockUserServiceClientMockRecorder ¶
type MockUserServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceClientMockRecorder is the mock recorder for MockUserServiceClient.
func (*MockUserServiceClientMockRecorder) ChangePassword ¶
func (mr *MockUserServiceClientMockRecorder) ChangePassword(ctx, in interface{}, opts ...interface{}) *gomock.Call
ChangePassword indicates an expected call of ChangePassword.
func (*MockUserServiceClientMockRecorder) Create ¶
func (mr *MockUserServiceClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUserServiceClientMockRecorder) Delete ¶
func (mr *MockUserServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockUserServiceClientMockRecorder) Get ¶
func (mr *MockUserServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockUserServiceClientMockRecorder) GetByUsername ¶
func (mr *MockUserServiceClientMockRecorder) GetByUsername(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetByUsername indicates an expected call of GetByUsername.
func (*MockUserServiceClientMockRecorder) List ¶
func (mr *MockUserServiceClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockUserServiceClientMockRecorder) Update ¶
func (mr *MockUserServiceClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockUserServiceServer ¶
type MockUserServiceServer struct {
// contains filtered or unexported fields
}
MockUserServiceServer is a mock of UserServiceServer interface.
func NewMockUserServiceServer ¶
func NewMockUserServiceServer(ctrl *gomock.Controller) *MockUserServiceServer
NewMockUserServiceServer creates a new mock instance.
func (*MockUserServiceServer) ChangePassword ¶
func (m *MockUserServiceServer) ChangePassword(arg0 context.Context, arg1 *user.ChangePasswordRequest) (*user.ChangePasswordResponse, error)
ChangePassword mocks base method.
func (*MockUserServiceServer) Create ¶
func (m *MockUserServiceServer) Create(arg0 context.Context, arg1 *user.CreateRequest) (*user.CreateResponse, error)
Create mocks base method.
func (*MockUserServiceServer) Delete ¶
func (m *MockUserServiceServer) Delete(arg0 context.Context, arg1 *user.DeleteRequest) (*user.DeleteResponse, error)
Delete mocks base method.
func (*MockUserServiceServer) EXPECT ¶
func (m *MockUserServiceServer) EXPECT() *MockUserServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserServiceServer) Get ¶
func (m *MockUserServiceServer) Get(arg0 context.Context, arg1 *user.GetRequest) (*user.GetResponse, error)
Get mocks base method.
func (*MockUserServiceServer) GetByUsername ¶
func (m *MockUserServiceServer) GetByUsername(arg0 context.Context, arg1 *user.GetByUsernameRequest) (*user.GetByUsernameResponse, error)
GetByUsername mocks base method.
func (*MockUserServiceServer) List ¶
func (m *MockUserServiceServer) List(arg0 context.Context, arg1 *user.ListRequest) (*user.ListResponse, error)
List mocks base method.
func (*MockUserServiceServer) Update ¶
func (m *MockUserServiceServer) Update(arg0 context.Context, arg1 *user.UpdateRequest) (*user.UpdateResponse, error)
Update mocks base method.
type MockUserServiceServerMockRecorder ¶
type MockUserServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceServerMockRecorder is the mock recorder for MockUserServiceServer.
func (*MockUserServiceServerMockRecorder) ChangePassword ¶
func (mr *MockUserServiceServerMockRecorder) ChangePassword(arg0, arg1 interface{}) *gomock.Call
ChangePassword indicates an expected call of ChangePassword.
func (*MockUserServiceServerMockRecorder) Create ¶
func (mr *MockUserServiceServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUserServiceServerMockRecorder) Delete ¶
func (mr *MockUserServiceServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockUserServiceServerMockRecorder) Get ¶
func (mr *MockUserServiceServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockUserServiceServerMockRecorder) GetByUsername ¶
func (mr *MockUserServiceServerMockRecorder) GetByUsername(arg0, arg1 interface{}) *gomock.Call
GetByUsername indicates an expected call of GetByUsername.
func (*MockUserServiceServerMockRecorder) List ¶
func (mr *MockUserServiceServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockUserServiceServerMockRecorder) Update ¶
func (mr *MockUserServiceServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.