Documentation ¶
Overview ¶
Package mock_repository is a generated GoMock package.
Index ¶
- type MockUserRepository
- func (m *MockUserRepository) ActivateGuru(arg0, arg1 string, arg2 time.Time) error
- func (m *MockUserRepository) ActivateSiswa(arg0, arg1 string, arg2 time.Time) error
- func (m *MockUserRepository) ActivateUser(arg0 string, arg1 time.Time) error
- func (m *MockUserRepository) CekUserExistByID(arg0 string) (bool, error)
- func (m *MockUserRepository) CreateAdmin(arg0 *entity.UserEntity) (*model.CreateAdminResponse, error)
- func (m *MockUserRepository) DeactivateGuru(arg0, arg1 string, arg2 time.Time) error
- func (m *MockUserRepository) DeactivateSiswa(arg0, arg1 string, arg2 time.Time) error
- func (m *MockUserRepository) DeactivateUser(arg0 string, arg1 time.Time) error
- func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
- func (m *MockUserRepository) GetDetailUser(arg0 string) (*model.GetDetailUser, error)
- func (m *MockUserRepository) GetGuruID(arg0 string) (string, error)
- func (m *MockUserRepository) GetListUser(arg0 *meta.Metadata) ([]model.GetListUserResponse, int, error)
- func (m *MockUserRepository) GetRoleInformation(arg0 string) (string, error)
- func (m *MockUserRepository) GetSiswaID(arg0 string) (string, error)
- func (m *MockUserRepository) Login(arg0 string) (*entity.UserEntity, error)
- type MockUserRepositoryMockRecorder
- func (mr *MockUserRepositoryMockRecorder) ActivateGuru(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) ActivateSiswa(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) ActivateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) CekUserExistByID(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) CreateAdmin(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) DeactivateGuru(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) DeactivateSiswa(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) DeactivateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetDetailUser(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetGuruID(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetListUser(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetRoleInformation(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetSiswaID(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) Login(arg0 interface{}) *gomock.Call
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) ActivateGuru ¶
func (m *MockUserRepository) ActivateGuru(arg0, arg1 string, arg2 time.Time) error
ActivateGuru mocks base method.
func (*MockUserRepository) ActivateSiswa ¶
func (m *MockUserRepository) ActivateSiswa(arg0, arg1 string, arg2 time.Time) error
ActivateSiswa mocks base method.
func (*MockUserRepository) ActivateUser ¶
func (m *MockUserRepository) ActivateUser(arg0 string, arg1 time.Time) error
ActivateUser mocks base method.
func (*MockUserRepository) CekUserExistByID ¶
func (m *MockUserRepository) CekUserExistByID(arg0 string) (bool, error)
CekUserExistByID mocks base method.
func (*MockUserRepository) CreateAdmin ¶
func (m *MockUserRepository) CreateAdmin(arg0 *entity.UserEntity) (*model.CreateAdminResponse, error)
CreateAdmin mocks base method.
func (*MockUserRepository) DeactivateGuru ¶
func (m *MockUserRepository) DeactivateGuru(arg0, arg1 string, arg2 time.Time) error
DeactivateGuru mocks base method.
func (*MockUserRepository) DeactivateSiswa ¶
func (m *MockUserRepository) DeactivateSiswa(arg0, arg1 string, arg2 time.Time) error
DeactivateSiswa mocks base method.
func (*MockUserRepository) DeactivateUser ¶
func (m *MockUserRepository) DeactivateUser(arg0 string, arg1 time.Time) error
DeactivateUser mocks base method.
func (*MockUserRepository) EXPECT ¶
func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserRepository) GetDetailUser ¶
func (m *MockUserRepository) GetDetailUser(arg0 string) (*model.GetDetailUser, error)
GetDetailUser mocks base method.
func (*MockUserRepository) GetGuruID ¶
func (m *MockUserRepository) GetGuruID(arg0 string) (string, error)
GetGuruID mocks base method.
func (*MockUserRepository) GetListUser ¶
func (m *MockUserRepository) GetListUser(arg0 *meta.Metadata) ([]model.GetListUserResponse, int, error)
GetListUser mocks base method.
func (*MockUserRepository) GetRoleInformation ¶
func (m *MockUserRepository) GetRoleInformation(arg0 string) (string, error)
GetRoleInformation mocks base method.
func (*MockUserRepository) GetSiswaID ¶
func (m *MockUserRepository) GetSiswaID(arg0 string) (string, error)
GetSiswaID mocks base method.
func (*MockUserRepository) Login ¶
func (m *MockUserRepository) Login(arg0 string) (*entity.UserEntity, error)
Login mocks base method.
type MockUserRepositoryMockRecorder ¶
type MockUserRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.
func (*MockUserRepositoryMockRecorder) ActivateGuru ¶
func (mr *MockUserRepositoryMockRecorder) ActivateGuru(arg0, arg1, arg2 interface{}) *gomock.Call
ActivateGuru indicates an expected call of ActivateGuru.
func (*MockUserRepositoryMockRecorder) ActivateSiswa ¶
func (mr *MockUserRepositoryMockRecorder) ActivateSiswa(arg0, arg1, arg2 interface{}) *gomock.Call
ActivateSiswa indicates an expected call of ActivateSiswa.
func (*MockUserRepositoryMockRecorder) ActivateUser ¶
func (mr *MockUserRepositoryMockRecorder) ActivateUser(arg0, arg1 interface{}) *gomock.Call
ActivateUser indicates an expected call of ActivateUser.
func (*MockUserRepositoryMockRecorder) CekUserExistByID ¶
func (mr *MockUserRepositoryMockRecorder) CekUserExistByID(arg0 interface{}) *gomock.Call
CekUserExistByID indicates an expected call of CekUserExistByID.
func (*MockUserRepositoryMockRecorder) CreateAdmin ¶
func (mr *MockUserRepositoryMockRecorder) CreateAdmin(arg0 interface{}) *gomock.Call
CreateAdmin indicates an expected call of CreateAdmin.
func (*MockUserRepositoryMockRecorder) DeactivateGuru ¶
func (mr *MockUserRepositoryMockRecorder) DeactivateGuru(arg0, arg1, arg2 interface{}) *gomock.Call
DeactivateGuru indicates an expected call of DeactivateGuru.
func (*MockUserRepositoryMockRecorder) DeactivateSiswa ¶
func (mr *MockUserRepositoryMockRecorder) DeactivateSiswa(arg0, arg1, arg2 interface{}) *gomock.Call
DeactivateSiswa indicates an expected call of DeactivateSiswa.
func (*MockUserRepositoryMockRecorder) DeactivateUser ¶
func (mr *MockUserRepositoryMockRecorder) DeactivateUser(arg0, arg1 interface{}) *gomock.Call
DeactivateUser indicates an expected call of DeactivateUser.
func (*MockUserRepositoryMockRecorder) GetDetailUser ¶
func (mr *MockUserRepositoryMockRecorder) GetDetailUser(arg0 interface{}) *gomock.Call
GetDetailUser indicates an expected call of GetDetailUser.
func (*MockUserRepositoryMockRecorder) GetGuruID ¶
func (mr *MockUserRepositoryMockRecorder) GetGuruID(arg0 interface{}) *gomock.Call
GetGuruID indicates an expected call of GetGuruID.
func (*MockUserRepositoryMockRecorder) GetListUser ¶
func (mr *MockUserRepositoryMockRecorder) GetListUser(arg0 interface{}) *gomock.Call
GetListUser indicates an expected call of GetListUser.
func (*MockUserRepositoryMockRecorder) GetRoleInformation ¶
func (mr *MockUserRepositoryMockRecorder) GetRoleInformation(arg0 interface{}) *gomock.Call
GetRoleInformation indicates an expected call of GetRoleInformation.
func (*MockUserRepositoryMockRecorder) GetSiswaID ¶
func (mr *MockUserRepositoryMockRecorder) GetSiswaID(arg0 interface{}) *gomock.Call
GetSiswaID indicates an expected call of GetSiswaID.
func (*MockUserRepositoryMockRecorder) Login ¶
func (mr *MockUserRepositoryMockRecorder) Login(arg0 interface{}) *gomock.Call
Login indicates an expected call of Login.