mock_auth_db

package
v0.0.0-...-0064678 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_auth_db is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthRepository

type MockAuthRepository struct {
	// contains filtered or unexported fields
}

MockAuthRepository is a mock of AuthRepository interface.

func NewMockAuthRepository

func NewMockAuthRepository(ctrl *gomock.Controller) *MockAuthRepository

NewMockAuthRepository creates a new mock instance.

func (*MockAuthRepository) CheckUserEmailExistence

func (m *MockAuthRepository) CheckUserEmailExistence(ctx context.Context, email string) (bool, error)

CheckUserEmailExistence mocks base method.

func (*MockAuthRepository) CreateUser

func (m *MockAuthRepository) CreateUser(ctx context.Context, user *auth_core.User) (string, error)

CreateUser mocks base method.

func (*MockAuthRepository) EXPECT

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

func (*MockAuthRepository) GetUserByEmail

func (m *MockAuthRepository) GetUserByEmail(ctx context.Context, email string) (*auth_core.User, error)

GetUserByEmail mocks base method.

type MockAuthRepositoryMockRecorder

type MockAuthRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuthRepositoryMockRecorder is the mock recorder for MockAuthRepository.

func (*MockAuthRepositoryMockRecorder) CheckUserEmailExistence

func (mr *MockAuthRepositoryMockRecorder) CheckUserEmailExistence(ctx, email interface{}) *gomock.Call

CheckUserEmailExistence indicates an expected call of CheckUserEmailExistence.

func (*MockAuthRepositoryMockRecorder) CreateUser

func (mr *MockAuthRepositoryMockRecorder) CreateUser(ctx, user interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockAuthRepositoryMockRecorder) GetUserByEmail

func (mr *MockAuthRepositoryMockRecorder) GetUserByEmail(ctx, email interface{}) *gomock.Call

GetUserByEmail indicates an expected call of GetUserByEmail.

Jump to

Keyboard shortcuts

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