mock

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

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