mock_users

package
v0.0.0-...-0c3f707 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_users is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUserRepository

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

MockUserRepository is a mock of UserRepository interface.

func NewMockUserRepository

func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository

NewMockUserRepository creates a new mock instance.

func (*MockUserRepository) CreateUser

func (m *MockUserRepository) CreateUser(user *models.User) (*models.User, error)

CreateUser mocks base method.

func (*MockUserRepository) Delete

func (m *MockUserRepository) Delete(userID string) error

Delete mocks base method.

func (*MockUserRepository) EXPECT

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

func (*MockUserRepository) GetUser

func (m *MockUserRepository) GetUser(userID string) (*models.User, error)

GetUser mocks base method.

func (*MockUserRepository) GetUserByEmail

func (m *MockUserRepository) GetUserByEmail(userEmail string) (*models.User, error)

GetUserByEmail mocks base method.

func (*MockUserRepository) GetUserByExternalID

func (m *MockUserRepository) GetUserByExternalID(userExternalID string) (*models.User, error)

GetUserByExternalID mocks base method.

func (*MockUserRepository) GetUserByGitHubID

func (m *MockUserRepository) GetUserByGitHubID(gitHubID string) (*models.User, error)

GetUserByGitHubID mocks base method.

func (*MockUserRepository) GetUserByGitHubUsername

func (m *MockUserRepository) GetUserByGitHubUsername(gitHubUsername string) (*models.User, error)

GetUserByGitHubUsername mocks base method.

func (*MockUserRepository) GetUserByGitLabUsername

func (m *MockUserRepository) GetUserByGitLabUsername(gitlabUsername string) (*models.User, error)

GetUserByGitLabUsername mocks base method.

func (*MockUserRepository) GetUserByGitlabID

func (m *MockUserRepository) GetUserByGitlabID(gitlabID int) (*models.User, error)

GetUserByGitlabID mocks base method.

func (*MockUserRepository) GetUserByLFUserName

func (m *MockUserRepository) GetUserByLFUserName(lfUserName string) (*models.User, error)

GetUserByLFUserName mocks base method.

func (*MockUserRepository) GetUserByUserName

func (m *MockUserRepository) GetUserByUserName(userName string, fullMatch bool) (*models.User, error)

GetUserByUserName mocks base method.

func (*MockUserRepository) GetUsersByEmail

func (m *MockUserRepository) GetUsersByEmail(userEmail string) ([]*models.User, error)

GetUsersByEmail mocks base method.

func (*MockUserRepository) Save

func (m *MockUserRepository) Save(user *models.UserUpdate) (*models.User, error)

Save mocks base method.

func (*MockUserRepository) SearchUsers

func (m *MockUserRepository) SearchUsers(searchField, searchTerm string, fullMatch bool) (*models.Users, error)

SearchUsers mocks base method.

func (*MockUserRepository) UpdateUser

func (m *MockUserRepository) UpdateUser(userID string, updates map[string]interface{}) (*models.User, error)

UpdateUser mocks base method.

func (*MockUserRepository) UpdateUserCompanyID

func (m *MockUserRepository) UpdateUserCompanyID(userID, companyID, note string) error

UpdateUserCompanyID mocks base method.

type MockUserRepositoryMockRecorder

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

MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.

func (*MockUserRepositoryMockRecorder) CreateUser

func (mr *MockUserRepositoryMockRecorder) CreateUser(user interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockUserRepositoryMockRecorder) Delete

func (mr *MockUserRepositoryMockRecorder) Delete(userID interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockUserRepositoryMockRecorder) GetUser

func (mr *MockUserRepositoryMockRecorder) GetUser(userID interface{}) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockUserRepositoryMockRecorder) GetUserByEmail

func (mr *MockUserRepositoryMockRecorder) GetUserByEmail(userEmail interface{}) *gomock.Call

GetUserByEmail indicates an expected call of GetUserByEmail.

func (*MockUserRepositoryMockRecorder) GetUserByExternalID

func (mr *MockUserRepositoryMockRecorder) GetUserByExternalID(userExternalID interface{}) *gomock.Call

GetUserByExternalID indicates an expected call of GetUserByExternalID.

func (*MockUserRepositoryMockRecorder) GetUserByGitHubID

func (mr *MockUserRepositoryMockRecorder) GetUserByGitHubID(gitHubID interface{}) *gomock.Call

GetUserByGitHubID indicates an expected call of GetUserByGitHubID.

func (*MockUserRepositoryMockRecorder) GetUserByGitHubUsername

func (mr *MockUserRepositoryMockRecorder) GetUserByGitHubUsername(gitHubUsername interface{}) *gomock.Call

GetUserByGitHubUsername indicates an expected call of GetUserByGitHubUsername.

func (*MockUserRepositoryMockRecorder) GetUserByGitLabUsername

func (mr *MockUserRepositoryMockRecorder) GetUserByGitLabUsername(gitlabUsername interface{}) *gomock.Call

GetUserByGitLabUsername indicates an expected call of GetUserByGitLabUsername.

func (*MockUserRepositoryMockRecorder) GetUserByGitlabID

func (mr *MockUserRepositoryMockRecorder) GetUserByGitlabID(gitlabID interface{}) *gomock.Call

GetUserByGitlabID indicates an expected call of GetUserByGitlabID.

func (*MockUserRepositoryMockRecorder) GetUserByLFUserName

func (mr *MockUserRepositoryMockRecorder) GetUserByLFUserName(lfUserName interface{}) *gomock.Call

GetUserByLFUserName indicates an expected call of GetUserByLFUserName.

func (*MockUserRepositoryMockRecorder) GetUserByUserName

func (mr *MockUserRepositoryMockRecorder) GetUserByUserName(userName, fullMatch interface{}) *gomock.Call

GetUserByUserName indicates an expected call of GetUserByUserName.

func (*MockUserRepositoryMockRecorder) GetUsersByEmail

func (mr *MockUserRepositoryMockRecorder) GetUsersByEmail(userEmail interface{}) *gomock.Call

GetUsersByEmail indicates an expected call of GetUsersByEmail.

func (*MockUserRepositoryMockRecorder) Save

func (mr *MockUserRepositoryMockRecorder) Save(user interface{}) *gomock.Call

Save indicates an expected call of Save.

func (*MockUserRepositoryMockRecorder) SearchUsers

func (mr *MockUserRepositoryMockRecorder) SearchUsers(searchField, searchTerm, fullMatch interface{}) *gomock.Call

SearchUsers indicates an expected call of SearchUsers.

func (*MockUserRepositoryMockRecorder) UpdateUser

func (mr *MockUserRepositoryMockRecorder) UpdateUser(userID, updates interface{}) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

func (*MockUserRepositoryMockRecorder) UpdateUserCompanyID

func (mr *MockUserRepositoryMockRecorder) UpdateUserCompanyID(userID, companyID, note interface{}) *gomock.Call

UpdateUserCompanyID indicates an expected call of UpdateUserCompanyID.

Jump to

Keyboard shortcuts

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