Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockInteractor
- func (m *MockInteractor) DeletePermsOfUserLessThanSyncedAt(ctx context.Context, u *ent.User, t time.Time) (int, error)
- func (m *MockInteractor) EXPECT() *MockInteractorMockRecorder
- func (m *MockInteractor) IsEntryOrg(ctx context.Context, namespace string) bool
- func (m *MockInteractor) ListRemoteRepos(ctx context.Context, u *ent.User) ([]*extent.RemoteRepo, error)
- func (m *MockInteractor) SyncRemoteRepo(ctx context.Context, u *ent.User, re *extent.RemoteRepo, t time.Time) error
- type MockInteractorMockRecorder
- func (mr *MockInteractorMockRecorder) DeletePermsOfUserLessThanSyncedAt(ctx, u, t interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) IsEntryOrg(ctx, namespace interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) ListRemoteRepos(ctx, u interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) SyncRemoteRepo(ctx, u, re, t interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInteractor ¶
type MockInteractor struct {
// contains filtered or unexported fields
}
MockInteractor is a mock of Interactor interface.
func NewMockInteractor ¶
func NewMockInteractor(ctrl *gomock.Controller) *MockInteractor
NewMockInteractor creates a new mock instance.
func (*MockInteractor) DeletePermsOfUserLessThanSyncedAt ¶
func (m *MockInteractor) DeletePermsOfUserLessThanSyncedAt(ctx context.Context, u *ent.User, t time.Time) (int, error)
DeletePermsOfUserLessThanSyncedAt mocks base method.
func (*MockInteractor) EXPECT ¶
func (m *MockInteractor) EXPECT() *MockInteractorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInteractor) IsEntryOrg ¶
func (m *MockInteractor) IsEntryOrg(ctx context.Context, namespace string) bool
IsEntryOrg mocks base method.
func (*MockInteractor) ListRemoteRepos ¶
func (m *MockInteractor) ListRemoteRepos(ctx context.Context, u *ent.User) ([]*extent.RemoteRepo, error)
ListRemoteRepos mocks base method.
func (*MockInteractor) SyncRemoteRepo ¶
func (m *MockInteractor) SyncRemoteRepo(ctx context.Context, u *ent.User, re *extent.RemoteRepo, t time.Time) error
SyncRemoteRepo mocks base method.
type MockInteractorMockRecorder ¶
type MockInteractorMockRecorder struct {
// contains filtered or unexported fields
}
MockInteractorMockRecorder is the mock recorder for MockInteractor.
func (*MockInteractorMockRecorder) DeletePermsOfUserLessThanSyncedAt ¶
func (mr *MockInteractorMockRecorder) DeletePermsOfUserLessThanSyncedAt(ctx, u, t interface{}) *gomock.Call
DeletePermsOfUserLessThanSyncedAt indicates an expected call of DeletePermsOfUserLessThanSyncedAt.
func (*MockInteractorMockRecorder) IsEntryOrg ¶
func (mr *MockInteractorMockRecorder) IsEntryOrg(ctx, namespace interface{}) *gomock.Call
IsEntryOrg indicates an expected call of IsEntryOrg.
func (*MockInteractorMockRecorder) ListRemoteRepos ¶
func (mr *MockInteractorMockRecorder) ListRemoteRepos(ctx, u interface{}) *gomock.Call
ListRemoteRepos indicates an expected call of ListRemoteRepos.
func (*MockInteractorMockRecorder) SyncRemoteRepo ¶
func (mr *MockInteractorMockRecorder) SyncRemoteRepo(ctx, u, re, t interface{}) *gomock.Call
SyncRemoteRepo indicates an expected call of SyncRemoteRepo.