role

package
v0.0.0-...-eecab09 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package role is a generated GoMock package.

Package role is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIService

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

MockIService is a mock of IService interface.

func NewMockIService

func NewMockIService(ctrl *gomock.Controller) *MockIService

NewMockIService creates a new mock instance.

func (*MockIService) CreateRole

func (m *MockIService) CreateRole(ctx context.Context, roleInfo *role.CreatedInput) (*role.Output, error)

CreateRole mocks base method.

func (*MockIService) DeleteRole

func (m *MockIService) DeleteRole(ctx context.Context, roleInfo *role.DeletedInput) (*role.Output, error)

DeleteRole mocks base method.

func (*MockIService) EXPECT

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

func (*MockIService) GetRoleDetail

func (m *MockIService) GetRoleDetail(ctx context.Context, roleInfo *role.DetailGotInput) (*role.Output, error)

GetRoleDetail mocks base method.

func (*MockIService) GetRoleList

func (m *MockIService) GetRoleList(ctx context.Context, roleInfo *role.ListGotInput) (*role.OutputList, error)

GetRoleList mocks base method.

func (*MockIService) UpdateRole

func (m *MockIService) UpdateRole(ctx context.Context, roleInfo *role.UpdatedInput) (*role.Output, error)

UpdateRole mocks base method.

type MockIServiceMockRecorder

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

MockIServiceMockRecorder is the mock recorder for MockIService.

func (*MockIServiceMockRecorder) CreateRole

func (mr *MockIServiceMockRecorder) CreateRole(ctx, roleInfo interface{}) *gomock.Call

CreateRole indicates an expected call of CreateRole.

func (*MockIServiceMockRecorder) DeleteRole

func (mr *MockIServiceMockRecorder) DeleteRole(ctx, roleInfo interface{}) *gomock.Call

DeleteRole indicates an expected call of DeleteRole.

func (*MockIServiceMockRecorder) GetRoleDetail

func (mr *MockIServiceMockRecorder) GetRoleDetail(ctx, roleInfo interface{}) *gomock.Call

GetRoleDetail indicates an expected call of GetRoleDetail.

func (*MockIServiceMockRecorder) GetRoleList

func (mr *MockIServiceMockRecorder) GetRoleList(ctx, roleInfo interface{}) *gomock.Call

GetRoleList indicates an expected call of GetRoleList.

func (*MockIServiceMockRecorder) UpdateRole

func (mr *MockIServiceMockRecorder) UpdateRole(ctx, roleInfo interface{}) *gomock.Call

UpdateRole indicates an expected call of UpdateRole.

type MockRoleRepository

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

MockRoleRepository is a mock of RoleRepository interface.

func NewMockRoleRepository

func NewMockRoleRepository(ctrl *gomock.Controller) *MockRoleRepository

NewMockRoleRepository creates a new mock instance.

func (*MockRoleRepository) Create

Create mocks base method.

func (*MockRoleRepository) CreateTx

CreateTx mocks base method.

func (*MockRoleRepository) Delete

Delete mocks base method.

func (*MockRoleRepository) DeleteTx

DeleteTx mocks base method.

func (*MockRoleRepository) EXPECT

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

func (*MockRoleRepository) GetAll

GetAll mocks base method.

func (*MockRoleRepository) GetByID

GetByID mocks base method.

func (*MockRoleRepository) Update

Update mocks base method.

func (*MockRoleRepository) UpdateTx

UpdateTx mocks base method.

func (*MockRoleRepository) UpdateWithFields

func (m *MockRoleRepository) UpdateWithFields(ctx context.Context, e domain.IEntity, keys []string) (domain.IEntity, error)

UpdateWithFields mocks base method.

func (*MockRoleRepository) UpdateWithFieldsTx

func (m *MockRoleRepository) UpdateWithFieldsTx(arg0 context.Context, arg1 domain.IEntity, arg2 []string, arg3 domain.ITransactionEvent) (domain.IEntity, error)

UpdateWithFieldsTx mocks base method.

type MockRoleRepositoryMockRecorder

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

MockRoleRepositoryMockRecorder is the mock recorder for MockRoleRepository.

func (*MockRoleRepositoryMockRecorder) Create

func (mr *MockRoleRepositoryMockRecorder) Create(ctx, e interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockRoleRepositoryMockRecorder) CreateTx

func (mr *MockRoleRepositoryMockRecorder) CreateTx(arg0, arg1, arg2 interface{}) *gomock.Call

CreateTx indicates an expected call of CreateTx.

func (*MockRoleRepositoryMockRecorder) Delete

func (mr *MockRoleRepositoryMockRecorder) Delete(ctx, e interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRoleRepositoryMockRecorder) DeleteTx

func (mr *MockRoleRepositoryMockRecorder) DeleteTx(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteTx indicates an expected call of DeleteTx.

func (*MockRoleRepositoryMockRecorder) GetAll

func (mr *MockRoleRepositoryMockRecorder) GetAll(ctx, sq, e interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockRoleRepositoryMockRecorder) GetByID

func (mr *MockRoleRepositoryMockRecorder) GetByID(ctx, e interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockRoleRepositoryMockRecorder) Update

func (mr *MockRoleRepositoryMockRecorder) Update(ctx, e interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockRoleRepositoryMockRecorder) UpdateTx

func (mr *MockRoleRepositoryMockRecorder) UpdateTx(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateTx indicates an expected call of UpdateTx.

func (*MockRoleRepositoryMockRecorder) UpdateWithFields

func (mr *MockRoleRepositoryMockRecorder) UpdateWithFields(ctx, e, keys interface{}) *gomock.Call

UpdateWithFields indicates an expected call of UpdateWithFields.

func (*MockRoleRepositoryMockRecorder) UpdateWithFieldsTx

func (mr *MockRoleRepositoryMockRecorder) UpdateWithFieldsTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateWithFieldsTx indicates an expected call of UpdateWithFieldsTx.

Jump to

Keyboard shortcuts

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