Documentation ¶
Overview ¶
Package user_mock is a generated GoMock package.
Index ¶
- type MockUnsafeUserServiceServer
- type MockUnsafeUserServiceServerMockRecorder
- type MockUserServiceClient
- func (m *MockUserServiceClient) EXPECT() *MockUserServiceClientMockRecorder
- func (m *MockUserServiceClient) GetRefreshToken(ctx context.Context, in *v1.GetRefreshTokenRequest, opts ...grpc.CallOption) (*v1.GetRefreshTokenResponse, error)
- func (m *MockUserServiceClient) GetUser(ctx context.Context, in *v1.GetUserRequest, opts ...grpc.CallOption) (*v1.GetUserResponse, error)
- func (m *MockUserServiceClient) PurgeUser(ctx context.Context, in *v1.PurgeUserRequest, opts ...grpc.CallOption) (*v1.PurgeUserResponse, error)
- func (m *MockUserServiceClient) RequestVerificationCode(ctx context.Context, in *v1.RequestVerificationCodeRequest, ...) (*v1.RequestVerificationCodeResponse, error)
- func (m *MockUserServiceClient) ResetPassword(ctx context.Context, in *v1.ResetPasswordRequest, opts ...grpc.CallOption) (*v1.ResetPasswordResponse, error)
- func (m *MockUserServiceClient) SignIn(ctx context.Context, in *v1.SignInRequest, opts ...grpc.CallOption) (*v1.SignInResponse, error)
- func (m *MockUserServiceClient) SignOut(ctx context.Context, in *v1.SignOutRequest, opts ...grpc.CallOption) (*v1.SignOutResponse, error)
- func (m *MockUserServiceClient) UpdatePassword(ctx context.Context, in *v1.UpdatePasswordRequest, opts ...grpc.CallOption) (*v1.UpdatePasswordResponse, error)
- func (m *MockUserServiceClient) VerifyEmail(ctx context.Context, in *v1.VerifyEmailRequest, opts ...grpc.CallOption) (*v1.VerifyEmailResponse, error)
- type MockUserServiceClientMockRecorder
- func (mr *MockUserServiceClientMockRecorder) GetRefreshToken(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) GetUser(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) PurgeUser(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) RequestVerificationCode(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) ResetPassword(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) SignIn(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) SignOut(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) UpdatePassword(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) VerifyEmail(ctx, in any, opts ...any) *gomock.Call
- type MockUserServiceServer
- func (m *MockUserServiceServer) EXPECT() *MockUserServiceServerMockRecorder
- func (m *MockUserServiceServer) GetRefreshToken(arg0 context.Context, arg1 *v1.GetRefreshTokenRequest) (*v1.GetRefreshTokenResponse, error)
- func (m *MockUserServiceServer) GetUser(arg0 context.Context, arg1 *v1.GetUserRequest) (*v1.GetUserResponse, error)
- func (m *MockUserServiceServer) PurgeUser(arg0 context.Context, arg1 *v1.PurgeUserRequest) (*v1.PurgeUserResponse, error)
- func (m *MockUserServiceServer) RequestVerificationCode(arg0 context.Context, arg1 *v1.RequestVerificationCodeRequest) (*v1.RequestVerificationCodeResponse, error)
- func (m *MockUserServiceServer) ResetPassword(arg0 context.Context, arg1 *v1.ResetPasswordRequest) (*v1.ResetPasswordResponse, error)
- func (m *MockUserServiceServer) SignIn(arg0 context.Context, arg1 *v1.SignInRequest) (*v1.SignInResponse, error)
- func (m *MockUserServiceServer) SignOut(arg0 context.Context, arg1 *v1.SignOutRequest) (*v1.SignOutResponse, error)
- func (m *MockUserServiceServer) UpdatePassword(arg0 context.Context, arg1 *v1.UpdatePasswordRequest) (*v1.UpdatePasswordResponse, error)
- func (m *MockUserServiceServer) VerifyEmail(arg0 context.Context, arg1 *v1.VerifyEmailRequest) (*v1.VerifyEmailResponse, error)
- type MockUserServiceServerMockRecorder
- func (mr *MockUserServiceServerMockRecorder) GetRefreshToken(arg0, arg1 any) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) GetUser(arg0, arg1 any) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) PurgeUser(arg0, arg1 any) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) RequestVerificationCode(arg0, arg1 any) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) ResetPassword(arg0, arg1 any) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) SignIn(arg0, arg1 any) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) SignOut(arg0, arg1 any) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) UpdatePassword(arg0, arg1 any) *gomock.Call
- func (mr *MockUserServiceServerMockRecorder) VerifyEmail(arg0, arg1 any) *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) EXPECT ¶
func (m *MockUserServiceClient) EXPECT() *MockUserServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserServiceClient) GetRefreshToken ¶ added in v0.3.31
func (m *MockUserServiceClient) GetRefreshToken(ctx context.Context, in *v1.GetRefreshTokenRequest, opts ...grpc.CallOption) (*v1.GetRefreshTokenResponse, error)
GetRefreshToken mocks base method.
func (*MockUserServiceClient) GetUser ¶
func (m *MockUserServiceClient) GetUser(ctx context.Context, in *v1.GetUserRequest, opts ...grpc.CallOption) (*v1.GetUserResponse, error)
GetUser mocks base method.
func (*MockUserServiceClient) PurgeUser ¶
func (m *MockUserServiceClient) PurgeUser(ctx context.Context, in *v1.PurgeUserRequest, opts ...grpc.CallOption) (*v1.PurgeUserResponse, error)
PurgeUser mocks base method.
func (*MockUserServiceClient) RequestVerificationCode ¶ added in v0.3.40
func (m *MockUserServiceClient) RequestVerificationCode(ctx context.Context, in *v1.RequestVerificationCodeRequest, opts ...grpc.CallOption) (*v1.RequestVerificationCodeResponse, error)
RequestVerificationCode mocks base method.
func (*MockUserServiceClient) ResetPassword ¶
func (m *MockUserServiceClient) ResetPassword(ctx context.Context, in *v1.ResetPasswordRequest, opts ...grpc.CallOption) (*v1.ResetPasswordResponse, error)
ResetPassword mocks base method.
func (*MockUserServiceClient) SignIn ¶
func (m *MockUserServiceClient) SignIn(ctx context.Context, in *v1.SignInRequest, opts ...grpc.CallOption) (*v1.SignInResponse, error)
SignIn mocks base method.
func (*MockUserServiceClient) SignOut ¶
func (m *MockUserServiceClient) SignOut(ctx context.Context, in *v1.SignOutRequest, opts ...grpc.CallOption) (*v1.SignOutResponse, error)
SignOut mocks base method.
func (*MockUserServiceClient) UpdatePassword ¶
func (m *MockUserServiceClient) UpdatePassword(ctx context.Context, in *v1.UpdatePasswordRequest, opts ...grpc.CallOption) (*v1.UpdatePasswordResponse, error)
UpdatePassword mocks base method.
func (*MockUserServiceClient) VerifyEmail ¶ added in v0.3.40
func (m *MockUserServiceClient) VerifyEmail(ctx context.Context, in *v1.VerifyEmailRequest, opts ...grpc.CallOption) (*v1.VerifyEmailResponse, error)
VerifyEmail mocks base method.
type MockUserServiceClientMockRecorder ¶
type MockUserServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceClientMockRecorder is the mock recorder for MockUserServiceClient.
func (*MockUserServiceClientMockRecorder) GetRefreshToken ¶ added in v0.3.31
func (mr *MockUserServiceClientMockRecorder) GetRefreshToken(ctx, in any, opts ...any) *gomock.Call
GetRefreshToken indicates an expected call of GetRefreshToken.
func (*MockUserServiceClientMockRecorder) GetUser ¶
func (mr *MockUserServiceClientMockRecorder) GetUser(ctx, in any, opts ...any) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockUserServiceClientMockRecorder) PurgeUser ¶
func (mr *MockUserServiceClientMockRecorder) PurgeUser(ctx, in any, opts ...any) *gomock.Call
PurgeUser indicates an expected call of PurgeUser.
func (*MockUserServiceClientMockRecorder) RequestVerificationCode ¶ added in v0.3.40
func (mr *MockUserServiceClientMockRecorder) RequestVerificationCode(ctx, in any, opts ...any) *gomock.Call
RequestVerificationCode indicates an expected call of RequestVerificationCode.
func (*MockUserServiceClientMockRecorder) ResetPassword ¶
func (mr *MockUserServiceClientMockRecorder) ResetPassword(ctx, in any, opts ...any) *gomock.Call
ResetPassword indicates an expected call of ResetPassword.
func (*MockUserServiceClientMockRecorder) SignIn ¶
func (mr *MockUserServiceClientMockRecorder) SignIn(ctx, in any, opts ...any) *gomock.Call
SignIn indicates an expected call of SignIn.
func (*MockUserServiceClientMockRecorder) SignOut ¶
func (mr *MockUserServiceClientMockRecorder) SignOut(ctx, in any, opts ...any) *gomock.Call
SignOut indicates an expected call of SignOut.
func (*MockUserServiceClientMockRecorder) UpdatePassword ¶
func (mr *MockUserServiceClientMockRecorder) UpdatePassword(ctx, in any, opts ...any) *gomock.Call
UpdatePassword indicates an expected call of UpdatePassword.
func (*MockUserServiceClientMockRecorder) VerifyEmail ¶ added in v0.3.40
func (mr *MockUserServiceClientMockRecorder) VerifyEmail(ctx, in any, opts ...any) *gomock.Call
VerifyEmail indicates an expected call of VerifyEmail.
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) EXPECT ¶
func (m *MockUserServiceServer) EXPECT() *MockUserServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserServiceServer) GetRefreshToken ¶ added in v0.3.31
func (m *MockUserServiceServer) GetRefreshToken(arg0 context.Context, arg1 *v1.GetRefreshTokenRequest) (*v1.GetRefreshTokenResponse, error)
GetRefreshToken mocks base method.
func (*MockUserServiceServer) GetUser ¶
func (m *MockUserServiceServer) GetUser(arg0 context.Context, arg1 *v1.GetUserRequest) (*v1.GetUserResponse, error)
GetUser mocks base method.
func (*MockUserServiceServer) PurgeUser ¶
func (m *MockUserServiceServer) PurgeUser(arg0 context.Context, arg1 *v1.PurgeUserRequest) (*v1.PurgeUserResponse, error)
PurgeUser mocks base method.
func (*MockUserServiceServer) RequestVerificationCode ¶ added in v0.3.40
func (m *MockUserServiceServer) RequestVerificationCode(arg0 context.Context, arg1 *v1.RequestVerificationCodeRequest) (*v1.RequestVerificationCodeResponse, error)
RequestVerificationCode mocks base method.
func (*MockUserServiceServer) ResetPassword ¶
func (m *MockUserServiceServer) ResetPassword(arg0 context.Context, arg1 *v1.ResetPasswordRequest) (*v1.ResetPasswordResponse, error)
ResetPassword mocks base method.
func (*MockUserServiceServer) SignIn ¶
func (m *MockUserServiceServer) SignIn(arg0 context.Context, arg1 *v1.SignInRequest) (*v1.SignInResponse, error)
SignIn mocks base method.
func (*MockUserServiceServer) SignOut ¶
func (m *MockUserServiceServer) SignOut(arg0 context.Context, arg1 *v1.SignOutRequest) (*v1.SignOutResponse, error)
SignOut mocks base method.
func (*MockUserServiceServer) UpdatePassword ¶
func (m *MockUserServiceServer) UpdatePassword(arg0 context.Context, arg1 *v1.UpdatePasswordRequest) (*v1.UpdatePasswordResponse, error)
UpdatePassword mocks base method.
func (*MockUserServiceServer) VerifyEmail ¶ added in v0.3.40
func (m *MockUserServiceServer) VerifyEmail(arg0 context.Context, arg1 *v1.VerifyEmailRequest) (*v1.VerifyEmailResponse, error)
VerifyEmail mocks base method.
type MockUserServiceServerMockRecorder ¶
type MockUserServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceServerMockRecorder is the mock recorder for MockUserServiceServer.
func (*MockUserServiceServerMockRecorder) GetRefreshToken ¶ added in v0.3.31
func (mr *MockUserServiceServerMockRecorder) GetRefreshToken(arg0, arg1 any) *gomock.Call
GetRefreshToken indicates an expected call of GetRefreshToken.
func (*MockUserServiceServerMockRecorder) GetUser ¶
func (mr *MockUserServiceServerMockRecorder) GetUser(arg0, arg1 any) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockUserServiceServerMockRecorder) PurgeUser ¶
func (mr *MockUserServiceServerMockRecorder) PurgeUser(arg0, arg1 any) *gomock.Call
PurgeUser indicates an expected call of PurgeUser.
func (*MockUserServiceServerMockRecorder) RequestVerificationCode ¶ added in v0.3.40
func (mr *MockUserServiceServerMockRecorder) RequestVerificationCode(arg0, arg1 any) *gomock.Call
RequestVerificationCode indicates an expected call of RequestVerificationCode.
func (*MockUserServiceServerMockRecorder) ResetPassword ¶
func (mr *MockUserServiceServerMockRecorder) ResetPassword(arg0, arg1 any) *gomock.Call
ResetPassword indicates an expected call of ResetPassword.
func (*MockUserServiceServerMockRecorder) SignIn ¶
func (mr *MockUserServiceServerMockRecorder) SignIn(arg0, arg1 any) *gomock.Call
SignIn indicates an expected call of SignIn.
func (*MockUserServiceServerMockRecorder) SignOut ¶
func (mr *MockUserServiceServerMockRecorder) SignOut(arg0, arg1 any) *gomock.Call
SignOut indicates an expected call of SignOut.
func (*MockUserServiceServerMockRecorder) UpdatePassword ¶
func (mr *MockUserServiceServerMockRecorder) UpdatePassword(arg0, arg1 any) *gomock.Call
UpdatePassword indicates an expected call of UpdatePassword.
func (*MockUserServiceServerMockRecorder) VerifyEmail ¶ added in v0.3.40
func (mr *MockUserServiceServerMockRecorder) VerifyEmail(arg0, arg1 any) *gomock.Call
VerifyEmail indicates an expected call of VerifyEmail.