fix invalid mock
This commit is contained in:
parent
8ebc175a04
commit
8f1e0ad11d
2 changed files with 171 additions and 145 deletions
|
@ -4,4 +4,4 @@
|
|||
|
||||
package mock
|
||||
|
||||
//go:generate mockgen -package=mock -destination=mock_gen.go github.com/drone/drone NetrcService,Renewer,HookParser,UserService,RepositoryService,CommitService,StatusService,HookService,FileService,Batcher,BuildStore,CronStore,LogStore,PermStore,SecretStore,StageStore,StepStore,RepositoryStore,UserStore,Scheduler,Session,OrganizationService,SecretService,RegistryService,ConfigService,Triggerer,Syncer,LogStream,WebhookSender,LicenseService
|
||||
//go:generate mockgen -package=mock -destination=mock_gen.go github.com/drone/drone/core NetrcService,Renewer,HookParser,UserService,RepositoryService,CommitService,StatusService,HookService,FileService,Batcher,BuildStore,CronStore,LogStore,PermStore,SecretStore,StageStore,StepStore,RepositoryStore,UserStore,Scheduler,Session,OrganizationService,SecretService,RegistryService,ConfigService,Triggerer,Syncer,LogStream,WebhookSender,LicenseService
|
||||
|
|
314
mock/mock_gen.go
314
mock/mock_gen.go
|
@ -1,12 +1,12 @@
|
|||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/drone/drone (interfaces: NetrcService,Renewer,HookParser,UserService,RepositoryService,CommitService,StatusService,HookService,FileService,Batcher,BuildStore,CronStore,LogStore,PermStore,SecretStore,StageStore,StepStore,RepositoryStore,UserStore,Scheduler,Session,OrganizationService,SecretService,RegistryService,ConfigService,Triggerer,Syncer,LogStream,WebhookSender,LicenseService)
|
||||
// Source: github.com/drone/drone/core (interfaces: NetrcService,Renewer,HookParser,UserService,RepositoryService,CommitService,StatusService,HookService,FileService,Batcher,BuildStore,CronStore,LogStore,PermStore,SecretStore,StageStore,StepStore,RepositoryStore,UserStore,Scheduler,Session,OrganizationService,SecretService,RegistryService,ConfigService,Triggerer,Syncer,LogStream,WebhookSender,LicenseService)
|
||||
|
||||
// Package mock is a generated GoMock package.
|
||||
package mock
|
||||
|
||||
import (
|
||||
context "context"
|
||||
internal "github.com/drone/drone/core"
|
||||
core "github.com/drone/drone/core"
|
||||
gomock "github.com/golang/mock/gomock"
|
||||
io "io"
|
||||
http "net/http"
|
||||
|
@ -37,9 +37,9 @@ func (m *MockNetrcService) EXPECT() *MockNetrcServiceMockRecorder {
|
|||
}
|
||||
|
||||
// Create mocks base method
|
||||
func (m *MockNetrcService) Create(arg0 context.Context, arg1 *internal.User, arg2 *internal.Repository) (*internal.Netrc, error) {
|
||||
func (m *MockNetrcService) Create(arg0 context.Context, arg1 *core.User, arg2 *core.Repository) (*core.Netrc, error) {
|
||||
ret := m.ctrl.Call(m, "Create", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Netrc)
|
||||
ret0, _ := ret[0].(*core.Netrc)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ func (m *MockRenewer) EXPECT() *MockRenewerMockRecorder {
|
|||
}
|
||||
|
||||
// Renew mocks base method
|
||||
func (m *MockRenewer) Renew(arg0 context.Context, arg1 *internal.User, arg2 bool) error {
|
||||
func (m *MockRenewer) Renew(arg0 context.Context, arg1 *core.User, arg2 bool) error {
|
||||
ret := m.ctrl.Call(m, "Renew", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -108,10 +108,10 @@ func (m *MockHookParser) EXPECT() *MockHookParserMockRecorder {
|
|||
}
|
||||
|
||||
// Parse mocks base method
|
||||
func (m *MockHookParser) Parse(arg0 *http.Request, arg1 func(string) string) (*internal.Hook, *internal.Repository, error) {
|
||||
func (m *MockHookParser) Parse(arg0 *http.Request, arg1 func(string) string) (*core.Hook, *core.Repository, error) {
|
||||
ret := m.ctrl.Call(m, "Parse", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.Hook)
|
||||
ret1, _ := ret[1].(*internal.Repository)
|
||||
ret0, _ := ret[0].(*core.Hook)
|
||||
ret1, _ := ret[1].(*core.Repository)
|
||||
ret2, _ := ret[2].(error)
|
||||
return ret0, ret1, ret2
|
||||
}
|
||||
|
@ -145,9 +145,9 @@ func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder {
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockUserService) Find(arg0 context.Context, arg1, arg2 string) (*internal.User, error) {
|
||||
func (m *MockUserService) Find(arg0 context.Context, arg1, arg2 string) (*core.User, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.User)
|
||||
ret0, _ := ret[0].(*core.User)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -181,9 +181,9 @@ func (m *MockRepositoryService) EXPECT() *MockRepositoryServiceMockRecorder {
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockRepositoryService) Find(arg0 context.Context, arg1 *internal.User, arg2 string) (*internal.Repository, error) {
|
||||
func (m *MockRepositoryService) Find(arg0 context.Context, arg1 *core.User, arg2 string) (*core.Repository, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Repository)
|
||||
ret0, _ := ret[0].(*core.Repository)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -194,9 +194,9 @@ func (mr *MockRepositoryServiceMockRecorder) Find(arg0, arg1, arg2 interface{})
|
|||
}
|
||||
|
||||
// FindPerm mocks base method
|
||||
func (m *MockRepositoryService) FindPerm(arg0 context.Context, arg1 *internal.User, arg2 string) (*internal.Perm, error) {
|
||||
func (m *MockRepositoryService) FindPerm(arg0 context.Context, arg1 *core.User, arg2 string) (*core.Perm, error) {
|
||||
ret := m.ctrl.Call(m, "FindPerm", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Perm)
|
||||
ret0, _ := ret[0].(*core.Perm)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -207,9 +207,9 @@ func (mr *MockRepositoryServiceMockRecorder) FindPerm(arg0, arg1, arg2 interface
|
|||
}
|
||||
|
||||
// List mocks base method
|
||||
func (m *MockRepositoryService) List(arg0 context.Context, arg1 *internal.User) ([]*internal.Repository, error) {
|
||||
func (m *MockRepositoryService) List(arg0 context.Context, arg1 *core.User) ([]*core.Repository, error) {
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Repository)
|
||||
ret0, _ := ret[0].([]*core.Repository)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -243,9 +243,9 @@ func (m *MockCommitService) EXPECT() *MockCommitServiceMockRecorder {
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockCommitService) Find(arg0 context.Context, arg1 *internal.User, arg2, arg3 string) (*internal.Commit, error) {
|
||||
func (m *MockCommitService) Find(arg0 context.Context, arg1 *core.User, arg2, arg3 string) (*core.Commit, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].(*internal.Commit)
|
||||
ret0, _ := ret[0].(*core.Commit)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -256,9 +256,9 @@ func (mr *MockCommitServiceMockRecorder) Find(arg0, arg1, arg2, arg3 interface{}
|
|||
}
|
||||
|
||||
// FindRef mocks base method
|
||||
func (m *MockCommitService) FindRef(arg0 context.Context, arg1 *internal.User, arg2, arg3 string) (*internal.Commit, error) {
|
||||
func (m *MockCommitService) FindRef(arg0 context.Context, arg1 *core.User, arg2, arg3 string) (*core.Commit, error) {
|
||||
ret := m.ctrl.Call(m, "FindRef", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].(*internal.Commit)
|
||||
ret0, _ := ret[0].(*core.Commit)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -269,9 +269,9 @@ func (mr *MockCommitServiceMockRecorder) FindRef(arg0, arg1, arg2, arg3 interfac
|
|||
}
|
||||
|
||||
// ListChanges mocks base method
|
||||
func (m *MockCommitService) ListChanges(arg0 context.Context, arg1 *internal.User, arg2, arg3, arg4 string) ([]*internal.Change, error) {
|
||||
func (m *MockCommitService) ListChanges(arg0 context.Context, arg1 *core.User, arg2, arg3, arg4 string) ([]*core.Change, error) {
|
||||
ret := m.ctrl.Call(m, "ListChanges", arg0, arg1, arg2, arg3, arg4)
|
||||
ret0, _ := ret[0].([]*internal.Change)
|
||||
ret0, _ := ret[0].([]*core.Change)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -305,7 +305,7 @@ func (m *MockStatusService) EXPECT() *MockStatusServiceMockRecorder {
|
|||
}
|
||||
|
||||
// Send mocks base method
|
||||
func (m *MockStatusService) Send(arg0 context.Context, arg1 *internal.User, arg2 *internal.StatusInput) error {
|
||||
func (m *MockStatusService) Send(arg0 context.Context, arg1 *core.User, arg2 *core.StatusInput) error {
|
||||
ret := m.ctrl.Call(m, "Send", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -340,7 +340,7 @@ func (m *MockHookService) EXPECT() *MockHookServiceMockRecorder {
|
|||
}
|
||||
|
||||
// Create mocks base method
|
||||
func (m *MockHookService) Create(arg0 context.Context, arg1 *internal.User, arg2 *internal.Repository) error {
|
||||
func (m *MockHookService) Create(arg0 context.Context, arg1 *core.User, arg2 *core.Repository) error {
|
||||
ret := m.ctrl.Call(m, "Create", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -352,7 +352,7 @@ func (mr *MockHookServiceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gom
|
|||
}
|
||||
|
||||
// Delete mocks base method
|
||||
func (m *MockHookService) Delete(arg0 context.Context, arg1 *internal.User, arg2 *internal.Repository) error {
|
||||
func (m *MockHookService) Delete(arg0 context.Context, arg1 *core.User, arg2 *core.Repository) error {
|
||||
ret := m.ctrl.Call(m, "Delete", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -387,9 +387,9 @@ func (m *MockFileService) EXPECT() *MockFileServiceMockRecorder {
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockFileService) Find(arg0 context.Context, arg1 *internal.User, arg2, arg3, arg4, arg5 string) (*internal.File, error) {
|
||||
func (m *MockFileService) Find(arg0 context.Context, arg1 *core.User, arg2, arg3, arg4, arg5 string) (*core.File, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1, arg2, arg3, arg4, arg5)
|
||||
ret0, _ := ret[0].(*internal.File)
|
||||
ret0, _ := ret[0].(*core.File)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -423,7 +423,7 @@ func (m *MockBatcher) EXPECT() *MockBatcherMockRecorder {
|
|||
}
|
||||
|
||||
// Batch mocks base method
|
||||
func (m *MockBatcher) Batch(arg0 context.Context, arg1 *internal.User, arg2 *internal.Batch) error {
|
||||
func (m *MockBatcher) Batch(arg0 context.Context, arg1 *core.User, arg2 *core.Batch) error {
|
||||
ret := m.ctrl.Call(m, "Batch", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -471,7 +471,7 @@ func (mr *MockBuildStoreMockRecorder) Count(arg0 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// Create mocks base method
|
||||
func (m *MockBuildStore) Create(arg0 context.Context, arg1 *internal.Build, arg2 []*internal.Stage) error {
|
||||
func (m *MockBuildStore) Create(arg0 context.Context, arg1 *core.Build, arg2 []*core.Stage) error {
|
||||
ret := m.ctrl.Call(m, "Create", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -483,7 +483,7 @@ func (mr *MockBuildStoreMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomo
|
|||
}
|
||||
|
||||
// Delete mocks base method
|
||||
func (m *MockBuildStore) Delete(arg0 context.Context, arg1 *internal.Build) error {
|
||||
func (m *MockBuildStore) Delete(arg0 context.Context, arg1 *core.Build) error {
|
||||
ret := m.ctrl.Call(m, "Delete", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -495,9 +495,9 @@ func (mr *MockBuildStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Cal
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockBuildStore) Find(arg0 context.Context, arg1 int64) (*internal.Build, error) {
|
||||
func (m *MockBuildStore) Find(arg0 context.Context, arg1 int64) (*core.Build, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.Build)
|
||||
ret0, _ := ret[0].(*core.Build)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -508,9 +508,9 @@ func (mr *MockBuildStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// FindNumber mocks base method
|
||||
func (m *MockBuildStore) FindNumber(arg0 context.Context, arg1, arg2 int64) (*internal.Build, error) {
|
||||
func (m *MockBuildStore) FindNumber(arg0 context.Context, arg1, arg2 int64) (*core.Build, error) {
|
||||
ret := m.ctrl.Call(m, "FindNumber", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Build)
|
||||
ret0, _ := ret[0].(*core.Build)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -521,9 +521,9 @@ func (mr *MockBuildStoreMockRecorder) FindNumber(arg0, arg1, arg2 interface{}) *
|
|||
}
|
||||
|
||||
// FindRef mocks base method
|
||||
func (m *MockBuildStore) FindRef(arg0 context.Context, arg1 int64, arg2 string) (*internal.Build, error) {
|
||||
func (m *MockBuildStore) FindRef(arg0 context.Context, arg1 int64, arg2 string) (*core.Build, error) {
|
||||
ret := m.ctrl.Call(m, "FindRef", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Build)
|
||||
ret0, _ := ret[0].(*core.Build)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -534,9 +534,9 @@ func (mr *MockBuildStoreMockRecorder) FindRef(arg0, arg1, arg2 interface{}) *gom
|
|||
}
|
||||
|
||||
// List mocks base method
|
||||
func (m *MockBuildStore) List(arg0 context.Context, arg1 int64, arg2, arg3 int) ([]*internal.Build, error) {
|
||||
func (m *MockBuildStore) List(arg0 context.Context, arg1 int64, arg2, arg3 int) ([]*core.Build, error) {
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1, arg2, arg3)
|
||||
ret0, _ := ret[0].([]*internal.Build)
|
||||
ret0, _ := ret[0].([]*core.Build)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -547,9 +547,9 @@ func (mr *MockBuildStoreMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *
|
|||
}
|
||||
|
||||
// ListRef mocks base method
|
||||
func (m *MockBuildStore) ListRef(arg0 context.Context, arg1 int64, arg2 string, arg3, arg4 int) ([]*internal.Build, error) {
|
||||
func (m *MockBuildStore) ListRef(arg0 context.Context, arg1 int64, arg2 string, arg3, arg4 int) ([]*core.Build, error) {
|
||||
ret := m.ctrl.Call(m, "ListRef", arg0, arg1, arg2, arg3, arg4)
|
||||
ret0, _ := ret[0].([]*internal.Build)
|
||||
ret0, _ := ret[0].([]*core.Build)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -560,9 +560,9 @@ func (mr *MockBuildStoreMockRecorder) ListRef(arg0, arg1, arg2, arg3, arg4 inter
|
|||
}
|
||||
|
||||
// Pending mocks base method
|
||||
func (m *MockBuildStore) Pending(arg0 context.Context) ([]*internal.Build, error) {
|
||||
func (m *MockBuildStore) Pending(arg0 context.Context) ([]*core.Build, error) {
|
||||
ret := m.ctrl.Call(m, "Pending", arg0)
|
||||
ret0, _ := ret[0].([]*internal.Build)
|
||||
ret0, _ := ret[0].([]*core.Build)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -585,9 +585,9 @@ func (mr *MockBuildStoreMockRecorder) Purge(arg0, arg1, arg2 interface{}) *gomoc
|
|||
}
|
||||
|
||||
// Running mocks base method
|
||||
func (m *MockBuildStore) Running(arg0 context.Context) ([]*internal.Build, error) {
|
||||
func (m *MockBuildStore) Running(arg0 context.Context) ([]*core.Build, error) {
|
||||
ret := m.ctrl.Call(m, "Running", arg0)
|
||||
ret0, _ := ret[0].([]*internal.Build)
|
||||
ret0, _ := ret[0].([]*core.Build)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -598,7 +598,7 @@ func (mr *MockBuildStoreMockRecorder) Running(arg0 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// Update mocks base method
|
||||
func (m *MockBuildStore) Update(arg0 context.Context, arg1 *internal.Build) error {
|
||||
func (m *MockBuildStore) Update(arg0 context.Context, arg1 *core.Build) error {
|
||||
ret := m.ctrl.Call(m, "Update", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -633,7 +633,7 @@ func (m *MockCronStore) EXPECT() *MockCronStoreMockRecorder {
|
|||
}
|
||||
|
||||
// Create mocks base method
|
||||
func (m *MockCronStore) Create(arg0 context.Context, arg1 *internal.Cron) error {
|
||||
func (m *MockCronStore) Create(arg0 context.Context, arg1 *core.Cron) error {
|
||||
ret := m.ctrl.Call(m, "Create", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -645,7 +645,7 @@ func (mr *MockCronStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// Delete mocks base method
|
||||
func (m *MockCronStore) Delete(arg0 context.Context, arg1 *internal.Cron) error {
|
||||
func (m *MockCronStore) Delete(arg0 context.Context, arg1 *core.Cron) error {
|
||||
ret := m.ctrl.Call(m, "Delete", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -657,9 +657,9 @@ func (mr *MockCronStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockCronStore) Find(arg0 context.Context, arg1 int64) (*internal.Cron, error) {
|
||||
func (m *MockCronStore) Find(arg0 context.Context, arg1 int64) (*core.Cron, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.Cron)
|
||||
ret0, _ := ret[0].(*core.Cron)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -670,9 +670,9 @@ func (mr *MockCronStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// FindName mocks base method
|
||||
func (m *MockCronStore) FindName(arg0 context.Context, arg1 int64, arg2 string) (*internal.Cron, error) {
|
||||
func (m *MockCronStore) FindName(arg0 context.Context, arg1 int64, arg2 string) (*core.Cron, error) {
|
||||
ret := m.ctrl.Call(m, "FindName", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Cron)
|
||||
ret0, _ := ret[0].(*core.Cron)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -683,9 +683,9 @@ func (mr *MockCronStoreMockRecorder) FindName(arg0, arg1, arg2 interface{}) *gom
|
|||
}
|
||||
|
||||
// List mocks base method
|
||||
func (m *MockCronStore) List(arg0 context.Context, arg1 int64) ([]*internal.Cron, error) {
|
||||
func (m *MockCronStore) List(arg0 context.Context, arg1 int64) ([]*core.Cron, error) {
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Cron)
|
||||
ret0, _ := ret[0].([]*core.Cron)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -696,9 +696,9 @@ func (mr *MockCronStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// Ready mocks base method
|
||||
func (m *MockCronStore) Ready(arg0 context.Context, arg1 int64) ([]*internal.Cron, error) {
|
||||
func (m *MockCronStore) Ready(arg0 context.Context, arg1 int64) ([]*core.Cron, error) {
|
||||
ret := m.ctrl.Call(m, "Ready", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Cron)
|
||||
ret0, _ := ret[0].([]*core.Cron)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -709,7 +709,7 @@ func (mr *MockCronStoreMockRecorder) Ready(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// Update mocks base method
|
||||
func (m *MockCronStore) Update(arg0 context.Context, arg1 *internal.Cron) error {
|
||||
func (m *MockCronStore) Update(arg0 context.Context, arg1 *core.Cron) error {
|
||||
ret := m.ctrl.Call(m, "Update", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -816,7 +816,7 @@ func (m *MockPermStore) EXPECT() *MockPermStoreMockRecorder {
|
|||
}
|
||||
|
||||
// Delete mocks base method
|
||||
func (m *MockPermStore) Delete(arg0 context.Context, arg1 *internal.Perm) error {
|
||||
func (m *MockPermStore) Delete(arg0 context.Context, arg1 *core.Perm) error {
|
||||
ret := m.ctrl.Call(m, "Delete", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -828,9 +828,9 @@ func (mr *MockPermStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockPermStore) Find(arg0 context.Context, arg1 string, arg2 int64) (*internal.Perm, error) {
|
||||
func (m *MockPermStore) Find(arg0 context.Context, arg1 string, arg2 int64) (*core.Perm, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Perm)
|
||||
ret0, _ := ret[0].(*core.Perm)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -841,9 +841,9 @@ func (mr *MockPermStoreMockRecorder) Find(arg0, arg1, arg2 interface{}) *gomock.
|
|||
}
|
||||
|
||||
// List mocks base method
|
||||
func (m *MockPermStore) List(arg0 context.Context, arg1 string) ([]*internal.Collaborator, error) {
|
||||
func (m *MockPermStore) List(arg0 context.Context, arg1 string) ([]*core.Collaborator, error) {
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Collaborator)
|
||||
ret0, _ := ret[0].([]*core.Collaborator)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -854,7 +854,7 @@ func (mr *MockPermStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// Update mocks base method
|
||||
func (m *MockPermStore) Update(arg0 context.Context, arg1 *internal.Perm) error {
|
||||
func (m *MockPermStore) Update(arg0 context.Context, arg1 *core.Perm) error {
|
||||
ret := m.ctrl.Call(m, "Update", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -889,7 +889,7 @@ func (m *MockSecretStore) EXPECT() *MockSecretStoreMockRecorder {
|
|||
}
|
||||
|
||||
// Create mocks base method
|
||||
func (m *MockSecretStore) Create(arg0 context.Context, arg1 *internal.Secret) error {
|
||||
func (m *MockSecretStore) Create(arg0 context.Context, arg1 *core.Secret) error {
|
||||
ret := m.ctrl.Call(m, "Create", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -901,7 +901,7 @@ func (mr *MockSecretStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Ca
|
|||
}
|
||||
|
||||
// Delete mocks base method
|
||||
func (m *MockSecretStore) Delete(arg0 context.Context, arg1 *internal.Secret) error {
|
||||
func (m *MockSecretStore) Delete(arg0 context.Context, arg1 *core.Secret) error {
|
||||
ret := m.ctrl.Call(m, "Delete", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -913,9 +913,9 @@ func (mr *MockSecretStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Ca
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockSecretStore) Find(arg0 context.Context, arg1 int64) (*internal.Secret, error) {
|
||||
func (m *MockSecretStore) Find(arg0 context.Context, arg1 int64) (*core.Secret, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.Secret)
|
||||
ret0, _ := ret[0].(*core.Secret)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -926,9 +926,9 @@ func (mr *MockSecretStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// FindName mocks base method
|
||||
func (m *MockSecretStore) FindName(arg0 context.Context, arg1 int64, arg2 string) (*internal.Secret, error) {
|
||||
func (m *MockSecretStore) FindName(arg0 context.Context, arg1 int64, arg2 string) (*core.Secret, error) {
|
||||
ret := m.ctrl.Call(m, "FindName", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Secret)
|
||||
ret0, _ := ret[0].(*core.Secret)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -939,9 +939,9 @@ func (mr *MockSecretStoreMockRecorder) FindName(arg0, arg1, arg2 interface{}) *g
|
|||
}
|
||||
|
||||
// List mocks base method
|
||||
func (m *MockSecretStore) List(arg0 context.Context, arg1 int64) ([]*internal.Secret, error) {
|
||||
func (m *MockSecretStore) List(arg0 context.Context, arg1 int64) ([]*core.Secret, error) {
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Secret)
|
||||
ret0, _ := ret[0].([]*core.Secret)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -952,7 +952,7 @@ func (mr *MockSecretStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// Update mocks base method
|
||||
func (m *MockSecretStore) Update(arg0 context.Context, arg1 *internal.Secret) error {
|
||||
func (m *MockSecretStore) Update(arg0 context.Context, arg1 *core.Secret) error {
|
||||
ret := m.ctrl.Call(m, "Update", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -987,7 +987,7 @@ func (m *MockStageStore) EXPECT() *MockStageStoreMockRecorder {
|
|||
}
|
||||
|
||||
// Create mocks base method
|
||||
func (m *MockStageStore) Create(arg0 context.Context, arg1 *internal.Stage) error {
|
||||
func (m *MockStageStore) Create(arg0 context.Context, arg1 *core.Stage) error {
|
||||
ret := m.ctrl.Call(m, "Create", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -999,9 +999,9 @@ func (mr *MockStageStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Cal
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockStageStore) Find(arg0 context.Context, arg1 int64) (*internal.Stage, error) {
|
||||
func (m *MockStageStore) Find(arg0 context.Context, arg1 int64) (*core.Stage, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.Stage)
|
||||
ret0, _ := ret[0].(*core.Stage)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1012,9 +1012,9 @@ func (mr *MockStageStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// FindNumber mocks base method
|
||||
func (m *MockStageStore) FindNumber(arg0 context.Context, arg1 int64, arg2 int) (*internal.Stage, error) {
|
||||
func (m *MockStageStore) FindNumber(arg0 context.Context, arg1 int64, arg2 int) (*core.Stage, error) {
|
||||
ret := m.ctrl.Call(m, "FindNumber", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Stage)
|
||||
ret0, _ := ret[0].(*core.Stage)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1025,9 +1025,9 @@ func (mr *MockStageStoreMockRecorder) FindNumber(arg0, arg1, arg2 interface{}) *
|
|||
}
|
||||
|
||||
// List mocks base method
|
||||
func (m *MockStageStore) List(arg0 context.Context, arg1 int64) ([]*internal.Stage, error) {
|
||||
func (m *MockStageStore) List(arg0 context.Context, arg1 int64) ([]*core.Stage, error) {
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Stage)
|
||||
ret0, _ := ret[0].([]*core.Stage)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1038,9 +1038,9 @@ func (mr *MockStageStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// ListIncomplete mocks base method
|
||||
func (m *MockStageStore) ListIncomplete(arg0 context.Context) ([]*internal.Stage, error) {
|
||||
func (m *MockStageStore) ListIncomplete(arg0 context.Context) ([]*core.Stage, error) {
|
||||
ret := m.ctrl.Call(m, "ListIncomplete", arg0)
|
||||
ret0, _ := ret[0].([]*internal.Stage)
|
||||
ret0, _ := ret[0].([]*core.Stage)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1051,9 +1051,9 @@ func (mr *MockStageStoreMockRecorder) ListIncomplete(arg0 interface{}) *gomock.C
|
|||
}
|
||||
|
||||
// ListState mocks base method
|
||||
func (m *MockStageStore) ListState(arg0 context.Context, arg1 string) ([]*internal.Stage, error) {
|
||||
func (m *MockStageStore) ListState(arg0 context.Context, arg1 string) ([]*core.Stage, error) {
|
||||
ret := m.ctrl.Call(m, "ListState", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Stage)
|
||||
ret0, _ := ret[0].([]*core.Stage)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1064,9 +1064,9 @@ func (mr *MockStageStoreMockRecorder) ListState(arg0, arg1 interface{}) *gomock.
|
|||
}
|
||||
|
||||
// ListSteps mocks base method
|
||||
func (m *MockStageStore) ListSteps(arg0 context.Context, arg1 int64) ([]*internal.Stage, error) {
|
||||
func (m *MockStageStore) ListSteps(arg0 context.Context, arg1 int64) ([]*core.Stage, error) {
|
||||
ret := m.ctrl.Call(m, "ListSteps", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Stage)
|
||||
ret0, _ := ret[0].([]*core.Stage)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1077,7 +1077,7 @@ func (mr *MockStageStoreMockRecorder) ListSteps(arg0, arg1 interface{}) *gomock.
|
|||
}
|
||||
|
||||
// Update mocks base method
|
||||
func (m *MockStageStore) Update(arg0 context.Context, arg1 *internal.Stage) error {
|
||||
func (m *MockStageStore) Update(arg0 context.Context, arg1 *core.Stage) error {
|
||||
ret := m.ctrl.Call(m, "Update", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1112,7 +1112,7 @@ func (m *MockStepStore) EXPECT() *MockStepStoreMockRecorder {
|
|||
}
|
||||
|
||||
// Create mocks base method
|
||||
func (m *MockStepStore) Create(arg0 context.Context, arg1 *internal.Step) error {
|
||||
func (m *MockStepStore) Create(arg0 context.Context, arg1 *core.Step) error {
|
||||
ret := m.ctrl.Call(m, "Create", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1124,9 +1124,9 @@ func (mr *MockStepStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockStepStore) Find(arg0 context.Context, arg1 int64) (*internal.Step, error) {
|
||||
func (m *MockStepStore) Find(arg0 context.Context, arg1 int64) (*core.Step, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.Step)
|
||||
ret0, _ := ret[0].(*core.Step)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1137,9 +1137,9 @@ func (mr *MockStepStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// FindNumber mocks base method
|
||||
func (m *MockStepStore) FindNumber(arg0 context.Context, arg1 int64, arg2 int) (*internal.Step, error) {
|
||||
func (m *MockStepStore) FindNumber(arg0 context.Context, arg1 int64, arg2 int) (*core.Step, error) {
|
||||
ret := m.ctrl.Call(m, "FindNumber", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Step)
|
||||
ret0, _ := ret[0].(*core.Step)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1150,9 +1150,9 @@ func (mr *MockStepStoreMockRecorder) FindNumber(arg0, arg1, arg2 interface{}) *g
|
|||
}
|
||||
|
||||
// List mocks base method
|
||||
func (m *MockStepStore) List(arg0 context.Context, arg1 int64) ([]*internal.Step, error) {
|
||||
func (m *MockStepStore) List(arg0 context.Context, arg1 int64) ([]*core.Step, error) {
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Step)
|
||||
ret0, _ := ret[0].([]*core.Step)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1163,7 +1163,7 @@ func (mr *MockStepStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// Update mocks base method
|
||||
func (m *MockStepStore) Update(arg0 context.Context, arg1 *internal.Step) error {
|
||||
func (m *MockStepStore) Update(arg0 context.Context, arg1 *core.Step) error {
|
||||
ret := m.ctrl.Call(m, "Update", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1198,7 +1198,7 @@ func (m *MockRepositoryStore) EXPECT() *MockRepositoryStoreMockRecorder {
|
|||
}
|
||||
|
||||
// Activate mocks base method
|
||||
func (m *MockRepositoryStore) Activate(arg0 context.Context, arg1 *internal.Repository) error {
|
||||
func (m *MockRepositoryStore) Activate(arg0 context.Context, arg1 *core.Repository) error {
|
||||
ret := m.ctrl.Call(m, "Activate", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1223,7 +1223,7 @@ func (mr *MockRepositoryStoreMockRecorder) Count(arg0 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// Create mocks base method
|
||||
func (m *MockRepositoryStore) Create(arg0 context.Context, arg1 *internal.Repository) error {
|
||||
func (m *MockRepositoryStore) Create(arg0 context.Context, arg1 *core.Repository) error {
|
||||
ret := m.ctrl.Call(m, "Create", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1235,7 +1235,7 @@ func (mr *MockRepositoryStoreMockRecorder) Create(arg0, arg1 interface{}) *gomoc
|
|||
}
|
||||
|
||||
// Delete mocks base method
|
||||
func (m *MockRepositoryStore) Delete(arg0 context.Context, arg1 *internal.Repository) error {
|
||||
func (m *MockRepositoryStore) Delete(arg0 context.Context, arg1 *core.Repository) error {
|
||||
ret := m.ctrl.Call(m, "Delete", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1247,9 +1247,9 @@ func (mr *MockRepositoryStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomoc
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockRepositoryStore) Find(arg0 context.Context, arg1 int64) (*internal.Repository, error) {
|
||||
func (m *MockRepositoryStore) Find(arg0 context.Context, arg1 int64) (*core.Repository, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.Repository)
|
||||
ret0, _ := ret[0].(*core.Repository)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1260,9 +1260,9 @@ func (mr *MockRepositoryStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.
|
|||
}
|
||||
|
||||
// FindName mocks base method
|
||||
func (m *MockRepositoryStore) FindName(arg0 context.Context, arg1, arg2 string) (*internal.Repository, error) {
|
||||
func (m *MockRepositoryStore) FindName(arg0 context.Context, arg1, arg2 string) (*core.Repository, error) {
|
||||
ret := m.ctrl.Call(m, "FindName", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Repository)
|
||||
ret0, _ := ret[0].(*core.Repository)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1273,9 +1273,9 @@ func (mr *MockRepositoryStoreMockRecorder) FindName(arg0, arg1, arg2 interface{}
|
|||
}
|
||||
|
||||
// Increment mocks base method
|
||||
func (m *MockRepositoryStore) Increment(arg0 context.Context, arg1 *internal.Repository) (*internal.Repository, error) {
|
||||
func (m *MockRepositoryStore) Increment(arg0 context.Context, arg1 *core.Repository) (*core.Repository, error) {
|
||||
ret := m.ctrl.Call(m, "Increment", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.Repository)
|
||||
ret0, _ := ret[0].(*core.Repository)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1286,9 +1286,9 @@ func (mr *MockRepositoryStoreMockRecorder) Increment(arg0, arg1 interface{}) *go
|
|||
}
|
||||
|
||||
// List mocks base method
|
||||
func (m *MockRepositoryStore) List(arg0 context.Context, arg1 int64) ([]*internal.Repository, error) {
|
||||
func (m *MockRepositoryStore) List(arg0 context.Context, arg1 int64) ([]*core.Repository, error) {
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Repository)
|
||||
ret0, _ := ret[0].([]*core.Repository)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1299,9 +1299,9 @@ func (mr *MockRepositoryStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.
|
|||
}
|
||||
|
||||
// ListIncomplete mocks base method
|
||||
func (m *MockRepositoryStore) ListIncomplete(arg0 context.Context) ([]*internal.Repository, error) {
|
||||
func (m *MockRepositoryStore) ListIncomplete(arg0 context.Context) ([]*core.Repository, error) {
|
||||
ret := m.ctrl.Call(m, "ListIncomplete", arg0)
|
||||
ret0, _ := ret[0].([]*internal.Repository)
|
||||
ret0, _ := ret[0].([]*core.Repository)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1312,9 +1312,9 @@ func (mr *MockRepositoryStoreMockRecorder) ListIncomplete(arg0 interface{}) *gom
|
|||
}
|
||||
|
||||
// ListLatest mocks base method
|
||||
func (m *MockRepositoryStore) ListLatest(arg0 context.Context, arg1 int64) ([]*internal.Repository, error) {
|
||||
func (m *MockRepositoryStore) ListLatest(arg0 context.Context, arg1 int64) ([]*core.Repository, error) {
|
||||
ret := m.ctrl.Call(m, "ListLatest", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Repository)
|
||||
ret0, _ := ret[0].([]*core.Repository)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1325,9 +1325,9 @@ func (mr *MockRepositoryStoreMockRecorder) ListLatest(arg0, arg1 interface{}) *g
|
|||
}
|
||||
|
||||
// ListRecent mocks base method
|
||||
func (m *MockRepositoryStore) ListRecent(arg0 context.Context, arg1 int64) ([]*internal.Repository, error) {
|
||||
func (m *MockRepositoryStore) ListRecent(arg0 context.Context, arg1 int64) ([]*core.Repository, error) {
|
||||
ret := m.ctrl.Call(m, "ListRecent", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Repository)
|
||||
ret0, _ := ret[0].([]*core.Repository)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1338,7 +1338,7 @@ func (mr *MockRepositoryStoreMockRecorder) ListRecent(arg0, arg1 interface{}) *g
|
|||
}
|
||||
|
||||
// Update mocks base method
|
||||
func (m *MockRepositoryStore) Update(arg0 context.Context, arg1 *internal.Repository) error {
|
||||
func (m *MockRepositoryStore) Update(arg0 context.Context, arg1 *core.Repository) error {
|
||||
ret := m.ctrl.Call(m, "Update", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1386,7 +1386,7 @@ func (mr *MockUserStoreMockRecorder) Count(arg0 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// Create mocks base method
|
||||
func (m *MockUserStore) Create(arg0 context.Context, arg1 *internal.User) error {
|
||||
func (m *MockUserStore) Create(arg0 context.Context, arg1 *core.User) error {
|
||||
ret := m.ctrl.Call(m, "Create", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1398,7 +1398,7 @@ func (mr *MockUserStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// Delete mocks base method
|
||||
func (m *MockUserStore) Delete(arg0 context.Context, arg1 *internal.User) error {
|
||||
func (m *MockUserStore) Delete(arg0 context.Context, arg1 *core.User) error {
|
||||
ret := m.ctrl.Call(m, "Delete", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1410,9 +1410,9 @@ func (mr *MockUserStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockUserStore) Find(arg0 context.Context, arg1 int64) (*internal.User, error) {
|
||||
func (m *MockUserStore) Find(arg0 context.Context, arg1 int64) (*core.User, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.User)
|
||||
ret0, _ := ret[0].(*core.User)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1423,9 +1423,9 @@ func (mr *MockUserStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// FindLogin mocks base method
|
||||
func (m *MockUserStore) FindLogin(arg0 context.Context, arg1 string) (*internal.User, error) {
|
||||
func (m *MockUserStore) FindLogin(arg0 context.Context, arg1 string) (*core.User, error) {
|
||||
ret := m.ctrl.Call(m, "FindLogin", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.User)
|
||||
ret0, _ := ret[0].(*core.User)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1436,9 +1436,9 @@ func (mr *MockUserStoreMockRecorder) FindLogin(arg0, arg1 interface{}) *gomock.C
|
|||
}
|
||||
|
||||
// FindToken mocks base method
|
||||
func (m *MockUserStore) FindToken(arg0 context.Context, arg1 string) (*internal.User, error) {
|
||||
func (m *MockUserStore) FindToken(arg0 context.Context, arg1 string) (*core.User, error) {
|
||||
ret := m.ctrl.Call(m, "FindToken", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.User)
|
||||
ret0, _ := ret[0].(*core.User)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1449,9 +1449,9 @@ func (mr *MockUserStoreMockRecorder) FindToken(arg0, arg1 interface{}) *gomock.C
|
|||
}
|
||||
|
||||
// List mocks base method
|
||||
func (m *MockUserStore) List(arg0 context.Context) ([]*internal.User, error) {
|
||||
func (m *MockUserStore) List(arg0 context.Context) ([]*core.User, error) {
|
||||
ret := m.ctrl.Call(m, "List", arg0)
|
||||
ret0, _ := ret[0].([]*internal.User)
|
||||
ret0, _ := ret[0].([]*core.User)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1462,7 +1462,7 @@ func (mr *MockUserStoreMockRecorder) List(arg0 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// Update mocks base method
|
||||
func (m *MockUserStore) Update(arg0 context.Context, arg1 *internal.User) error {
|
||||
func (m *MockUserStore) Update(arg0 context.Context, arg1 *core.User) error {
|
||||
ret := m.ctrl.Call(m, "Update", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1508,8 +1508,34 @@ func (mr *MockSchedulerMockRecorder) Cancel(arg0, arg1 interface{}) *gomock.Call
|
|||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Cancel", reflect.TypeOf((*MockScheduler)(nil).Cancel), arg0, arg1)
|
||||
}
|
||||
|
||||
// Cancelled mocks base method
|
||||
func (m *MockScheduler) Cancelled(arg0 context.Context, arg1 int64) (bool, error) {
|
||||
ret := m.ctrl.Call(m, "Cancelled", arg0, arg1)
|
||||
ret0, _ := ret[0].(bool)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// Cancelled indicates an expected call of Cancelled
|
||||
func (mr *MockSchedulerMockRecorder) Cancelled(arg0, arg1 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Cancelled", reflect.TypeOf((*MockScheduler)(nil).Cancelled), arg0, arg1)
|
||||
}
|
||||
|
||||
// Request mocks base method
|
||||
func (m *MockScheduler) Request(arg0 context.Context, arg1 core.Filter) (*core.Stage, error) {
|
||||
ret := m.ctrl.Call(m, "Request", arg0, arg1)
|
||||
ret0, _ := ret[0].(*core.Stage)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// Request indicates an expected call of Request
|
||||
func (mr *MockSchedulerMockRecorder) Request(arg0, arg1 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Request", reflect.TypeOf((*MockScheduler)(nil).Request), arg0, arg1)
|
||||
}
|
||||
|
||||
// Schedule mocks base method
|
||||
func (m *MockScheduler) Schedule(arg0 context.Context, arg1 *internal.Stage) error {
|
||||
func (m *MockScheduler) Schedule(arg0 context.Context, arg1 *core.Stage) error {
|
||||
ret := m.ctrl.Call(m, "Schedule", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1557,7 +1583,7 @@ func (m *MockSession) EXPECT() *MockSessionMockRecorder {
|
|||
}
|
||||
|
||||
// Create mocks base method
|
||||
func (m *MockSession) Create(arg0 http.ResponseWriter, arg1 *internal.User) error {
|
||||
func (m *MockSession) Create(arg0 http.ResponseWriter, arg1 *core.User) error {
|
||||
ret := m.ctrl.Call(m, "Create", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1581,9 +1607,9 @@ func (mr *MockSessionMockRecorder) Delete(arg0 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// Get mocks base method
|
||||
func (m *MockSession) Get(arg0 *http.Request) (*internal.User, error) {
|
||||
func (m *MockSession) Get(arg0 *http.Request) (*core.User, error) {
|
||||
ret := m.ctrl.Call(m, "Get", arg0)
|
||||
ret0, _ := ret[0].(*internal.User)
|
||||
ret0, _ := ret[0].(*core.User)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1617,9 +1643,9 @@ func (m *MockOrganizationService) EXPECT() *MockOrganizationServiceMockRecorder
|
|||
}
|
||||
|
||||
// List mocks base method
|
||||
func (m *MockOrganizationService) List(arg0 context.Context, arg1 *internal.User) ([]*internal.Organization, error) {
|
||||
func (m *MockOrganizationService) List(arg0 context.Context, arg1 *core.User) ([]*core.Organization, error) {
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Organization)
|
||||
ret0, _ := ret[0].([]*core.Organization)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1653,9 +1679,9 @@ func (m *MockSecretService) EXPECT() *MockSecretServiceMockRecorder {
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockSecretService) Find(arg0 context.Context, arg1 *internal.SecretArgs) (*internal.Secret, error) {
|
||||
func (m *MockSecretService) Find(arg0 context.Context, arg1 *core.SecretArgs) (*core.Secret, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.Secret)
|
||||
ret0, _ := ret[0].(*core.Secret)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1689,9 +1715,9 @@ func (m *MockRegistryService) EXPECT() *MockRegistryServiceMockRecorder {
|
|||
}
|
||||
|
||||
// List mocks base method
|
||||
func (m *MockRegistryService) List(arg0 context.Context, arg1 *internal.RegistryArgs) ([]*internal.Registry, error) {
|
||||
func (m *MockRegistryService) List(arg0 context.Context, arg1 *core.RegistryArgs) ([]*core.Registry, error) {
|
||||
ret := m.ctrl.Call(m, "List", arg0, arg1)
|
||||
ret0, _ := ret[0].([]*internal.Registry)
|
||||
ret0, _ := ret[0].([]*core.Registry)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1725,9 +1751,9 @@ func (m *MockConfigService) EXPECT() *MockConfigServiceMockRecorder {
|
|||
}
|
||||
|
||||
// Find mocks base method
|
||||
func (m *MockConfigService) Find(arg0 context.Context, arg1 *internal.ConfigArgs) (*internal.Config, error) {
|
||||
func (m *MockConfigService) Find(arg0 context.Context, arg1 *core.ConfigArgs) (*core.Config, error) {
|
||||
ret := m.ctrl.Call(m, "Find", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.Config)
|
||||
ret0, _ := ret[0].(*core.Config)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1761,9 +1787,9 @@ func (m *MockTriggerer) EXPECT() *MockTriggererMockRecorder {
|
|||
}
|
||||
|
||||
// Trigger mocks base method
|
||||
func (m *MockTriggerer) Trigger(arg0 context.Context, arg1 *internal.Repository, arg2 *internal.Hook) (*internal.Build, error) {
|
||||
func (m *MockTriggerer) Trigger(arg0 context.Context, arg1 *core.Repository, arg2 *core.Hook) (*core.Build, error) {
|
||||
ret := m.ctrl.Call(m, "Trigger", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(*internal.Build)
|
||||
ret0, _ := ret[0].(*core.Build)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1797,9 +1823,9 @@ func (m *MockSyncer) EXPECT() *MockSyncerMockRecorder {
|
|||
}
|
||||
|
||||
// Sync mocks base method
|
||||
func (m *MockSyncer) Sync(arg0 context.Context, arg1 *internal.User) (*internal.Batch, error) {
|
||||
func (m *MockSyncer) Sync(arg0 context.Context, arg1 *core.User) (*core.Batch, error) {
|
||||
ret := m.ctrl.Call(m, "Sync", arg0, arg1)
|
||||
ret0, _ := ret[0].(*internal.Batch)
|
||||
ret0, _ := ret[0].(*core.Batch)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1857,9 +1883,9 @@ func (mr *MockLogStreamMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
|
|||
}
|
||||
|
||||
// Info mocks base method
|
||||
func (m *MockLogStream) Info(arg0 context.Context) *internal.LogStreamInfo {
|
||||
func (m *MockLogStream) Info(arg0 context.Context) *core.LogStreamInfo {
|
||||
ret := m.ctrl.Call(m, "Info", arg0)
|
||||
ret0, _ := ret[0].(*internal.LogStreamInfo)
|
||||
ret0, _ := ret[0].(*core.LogStreamInfo)
|
||||
return ret0
|
||||
}
|
||||
|
||||
|
@ -1869,9 +1895,9 @@ func (mr *MockLogStreamMockRecorder) Info(arg0 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// Tail mocks base method
|
||||
func (m *MockLogStream) Tail(arg0 context.Context, arg1 int64) (<-chan *internal.Line, <-chan error) {
|
||||
func (m *MockLogStream) Tail(arg0 context.Context, arg1 int64) (<-chan *core.Line, <-chan error) {
|
||||
ret := m.ctrl.Call(m, "Tail", arg0, arg1)
|
||||
ret0, _ := ret[0].(<-chan *internal.Line)
|
||||
ret0, _ := ret[0].(<-chan *core.Line)
|
||||
ret1, _ := ret[1].(<-chan error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
@ -1882,7 +1908,7 @@ func (mr *MockLogStreamMockRecorder) Tail(arg0, arg1 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// Write mocks base method
|
||||
func (m *MockLogStream) Write(arg0 context.Context, arg1 int64, arg2 *internal.Line) error {
|
||||
func (m *MockLogStream) Write(arg0 context.Context, arg1 int64, arg2 *core.Line) error {
|
||||
ret := m.ctrl.Call(m, "Write", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
@ -1917,7 +1943,7 @@ func (m *MockWebhookSender) EXPECT() *MockWebhookSenderMockRecorder {
|
|||
}
|
||||
|
||||
// Send mocks base method
|
||||
func (m *MockWebhookSender) Send(arg0 context.Context, arg1 *internal.WebhookData) error {
|
||||
func (m *MockWebhookSender) Send(arg0 context.Context, arg1 *core.WebhookData) error {
|
||||
ret := m.ctrl.Call(m, "Send", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
|
|
Loading…
Reference in a new issue