mocks

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccessesRepository

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

Mock of AccessesRepository interface

func NewMockAccessesRepository

func NewMockAccessesRepository(ctrl *gomock.Controller) *MockAccessesRepository

func (*MockAccessesRepository) DeleteAllianceAndCorpRole

func (_m *MockAccessesRepository) DeleteAllianceAndCorpRole(allianceId int64, corporationId int64, role *model.Role) (int64, error)

func (*MockAccessesRepository) DeleteAllianceCharacterLeadershipRole

func (_m *MockAccessesRepository) DeleteAllianceCharacterLeadershipRole(allianceId int64, characterId int64, role *model.Role) (int64, error)

func (*MockAccessesRepository) DeleteAllianceRole

func (_m *MockAccessesRepository) DeleteAllianceRole(allianceId int64, role *model.Role) (int64, error)

func (*MockAccessesRepository) DeleteCharacterRole

func (_m *MockAccessesRepository) DeleteCharacterRole(characterId int64, role *model.Role) (int64, error)

func (*MockAccessesRepository) DeleteCorporationCharacterLeadershipRole

func (_m *MockAccessesRepository) DeleteCorporationCharacterLeadershipRole(corporationId int64, characterId int64, role *model.Role) (int64, error)

func (*MockAccessesRepository) DeleteCorporationRole

func (_m *MockAccessesRepository) DeleteCorporationRole(corporationId int64, role *model.Role) (int64, error)

func (*MockAccessesRepository) EXPECT

func (_m *MockAccessesRepository) EXPECT() *_MockAccessesRepositoryRecorder

func (*MockAccessesRepository) FindByChatId

func (_m *MockAccessesRepository) FindByChatId(chatId string) ([]string, error)

func (*MockAccessesRepository) SaveAllianceAndCorpRole

func (_m *MockAccessesRepository) SaveAllianceAndCorpRole(allianceId int64, corporationId int64, role *model.Role) error

func (*MockAccessesRepository) SaveAllianceCharacterLeadershipRole

func (_m *MockAccessesRepository) SaveAllianceCharacterLeadershipRole(allianceId int64, characterId int64, role *model.Role) error

func (*MockAccessesRepository) SaveAllianceRole

func (_m *MockAccessesRepository) SaveAllianceRole(allianceId int64, role *model.Role) error

func (*MockAccessesRepository) SaveCharacterRole

func (_m *MockAccessesRepository) SaveCharacterRole(characterId int64, role *model.Role) error

func (*MockAccessesRepository) SaveCorporationCharacterLeadershipRole

func (_m *MockAccessesRepository) SaveCorporationCharacterLeadershipRole(corporationId int64, characterId int64, role *model.Role) error

func (*MockAccessesRepository) SaveCorporationRole

func (_m *MockAccessesRepository) SaveCorporationRole(corporationId int64, role *model.Role) error

type MockAllianceRepository

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

Mock of AllianceRepository interface

func NewMockAllianceRepository

func NewMockAllianceRepository(ctrl *gomock.Controller) *MockAllianceRepository

func (*MockAllianceRepository) Delete

func (_m *MockAllianceRepository) Delete(_param0 int64) error

func (*MockAllianceRepository) EXPECT

func (_m *MockAllianceRepository) EXPECT() *_MockAllianceRepositoryRecorder

func (*MockAllianceRepository) FindAll

func (_m *MockAllianceRepository) FindAll() []*model.Alliance

func (*MockAllianceRepository) FindByAllianceId

func (_m *MockAllianceRepository) FindByAllianceId(_param0 int64) *model.Alliance

func (*MockAllianceRepository) Save

func (_m *MockAllianceRepository) Save(_param0 *model.Alliance) error

type MockAuthenticationCodeRepository

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

Mock of AuthenticationCodeRepository interface

func NewMockAuthenticationCodeRepository

func NewMockAuthenticationCodeRepository(ctrl *gomock.Controller) *MockAuthenticationCodeRepository

func (*MockAuthenticationCodeRepository) EXPECT

func (_m *MockAuthenticationCodeRepository) EXPECT() *_MockAuthenticationCodeRepositoryRecorder

func (*MockAuthenticationCodeRepository) Save

func (_m *MockAuthenticationCodeRepository) Save(_param0 *model.Character, _param1 string) error

type MockCharacterRepository

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

Mock of CharacterRepository interface

func NewMockCharacterRepository

func NewMockCharacterRepository(ctrl *gomock.Controller) *MockCharacterRepository

func (*MockCharacterRepository) Delete

func (_m *MockCharacterRepository) Delete(_param0 int64) error

func (*MockCharacterRepository) EXPECT

func (_m *MockCharacterRepository) EXPECT() *_MockCharacterRepositoryRecorder

func (*MockCharacterRepository) FindAll

func (_m *MockCharacterRepository) FindAll() []*model.Character

func (*MockCharacterRepository) FindByAutenticationCode

func (_m *MockCharacterRepository) FindByAutenticationCode(_param0 string) *model.Character

func (*MockCharacterRepository) FindByCharacterId

func (_m *MockCharacterRepository) FindByCharacterId(_param0 int64) *model.Character

func (*MockCharacterRepository) Save

func (_m *MockCharacterRepository) Save(_param0 *model.Character) error

type MockCorporationRepository

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

Mock of CorporationRepository interface

func NewMockCorporationRepository

func NewMockCorporationRepository(ctrl *gomock.Controller) *MockCorporationRepository

func (*MockCorporationRepository) Delete

func (_m *MockCorporationRepository) Delete(_param0 int64) error

func (*MockCorporationRepository) EXPECT

func (_m *MockCorporationRepository) EXPECT() *_MockCorporationRepositoryRecorder

func (*MockCorporationRepository) FindAll

func (_m *MockCorporationRepository) FindAll() []*model.Corporation

func (*MockCorporationRepository) FindByCorporationId

func (_m *MockCorporationRepository) FindByCorporationId(_param0 int64) *model.Corporation

func (*MockCorporationRepository) Save

func (_m *MockCorporationRepository) Save(_param0 *model.Corporation) error

type MockRoleRepository

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

Mock of RoleRepository interface

func NewMockRoleRepository

func NewMockRoleRepository(ctrl *gomock.Controller) *MockRoleRepository

func (*MockRoleRepository) Delete

func (_m *MockRoleRepository) Delete(_param0 string) error

func (*MockRoleRepository) EXPECT

func (_m *MockRoleRepository) EXPECT() *_MockRoleRepositoryRecorder

func (*MockRoleRepository) FindAll

func (_m *MockRoleRepository) FindAll() []*model.Role

func (*MockRoleRepository) FindByRoleName

func (_m *MockRoleRepository) FindByRoleName(_param0 string) *model.Role

func (*MockRoleRepository) Save

func (_m *MockRoleRepository) Save(_param0 *model.Role) error

type MockUserRepository

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

Mock of UserRepository interface

func NewMockUserRepository

func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository

func (*MockUserRepository) EXPECT

func (_m *MockUserRepository) EXPECT() *_MockUserRepositoryRecorder

func (*MockUserRepository) FindByChatId

func (_m *MockUserRepository) FindByChatId(_param0 string) *model.User

func (*MockUserRepository) LinkCharacterToUserByAuthCode

func (_m *MockUserRepository) LinkCharacterToUserByAuthCode(_param0 string, _param1 *model.User) error

func (*MockUserRepository) Save

func (_m *MockUserRepository) Save(_param0 *model.User) error

Jump to

Keyboard shortcuts

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