Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockChart
- type MockChartMockRecorder
- type MockChartService
- type MockChartServiceMockRecorder
- type MockClient
- func (m *MockClient) Contents() core.ContentService
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Git() core.GitService
- func (m *MockClient) PullRequests() core.PullRequestService
- func (m *MockClient) Repositories() core.GitRepoService
- func (m *MockClient) Token(arg0 *core.User) core.Token
- func (m *MockClient) Users() core.UserService
- func (m *MockClient) Webhooks() core.WebhookService
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Contents() *gomock.Call
- func (mr *MockClientMockRecorder) Git() *gomock.Call
- func (mr *MockClientMockRecorder) PullRequests() *gomock.Call
- func (mr *MockClientMockRecorder) Repositories() *gomock.Call
- func (mr *MockClientMockRecorder) Token(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Users() *gomock.Call
- func (mr *MockClientMockRecorder) Webhooks() *gomock.Call
- type MockContentService
- func (m *MockContentService) EXPECT() *MockContentServiceMockRecorder
- func (m *MockContentService) Find(arg0 context.Context, arg1 *core.User, arg2, arg3, arg4 string) ([]byte, error)
- func (m *MockContentService) ListAllFiles(arg0 context.Context, arg1 *core.User, arg2, arg3 string) ([]string, error)
- type MockContentServiceMockRecorder
- type MockCoverageService
- func (m *MockCoverageService) EXPECT() *MockCoverageServiceMockRecorder
- func (m *MockCoverageService) Find(arg0 context.Context, arg1 core.ReportType, arg2 string) (string, error)
- func (m *MockCoverageService) Open(arg0 context.Context, arg1 core.ReportType, arg2 string) (io.Reader, error)
- func (m *MockCoverageService) Report(arg0 context.Context, arg1 core.ReportType, arg2 io.Reader) (*core.CoverageReport, error)
- func (m *MockCoverageService) TrimFileNamePrefix(arg0 context.Context, arg1 *core.CoverageReport, arg2 ...string) error
- func (m *MockCoverageService) TrimFileNames(arg0 context.Context, arg1 *core.CoverageReport, arg2 core.FileNameFilters) error
- type MockCoverageServiceMockRecorder
- func (mr *MockCoverageServiceMockRecorder) Find(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCoverageServiceMockRecorder) Open(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCoverageServiceMockRecorder) Report(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCoverageServiceMockRecorder) TrimFileNamePrefix(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoverageServiceMockRecorder) TrimFileNames(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockDatabaseService
- type MockDatabaseServiceMockRecorder
- type MockGit
- type MockGitCommit
- type MockGitCommitMockRecorder
- type MockGitMockRecorder
- type MockGitRepoService
- func (m *MockGitRepoService) CloneURL(arg0 context.Context, arg1 *core.User, arg2 string) (string, error)
- func (m *MockGitRepoService) CreateHook(arg0 context.Context, arg1 *core.User, arg2 string) (*core.Hook, error)
- func (m *MockGitRepoService) EXPECT() *MockGitRepoServiceMockRecorder
- func (m *MockGitRepoService) Find(arg0 context.Context, arg1 *core.User, arg2 string) (*core.Repo, error)
- func (m *MockGitRepoService) IsAdmin(arg0 context.Context, arg1 *core.User, arg2 string) bool
- func (m *MockGitRepoService) List(arg0 context.Context, arg1 *core.User) ([]*core.Repo, error)
- func (m *MockGitRepoService) NewReportID(arg0 *core.Repo) string
- func (m *MockGitRepoService) RemoveHook(arg0 context.Context, arg1 *core.User, arg2 string, arg3 *core.Hook) error
- type MockGitRepoServiceMockRecorder
- func (mr *MockGitRepoServiceMockRecorder) CloneURL(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitRepoServiceMockRecorder) CreateHook(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitRepoServiceMockRecorder) Find(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitRepoServiceMockRecorder) IsAdmin(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitRepoServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitRepoServiceMockRecorder) NewReportID(arg0 interface{}) *gomock.Call
- func (mr *MockGitRepoServiceMockRecorder) RemoveHook(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockGitRepository
- func (m *MockGitRepository) Branch() string
- func (m *MockGitRepository) Commit(arg0 string) (core.GitCommit, error)
- func (m *MockGitRepository) EXPECT() *MockGitRepositoryMockRecorder
- func (m *MockGitRepository) HeadCommit() string
- func (m *MockGitRepository) ListAllFiles(arg0 string) ([]string, error)
- func (m *MockGitRepository) Root() string
- type MockGitRepositoryMockRecorder
- func (mr *MockGitRepositoryMockRecorder) Branch() *gomock.Call
- func (mr *MockGitRepositoryMockRecorder) Commit(arg0 interface{}) *gomock.Call
- func (mr *MockGitRepositoryMockRecorder) HeadCommit() *gomock.Call
- func (mr *MockGitRepositoryMockRecorder) ListAllFiles(arg0 interface{}) *gomock.Call
- func (mr *MockGitRepositoryMockRecorder) Root() *gomock.Call
- type MockGitService
- func (m *MockGitService) EXPECT() *MockGitServiceMockRecorder
- func (m *MockGitService) FindCommit(arg0 context.Context, arg1 *core.User, arg2 *core.Repo) string
- func (m *MockGitService) GitRepository(arg0 context.Context, arg1 *core.User, arg2 string) (core.GitRepository, error)
- func (m *MockGitService) ListBranches(arg0 context.Context, arg1 *core.User, arg2 string) ([]string, error)
- func (m *MockGitService) ListCommits(arg0 context.Context, arg1 *core.User, arg2 string) ([]*core.Commit, error)
- func (m *MockGitService) ListCommitsByRef(arg0 context.Context, arg1 *core.User, arg2, arg3 string) ([]*core.Commit, error)
- type MockGitServiceMockRecorder
- func (mr *MockGitServiceMockRecorder) FindCommit(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) GitRepository(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) ListBranches(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) ListCommits(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitServiceMockRecorder) ListCommitsByRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockHookService
- func (m *MockHookService) Create(arg0 context.Context, arg1 *core.Repo) error
- func (m *MockHookService) Delete(arg0 context.Context, arg1 *core.Repo) error
- func (m *MockHookService) EXPECT() *MockHookServiceMockRecorder
- func (m *MockHookService) Resolve(arg0 context.Context, arg1 *core.Repo, arg2 core.HookEvent) error
- type MockHookServiceMockRecorder
- type MockOAuthService
- func (m *MockOAuthService) CreateToken(arg0 context.Context, arg1 string) (*core.OAuthToken, error)
- func (m *MockOAuthService) DeleteToken(arg0 context.Context, arg1 *core.OAuthToken) error
- func (m *MockOAuthService) EXPECT() *MockOAuthServiceMockRecorder
- func (m *MockOAuthService) ListTokens(arg0 context.Context) ([]*core.OAuthToken, error)
- func (m *MockOAuthService) Validate(arg0 *http.Request) (*core.User, error)
- func (m *MockOAuthService) WithUser(arg0 context.Context, arg1 *core.User) context.Context
- type MockOAuthServiceMockRecorder
- func (mr *MockOAuthServiceMockRecorder) CreateToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOAuthServiceMockRecorder) DeleteToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOAuthServiceMockRecorder) ListTokens(arg0 interface{}) *gomock.Call
- func (mr *MockOAuthServiceMockRecorder) Validate(arg0 interface{}) *gomock.Call
- func (mr *MockOAuthServiceMockRecorder) WithUser(arg0, arg1 interface{}) *gomock.Call
- type MockOAuthStore
- func (m *MockOAuthStore) Create(arg0 *core.OAuthToken) error
- func (m *MockOAuthStore) Delete(arg0 *core.OAuthToken) error
- func (m *MockOAuthStore) EXPECT() *MockOAuthStoreMockRecorder
- func (m *MockOAuthStore) Find(arg0 *core.OAuthToken) (*core.OAuthToken, error)
- func (m *MockOAuthStore) List(arg0 *core.User) ([]*core.OAuthToken, error)
- type MockOAuthStoreMockRecorder
- type MockRepoService
- type MockRepoServiceMockRecorder
- type MockRepoStore
- func (m *MockRepoStore) BatchUpdateOrCreate(arg0 []*core.Repo) error
- func (m *MockRepoStore) Create(arg0 *core.Repo) error
- func (m *MockRepoStore) Creator(arg0 *core.Repo) (*core.User, error)
- func (m *MockRepoStore) EXPECT() *MockRepoStoreMockRecorder
- func (m *MockRepoStore) Find(arg0 *core.Repo) (*core.Repo, error)
- func (m *MockRepoStore) FindHook(arg0 *core.Repo) (*core.Hook, error)
- func (m *MockRepoStore) Finds(arg0 ...string) ([]*core.Repo, error)
- func (m *MockRepoStore) Setting(arg0 *core.Repo) (*core.RepoSetting, error)
- func (m *MockRepoStore) Update(arg0 *core.Repo) error
- func (m *MockRepoStore) UpdateCreator(arg0 *core.Repo, arg1 *core.User) error
- func (m *MockRepoStore) UpdateHook(arg0 *core.Repo, arg1 *core.Hook) error
- func (m *MockRepoStore) UpdateOrCreate(arg0 *core.Repo) error
- func (m *MockRepoStore) UpdateSetting(arg0 *core.Repo, arg1 *core.RepoSetting) error
- type MockRepoStoreMockRecorder
- func (mr *MockRepoStoreMockRecorder) BatchUpdateOrCreate(arg0 interface{}) *gomock.Call
- func (mr *MockRepoStoreMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockRepoStoreMockRecorder) Creator(arg0 interface{}) *gomock.Call
- func (mr *MockRepoStoreMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockRepoStoreMockRecorder) FindHook(arg0 interface{}) *gomock.Call
- func (mr *MockRepoStoreMockRecorder) Finds(arg0 ...interface{}) *gomock.Call
- func (mr *MockRepoStoreMockRecorder) Setting(arg0 interface{}) *gomock.Call
- func (mr *MockRepoStoreMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockRepoStoreMockRecorder) UpdateCreator(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoStoreMockRecorder) UpdateHook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoStoreMockRecorder) UpdateOrCreate(arg0 interface{}) *gomock.Call
- func (mr *MockRepoStoreMockRecorder) UpdateSetting(arg0, arg1 interface{}) *gomock.Call
- type MockReportStore
- func (m *MockReportStore) CreateComment(arg0 *core.Report, arg1 *core.ReportComment) error
- func (m *MockReportStore) EXPECT() *MockReportStoreMockRecorder
- func (m *MockReportStore) Find(arg0 *core.Report) (*core.Report, error)
- func (m *MockReportStore) FindComment(arg0 *core.Report, arg1 int) (*core.ReportComment, error)
- func (m *MockReportStore) Finds(arg0 *core.Report) ([]*core.Report, error)
- func (m *MockReportStore) List(arg0, arg1 string) ([]*core.Report, error)
- func (m *MockReportStore) Upload(arg0 *core.Report) error
- type MockReportStoreMockRecorder
- func (mr *MockReportStoreMockRecorder) CreateComment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportStoreMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockReportStoreMockRecorder) FindComment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportStoreMockRecorder) Finds(arg0 interface{}) *gomock.Call
- func (mr *MockReportStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportStoreMockRecorder) Upload(arg0 interface{}) *gomock.Call
- type MockSCMService
- type MockSCMServiceMockRecorder
- type MockUserService
- func (m *MockUserService) Bind(arg0 context.Context, arg1 *core.User, arg2 *core.Token) (*core.User, error)
- func (m *MockUserService) Create(arg0 context.Context, arg1 *core.Token) (*core.User, error)
- func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
- func (m *MockUserService) Find(arg0 context.Context, arg1 *core.Token) (*core.User, error)
- func (m *MockUserService) Update(arg0 context.Context, arg1 *core.Token) (*core.User, error)
- type MockUserServiceMockRecorder
- func (mr *MockUserServiceMockRecorder) Bind(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockUserStore
- func (m *MockUserStore) Bind(arg0 core.SCMProvider, arg1 *core.User, arg2 *scm.User, arg3 *core.Token) (*core.User, error)
- func (m *MockUserStore) Create(arg0 core.SCMProvider, arg1 *scm.User, arg2 *core.Token) error
- func (m *MockUserStore) EXPECT() *MockUserStoreMockRecorder
- func (m *MockUserStore) Find(arg0 core.SCMProvider, arg1 *scm.User) (*core.User, error)
- func (m *MockUserStore) FindByLogin(arg0 string) (*core.User, error)
- func (m *MockUserStore) ListRepositories(arg0 *core.User) ([]*core.Repo, error)
- func (m *MockUserStore) Update(arg0 core.SCMProvider, arg1 *scm.User, arg2 *core.Token) error
- func (m *MockUserStore) UpdateRepositories(arg0 *core.User, arg1 []*core.Repo) error
- type MockUserStoreMockRecorder
- func (mr *MockUserStoreMockRecorder) Bind(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockUserStoreMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUserStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserStoreMockRecorder) FindByLogin(arg0 interface{}) *gomock.Call
- func (mr *MockUserStoreMockRecorder) ListRepositories(arg0 interface{}) *gomock.Call
- func (mr *MockUserStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUserStoreMockRecorder) UpdateRepositories(arg0, arg1 interface{}) *gomock.Call
- type MockWebhookService
- type MockWebhookServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChart ¶
type MockChart struct {
// contains filtered or unexported fields
}
MockChart is a mock of Chart interface
func NewMockChart ¶
func NewMockChart(ctrl *gomock.Controller) *MockChart
NewMockChart creates a new mock instance
func (*MockChart) EXPECT ¶
func (m *MockChart) EXPECT() *MockChartMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockChartMockRecorder ¶
type MockChartMockRecorder struct {
// contains filtered or unexported fields
}
MockChartMockRecorder is the mock recorder for MockChart
func (*MockChartMockRecorder) Render ¶
func (mr *MockChartMockRecorder) Render(arg0 interface{}) *gomock.Call
Render indicates an expected call of Render
type MockChartService ¶
type MockChartService struct {
// contains filtered or unexported fields
}
MockChartService is a mock of ChartService interface
func NewMockChartService ¶
func NewMockChartService(ctrl *gomock.Controller) *MockChartService
NewMockChartService creates a new mock instance
func (*MockChartService) CoverageDiffTreeMap ¶
func (m *MockChartService) CoverageDiffTreeMap(arg0, arg1 *core.Report) core.Chart
CoverageDiffTreeMap mocks base method
func (*MockChartService) EXPECT ¶
func (m *MockChartService) EXPECT() *MockChartServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockChartServiceMockRecorder ¶
type MockChartServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockChartServiceMockRecorder is the mock recorder for MockChartService
func (*MockChartServiceMockRecorder) CoverageDiffTreeMap ¶
func (mr *MockChartServiceMockRecorder) CoverageDiffTreeMap(arg0, arg1 interface{}) *gomock.Call
CoverageDiffTreeMap indicates an expected call of CoverageDiffTreeMap
func (*MockChartServiceMockRecorder) RepoCard ¶ added in v0.1.3
func (mr *MockChartServiceMockRecorder) RepoCard(arg0, arg1 interface{}) *gomock.Call
RepoCard indicates an expected call of RepoCard
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) Contents ¶
func (m *MockClient) Contents() core.ContentService
Contents mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) PullRequests ¶
func (m *MockClient) PullRequests() core.PullRequestService
PullRequests mocks base method
func (*MockClient) Repositories ¶
func (m *MockClient) Repositories() core.GitRepoService
Repositories mocks base method
func (*MockClient) Token ¶
func (m *MockClient) Token(arg0 *core.User) core.Token
Token mocks base method
func (*MockClient) Webhooks ¶
func (m *MockClient) Webhooks() core.WebhookService
Webhooks mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Contents ¶
func (mr *MockClientMockRecorder) Contents() *gomock.Call
Contents indicates an expected call of Contents
func (*MockClientMockRecorder) Git ¶
func (mr *MockClientMockRecorder) Git() *gomock.Call
Git indicates an expected call of Git
func (*MockClientMockRecorder) PullRequests ¶
func (mr *MockClientMockRecorder) PullRequests() *gomock.Call
PullRequests indicates an expected call of PullRequests
func (*MockClientMockRecorder) Repositories ¶
func (mr *MockClientMockRecorder) Repositories() *gomock.Call
Repositories indicates an expected call of Repositories
func (*MockClientMockRecorder) Token ¶
func (mr *MockClientMockRecorder) Token(arg0 interface{}) *gomock.Call
Token indicates an expected call of Token
func (*MockClientMockRecorder) Users ¶
func (mr *MockClientMockRecorder) Users() *gomock.Call
Users indicates an expected call of Users
func (*MockClientMockRecorder) Webhooks ¶
func (mr *MockClientMockRecorder) Webhooks() *gomock.Call
Webhooks indicates an expected call of Webhooks
type MockContentService ¶
type MockContentService struct {
// contains filtered or unexported fields
}
MockContentService is a mock of ContentService interface
func NewMockContentService ¶
func NewMockContentService(ctrl *gomock.Controller) *MockContentService
NewMockContentService creates a new mock instance
func (*MockContentService) EXPECT ¶
func (m *MockContentService) EXPECT() *MockContentServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContentService) Find ¶
func (m *MockContentService) Find(arg0 context.Context, arg1 *core.User, arg2, arg3, arg4 string) ([]byte, error)
Find mocks base method
func (*MockContentService) ListAllFiles ¶
func (m *MockContentService) ListAllFiles(arg0 context.Context, arg1 *core.User, arg2, arg3 string) ([]string, error)
ListAllFiles mocks base method
type MockContentServiceMockRecorder ¶
type MockContentServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockContentServiceMockRecorder is the mock recorder for MockContentService
func (*MockContentServiceMockRecorder) Find ¶
func (mr *MockContentServiceMockRecorder) Find(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockContentServiceMockRecorder) ListAllFiles ¶
func (mr *MockContentServiceMockRecorder) ListAllFiles(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListAllFiles indicates an expected call of ListAllFiles
type MockCoverageService ¶
type MockCoverageService struct {
// contains filtered or unexported fields
}
MockCoverageService is a mock of CoverageService interface
func NewMockCoverageService ¶
func NewMockCoverageService(ctrl *gomock.Controller) *MockCoverageService
NewMockCoverageService creates a new mock instance
func (*MockCoverageService) EXPECT ¶
func (m *MockCoverageService) EXPECT() *MockCoverageServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCoverageService) Find ¶
func (m *MockCoverageService) Find(arg0 context.Context, arg1 core.ReportType, arg2 string) (string, error)
Find mocks base method
func (*MockCoverageService) Open ¶
func (m *MockCoverageService) Open(arg0 context.Context, arg1 core.ReportType, arg2 string) (io.Reader, error)
Open mocks base method
func (*MockCoverageService) Report ¶
func (m *MockCoverageService) Report(arg0 context.Context, arg1 core.ReportType, arg2 io.Reader) (*core.CoverageReport, error)
Report mocks base method
func (*MockCoverageService) TrimFileNamePrefix ¶ added in v0.2.0
func (m *MockCoverageService) TrimFileNamePrefix(arg0 context.Context, arg1 *core.CoverageReport, arg2 ...string) error
TrimFileNamePrefix mocks base method
func (*MockCoverageService) TrimFileNames ¶
func (m *MockCoverageService) TrimFileNames(arg0 context.Context, arg1 *core.CoverageReport, arg2 core.FileNameFilters) error
TrimFileNames mocks base method
type MockCoverageServiceMockRecorder ¶
type MockCoverageServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCoverageServiceMockRecorder is the mock recorder for MockCoverageService
func (*MockCoverageServiceMockRecorder) Find ¶
func (mr *MockCoverageServiceMockRecorder) Find(arg0, arg1, arg2 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockCoverageServiceMockRecorder) Open ¶
func (mr *MockCoverageServiceMockRecorder) Open(arg0, arg1, arg2 interface{}) *gomock.Call
Open indicates an expected call of Open
func (*MockCoverageServiceMockRecorder) Report ¶
func (mr *MockCoverageServiceMockRecorder) Report(arg0, arg1, arg2 interface{}) *gomock.Call
Report indicates an expected call of Report
func (*MockCoverageServiceMockRecorder) TrimFileNamePrefix ¶ added in v0.2.0
func (mr *MockCoverageServiceMockRecorder) TrimFileNamePrefix(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
TrimFileNamePrefix indicates an expected call of TrimFileNamePrefix
func (*MockCoverageServiceMockRecorder) TrimFileNames ¶
func (mr *MockCoverageServiceMockRecorder) TrimFileNames(arg0, arg1, arg2 interface{}) *gomock.Call
TrimFileNames indicates an expected call of TrimFileNames
type MockDatabaseService ¶
type MockDatabaseService struct {
// contains filtered or unexported fields
}
MockDatabaseService is a mock of DatabaseService interface
func NewMockDatabaseService ¶
func NewMockDatabaseService(ctrl *gomock.Controller) *MockDatabaseService
NewMockDatabaseService creates a new mock instance
func (*MockDatabaseService) EXPECT ¶
func (m *MockDatabaseService) EXPECT() *MockDatabaseServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDatabaseService) Migrate ¶
func (m *MockDatabaseService) Migrate() error
Migrate mocks base method
func (*MockDatabaseService) Session ¶
func (m *MockDatabaseService) Session() *gorm.DB
Session mocks base method
type MockDatabaseServiceMockRecorder ¶
type MockDatabaseServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseServiceMockRecorder is the mock recorder for MockDatabaseService
func (*MockDatabaseServiceMockRecorder) Migrate ¶
func (mr *MockDatabaseServiceMockRecorder) Migrate() *gomock.Call
Migrate indicates an expected call of Migrate
func (*MockDatabaseServiceMockRecorder) Session ¶
func (mr *MockDatabaseServiceMockRecorder) Session() *gomock.Call
Session indicates an expected call of Session
type MockGit ¶
type MockGit struct {
// contains filtered or unexported fields
}
MockGit is a mock of Git interface
func NewMockGit ¶
func NewMockGit(ctrl *gomock.Controller) *MockGit
NewMockGit creates a new mock instance
func (*MockGit) EXPECT ¶
func (m *MockGit) EXPECT() *MockGitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockGitCommit ¶
type MockGitCommit struct {
// contains filtered or unexported fields
}
MockGitCommit is a mock of GitCommit interface
func NewMockGitCommit ¶
func NewMockGitCommit(ctrl *gomock.Controller) *MockGitCommit
NewMockGitCommit creates a new mock instance
func (*MockGitCommit) EXPECT ¶
func (m *MockGitCommit) EXPECT() *MockGitCommitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGitCommit) InDefaultBranch ¶
func (m *MockGitCommit) InDefaultBranch() bool
InDefaultBranch mocks base method
type MockGitCommitMockRecorder ¶
type MockGitCommitMockRecorder struct {
// contains filtered or unexported fields
}
MockGitCommitMockRecorder is the mock recorder for MockGitCommit
func (*MockGitCommitMockRecorder) InDefaultBranch ¶
func (mr *MockGitCommitMockRecorder) InDefaultBranch() *gomock.Call
InDefaultBranch indicates an expected call of InDefaultBranch
type MockGitMockRecorder ¶
type MockGitMockRecorder struct {
// contains filtered or unexported fields
}
MockGitMockRecorder is the mock recorder for MockGit
func (*MockGitMockRecorder) Clone ¶
func (mr *MockGitMockRecorder) Clone(arg0, arg1, arg2 interface{}) *gomock.Call
Clone indicates an expected call of Clone
func (*MockGitMockRecorder) PlainOpen ¶ added in v0.0.4
func (mr *MockGitMockRecorder) PlainOpen(arg0, arg1 interface{}) *gomock.Call
PlainOpen indicates an expected call of PlainOpen
type MockGitRepoService ¶ added in v0.1.9
type MockGitRepoService struct {
// contains filtered or unexported fields
}
MockGitRepoService is a mock of GitRepoService interface
func NewMockGitRepoService ¶ added in v0.1.9
func NewMockGitRepoService(ctrl *gomock.Controller) *MockGitRepoService
NewMockGitRepoService creates a new mock instance
func (*MockGitRepoService) CloneURL ¶ added in v0.1.9
func (m *MockGitRepoService) CloneURL(arg0 context.Context, arg1 *core.User, arg2 string) (string, error)
CloneURL mocks base method
func (*MockGitRepoService) CreateHook ¶ added in v0.1.9
func (m *MockGitRepoService) CreateHook(arg0 context.Context, arg1 *core.User, arg2 string) (*core.Hook, error)
CreateHook mocks base method
func (*MockGitRepoService) EXPECT ¶ added in v0.1.9
func (m *MockGitRepoService) EXPECT() *MockGitRepoServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGitRepoService) Find ¶ added in v0.1.9
func (m *MockGitRepoService) Find(arg0 context.Context, arg1 *core.User, arg2 string) (*core.Repo, error)
Find mocks base method
func (*MockGitRepoService) NewReportID ¶ added in v0.1.9
func (m *MockGitRepoService) NewReportID(arg0 *core.Repo) string
NewReportID mocks base method
type MockGitRepoServiceMockRecorder ¶ added in v0.1.9
type MockGitRepoServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockGitRepoServiceMockRecorder is the mock recorder for MockGitRepoService
func (*MockGitRepoServiceMockRecorder) CloneURL ¶ added in v0.1.9
func (mr *MockGitRepoServiceMockRecorder) CloneURL(arg0, arg1, arg2 interface{}) *gomock.Call
CloneURL indicates an expected call of CloneURL
func (*MockGitRepoServiceMockRecorder) CreateHook ¶ added in v0.1.9
func (mr *MockGitRepoServiceMockRecorder) CreateHook(arg0, arg1, arg2 interface{}) *gomock.Call
CreateHook indicates an expected call of CreateHook
func (*MockGitRepoServiceMockRecorder) Find ¶ added in v0.1.9
func (mr *MockGitRepoServiceMockRecorder) Find(arg0, arg1, arg2 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockGitRepoServiceMockRecorder) IsAdmin ¶ added in v0.1.9
func (mr *MockGitRepoServiceMockRecorder) IsAdmin(arg0, arg1, arg2 interface{}) *gomock.Call
IsAdmin indicates an expected call of IsAdmin
func (*MockGitRepoServiceMockRecorder) List ¶ added in v0.1.9
func (mr *MockGitRepoServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockGitRepoServiceMockRecorder) NewReportID ¶ added in v0.1.9
func (mr *MockGitRepoServiceMockRecorder) NewReportID(arg0 interface{}) *gomock.Call
NewReportID indicates an expected call of NewReportID
func (*MockGitRepoServiceMockRecorder) RemoveHook ¶ added in v0.1.9
func (mr *MockGitRepoServiceMockRecorder) RemoveHook(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RemoveHook indicates an expected call of RemoveHook
type MockGitRepository ¶
type MockGitRepository struct {
// contains filtered or unexported fields
}
MockGitRepository is a mock of GitRepository interface
func NewMockGitRepository ¶
func NewMockGitRepository(ctrl *gomock.Controller) *MockGitRepository
NewMockGitRepository creates a new mock instance
func (*MockGitRepository) Branch ¶ added in v0.0.4
func (m *MockGitRepository) Branch() string
Branch mocks base method
func (*MockGitRepository) Commit ¶
func (m *MockGitRepository) Commit(arg0 string) (core.GitCommit, error)
Commit mocks base method
func (*MockGitRepository) EXPECT ¶
func (m *MockGitRepository) EXPECT() *MockGitRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGitRepository) HeadCommit ¶ added in v0.0.4
func (m *MockGitRepository) HeadCommit() string
HeadCommit mocks base method
func (*MockGitRepository) ListAllFiles ¶
func (m *MockGitRepository) ListAllFiles(arg0 string) ([]string, error)
ListAllFiles mocks base method
func (*MockGitRepository) Root ¶ added in v0.2.0
func (m *MockGitRepository) Root() string
Root mocks base method
type MockGitRepositoryMockRecorder ¶
type MockGitRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockGitRepositoryMockRecorder is the mock recorder for MockGitRepository
func (*MockGitRepositoryMockRecorder) Branch ¶ added in v0.0.4
func (mr *MockGitRepositoryMockRecorder) Branch() *gomock.Call
Branch indicates an expected call of Branch
func (*MockGitRepositoryMockRecorder) Commit ¶
func (mr *MockGitRepositoryMockRecorder) Commit(arg0 interface{}) *gomock.Call
Commit indicates an expected call of Commit
func (*MockGitRepositoryMockRecorder) HeadCommit ¶ added in v0.0.4
func (mr *MockGitRepositoryMockRecorder) HeadCommit() *gomock.Call
HeadCommit indicates an expected call of HeadCommit
func (*MockGitRepositoryMockRecorder) ListAllFiles ¶
func (mr *MockGitRepositoryMockRecorder) ListAllFiles(arg0 interface{}) *gomock.Call
ListAllFiles indicates an expected call of ListAllFiles
func (*MockGitRepositoryMockRecorder) Root ¶ added in v0.2.0
func (mr *MockGitRepositoryMockRecorder) Root() *gomock.Call
Root indicates an expected call of Root
type MockGitService ¶
type MockGitService struct {
// contains filtered or unexported fields
}
MockGitService is a mock of GitService interface
func NewMockGitService ¶
func NewMockGitService(ctrl *gomock.Controller) *MockGitService
NewMockGitService creates a new mock instance
func (*MockGitService) EXPECT ¶
func (m *MockGitService) EXPECT() *MockGitServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGitService) FindCommit ¶
FindCommit mocks base method
func (*MockGitService) GitRepository ¶
func (m *MockGitService) GitRepository(arg0 context.Context, arg1 *core.User, arg2 string) (core.GitRepository, error)
GitRepository mocks base method
func (*MockGitService) ListBranches ¶ added in v0.1.8
func (m *MockGitService) ListBranches(arg0 context.Context, arg1 *core.User, arg2 string) ([]string, error)
ListBranches mocks base method
type MockGitServiceMockRecorder ¶
type MockGitServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockGitServiceMockRecorder is the mock recorder for MockGitService
func (*MockGitServiceMockRecorder) FindCommit ¶
func (mr *MockGitServiceMockRecorder) FindCommit(arg0, arg1, arg2 interface{}) *gomock.Call
FindCommit indicates an expected call of FindCommit
func (*MockGitServiceMockRecorder) GitRepository ¶
func (mr *MockGitServiceMockRecorder) GitRepository(arg0, arg1, arg2 interface{}) *gomock.Call
GitRepository indicates an expected call of GitRepository
func (*MockGitServiceMockRecorder) ListBranches ¶ added in v0.1.8
func (mr *MockGitServiceMockRecorder) ListBranches(arg0, arg1, arg2 interface{}) *gomock.Call
ListBranches indicates an expected call of ListBranches
func (*MockGitServiceMockRecorder) ListCommits ¶ added in v0.1.4
func (mr *MockGitServiceMockRecorder) ListCommits(arg0, arg1, arg2 interface{}) *gomock.Call
ListCommits indicates an expected call of ListCommits
func (*MockGitServiceMockRecorder) ListCommitsByRef ¶ added in v0.1.8
func (mr *MockGitServiceMockRecorder) ListCommitsByRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListCommitsByRef indicates an expected call of ListCommitsByRef
type MockHookService ¶
type MockHookService struct {
// contains filtered or unexported fields
}
MockHookService is a mock of HookService interface
func NewMockHookService ¶
func NewMockHookService(ctrl *gomock.Controller) *MockHookService
NewMockHookService creates a new mock instance
func (*MockHookService) EXPECT ¶
func (m *MockHookService) EXPECT() *MockHookServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockHookServiceMockRecorder ¶
type MockHookServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockHookServiceMockRecorder is the mock recorder for MockHookService
func (*MockHookServiceMockRecorder) Create ¶
func (mr *MockHookServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockHookServiceMockRecorder) Delete ¶
func (mr *MockHookServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockHookServiceMockRecorder) Resolve ¶
func (mr *MockHookServiceMockRecorder) Resolve(arg0, arg1, arg2 interface{}) *gomock.Call
Resolve indicates an expected call of Resolve
type MockOAuthService ¶ added in v0.1.8
type MockOAuthService struct {
// contains filtered or unexported fields
}
MockOAuthService is a mock of OAuthService interface
func NewMockOAuthService ¶ added in v0.1.8
func NewMockOAuthService(ctrl *gomock.Controller) *MockOAuthService
NewMockOAuthService creates a new mock instance
func (*MockOAuthService) CreateToken ¶ added in v0.1.8
func (m *MockOAuthService) CreateToken(arg0 context.Context, arg1 string) (*core.OAuthToken, error)
CreateToken mocks base method
func (*MockOAuthService) DeleteToken ¶ added in v0.1.8
func (m *MockOAuthService) DeleteToken(arg0 context.Context, arg1 *core.OAuthToken) error
DeleteToken mocks base method
func (*MockOAuthService) EXPECT ¶ added in v0.1.8
func (m *MockOAuthService) EXPECT() *MockOAuthServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOAuthService) ListTokens ¶ added in v0.1.8
func (m *MockOAuthService) ListTokens(arg0 context.Context) ([]*core.OAuthToken, error)
ListTokens mocks base method
type MockOAuthServiceMockRecorder ¶ added in v0.1.8
type MockOAuthServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOAuthServiceMockRecorder is the mock recorder for MockOAuthService
func (*MockOAuthServiceMockRecorder) CreateToken ¶ added in v0.1.8
func (mr *MockOAuthServiceMockRecorder) CreateToken(arg0, arg1 interface{}) *gomock.Call
CreateToken indicates an expected call of CreateToken
func (*MockOAuthServiceMockRecorder) DeleteToken ¶ added in v0.1.8
func (mr *MockOAuthServiceMockRecorder) DeleteToken(arg0, arg1 interface{}) *gomock.Call
DeleteToken indicates an expected call of DeleteToken
func (*MockOAuthServiceMockRecorder) ListTokens ¶ added in v0.1.8
func (mr *MockOAuthServiceMockRecorder) ListTokens(arg0 interface{}) *gomock.Call
ListTokens indicates an expected call of ListTokens
func (*MockOAuthServiceMockRecorder) Validate ¶ added in v0.1.8
func (mr *MockOAuthServiceMockRecorder) Validate(arg0 interface{}) *gomock.Call
Validate indicates an expected call of Validate
func (*MockOAuthServiceMockRecorder) WithUser ¶ added in v0.1.8
func (mr *MockOAuthServiceMockRecorder) WithUser(arg0, arg1 interface{}) *gomock.Call
WithUser indicates an expected call of WithUser
type MockOAuthStore ¶ added in v0.1.8
type MockOAuthStore struct {
// contains filtered or unexported fields
}
MockOAuthStore is a mock of OAuthStore interface
func NewMockOAuthStore ¶ added in v0.1.8
func NewMockOAuthStore(ctrl *gomock.Controller) *MockOAuthStore
NewMockOAuthStore creates a new mock instance
func (*MockOAuthStore) Create ¶ added in v0.1.8
func (m *MockOAuthStore) Create(arg0 *core.OAuthToken) error
Create mocks base method
func (*MockOAuthStore) Delete ¶ added in v0.1.8
func (m *MockOAuthStore) Delete(arg0 *core.OAuthToken) error
Delete mocks base method
func (*MockOAuthStore) EXPECT ¶ added in v0.1.8
func (m *MockOAuthStore) EXPECT() *MockOAuthStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOAuthStore) Find ¶ added in v0.1.8
func (m *MockOAuthStore) Find(arg0 *core.OAuthToken) (*core.OAuthToken, error)
Find mocks base method
func (*MockOAuthStore) List ¶ added in v0.1.8
func (m *MockOAuthStore) List(arg0 *core.User) ([]*core.OAuthToken, error)
List mocks base method
type MockOAuthStoreMockRecorder ¶ added in v0.1.8
type MockOAuthStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockOAuthStoreMockRecorder is the mock recorder for MockOAuthStore
func (*MockOAuthStoreMockRecorder) Create ¶ added in v0.1.8
func (mr *MockOAuthStoreMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockOAuthStoreMockRecorder) Delete ¶ added in v0.1.8
func (mr *MockOAuthStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockOAuthStoreMockRecorder) Find ¶ added in v0.1.8
func (mr *MockOAuthStoreMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockOAuthStoreMockRecorder) List ¶ added in v0.1.8
func (mr *MockOAuthStoreMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
type MockRepoService ¶
type MockRepoService struct {
// contains filtered or unexported fields
}
MockRepoService is a mock of RepoService interface
func NewMockRepoService ¶
func NewMockRepoService(ctrl *gomock.Controller) *MockRepoService
NewMockRepoService creates a new mock instance
func (*MockRepoService) EXPECT ¶
func (m *MockRepoService) EXPECT() *MockRepoServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepoService) Synchronize ¶ added in v0.1.9
Synchronize mocks base method
type MockRepoServiceMockRecorder ¶
type MockRepoServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoServiceMockRecorder is the mock recorder for MockRepoService
func (*MockRepoServiceMockRecorder) Synchronize ¶ added in v0.1.9
func (mr *MockRepoServiceMockRecorder) Synchronize(arg0, arg1 interface{}) *gomock.Call
Synchronize indicates an expected call of Synchronize
type MockRepoStore ¶
type MockRepoStore struct {
// contains filtered or unexported fields
}
MockRepoStore is a mock of RepoStore interface
func NewMockRepoStore ¶
func NewMockRepoStore(ctrl *gomock.Controller) *MockRepoStore
NewMockRepoStore creates a new mock instance
func (*MockRepoStore) BatchUpdateOrCreate ¶ added in v0.1.9
func (m *MockRepoStore) BatchUpdateOrCreate(arg0 []*core.Repo) error
BatchUpdateOrCreate mocks base method
func (*MockRepoStore) Create ¶
func (m *MockRepoStore) Create(arg0 *core.Repo) error
Create mocks base method
func (*MockRepoStore) EXPECT ¶
func (m *MockRepoStore) EXPECT() *MockRepoStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepoStore) Finds ¶
func (m *MockRepoStore) Finds(arg0 ...string) ([]*core.Repo, error)
Finds mocks base method
func (*MockRepoStore) Setting ¶
func (m *MockRepoStore) Setting(arg0 *core.Repo) (*core.RepoSetting, error)
Setting mocks base method
func (*MockRepoStore) Update ¶
func (m *MockRepoStore) Update(arg0 *core.Repo) error
Update mocks base method
func (*MockRepoStore) UpdateCreator ¶ added in v0.1.9
UpdateCreator mocks base method
func (*MockRepoStore) UpdateHook ¶
UpdateHook mocks base method
func (*MockRepoStore) UpdateOrCreate ¶ added in v0.1.9
func (m *MockRepoStore) UpdateOrCreate(arg0 *core.Repo) error
UpdateOrCreate mocks base method
func (*MockRepoStore) UpdateSetting ¶
func (m *MockRepoStore) UpdateSetting(arg0 *core.Repo, arg1 *core.RepoSetting) error
UpdateSetting mocks base method
type MockRepoStoreMockRecorder ¶
type MockRepoStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoStoreMockRecorder is the mock recorder for MockRepoStore
func (*MockRepoStoreMockRecorder) BatchUpdateOrCreate ¶ added in v0.1.9
func (mr *MockRepoStoreMockRecorder) BatchUpdateOrCreate(arg0 interface{}) *gomock.Call
BatchUpdateOrCreate indicates an expected call of BatchUpdateOrCreate
func (*MockRepoStoreMockRecorder) Create ¶
func (mr *MockRepoStoreMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockRepoStoreMockRecorder) Creator ¶
func (mr *MockRepoStoreMockRecorder) Creator(arg0 interface{}) *gomock.Call
Creator indicates an expected call of Creator
func (*MockRepoStoreMockRecorder) Find ¶
func (mr *MockRepoStoreMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockRepoStoreMockRecorder) FindHook ¶
func (mr *MockRepoStoreMockRecorder) FindHook(arg0 interface{}) *gomock.Call
FindHook indicates an expected call of FindHook
func (*MockRepoStoreMockRecorder) Finds ¶
func (mr *MockRepoStoreMockRecorder) Finds(arg0 ...interface{}) *gomock.Call
Finds indicates an expected call of Finds
func (*MockRepoStoreMockRecorder) Setting ¶
func (mr *MockRepoStoreMockRecorder) Setting(arg0 interface{}) *gomock.Call
Setting indicates an expected call of Setting
func (*MockRepoStoreMockRecorder) Update ¶
func (mr *MockRepoStoreMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockRepoStoreMockRecorder) UpdateCreator ¶ added in v0.1.9
func (mr *MockRepoStoreMockRecorder) UpdateCreator(arg0, arg1 interface{}) *gomock.Call
UpdateCreator indicates an expected call of UpdateCreator
func (*MockRepoStoreMockRecorder) UpdateHook ¶
func (mr *MockRepoStoreMockRecorder) UpdateHook(arg0, arg1 interface{}) *gomock.Call
UpdateHook indicates an expected call of UpdateHook
func (*MockRepoStoreMockRecorder) UpdateOrCreate ¶ added in v0.1.9
func (mr *MockRepoStoreMockRecorder) UpdateOrCreate(arg0 interface{}) *gomock.Call
UpdateOrCreate indicates an expected call of UpdateOrCreate
func (*MockRepoStoreMockRecorder) UpdateSetting ¶
func (mr *MockRepoStoreMockRecorder) UpdateSetting(arg0, arg1 interface{}) *gomock.Call
UpdateSetting indicates an expected call of UpdateSetting
type MockReportStore ¶
type MockReportStore struct {
// contains filtered or unexported fields
}
MockReportStore is a mock of ReportStore interface
func NewMockReportStore ¶
func NewMockReportStore(ctrl *gomock.Controller) *MockReportStore
NewMockReportStore creates a new mock instance
func (*MockReportStore) CreateComment ¶
func (m *MockReportStore) CreateComment(arg0 *core.Report, arg1 *core.ReportComment) error
CreateComment mocks base method
func (*MockReportStore) EXPECT ¶
func (m *MockReportStore) EXPECT() *MockReportStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReportStore) FindComment ¶
func (m *MockReportStore) FindComment(arg0 *core.Report, arg1 int) (*core.ReportComment, error)
FindComment mocks base method
type MockReportStoreMockRecorder ¶
type MockReportStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockReportStoreMockRecorder is the mock recorder for MockReportStore
func (*MockReportStoreMockRecorder) CreateComment ¶
func (mr *MockReportStoreMockRecorder) CreateComment(arg0, arg1 interface{}) *gomock.Call
CreateComment indicates an expected call of CreateComment
func (*MockReportStoreMockRecorder) Find ¶
func (mr *MockReportStoreMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockReportStoreMockRecorder) FindComment ¶
func (mr *MockReportStoreMockRecorder) FindComment(arg0, arg1 interface{}) *gomock.Call
FindComment indicates an expected call of FindComment
func (*MockReportStoreMockRecorder) Finds ¶
func (mr *MockReportStoreMockRecorder) Finds(arg0 interface{}) *gomock.Call
Finds indicates an expected call of Finds
func (*MockReportStoreMockRecorder) List ¶ added in v0.1.0
func (mr *MockReportStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockReportStoreMockRecorder) Upload ¶
func (mr *MockReportStoreMockRecorder) Upload(arg0 interface{}) *gomock.Call
Upload indicates an expected call of Upload
type MockSCMService ¶
type MockSCMService struct {
// contains filtered or unexported fields
}
MockSCMService is a mock of SCMService interface
func NewMockSCMService ¶
func NewMockSCMService(ctrl *gomock.Controller) *MockSCMService
NewMockSCMService creates a new mock instance
func (*MockSCMService) Client ¶
func (m *MockSCMService) Client(arg0 core.SCMProvider) (core.Client, error)
Client mocks base method
func (*MockSCMService) EXPECT ¶
func (m *MockSCMService) EXPECT() *MockSCMServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockSCMServiceMockRecorder ¶
type MockSCMServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockSCMServiceMockRecorder is the mock recorder for MockSCMService
func (*MockSCMServiceMockRecorder) Client ¶
func (mr *MockSCMServiceMockRecorder) Client(arg0 interface{}) *gomock.Call
Client indicates an expected call of Client
type MockUserService ¶
type MockUserService struct {
// contains filtered or unexported fields
}
MockUserService is a mock of UserService interface
func NewMockUserService ¶
func NewMockUserService(ctrl *gomock.Controller) *MockUserService
NewMockUserService creates a new mock instance
func (*MockUserService) Bind ¶
func (m *MockUserService) Bind(arg0 context.Context, arg1 *core.User, arg2 *core.Token) (*core.User, error)
Bind mocks base method
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService
func (*MockUserServiceMockRecorder) Bind ¶
func (mr *MockUserServiceMockRecorder) Bind(arg0, arg1, arg2 interface{}) *gomock.Call
Bind indicates an expected call of Bind
func (*MockUserServiceMockRecorder) Create ¶
func (mr *MockUserServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockUserServiceMockRecorder) Find ¶
func (mr *MockUserServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockUserServiceMockRecorder) Update ¶ added in v0.1.0
func (mr *MockUserServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockUserStore ¶
type MockUserStore struct {
// contains filtered or unexported fields
}
MockUserStore is a mock of UserStore interface
func NewMockUserStore ¶
func NewMockUserStore(ctrl *gomock.Controller) *MockUserStore
NewMockUserStore creates a new mock instance
func (*MockUserStore) Bind ¶
func (m *MockUserStore) Bind(arg0 core.SCMProvider, arg1 *core.User, arg2 *scm.User, arg3 *core.Token) (*core.User, error)
Bind mocks base method
func (*MockUserStore) Create ¶
func (m *MockUserStore) Create(arg0 core.SCMProvider, arg1 *scm.User, arg2 *core.Token) error
Create mocks base method
func (*MockUserStore) EXPECT ¶
func (m *MockUserStore) EXPECT() *MockUserStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUserStore) Find ¶
func (m *MockUserStore) Find(arg0 core.SCMProvider, arg1 *scm.User) (*core.User, error)
Find mocks base method
func (*MockUserStore) FindByLogin ¶ added in v0.1.8
func (m *MockUserStore) FindByLogin(arg0 string) (*core.User, error)
FindByLogin mocks base method
func (*MockUserStore) ListRepositories ¶ added in v0.1.9
ListRepositories mocks base method
func (*MockUserStore) Update ¶ added in v0.1.0
func (m *MockUserStore) Update(arg0 core.SCMProvider, arg1 *scm.User, arg2 *core.Token) error
Update mocks base method
func (*MockUserStore) UpdateRepositories ¶ added in v0.1.9
UpdateRepositories mocks base method
type MockUserStoreMockRecorder ¶
type MockUserStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockUserStoreMockRecorder is the mock recorder for MockUserStore
func (*MockUserStoreMockRecorder) Bind ¶
func (mr *MockUserStoreMockRecorder) Bind(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Bind indicates an expected call of Bind
func (*MockUserStoreMockRecorder) Create ¶
func (mr *MockUserStoreMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockUserStoreMockRecorder) Find ¶
func (mr *MockUserStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockUserStoreMockRecorder) FindByLogin ¶ added in v0.1.8
func (mr *MockUserStoreMockRecorder) FindByLogin(arg0 interface{}) *gomock.Call
FindByLogin indicates an expected call of FindByLogin
func (*MockUserStoreMockRecorder) ListRepositories ¶ added in v0.1.9
func (mr *MockUserStoreMockRecorder) ListRepositories(arg0 interface{}) *gomock.Call
ListRepositories indicates an expected call of ListRepositories
func (*MockUserStoreMockRecorder) Update ¶ added in v0.1.0
func (mr *MockUserStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockUserStoreMockRecorder) UpdateRepositories ¶ added in v0.1.9
func (mr *MockUserStoreMockRecorder) UpdateRepositories(arg0, arg1 interface{}) *gomock.Call
UpdateRepositories indicates an expected call of UpdateRepositories
type MockWebhookService ¶
type MockWebhookService struct {
// contains filtered or unexported fields
}
MockWebhookService is a mock of WebhookService interface
func NewMockWebhookService ¶
func NewMockWebhookService(ctrl *gomock.Controller) *MockWebhookService
NewMockWebhookService creates a new mock instance
func (*MockWebhookService) EXPECT ¶
func (m *MockWebhookService) EXPECT() *MockWebhookServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockWebhookService) IsWebhookNotSupport ¶
func (m *MockWebhookService) IsWebhookNotSupport(arg0 error) bool
IsWebhookNotSupport mocks base method
type MockWebhookServiceMockRecorder ¶
type MockWebhookServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockWebhookServiceMockRecorder is the mock recorder for MockWebhookService
func (*MockWebhookServiceMockRecorder) IsWebhookNotSupport ¶
func (mr *MockWebhookServiceMockRecorder) IsWebhookNotSupport(arg0 interface{}) *gomock.Call
IsWebhookNotSupport indicates an expected call of IsWebhookNotSupport
func (*MockWebhookServiceMockRecorder) Parse ¶
func (mr *MockWebhookServiceMockRecorder) Parse(arg0 interface{}) *gomock.Call
Parse indicates an expected call of Parse