Documentation
¶
Index ¶
- type MockMaintenanceScheduler
- func (_m *MockMaintenanceScheduler) EXPECT() *MockMaintenanceScheduler_Expecter
- func (_mock *MockMaintenanceScheduler) RunManual() error
- func (_mock *MockMaintenanceScheduler) Start() error
- func (_mock *MockMaintenanceScheduler) Stop()
- func (_mock *MockMaintenanceScheduler) UpdateSchedule(schedule string, enabled bool) error
- type MockMaintenanceScheduler_Expecter
- func (_e *MockMaintenanceScheduler_Expecter) RunManual() *MockMaintenanceScheduler_RunManual_Call
- func (_e *MockMaintenanceScheduler_Expecter) Start() *MockMaintenanceScheduler_Start_Call
- func (_e *MockMaintenanceScheduler_Expecter) Stop() *MockMaintenanceScheduler_Stop_Call
- func (_e *MockMaintenanceScheduler_Expecter) UpdateSchedule(schedule interface{}, enabled interface{}) *MockMaintenanceScheduler_UpdateSchedule_Call
- type MockMaintenanceScheduler_RunManual_Call
- func (_c *MockMaintenanceScheduler_RunManual_Call) Return(err error) *MockMaintenanceScheduler_RunManual_Call
- func (_c *MockMaintenanceScheduler_RunManual_Call) Run(run func()) *MockMaintenanceScheduler_RunManual_Call
- func (_c *MockMaintenanceScheduler_RunManual_Call) RunAndReturn(run func() error) *MockMaintenanceScheduler_RunManual_Call
- type MockMaintenanceScheduler_Start_Call
- func (_c *MockMaintenanceScheduler_Start_Call) Return(err error) *MockMaintenanceScheduler_Start_Call
- func (_c *MockMaintenanceScheduler_Start_Call) Run(run func()) *MockMaintenanceScheduler_Start_Call
- func (_c *MockMaintenanceScheduler_Start_Call) RunAndReturn(run func() error) *MockMaintenanceScheduler_Start_Call
- type MockMaintenanceScheduler_Stop_Call
- type MockMaintenanceScheduler_UpdateSchedule_Call
- func (_c *MockMaintenanceScheduler_UpdateSchedule_Call) Return(err error) *MockMaintenanceScheduler_UpdateSchedule_Call
- func (_c *MockMaintenanceScheduler_UpdateSchedule_Call) Run(run func(schedule string, enabled bool)) *MockMaintenanceScheduler_UpdateSchedule_Call
- func (_c *MockMaintenanceScheduler_UpdateSchedule_Call) RunAndReturn(run func(schedule string, enabled bool) error) *MockMaintenanceScheduler_UpdateSchedule_Call
- type MockMaintenanceService
- func (_m *MockMaintenanceService) EXPECT() *MockMaintenanceService_Expecter
- func (_mock *MockMaintenanceService) GetMaintenanceConfig() *model.MaintenanceConfig
- func (_mock *MockMaintenanceService) GetMaintenanceConfigByAction(actionType string) (*model.MaintenanceConfig, error)
- func (_mock *MockMaintenanceService) GetMaintenanceStats() (*model.MaintenanceStats, error)
- func (_mock *MockMaintenanceService) IsKubernetesCleanupAvailable() bool
- func (_mock *MockMaintenanceService) IsKubernetesEnvVarsConfigured() bool
- func (_mock *MockMaintenanceService) IsVacuumEnvVarsConfigured() bool
- func (_mock *MockMaintenanceService) RunKubernetesCleanup(ctx context.Context, dryRun bool) error
- func (_mock *MockMaintenanceService) RunMaintenance(ctx context.Context) error
- func (_mock *MockMaintenanceService) RunStaleAgentCleanup(ctx context.Context, staleDuration time.Duration) error
- func (_mock *MockMaintenanceService) SetKubernetesCleanupEnabled(enabled bool)
- func (_mock *MockMaintenanceService) SetKubernetesCleanupFunc(f func(ctx context.Context, dryRun bool) error)
- func (_mock *MockMaintenanceService) SetKubernetesEnvVarsConfigured(k8sEnvVarsSet bool)
- func (_mock *MockMaintenanceService) SetVacuumEnvVarsConfigured(vacuumEnvVarsSet bool)
- func (_mock *MockMaintenanceService) UpdateMaintenanceConfig(config *model.MaintenanceConfig) error
- func (_mock *MockMaintenanceService) UpdateMaintenanceConfigByAction(actionType string, config *model.MaintenanceConfig) error
- type MockMaintenanceService_Expecter
- func (_e *MockMaintenanceService_Expecter) GetMaintenanceConfig() *MockMaintenanceService_GetMaintenanceConfig_Call
- func (_e *MockMaintenanceService_Expecter) GetMaintenanceConfigByAction(actionType interface{}) *MockMaintenanceService_GetMaintenanceConfigByAction_Call
- func (_e *MockMaintenanceService_Expecter) GetMaintenanceStats() *MockMaintenanceService_GetMaintenanceStats_Call
- func (_e *MockMaintenanceService_Expecter) IsKubernetesCleanupAvailable() *MockMaintenanceService_IsKubernetesCleanupAvailable_Call
- func (_e *MockMaintenanceService_Expecter) IsKubernetesEnvVarsConfigured() *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call
- func (_e *MockMaintenanceService_Expecter) IsVacuumEnvVarsConfigured() *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call
- func (_e *MockMaintenanceService_Expecter) RunKubernetesCleanup(ctx interface{}, dryRun interface{}) *MockMaintenanceService_RunKubernetesCleanup_Call
- func (_e *MockMaintenanceService_Expecter) RunMaintenance(ctx interface{}) *MockMaintenanceService_RunMaintenance_Call
- func (_e *MockMaintenanceService_Expecter) RunStaleAgentCleanup(ctx interface{}, staleDuration interface{}) *MockMaintenanceService_RunStaleAgentCleanup_Call
- func (_e *MockMaintenanceService_Expecter) SetKubernetesCleanupEnabled(enabled interface{}) *MockMaintenanceService_SetKubernetesCleanupEnabled_Call
- func (_e *MockMaintenanceService_Expecter) SetKubernetesCleanupFunc(f interface{}) *MockMaintenanceService_SetKubernetesCleanupFunc_Call
- func (_e *MockMaintenanceService_Expecter) SetKubernetesEnvVarsConfigured(k8sEnvVarsSet interface{}) *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call
- func (_e *MockMaintenanceService_Expecter) SetVacuumEnvVarsConfigured(vacuumEnvVarsSet interface{}) *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call
- func (_e *MockMaintenanceService_Expecter) UpdateMaintenanceConfig(config interface{}) *MockMaintenanceService_UpdateMaintenanceConfig_Call
- func (_e *MockMaintenanceService_Expecter) UpdateMaintenanceConfigByAction(actionType interface{}, config interface{}) *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call
- type MockMaintenanceService_GetMaintenanceConfigByAction_Call
- func (_c *MockMaintenanceService_GetMaintenanceConfigByAction_Call) Return(maintenanceConfig *model.MaintenanceConfig, err error) *MockMaintenanceService_GetMaintenanceConfigByAction_Call
- func (_c *MockMaintenanceService_GetMaintenanceConfigByAction_Call) Run(run func(actionType string)) *MockMaintenanceService_GetMaintenanceConfigByAction_Call
- func (_c *MockMaintenanceService_GetMaintenanceConfigByAction_Call) RunAndReturn(run func(actionType string) (*model.MaintenanceConfig, error)) *MockMaintenanceService_GetMaintenanceConfigByAction_Call
- type MockMaintenanceService_GetMaintenanceConfig_Call
- func (_c *MockMaintenanceService_GetMaintenanceConfig_Call) Return(maintenanceConfig *model.MaintenanceConfig) *MockMaintenanceService_GetMaintenanceConfig_Call
- func (_c *MockMaintenanceService_GetMaintenanceConfig_Call) Run(run func()) *MockMaintenanceService_GetMaintenanceConfig_Call
- func (_c *MockMaintenanceService_GetMaintenanceConfig_Call) RunAndReturn(run func() *model.MaintenanceConfig) *MockMaintenanceService_GetMaintenanceConfig_Call
- type MockMaintenanceService_GetMaintenanceStats_Call
- func (_c *MockMaintenanceService_GetMaintenanceStats_Call) Return(maintenanceStats *model.MaintenanceStats, err error) *MockMaintenanceService_GetMaintenanceStats_Call
- func (_c *MockMaintenanceService_GetMaintenanceStats_Call) Run(run func()) *MockMaintenanceService_GetMaintenanceStats_Call
- func (_c *MockMaintenanceService_GetMaintenanceStats_Call) RunAndReturn(run func() (*model.MaintenanceStats, error)) *MockMaintenanceService_GetMaintenanceStats_Call
- type MockMaintenanceService_IsKubernetesCleanupAvailable_Call
- func (_c *MockMaintenanceService_IsKubernetesCleanupAvailable_Call) Return(b bool) *MockMaintenanceService_IsKubernetesCleanupAvailable_Call
- func (_c *MockMaintenanceService_IsKubernetesCleanupAvailable_Call) Run(run func()) *MockMaintenanceService_IsKubernetesCleanupAvailable_Call
- func (_c *MockMaintenanceService_IsKubernetesCleanupAvailable_Call) RunAndReturn(run func() bool) *MockMaintenanceService_IsKubernetesCleanupAvailable_Call
- type MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call) Return(b bool) *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call) Run(run func()) *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call) RunAndReturn(run func() bool) *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call
- type MockMaintenanceService_IsVacuumEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call) Return(b bool) *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call) Run(run func()) *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call) RunAndReturn(run func() bool) *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call
- type MockMaintenanceService_RunKubernetesCleanup_Call
- func (_c *MockMaintenanceService_RunKubernetesCleanup_Call) Return(err error) *MockMaintenanceService_RunKubernetesCleanup_Call
- func (_c *MockMaintenanceService_RunKubernetesCleanup_Call) Run(run func(ctx context.Context, dryRun bool)) *MockMaintenanceService_RunKubernetesCleanup_Call
- func (_c *MockMaintenanceService_RunKubernetesCleanup_Call) RunAndReturn(run func(ctx context.Context, dryRun bool) error) *MockMaintenanceService_RunKubernetesCleanup_Call
- type MockMaintenanceService_RunMaintenance_Call
- func (_c *MockMaintenanceService_RunMaintenance_Call) Return(err error) *MockMaintenanceService_RunMaintenance_Call
- func (_c *MockMaintenanceService_RunMaintenance_Call) Run(run func(ctx context.Context)) *MockMaintenanceService_RunMaintenance_Call
- func (_c *MockMaintenanceService_RunMaintenance_Call) RunAndReturn(run func(ctx context.Context) error) *MockMaintenanceService_RunMaintenance_Call
- type MockMaintenanceService_RunStaleAgentCleanup_Call
- func (_c *MockMaintenanceService_RunStaleAgentCleanup_Call) Return(err error) *MockMaintenanceService_RunStaleAgentCleanup_Call
- func (_c *MockMaintenanceService_RunStaleAgentCleanup_Call) Run(run func(ctx context.Context, staleDuration time.Duration)) *MockMaintenanceService_RunStaleAgentCleanup_Call
- func (_c *MockMaintenanceService_RunStaleAgentCleanup_Call) RunAndReturn(run func(ctx context.Context, staleDuration time.Duration) error) *MockMaintenanceService_RunStaleAgentCleanup_Call
- type MockMaintenanceService_SetKubernetesCleanupEnabled_Call
- func (_c *MockMaintenanceService_SetKubernetesCleanupEnabled_Call) Return() *MockMaintenanceService_SetKubernetesCleanupEnabled_Call
- func (_c *MockMaintenanceService_SetKubernetesCleanupEnabled_Call) Run(run func(enabled bool)) *MockMaintenanceService_SetKubernetesCleanupEnabled_Call
- func (_c *MockMaintenanceService_SetKubernetesCleanupEnabled_Call) RunAndReturn(run func(enabled bool)) *MockMaintenanceService_SetKubernetesCleanupEnabled_Call
- type MockMaintenanceService_SetKubernetesCleanupFunc_Call
- func (_c *MockMaintenanceService_SetKubernetesCleanupFunc_Call) Return() *MockMaintenanceService_SetKubernetesCleanupFunc_Call
- func (_c *MockMaintenanceService_SetKubernetesCleanupFunc_Call) Run(run func(f func(ctx context.Context, dryRun bool) error)) *MockMaintenanceService_SetKubernetesCleanupFunc_Call
- func (_c *MockMaintenanceService_SetKubernetesCleanupFunc_Call) RunAndReturn(run func(f func(ctx context.Context, dryRun bool) error)) *MockMaintenanceService_SetKubernetesCleanupFunc_Call
- type MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call) Return() *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call) Run(run func(k8sEnvVarsSet bool)) *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call) RunAndReturn(run func(k8sEnvVarsSet bool)) *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call
- type MockMaintenanceService_SetVacuumEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call) Return() *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call) Run(run func(vacuumEnvVarsSet bool)) *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call
- func (_c *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call) RunAndReturn(run func(vacuumEnvVarsSet bool)) *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call
- type MockMaintenanceService_UpdateMaintenanceConfigByAction_Call
- func (_c *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call) Return(err error) *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call
- func (_c *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call) Run(run func(actionType string, config *model.MaintenanceConfig)) *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call
- func (_c *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call) RunAndReturn(run func(actionType string, config *model.MaintenanceConfig) error) *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call
- type MockMaintenanceService_UpdateMaintenanceConfig_Call
- func (_c *MockMaintenanceService_UpdateMaintenanceConfig_Call) Return(err error) *MockMaintenanceService_UpdateMaintenanceConfig_Call
- func (_c *MockMaintenanceService_UpdateMaintenanceConfig_Call) Run(run func(config *model.MaintenanceConfig)) *MockMaintenanceService_UpdateMaintenanceConfig_Call
- func (_c *MockMaintenanceService_UpdateMaintenanceConfig_Call) RunAndReturn(run func(config *model.MaintenanceConfig) error) *MockMaintenanceService_UpdateMaintenanceConfig_Call
- type MockManager
- func (_mock *MockManager) ConfigServiceFromRepo(repo *model.Repo) config.Service
- func (_m *MockManager) EXPECT() *MockManager_Expecter
- func (_mock *MockManager) EnvironmentService() environment.Service
- func (_mock *MockManager) ForgeByID(forgeID int64) (forge.Forge, error)
- func (_mock *MockManager) ForgeFromRepo(repo *model.Repo) (forge.Forge, error)
- func (_mock *MockManager) ForgeFromUser(user *model.User) (forge.Forge, error)
- func (_mock *MockManager) RegistryService() registry.Service
- func (_mock *MockManager) RegistryServiceFromRepo(repo *model.Repo) registry.Service
- func (_mock *MockManager) SecretService() secret.Service
- func (_mock *MockManager) SecretServiceFromRepo(repo *model.Repo) secret.Service
- func (_mock *MockManager) SignaturePublicKey() crypto.PublicKey
- type MockManager_ConfigServiceFromRepo_Call
- func (_c *MockManager_ConfigServiceFromRepo_Call) Return(service config.Service) *MockManager_ConfigServiceFromRepo_Call
- func (_c *MockManager_ConfigServiceFromRepo_Call) Run(run func(repo *model.Repo)) *MockManager_ConfigServiceFromRepo_Call
- func (_c *MockManager_ConfigServiceFromRepo_Call) RunAndReturn(run func(repo *model.Repo) config.Service) *MockManager_ConfigServiceFromRepo_Call
- type MockManager_EnvironmentService_Call
- func (_c *MockManager_EnvironmentService_Call) Return(service environment.Service) *MockManager_EnvironmentService_Call
- func (_c *MockManager_EnvironmentService_Call) Run(run func()) *MockManager_EnvironmentService_Call
- func (_c *MockManager_EnvironmentService_Call) RunAndReturn(run func() environment.Service) *MockManager_EnvironmentService_Call
- type MockManager_Expecter
- func (_e *MockManager_Expecter) ConfigServiceFromRepo(repo interface{}) *MockManager_ConfigServiceFromRepo_Call
- func (_e *MockManager_Expecter) EnvironmentService() *MockManager_EnvironmentService_Call
- func (_e *MockManager_Expecter) ForgeByID(forgeID interface{}) *MockManager_ForgeByID_Call
- func (_e *MockManager_Expecter) ForgeFromRepo(repo interface{}) *MockManager_ForgeFromRepo_Call
- func (_e *MockManager_Expecter) ForgeFromUser(user interface{}) *MockManager_ForgeFromUser_Call
- func (_e *MockManager_Expecter) RegistryService() *MockManager_RegistryService_Call
- func (_e *MockManager_Expecter) RegistryServiceFromRepo(repo interface{}) *MockManager_RegistryServiceFromRepo_Call
- func (_e *MockManager_Expecter) SecretService() *MockManager_SecretService_Call
- func (_e *MockManager_Expecter) SecretServiceFromRepo(repo interface{}) *MockManager_SecretServiceFromRepo_Call
- func (_e *MockManager_Expecter) SignaturePublicKey() *MockManager_SignaturePublicKey_Call
- type MockManager_ForgeByID_Call
- func (_c *MockManager_ForgeByID_Call) Return(forge1 forge.Forge, err error) *MockManager_ForgeByID_Call
- func (_c *MockManager_ForgeByID_Call) Run(run func(forgeID int64)) *MockManager_ForgeByID_Call
- func (_c *MockManager_ForgeByID_Call) RunAndReturn(run func(forgeID int64) (forge.Forge, error)) *MockManager_ForgeByID_Call
- type MockManager_ForgeFromRepo_Call
- func (_c *MockManager_ForgeFromRepo_Call) Return(forge1 forge.Forge, err error) *MockManager_ForgeFromRepo_Call
- func (_c *MockManager_ForgeFromRepo_Call) Run(run func(repo *model.Repo)) *MockManager_ForgeFromRepo_Call
- func (_c *MockManager_ForgeFromRepo_Call) RunAndReturn(run func(repo *model.Repo) (forge.Forge, error)) *MockManager_ForgeFromRepo_Call
- type MockManager_ForgeFromUser_Call
- func (_c *MockManager_ForgeFromUser_Call) Return(forge1 forge.Forge, err error) *MockManager_ForgeFromUser_Call
- func (_c *MockManager_ForgeFromUser_Call) Run(run func(user *model.User)) *MockManager_ForgeFromUser_Call
- func (_c *MockManager_ForgeFromUser_Call) RunAndReturn(run func(user *model.User) (forge.Forge, error)) *MockManager_ForgeFromUser_Call
- type MockManager_RegistryServiceFromRepo_Call
- func (_c *MockManager_RegistryServiceFromRepo_Call) Return(service registry.Service) *MockManager_RegistryServiceFromRepo_Call
- func (_c *MockManager_RegistryServiceFromRepo_Call) Run(run func(repo *model.Repo)) *MockManager_RegistryServiceFromRepo_Call
- func (_c *MockManager_RegistryServiceFromRepo_Call) RunAndReturn(run func(repo *model.Repo) registry.Service) *MockManager_RegistryServiceFromRepo_Call
- type MockManager_RegistryService_Call
- func (_c *MockManager_RegistryService_Call) Return(service registry.Service) *MockManager_RegistryService_Call
- func (_c *MockManager_RegistryService_Call) Run(run func()) *MockManager_RegistryService_Call
- func (_c *MockManager_RegistryService_Call) RunAndReturn(run func() registry.Service) *MockManager_RegistryService_Call
- type MockManager_SecretServiceFromRepo_Call
- func (_c *MockManager_SecretServiceFromRepo_Call) Return(service secret.Service) *MockManager_SecretServiceFromRepo_Call
- func (_c *MockManager_SecretServiceFromRepo_Call) Run(run func(repo *model.Repo)) *MockManager_SecretServiceFromRepo_Call
- func (_c *MockManager_SecretServiceFromRepo_Call) RunAndReturn(run func(repo *model.Repo) secret.Service) *MockManager_SecretServiceFromRepo_Call
- type MockManager_SecretService_Call
- func (_c *MockManager_SecretService_Call) Return(service secret.Service) *MockManager_SecretService_Call
- func (_c *MockManager_SecretService_Call) Run(run func()) *MockManager_SecretService_Call
- func (_c *MockManager_SecretService_Call) RunAndReturn(run func() secret.Service) *MockManager_SecretService_Call
- type MockManager_SignaturePublicKey_Call
- func (_c *MockManager_SignaturePublicKey_Call) Return(publicKey crypto.PublicKey) *MockManager_SignaturePublicKey_Call
- func (_c *MockManager_SignaturePublicKey_Call) Run(run func()) *MockManager_SignaturePublicKey_Call
- func (_c *MockManager_SignaturePublicKey_Call) RunAndReturn(run func() crypto.PublicKey) *MockManager_SignaturePublicKey_Call
- type MockSetupForge
- type MockSetupForge_Execute_Call
- func (_c *MockSetupForge_Execute_Call) Return(_a0 forge.Forge, _a1 error) *MockSetupForge_Execute_Call
- func (_c *MockSetupForge_Execute_Call) Run(run func(_a0 *model.Forge)) *MockSetupForge_Execute_Call
- func (_c *MockSetupForge_Execute_Call) RunAndReturn(run func(*model.Forge) (forge.Forge, error)) *MockSetupForge_Execute_Call
- type MockSetupForge_Expecter
- type MockStore
- func (_mock *MockStore) AgentCreate(agent *model.Agent) error
- func (_mock *MockStore) AgentDelete(agent *model.Agent) error
- func (_mock *MockStore) AgentFind(n int64) (*model.Agent, error)
- func (_mock *MockStore) AgentFindByToken(s string) (*model.Agent, error)
- func (_mock *MockStore) AgentList(opts *model.AgentListOptions) ([]*model.Agent, error)
- func (_mock *MockStore) AgentListForOrg(orgID int64, opt *model.ListOptions) ([]*model.Agent, error)
- func (_mock *MockStore) AgentUpdate(agent *model.Agent) error
- func (_mock *MockStore) AutoscalerCreate(autoscaler *model.Autoscaler) error
- func (_mock *MockStore) AutoscalerDelete(autoscaler *model.Autoscaler) error
- func (_mock *MockStore) AutoscalerFind(n int64) (*model.Autoscaler, error)
- func (_mock *MockStore) AutoscalerFindByName(s string) (*model.Autoscaler, error)
- func (_mock *MockStore) AutoscalerFindByToken(s string) (*model.Autoscaler, error)
- func (_mock *MockStore) AutoscalerList(opts *model.AutoscalerListOptions) ([]*model.Autoscaler, error)
- func (_mock *MockStore) AutoscalerUpdate(autoscaler *model.Autoscaler) error
- func (_mock *MockStore) AutoscalerUpdateHeartbeat(id int64, activeAgents int32, pendingAgents int32, version string) error
- func (_mock *MockStore) CacheCleanupExpired(cutoff int64) error
- func (_mock *MockStore) CacheDelete(key string) error
- func (_mock *MockStore) CacheGet(key string) (*model.CacheEntry, error)
- func (_mock *MockStore) CacheSet(entry *model.CacheEntry) error
- func (_mock *MockStore) CleanupOrphanedWorkflows(workflowIDs []string) error
- func (_mock *MockStore) Close() error
- func (_mock *MockStore) ConfigPersist(config *model.Config) (*model.Config, error)
- func (_mock *MockStore) ConfigsForPipeline(pipelineID int64) ([]*model.Config, error)
- func (_mock *MockStore) CreatePipeline(pipeline *model.Pipeline, steps ...*model.Step) error
- func (_mock *MockStore) CreateRedirection(redirection *model.Redirection) error
- func (_mock *MockStore) CreateRepo(repo *model.Repo) error
- func (_mock *MockStore) CreateUser(user *model.User) error
- func (_mock *MockStore) CronCreate(cron *model.Cron) error
- func (_mock *MockStore) CronDelete(repo *model.Repo, n int64) error
- func (_mock *MockStore) CronFind(repo *model.Repo, n int64) (*model.Cron, error)
- func (_mock *MockStore) CronGetLock(cron *model.Cron, n int64) (bool, error)
- func (_mock *MockStore) CronList(repo *model.Repo, listOptions *model.ListOptions) ([]*model.Cron, error)
- func (_mock *MockStore) CronListNextExecute(n int64, n1 int64) ([]*model.Cron, error)
- func (_mock *MockStore) CronUpdate(repo *model.Repo, cron *model.Cron) error
- func (_mock *MockStore) DeletePipeline(pipeline *model.Pipeline) error
- func (_mock *MockStore) DeleteRepo(repo *model.Repo) error
- func (_mock *MockStore) DeleteUser(user *model.User) error
- func (_mock *MockStore) DistributedLockAcquire(lockName string, instanceID string, ttlSeconds int64) (bool, error)
- func (_mock *MockStore) DistributedLockCleanup() error
- func (_mock *MockStore) DistributedLockExtend(lockName string, instanceID string, ttlSeconds int64) (bool, error)
- func (_mock *MockStore) DistributedLockInit() error
- func (_mock *MockStore) DistributedLockList() ([]*model.DistributedLock, error)
- func (_mock *MockStore) DistributedLockRelease(lockName string, instanceID string) error
- func (_m *MockStore) EXPECT() *MockStore_Expecter
- func (_mock *MockStore) ForgeCreate(forge *model.Forge) error
- func (_mock *MockStore) ForgeDelete(forge *model.Forge) error
- func (_mock *MockStore) ForgeGet(n int64) (*model.Forge, error)
- func (_mock *MockStore) ForgeList(p *model.ListOptions) ([]*model.Forge, error)
- func (_mock *MockStore) ForgeUpdate(forge *model.Forge) error
- func (_mock *MockStore) GetActivePipelineList(repo *model.Repo) ([]*model.Pipeline, error)
- func (_mock *MockStore) GetPipeline(n int64) (*model.Pipeline, error)
- func (_mock *MockStore) GetPipelineBadge(repo *model.Repo, s string) (*model.Pipeline, error)
- func (_mock *MockStore) GetPipelineCount() (int64, error)
- func (_mock *MockStore) GetPipelineCountByRepo(n int64) (int64, error)
- func (_mock *MockStore) GetPipelineLast(repo *model.Repo, s string) (*model.Pipeline, error)
- func (_mock *MockStore) GetPipelineLastBefore(repo *model.Repo, s string, n int64) (*model.Pipeline, error)
- func (_mock *MockStore) GetPipelineList(repo *model.Repo, listOptions *model.ListOptions, ...) ([]*model.Pipeline, error)
- func (_mock *MockStore) GetPipelineListKeyset(repo *model.Repo, startID int64, beforeDate int64, limit int) ([]*model.Pipeline, error)
- func (_mock *MockStore) GetPipelineLogPurged(pipeline *model.Pipeline) (bool, error)
- func (_mock *MockStore) GetPipelineNumber(repo *model.Repo, n int64) (*model.Pipeline, error)
- func (_mock *MockStore) GetPipelineQueue() ([]*model.Feed, error)
- func (_mock *MockStore) GetRepo(n int64) (*model.Repo, error)
- func (_mock *MockStore) GetRepoCount() (int64, error)
- func (_mock *MockStore) GetRepoForgeID(forgeRemoteID model.ForgeRemoteID) (*model.Repo, error)
- func (_mock *MockStore) GetRepoLatestPipelines(int64s []int64) ([]*model.Pipeline, error)
- func (_mock *MockStore) GetRepoName(s string) (*model.Repo, error)
- func (_mock *MockStore) GetRepoNameFallback(remoteID model.ForgeRemoteID, fullName string) (*model.Repo, error)
- func (_mock *MockStore) GetUser(n int64) (*model.User, error)
- func (_mock *MockStore) GetUserCount() (int64, error)
- func (_mock *MockStore) GetUserList(p *model.ListOptions) ([]*model.User, error)
- func (_mock *MockStore) GetUserLogin(s string) (*model.User, error)
- func (_mock *MockStore) GetUserRemoteID(forgeRemoteID model.ForgeRemoteID, s string) (*model.User, error)
- func (_mock *MockStore) GlobalRegistryFind(s string) (*model.Registry, error)
- func (_mock *MockStore) GlobalRegistryList(listOptions *model.ListOptions) ([]*model.Registry, error)
- func (_mock *MockStore) GlobalSecretFind(s string) (*model.Secret, error)
- func (_mock *MockStore) GlobalSecretList(listOptions *model.ListOptions) ([]*model.Secret, error)
- func (_mock *MockStore) HasRedirectionForRepo(n int64, s string) (bool, error)
- func (_mock *MockStore) LogAppend(step *model.Step, logEntrys []*model.LogEntry) error
- func (_mock *MockStore) LogDelete(step *model.Step) error
- func (_mock *MockStore) LogFind(step *model.Step) ([]*model.LogEntry, error)
- func (_mock *MockStore) LogFindAfter(stepID int64, afterLogID int64) ([]*model.LogEntry, error)
- func (_mock *MockStore) MaintenanceConfigGet() (*model.MaintenanceConfig, error)
- func (_mock *MockStore) MaintenanceConfigGetByActionType(actionType string) (*model.MaintenanceConfig, error)
- func (_mock *MockStore) MaintenanceConfigUpdate(maintenanceConfig *model.MaintenanceConfig) error
- func (_mock *MockStore) MaintenanceConfigUpdateByActionType(actionType string, config *model.MaintenanceConfig) error
- func (_mock *MockStore) MaintenanceLogCreate(maintenanceLog *model.MaintenanceLog) error
- func (_mock *MockStore) MaintenanceLogList(limit int) ([]*model.MaintenanceLog, error)
- func (_mock *MockStore) MaintenanceRunMySQL(context1 context.Context) error
- func (_mock *MockStore) MaintenanceRunPostgreSQL(context1 context.Context) error
- func (_mock *MockStore) MaintenanceRunSQLite(context1 context.Context) error
- func (_mock *MockStore) MaintenanceStatsGet() (*model.MaintenanceStats, error)
- func (_mock *MockStore) MaintenanceStatsUpdate(maintenanceStats *model.MaintenanceStats) error
- func (_mock *MockStore) Migrate(context1 context.Context, b bool) error
- func (_mock *MockStore) OrgCreate(org *model.Org) error
- func (_mock *MockStore) OrgDelete(n int64) error
- func (_mock *MockStore) OrgFindByName(s string, n int64) (*model.Org, error)
- func (_mock *MockStore) OrgGet(n int64) (*model.Org, error)
- func (_mock *MockStore) OrgList(listOptions *model.ListOptions) ([]*model.Org, error)
- func (_mock *MockStore) OrgRegistryFind(n int64, s string) (*model.Registry, error)
- func (_mock *MockStore) OrgRegistryList(n int64, listOptions *model.ListOptions) ([]*model.Registry, error)
- func (_mock *MockStore) OrgRepoList(org *model.Org, listOptions *model.ListOptions) ([]*model.Repo, error)
- func (_mock *MockStore) OrgSecretFind(n int64, s string) (*model.Secret, error)
- func (_mock *MockStore) OrgSecretList(n int64, listOptions *model.ListOptions) ([]*model.Secret, error)
- func (_mock *MockStore) OrgUpdate(org *model.Org) error
- func (_mock *MockStore) PermFind(user *model.User, repo *model.Repo) (*model.Perm, error)
- func (_mock *MockStore) PermUpsert(perm *model.Perm) error
- func (_mock *MockStore) Ping() error
- func (_mock *MockStore) PipelineConfigCreate(pipelineConfig *model.PipelineConfig) error
- func (_mock *MockStore) PubSubMessageCleanupOlderThan(timestamp int64) error
- func (_mock *MockStore) PubSubMessageInsert(msg *model.DistributedMessage) error
- func (_mock *MockStore) PubSubMessageListAfter(timestamp int64) ([]*model.DistributedMessage, error)
- func (_mock *MockStore) RegistryCreate(registry *model.Registry) error
- func (_mock *MockStore) RegistryDelete(registry *model.Registry) error
- func (_mock *MockStore) RegistryFind(repo *model.Repo, s string) (*model.Registry, error)
- func (_mock *MockStore) RegistryList(repo *model.Repo, b bool, listOptions *model.ListOptions) ([]*model.Registry, error)
- func (_mock *MockStore) RegistryListAll() ([]*model.Registry, error)
- func (_mock *MockStore) RegistryUpdate(registry *model.Registry) error
- func (_mock *MockStore) RepoList(user *model.User, owned bool, active bool) ([]*model.Repo, error)
- func (_mock *MockStore) RepoListAll(active bool, p *model.ListOptions) ([]*model.Repo, error)
- func (_mock *MockStore) RepoListLatest(user *model.User) ([]*model.Feed, error)
- func (_mock *MockStore) SecretCreate(secret *model.Secret) error
- func (_mock *MockStore) SecretDelete(secret *model.Secret) error
- func (_mock *MockStore) SecretFind(repo *model.Repo, s string) (*model.Secret, error)
- func (_mock *MockStore) SecretList(repo *model.Repo, b bool, listOptions *model.ListOptions) ([]*model.Secret, error)
- func (_mock *MockStore) SecretListAll() ([]*model.Secret, error)
- func (_mock *MockStore) SecretUpdate(secret *model.Secret) error
- func (_mock *MockStore) ServerConfigDelete(s string) error
- func (_mock *MockStore) ServerConfigGet(s string) (string, error)
- func (_mock *MockStore) ServerConfigSet(s string, s1 string) error
- func (_mock *MockStore) SetPipelineLogPurged(pipeline *model.Pipeline) error
- func (_mock *MockStore) StepByUUID(s string) (*model.Step, error)
- func (_mock *MockStore) StepChild(pipeline *model.Pipeline, n int, s string) (*model.Step, error)
- func (_mock *MockStore) StepFind(pipeline *model.Pipeline, n int) (*model.Step, error)
- func (_mock *MockStore) StepList(pipeline *model.Pipeline) ([]*model.Step, error)
- func (_mock *MockStore) StepListFromWorkflowFind(workflow *model.Workflow) ([]*model.Step, error)
- func (_mock *MockStore) StepLoad(n int64) (*model.Step, error)
- func (_mock *MockStore) StepUpdate(step *model.Step) error
- func (_mock *MockStore) TaskAtomicAssign(taskID string, agentID int64) (bool, error)
- func (_mock *MockStore) TaskDelete(s string) error
- func (_mock *MockStore) TaskInsert(task *model.Task) error
- func (_mock *MockStore) TaskList() ([]*model.Task, error)
- func (_mock *MockStore) TaskListPending() ([]*model.Task, error)
- func (_mock *MockStore) TaskUpdate(task *model.Task) error
- func (_mock *MockStore) UpdatePipeline(pipeline *model.Pipeline) error
- func (_mock *MockStore) UpdateRepo(repo *model.Repo) error
- func (_mock *MockStore) UpdateUser(user *model.User) error
- func (_mock *MockStore) UserFeed(user *model.User) ([]*model.Feed, error)
- func (_mock *MockStore) WorkflowGetTree(pipeline *model.Pipeline) ([]*model.Workflow, error)
- func (_mock *MockStore) WorkflowLoad(n int64) (*model.Workflow, error)
- func (_mock *MockStore) WorkflowUpdate(workflow *model.Workflow) error
- func (_mock *MockStore) WorkflowsCreate(workflows []*model.Workflow) error
- func (_mock *MockStore) WorkflowsReplace(pipeline *model.Pipeline, workflows []*model.Workflow) error
- type MockStore_AgentCreate_Call
- type MockStore_AgentDelete_Call
- type MockStore_AgentFindByToken_Call
- func (_c *MockStore_AgentFindByToken_Call) Return(agent *model.Agent, err error) *MockStore_AgentFindByToken_Call
- func (_c *MockStore_AgentFindByToken_Call) Run(run func(s string)) *MockStore_AgentFindByToken_Call
- func (_c *MockStore_AgentFindByToken_Call) RunAndReturn(run func(s string) (*model.Agent, error)) *MockStore_AgentFindByToken_Call
- type MockStore_AgentFind_Call
- func (_c *MockStore_AgentFind_Call) Return(agent *model.Agent, err error) *MockStore_AgentFind_Call
- func (_c *MockStore_AgentFind_Call) Run(run func(n int64)) *MockStore_AgentFind_Call
- func (_c *MockStore_AgentFind_Call) RunAndReturn(run func(n int64) (*model.Agent, error)) *MockStore_AgentFind_Call
- type MockStore_AgentListForOrg_Call
- func (_c *MockStore_AgentListForOrg_Call) Return(agents []*model.Agent, err error) *MockStore_AgentListForOrg_Call
- func (_c *MockStore_AgentListForOrg_Call) Run(run func(orgID int64, opt *model.ListOptions)) *MockStore_AgentListForOrg_Call
- func (_c *MockStore_AgentListForOrg_Call) RunAndReturn(run func(orgID int64, opt *model.ListOptions) ([]*model.Agent, error)) *MockStore_AgentListForOrg_Call
- type MockStore_AgentList_Call
- func (_c *MockStore_AgentList_Call) Return(agents []*model.Agent, err error) *MockStore_AgentList_Call
- func (_c *MockStore_AgentList_Call) Run(run func(opts *model.AgentListOptions)) *MockStore_AgentList_Call
- func (_c *MockStore_AgentList_Call) RunAndReturn(run func(opts *model.AgentListOptions) ([]*model.Agent, error)) *MockStore_AgentList_Call
- type MockStore_AgentUpdate_Call
- type MockStore_AutoscalerCreate_Call
- func (_c *MockStore_AutoscalerCreate_Call) Return(err error) *MockStore_AutoscalerCreate_Call
- func (_c *MockStore_AutoscalerCreate_Call) Run(run func(autoscaler *model.Autoscaler)) *MockStore_AutoscalerCreate_Call
- func (_c *MockStore_AutoscalerCreate_Call) RunAndReturn(run func(autoscaler *model.Autoscaler) error) *MockStore_AutoscalerCreate_Call
- type MockStore_AutoscalerDelete_Call
- func (_c *MockStore_AutoscalerDelete_Call) Return(err error) *MockStore_AutoscalerDelete_Call
- func (_c *MockStore_AutoscalerDelete_Call) Run(run func(autoscaler *model.Autoscaler)) *MockStore_AutoscalerDelete_Call
- func (_c *MockStore_AutoscalerDelete_Call) RunAndReturn(run func(autoscaler *model.Autoscaler) error) *MockStore_AutoscalerDelete_Call
- type MockStore_AutoscalerFindByName_Call
- func (_c *MockStore_AutoscalerFindByName_Call) Return(autoscaler *model.Autoscaler, err error) *MockStore_AutoscalerFindByName_Call
- func (_c *MockStore_AutoscalerFindByName_Call) Run(run func(s string)) *MockStore_AutoscalerFindByName_Call
- func (_c *MockStore_AutoscalerFindByName_Call) RunAndReturn(run func(s string) (*model.Autoscaler, error)) *MockStore_AutoscalerFindByName_Call
- type MockStore_AutoscalerFindByToken_Call
- func (_c *MockStore_AutoscalerFindByToken_Call) Return(autoscaler *model.Autoscaler, err error) *MockStore_AutoscalerFindByToken_Call
- func (_c *MockStore_AutoscalerFindByToken_Call) Run(run func(s string)) *MockStore_AutoscalerFindByToken_Call
- func (_c *MockStore_AutoscalerFindByToken_Call) RunAndReturn(run func(s string) (*model.Autoscaler, error)) *MockStore_AutoscalerFindByToken_Call
- type MockStore_AutoscalerFind_Call
- func (_c *MockStore_AutoscalerFind_Call) Return(autoscaler *model.Autoscaler, err error) *MockStore_AutoscalerFind_Call
- func (_c *MockStore_AutoscalerFind_Call) Run(run func(n int64)) *MockStore_AutoscalerFind_Call
- func (_c *MockStore_AutoscalerFind_Call) RunAndReturn(run func(n int64) (*model.Autoscaler, error)) *MockStore_AutoscalerFind_Call
- type MockStore_AutoscalerList_Call
- func (_c *MockStore_AutoscalerList_Call) Return(autoscalers []*model.Autoscaler, err error) *MockStore_AutoscalerList_Call
- func (_c *MockStore_AutoscalerList_Call) Run(run func(opts *model.AutoscalerListOptions)) *MockStore_AutoscalerList_Call
- func (_c *MockStore_AutoscalerList_Call) RunAndReturn(run func(opts *model.AutoscalerListOptions) ([]*model.Autoscaler, error)) *MockStore_AutoscalerList_Call
- type MockStore_AutoscalerUpdateHeartbeat_Call
- func (_c *MockStore_AutoscalerUpdateHeartbeat_Call) Return(err error) *MockStore_AutoscalerUpdateHeartbeat_Call
- func (_c *MockStore_AutoscalerUpdateHeartbeat_Call) Run(run func(id int64, activeAgents int32, pendingAgents int32, version string)) *MockStore_AutoscalerUpdateHeartbeat_Call
- func (_c *MockStore_AutoscalerUpdateHeartbeat_Call) RunAndReturn(...) *MockStore_AutoscalerUpdateHeartbeat_Call
- type MockStore_AutoscalerUpdate_Call
- func (_c *MockStore_AutoscalerUpdate_Call) Return(err error) *MockStore_AutoscalerUpdate_Call
- func (_c *MockStore_AutoscalerUpdate_Call) Run(run func(autoscaler *model.Autoscaler)) *MockStore_AutoscalerUpdate_Call
- func (_c *MockStore_AutoscalerUpdate_Call) RunAndReturn(run func(autoscaler *model.Autoscaler) error) *MockStore_AutoscalerUpdate_Call
- type MockStore_CacheCleanupExpired_Call
- func (_c *MockStore_CacheCleanupExpired_Call) Return(err error) *MockStore_CacheCleanupExpired_Call
- func (_c *MockStore_CacheCleanupExpired_Call) Run(run func(cutoff int64)) *MockStore_CacheCleanupExpired_Call
- func (_c *MockStore_CacheCleanupExpired_Call) RunAndReturn(run func(cutoff int64) error) *MockStore_CacheCleanupExpired_Call
- type MockStore_CacheDelete_Call
- type MockStore_CacheGet_Call
- func (_c *MockStore_CacheGet_Call) Return(cacheEntry *model.CacheEntry, err error) *MockStore_CacheGet_Call
- func (_c *MockStore_CacheGet_Call) Run(run func(key string)) *MockStore_CacheGet_Call
- func (_c *MockStore_CacheGet_Call) RunAndReturn(run func(key string) (*model.CacheEntry, error)) *MockStore_CacheGet_Call
- type MockStore_CacheSet_Call
- type MockStore_CleanupOrphanedWorkflows_Call
- func (_c *MockStore_CleanupOrphanedWorkflows_Call) Return(err error) *MockStore_CleanupOrphanedWorkflows_Call
- func (_c *MockStore_CleanupOrphanedWorkflows_Call) Run(run func(workflowIDs []string)) *MockStore_CleanupOrphanedWorkflows_Call
- func (_c *MockStore_CleanupOrphanedWorkflows_Call) RunAndReturn(run func(workflowIDs []string) error) *MockStore_CleanupOrphanedWorkflows_Call
- type MockStore_Close_Call
- type MockStore_ConfigPersist_Call
- func (_c *MockStore_ConfigPersist_Call) Return(config1 *model.Config, err error) *MockStore_ConfigPersist_Call
- func (_c *MockStore_ConfigPersist_Call) Run(run func(config *model.Config)) *MockStore_ConfigPersist_Call
- func (_c *MockStore_ConfigPersist_Call) RunAndReturn(run func(config *model.Config) (*model.Config, error)) *MockStore_ConfigPersist_Call
- type MockStore_ConfigsForPipeline_Call
- func (_c *MockStore_ConfigsForPipeline_Call) Return(configs []*model.Config, err error) *MockStore_ConfigsForPipeline_Call
- func (_c *MockStore_ConfigsForPipeline_Call) Run(run func(pipelineID int64)) *MockStore_ConfigsForPipeline_Call
- func (_c *MockStore_ConfigsForPipeline_Call) RunAndReturn(run func(pipelineID int64) ([]*model.Config, error)) *MockStore_ConfigsForPipeline_Call
- type MockStore_CreatePipeline_Call
- func (_c *MockStore_CreatePipeline_Call) Return(err error) *MockStore_CreatePipeline_Call
- func (_c *MockStore_CreatePipeline_Call) Run(run func(pipeline *model.Pipeline, steps ...*model.Step)) *MockStore_CreatePipeline_Call
- func (_c *MockStore_CreatePipeline_Call) RunAndReturn(run func(pipeline *model.Pipeline, steps ...*model.Step) error) *MockStore_CreatePipeline_Call
- type MockStore_CreateRedirection_Call
- func (_c *MockStore_CreateRedirection_Call) Return(err error) *MockStore_CreateRedirection_Call
- func (_c *MockStore_CreateRedirection_Call) Run(run func(redirection *model.Redirection)) *MockStore_CreateRedirection_Call
- func (_c *MockStore_CreateRedirection_Call) RunAndReturn(run func(redirection *model.Redirection) error) *MockStore_CreateRedirection_Call
- type MockStore_CreateRepo_Call
- type MockStore_CreateUser_Call
- type MockStore_CronCreate_Call
- type MockStore_CronDelete_Call
- func (_c *MockStore_CronDelete_Call) Return(err error) *MockStore_CronDelete_Call
- func (_c *MockStore_CronDelete_Call) Run(run func(repo *model.Repo, n int64)) *MockStore_CronDelete_Call
- func (_c *MockStore_CronDelete_Call) RunAndReturn(run func(repo *model.Repo, n int64) error) *MockStore_CronDelete_Call
- type MockStore_CronFind_Call
- func (_c *MockStore_CronFind_Call) Return(cron *model.Cron, err error) *MockStore_CronFind_Call
- func (_c *MockStore_CronFind_Call) Run(run func(repo *model.Repo, n int64)) *MockStore_CronFind_Call
- func (_c *MockStore_CronFind_Call) RunAndReturn(run func(repo *model.Repo, n int64) (*model.Cron, error)) *MockStore_CronFind_Call
- type MockStore_CronGetLock_Call
- func (_c *MockStore_CronGetLock_Call) Return(b bool, err error) *MockStore_CronGetLock_Call
- func (_c *MockStore_CronGetLock_Call) Run(run func(cron *model.Cron, n int64)) *MockStore_CronGetLock_Call
- func (_c *MockStore_CronGetLock_Call) RunAndReturn(run func(cron *model.Cron, n int64) (bool, error)) *MockStore_CronGetLock_Call
- type MockStore_CronListNextExecute_Call
- func (_c *MockStore_CronListNextExecute_Call) Return(crons []*model.Cron, err error) *MockStore_CronListNextExecute_Call
- func (_c *MockStore_CronListNextExecute_Call) Run(run func(n int64, n1 int64)) *MockStore_CronListNextExecute_Call
- func (_c *MockStore_CronListNextExecute_Call) RunAndReturn(run func(n int64, n1 int64) ([]*model.Cron, error)) *MockStore_CronListNextExecute_Call
- type MockStore_CronList_Call
- func (_c *MockStore_CronList_Call) Return(crons []*model.Cron, err error) *MockStore_CronList_Call
- func (_c *MockStore_CronList_Call) Run(run func(repo *model.Repo, listOptions *model.ListOptions)) *MockStore_CronList_Call
- func (_c *MockStore_CronList_Call) RunAndReturn(...) *MockStore_CronList_Call
- type MockStore_CronUpdate_Call
- func (_c *MockStore_CronUpdate_Call) Return(err error) *MockStore_CronUpdate_Call
- func (_c *MockStore_CronUpdate_Call) Run(run func(repo *model.Repo, cron *model.Cron)) *MockStore_CronUpdate_Call
- func (_c *MockStore_CronUpdate_Call) RunAndReturn(run func(repo *model.Repo, cron *model.Cron) error) *MockStore_CronUpdate_Call
- type MockStore_DeletePipeline_Call
- func (_c *MockStore_DeletePipeline_Call) Return(err error) *MockStore_DeletePipeline_Call
- func (_c *MockStore_DeletePipeline_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_DeletePipeline_Call
- func (_c *MockStore_DeletePipeline_Call) RunAndReturn(run func(pipeline *model.Pipeline) error) *MockStore_DeletePipeline_Call
- type MockStore_DeleteRepo_Call
- type MockStore_DeleteUser_Call
- type MockStore_DistributedLockAcquire_Call
- func (_c *MockStore_DistributedLockAcquire_Call) Return(b bool, err error) *MockStore_DistributedLockAcquire_Call
- func (_c *MockStore_DistributedLockAcquire_Call) Run(run func(lockName string, instanceID string, ttlSeconds int64)) *MockStore_DistributedLockAcquire_Call
- func (_c *MockStore_DistributedLockAcquire_Call) RunAndReturn(run func(lockName string, instanceID string, ttlSeconds int64) (bool, error)) *MockStore_DistributedLockAcquire_Call
- type MockStore_DistributedLockCleanup_Call
- func (_c *MockStore_DistributedLockCleanup_Call) Return(err error) *MockStore_DistributedLockCleanup_Call
- func (_c *MockStore_DistributedLockCleanup_Call) Run(run func()) *MockStore_DistributedLockCleanup_Call
- func (_c *MockStore_DistributedLockCleanup_Call) RunAndReturn(run func() error) *MockStore_DistributedLockCleanup_Call
- type MockStore_DistributedLockExtend_Call
- func (_c *MockStore_DistributedLockExtend_Call) Return(b bool, err error) *MockStore_DistributedLockExtend_Call
- func (_c *MockStore_DistributedLockExtend_Call) Run(run func(lockName string, instanceID string, ttlSeconds int64)) *MockStore_DistributedLockExtend_Call
- func (_c *MockStore_DistributedLockExtend_Call) RunAndReturn(run func(lockName string, instanceID string, ttlSeconds int64) (bool, error)) *MockStore_DistributedLockExtend_Call
- type MockStore_DistributedLockInit_Call
- func (_c *MockStore_DistributedLockInit_Call) Return(err error) *MockStore_DistributedLockInit_Call
- func (_c *MockStore_DistributedLockInit_Call) Run(run func()) *MockStore_DistributedLockInit_Call
- func (_c *MockStore_DistributedLockInit_Call) RunAndReturn(run func() error) *MockStore_DistributedLockInit_Call
- type MockStore_DistributedLockList_Call
- func (_c *MockStore_DistributedLockList_Call) Return(distributedLocks []*model.DistributedLock, err error) *MockStore_DistributedLockList_Call
- func (_c *MockStore_DistributedLockList_Call) Run(run func()) *MockStore_DistributedLockList_Call
- func (_c *MockStore_DistributedLockList_Call) RunAndReturn(run func() ([]*model.DistributedLock, error)) *MockStore_DistributedLockList_Call
- type MockStore_DistributedLockRelease_Call
- func (_c *MockStore_DistributedLockRelease_Call) Return(err error) *MockStore_DistributedLockRelease_Call
- func (_c *MockStore_DistributedLockRelease_Call) Run(run func(lockName string, instanceID string)) *MockStore_DistributedLockRelease_Call
- func (_c *MockStore_DistributedLockRelease_Call) RunAndReturn(run func(lockName string, instanceID string) error) *MockStore_DistributedLockRelease_Call
- type MockStore_Expecter
- func (_e *MockStore_Expecter) AgentCreate(agent interface{}) *MockStore_AgentCreate_Call
- func (_e *MockStore_Expecter) AgentDelete(agent interface{}) *MockStore_AgentDelete_Call
- func (_e *MockStore_Expecter) AgentFind(n interface{}) *MockStore_AgentFind_Call
- func (_e *MockStore_Expecter) AgentFindByToken(s interface{}) *MockStore_AgentFindByToken_Call
- func (_e *MockStore_Expecter) AgentList(opts interface{}) *MockStore_AgentList_Call
- func (_e *MockStore_Expecter) AgentListForOrg(orgID interface{}, opt interface{}) *MockStore_AgentListForOrg_Call
- func (_e *MockStore_Expecter) AgentUpdate(agent interface{}) *MockStore_AgentUpdate_Call
- func (_e *MockStore_Expecter) AutoscalerCreate(autoscaler interface{}) *MockStore_AutoscalerCreate_Call
- func (_e *MockStore_Expecter) AutoscalerDelete(autoscaler interface{}) *MockStore_AutoscalerDelete_Call
- func (_e *MockStore_Expecter) AutoscalerFind(n interface{}) *MockStore_AutoscalerFind_Call
- func (_e *MockStore_Expecter) AutoscalerFindByName(s interface{}) *MockStore_AutoscalerFindByName_Call
- func (_e *MockStore_Expecter) AutoscalerFindByToken(s interface{}) *MockStore_AutoscalerFindByToken_Call
- func (_e *MockStore_Expecter) AutoscalerList(opts interface{}) *MockStore_AutoscalerList_Call
- func (_e *MockStore_Expecter) AutoscalerUpdate(autoscaler interface{}) *MockStore_AutoscalerUpdate_Call
- func (_e *MockStore_Expecter) AutoscalerUpdateHeartbeat(id interface{}, activeAgents interface{}, pendingAgents interface{}, ...) *MockStore_AutoscalerUpdateHeartbeat_Call
- func (_e *MockStore_Expecter) CacheCleanupExpired(cutoff interface{}) *MockStore_CacheCleanupExpired_Call
- func (_e *MockStore_Expecter) CacheDelete(key interface{}) *MockStore_CacheDelete_Call
- func (_e *MockStore_Expecter) CacheGet(key interface{}) *MockStore_CacheGet_Call
- func (_e *MockStore_Expecter) CacheSet(entry interface{}) *MockStore_CacheSet_Call
- func (_e *MockStore_Expecter) CleanupOrphanedWorkflows(workflowIDs interface{}) *MockStore_CleanupOrphanedWorkflows_Call
- func (_e *MockStore_Expecter) Close() *MockStore_Close_Call
- func (_e *MockStore_Expecter) ConfigPersist(config interface{}) *MockStore_ConfigPersist_Call
- func (_e *MockStore_Expecter) ConfigsForPipeline(pipelineID interface{}) *MockStore_ConfigsForPipeline_Call
- func (_e *MockStore_Expecter) CreatePipeline(pipeline interface{}, steps ...interface{}) *MockStore_CreatePipeline_Call
- func (_e *MockStore_Expecter) CreateRedirection(redirection interface{}) *MockStore_CreateRedirection_Call
- func (_e *MockStore_Expecter) CreateRepo(repo interface{}) *MockStore_CreateRepo_Call
- func (_e *MockStore_Expecter) CreateUser(user interface{}) *MockStore_CreateUser_Call
- func (_e *MockStore_Expecter) CronCreate(cron interface{}) *MockStore_CronCreate_Call
- func (_e *MockStore_Expecter) CronDelete(repo interface{}, n interface{}) *MockStore_CronDelete_Call
- func (_e *MockStore_Expecter) CronFind(repo interface{}, n interface{}) *MockStore_CronFind_Call
- func (_e *MockStore_Expecter) CronGetLock(cron interface{}, n interface{}) *MockStore_CronGetLock_Call
- func (_e *MockStore_Expecter) CronList(repo interface{}, listOptions interface{}) *MockStore_CronList_Call
- func (_e *MockStore_Expecter) CronListNextExecute(n interface{}, n1 interface{}) *MockStore_CronListNextExecute_Call
- func (_e *MockStore_Expecter) CronUpdate(repo interface{}, cron interface{}) *MockStore_CronUpdate_Call
- func (_e *MockStore_Expecter) DeletePipeline(pipeline interface{}) *MockStore_DeletePipeline_Call
- func (_e *MockStore_Expecter) DeleteRepo(repo interface{}) *MockStore_DeleteRepo_Call
- func (_e *MockStore_Expecter) DeleteUser(user interface{}) *MockStore_DeleteUser_Call
- func (_e *MockStore_Expecter) DistributedLockAcquire(lockName interface{}, instanceID interface{}, ttlSeconds interface{}) *MockStore_DistributedLockAcquire_Call
- func (_e *MockStore_Expecter) DistributedLockCleanup() *MockStore_DistributedLockCleanup_Call
- func (_e *MockStore_Expecter) DistributedLockExtend(lockName interface{}, instanceID interface{}, ttlSeconds interface{}) *MockStore_DistributedLockExtend_Call
- func (_e *MockStore_Expecter) DistributedLockInit() *MockStore_DistributedLockInit_Call
- func (_e *MockStore_Expecter) DistributedLockList() *MockStore_DistributedLockList_Call
- func (_e *MockStore_Expecter) DistributedLockRelease(lockName interface{}, instanceID interface{}) *MockStore_DistributedLockRelease_Call
- func (_e *MockStore_Expecter) ForgeCreate(forge interface{}) *MockStore_ForgeCreate_Call
- func (_e *MockStore_Expecter) ForgeDelete(forge interface{}) *MockStore_ForgeDelete_Call
- func (_e *MockStore_Expecter) ForgeGet(n interface{}) *MockStore_ForgeGet_Call
- func (_e *MockStore_Expecter) ForgeList(p interface{}) *MockStore_ForgeList_Call
- func (_e *MockStore_Expecter) ForgeUpdate(forge interface{}) *MockStore_ForgeUpdate_Call
- func (_e *MockStore_Expecter) GetActivePipelineList(repo interface{}) *MockStore_GetActivePipelineList_Call
- func (_e *MockStore_Expecter) GetPipeline(n interface{}) *MockStore_GetPipeline_Call
- func (_e *MockStore_Expecter) GetPipelineBadge(repo interface{}, s interface{}) *MockStore_GetPipelineBadge_Call
- func (_e *MockStore_Expecter) GetPipelineCount() *MockStore_GetPipelineCount_Call
- func (_e *MockStore_Expecter) GetPipelineCountByRepo(n interface{}) *MockStore_GetPipelineCountByRepo_Call
- func (_e *MockStore_Expecter) GetPipelineLast(repo interface{}, s interface{}) *MockStore_GetPipelineLast_Call
- func (_e *MockStore_Expecter) GetPipelineLastBefore(repo interface{}, s interface{}, n interface{}) *MockStore_GetPipelineLastBefore_Call
- func (_e *MockStore_Expecter) GetPipelineList(repo interface{}, listOptions interface{}, pipelineFilter interface{}) *MockStore_GetPipelineList_Call
- func (_e *MockStore_Expecter) GetPipelineListKeyset(repo interface{}, startID interface{}, beforeDate interface{}, ...) *MockStore_GetPipelineListKeyset_Call
- func (_e *MockStore_Expecter) GetPipelineLogPurged(pipeline interface{}) *MockStore_GetPipelineLogPurged_Call
- func (_e *MockStore_Expecter) GetPipelineNumber(repo interface{}, n interface{}) *MockStore_GetPipelineNumber_Call
- func (_e *MockStore_Expecter) GetPipelineQueue() *MockStore_GetPipelineQueue_Call
- func (_e *MockStore_Expecter) GetRepo(n interface{}) *MockStore_GetRepo_Call
- func (_e *MockStore_Expecter) GetRepoCount() *MockStore_GetRepoCount_Call
- func (_e *MockStore_Expecter) GetRepoForgeID(forgeRemoteID interface{}) *MockStore_GetRepoForgeID_Call
- func (_e *MockStore_Expecter) GetRepoLatestPipelines(int64s interface{}) *MockStore_GetRepoLatestPipelines_Call
- func (_e *MockStore_Expecter) GetRepoName(s interface{}) *MockStore_GetRepoName_Call
- func (_e *MockStore_Expecter) GetRepoNameFallback(remoteID interface{}, fullName interface{}) *MockStore_GetRepoNameFallback_Call
- func (_e *MockStore_Expecter) GetUser(n interface{}) *MockStore_GetUser_Call
- func (_e *MockStore_Expecter) GetUserCount() *MockStore_GetUserCount_Call
- func (_e *MockStore_Expecter) GetUserList(p interface{}) *MockStore_GetUserList_Call
- func (_e *MockStore_Expecter) GetUserLogin(s interface{}) *MockStore_GetUserLogin_Call
- func (_e *MockStore_Expecter) GetUserRemoteID(forgeRemoteID interface{}, s interface{}) *MockStore_GetUserRemoteID_Call
- func (_e *MockStore_Expecter) GlobalRegistryFind(s interface{}) *MockStore_GlobalRegistryFind_Call
- func (_e *MockStore_Expecter) GlobalRegistryList(listOptions interface{}) *MockStore_GlobalRegistryList_Call
- func (_e *MockStore_Expecter) GlobalSecretFind(s interface{}) *MockStore_GlobalSecretFind_Call
- func (_e *MockStore_Expecter) GlobalSecretList(listOptions interface{}) *MockStore_GlobalSecretList_Call
- func (_e *MockStore_Expecter) HasRedirectionForRepo(n interface{}, s interface{}) *MockStore_HasRedirectionForRepo_Call
- func (_e *MockStore_Expecter) LogAppend(step interface{}, logEntrys interface{}) *MockStore_LogAppend_Call
- func (_e *MockStore_Expecter) LogDelete(step interface{}) *MockStore_LogDelete_Call
- func (_e *MockStore_Expecter) LogFind(step interface{}) *MockStore_LogFind_Call
- func (_e *MockStore_Expecter) LogFindAfter(stepID interface{}, afterLogID interface{}) *MockStore_LogFindAfter_Call
- func (_e *MockStore_Expecter) MaintenanceConfigGet() *MockStore_MaintenanceConfigGet_Call
- func (_e *MockStore_Expecter) MaintenanceConfigGetByActionType(actionType interface{}) *MockStore_MaintenanceConfigGetByActionType_Call
- func (_e *MockStore_Expecter) MaintenanceConfigUpdate(maintenanceConfig interface{}) *MockStore_MaintenanceConfigUpdate_Call
- func (_e *MockStore_Expecter) MaintenanceConfigUpdateByActionType(actionType interface{}, config interface{}) *MockStore_MaintenanceConfigUpdateByActionType_Call
- func (_e *MockStore_Expecter) MaintenanceLogCreate(maintenanceLog interface{}) *MockStore_MaintenanceLogCreate_Call
- func (_e *MockStore_Expecter) MaintenanceLogList(limit interface{}) *MockStore_MaintenanceLogList_Call
- func (_e *MockStore_Expecter) MaintenanceRunMySQL(context1 interface{}) *MockStore_MaintenanceRunMySQL_Call
- func (_e *MockStore_Expecter) MaintenanceRunPostgreSQL(context1 interface{}) *MockStore_MaintenanceRunPostgreSQL_Call
- func (_e *MockStore_Expecter) MaintenanceRunSQLite(context1 interface{}) *MockStore_MaintenanceRunSQLite_Call
- func (_e *MockStore_Expecter) MaintenanceStatsGet() *MockStore_MaintenanceStatsGet_Call
- func (_e *MockStore_Expecter) MaintenanceStatsUpdate(maintenanceStats interface{}) *MockStore_MaintenanceStatsUpdate_Call
- func (_e *MockStore_Expecter) Migrate(context1 interface{}, b interface{}) *MockStore_Migrate_Call
- func (_e *MockStore_Expecter) OrgCreate(org interface{}) *MockStore_OrgCreate_Call
- func (_e *MockStore_Expecter) OrgDelete(n interface{}) *MockStore_OrgDelete_Call
- func (_e *MockStore_Expecter) OrgFindByName(s interface{}, n interface{}) *MockStore_OrgFindByName_Call
- func (_e *MockStore_Expecter) OrgGet(n interface{}) *MockStore_OrgGet_Call
- func (_e *MockStore_Expecter) OrgList(listOptions interface{}) *MockStore_OrgList_Call
- func (_e *MockStore_Expecter) OrgRegistryFind(n interface{}, s interface{}) *MockStore_OrgRegistryFind_Call
- func (_e *MockStore_Expecter) OrgRegistryList(n interface{}, listOptions interface{}) *MockStore_OrgRegistryList_Call
- func (_e *MockStore_Expecter) OrgRepoList(org interface{}, listOptions interface{}) *MockStore_OrgRepoList_Call
- func (_e *MockStore_Expecter) OrgSecretFind(n interface{}, s interface{}) *MockStore_OrgSecretFind_Call
- func (_e *MockStore_Expecter) OrgSecretList(n interface{}, listOptions interface{}) *MockStore_OrgSecretList_Call
- func (_e *MockStore_Expecter) OrgUpdate(org interface{}) *MockStore_OrgUpdate_Call
- func (_e *MockStore_Expecter) PermFind(user interface{}, repo interface{}) *MockStore_PermFind_Call
- func (_e *MockStore_Expecter) PermUpsert(perm interface{}) *MockStore_PermUpsert_Call
- func (_e *MockStore_Expecter) Ping() *MockStore_Ping_Call
- func (_e *MockStore_Expecter) PipelineConfigCreate(pipelineConfig interface{}) *MockStore_PipelineConfigCreate_Call
- func (_e *MockStore_Expecter) PubSubMessageCleanupOlderThan(timestamp interface{}) *MockStore_PubSubMessageCleanupOlderThan_Call
- func (_e *MockStore_Expecter) PubSubMessageInsert(msg interface{}) *MockStore_PubSubMessageInsert_Call
- func (_e *MockStore_Expecter) PubSubMessageListAfter(timestamp interface{}) *MockStore_PubSubMessageListAfter_Call
- func (_e *MockStore_Expecter) RegistryCreate(registry interface{}) *MockStore_RegistryCreate_Call
- func (_e *MockStore_Expecter) RegistryDelete(registry interface{}) *MockStore_RegistryDelete_Call
- func (_e *MockStore_Expecter) RegistryFind(repo interface{}, s interface{}) *MockStore_RegistryFind_Call
- func (_e *MockStore_Expecter) RegistryList(repo interface{}, b interface{}, listOptions interface{}) *MockStore_RegistryList_Call
- func (_e *MockStore_Expecter) RegistryListAll() *MockStore_RegistryListAll_Call
- func (_e *MockStore_Expecter) RegistryUpdate(registry interface{}) *MockStore_RegistryUpdate_Call
- func (_e *MockStore_Expecter) RepoList(user interface{}, owned interface{}, active interface{}) *MockStore_RepoList_Call
- func (_e *MockStore_Expecter) RepoListAll(active interface{}, p interface{}) *MockStore_RepoListAll_Call
- func (_e *MockStore_Expecter) RepoListLatest(user interface{}) *MockStore_RepoListLatest_Call
- func (_e *MockStore_Expecter) SecretCreate(secret interface{}) *MockStore_SecretCreate_Call
- func (_e *MockStore_Expecter) SecretDelete(secret interface{}) *MockStore_SecretDelete_Call
- func (_e *MockStore_Expecter) SecretFind(repo interface{}, s interface{}) *MockStore_SecretFind_Call
- func (_e *MockStore_Expecter) SecretList(repo interface{}, b interface{}, listOptions interface{}) *MockStore_SecretList_Call
- func (_e *MockStore_Expecter) SecretListAll() *MockStore_SecretListAll_Call
- func (_e *MockStore_Expecter) SecretUpdate(secret interface{}) *MockStore_SecretUpdate_Call
- func (_e *MockStore_Expecter) ServerConfigDelete(s interface{}) *MockStore_ServerConfigDelete_Call
- func (_e *MockStore_Expecter) ServerConfigGet(s interface{}) *MockStore_ServerConfigGet_Call
- func (_e *MockStore_Expecter) ServerConfigSet(s interface{}, s1 interface{}) *MockStore_ServerConfigSet_Call
- func (_e *MockStore_Expecter) SetPipelineLogPurged(pipeline interface{}) *MockStore_SetPipelineLogPurged_Call
- func (_e *MockStore_Expecter) StepByUUID(s interface{}) *MockStore_StepByUUID_Call
- func (_e *MockStore_Expecter) StepChild(pipeline interface{}, n interface{}, s interface{}) *MockStore_StepChild_Call
- func (_e *MockStore_Expecter) StepFind(pipeline interface{}, n interface{}) *MockStore_StepFind_Call
- func (_e *MockStore_Expecter) StepList(pipeline interface{}) *MockStore_StepList_Call
- func (_e *MockStore_Expecter) StepListFromWorkflowFind(workflow interface{}) *MockStore_StepListFromWorkflowFind_Call
- func (_e *MockStore_Expecter) StepLoad(n interface{}) *MockStore_StepLoad_Call
- func (_e *MockStore_Expecter) StepUpdate(step interface{}) *MockStore_StepUpdate_Call
- func (_e *MockStore_Expecter) TaskAtomicAssign(taskID interface{}, agentID interface{}) *MockStore_TaskAtomicAssign_Call
- func (_e *MockStore_Expecter) TaskDelete(s interface{}) *MockStore_TaskDelete_Call
- func (_e *MockStore_Expecter) TaskInsert(task interface{}) *MockStore_TaskInsert_Call
- func (_e *MockStore_Expecter) TaskList() *MockStore_TaskList_Call
- func (_e *MockStore_Expecter) TaskListPending() *MockStore_TaskListPending_Call
- func (_e *MockStore_Expecter) TaskUpdate(task interface{}) *MockStore_TaskUpdate_Call
- func (_e *MockStore_Expecter) UpdatePipeline(pipeline interface{}) *MockStore_UpdatePipeline_Call
- func (_e *MockStore_Expecter) UpdateRepo(repo interface{}) *MockStore_UpdateRepo_Call
- func (_e *MockStore_Expecter) UpdateUser(user interface{}) *MockStore_UpdateUser_Call
- func (_e *MockStore_Expecter) UserFeed(user interface{}) *MockStore_UserFeed_Call
- func (_e *MockStore_Expecter) WorkflowGetTree(pipeline interface{}) *MockStore_WorkflowGetTree_Call
- func (_e *MockStore_Expecter) WorkflowLoad(n interface{}) *MockStore_WorkflowLoad_Call
- func (_e *MockStore_Expecter) WorkflowUpdate(workflow interface{}) *MockStore_WorkflowUpdate_Call
- func (_e *MockStore_Expecter) WorkflowsCreate(workflows interface{}) *MockStore_WorkflowsCreate_Call
- func (_e *MockStore_Expecter) WorkflowsReplace(pipeline interface{}, workflows interface{}) *MockStore_WorkflowsReplace_Call
- type MockStore_ForgeCreate_Call
- type MockStore_ForgeDelete_Call
- type MockStore_ForgeGet_Call
- type MockStore_ForgeList_Call
- func (_c *MockStore_ForgeList_Call) Return(forges []*model.Forge, err error) *MockStore_ForgeList_Call
- func (_c *MockStore_ForgeList_Call) Run(run func(p *model.ListOptions)) *MockStore_ForgeList_Call
- func (_c *MockStore_ForgeList_Call) RunAndReturn(run func(p *model.ListOptions) ([]*model.Forge, error)) *MockStore_ForgeList_Call
- type MockStore_ForgeUpdate_Call
- type MockStore_GetActivePipelineList_Call
- func (_c *MockStore_GetActivePipelineList_Call) Return(pipelines []*model.Pipeline, err error) *MockStore_GetActivePipelineList_Call
- func (_c *MockStore_GetActivePipelineList_Call) Run(run func(repo *model.Repo)) *MockStore_GetActivePipelineList_Call
- func (_c *MockStore_GetActivePipelineList_Call) RunAndReturn(run func(repo *model.Repo) ([]*model.Pipeline, error)) *MockStore_GetActivePipelineList_Call
- type MockStore_GetPipelineBadge_Call
- func (_c *MockStore_GetPipelineBadge_Call) Return(pipeline *model.Pipeline, err error) *MockStore_GetPipelineBadge_Call
- func (_c *MockStore_GetPipelineBadge_Call) Run(run func(repo *model.Repo, s string)) *MockStore_GetPipelineBadge_Call
- func (_c *MockStore_GetPipelineBadge_Call) RunAndReturn(run func(repo *model.Repo, s string) (*model.Pipeline, error)) *MockStore_GetPipelineBadge_Call
- type MockStore_GetPipelineCountByRepo_Call
- func (_c *MockStore_GetPipelineCountByRepo_Call) Return(n1 int64, err error) *MockStore_GetPipelineCountByRepo_Call
- func (_c *MockStore_GetPipelineCountByRepo_Call) Run(run func(n int64)) *MockStore_GetPipelineCountByRepo_Call
- func (_c *MockStore_GetPipelineCountByRepo_Call) RunAndReturn(run func(n int64) (int64, error)) *MockStore_GetPipelineCountByRepo_Call
- type MockStore_GetPipelineCount_Call
- func (_c *MockStore_GetPipelineCount_Call) Return(n int64, err error) *MockStore_GetPipelineCount_Call
- func (_c *MockStore_GetPipelineCount_Call) Run(run func()) *MockStore_GetPipelineCount_Call
- func (_c *MockStore_GetPipelineCount_Call) RunAndReturn(run func() (int64, error)) *MockStore_GetPipelineCount_Call
- type MockStore_GetPipelineLastBefore_Call
- func (_c *MockStore_GetPipelineLastBefore_Call) Return(pipeline *model.Pipeline, err error) *MockStore_GetPipelineLastBefore_Call
- func (_c *MockStore_GetPipelineLastBefore_Call) Run(run func(repo *model.Repo, s string, n int64)) *MockStore_GetPipelineLastBefore_Call
- func (_c *MockStore_GetPipelineLastBefore_Call) RunAndReturn(run func(repo *model.Repo, s string, n int64) (*model.Pipeline, error)) *MockStore_GetPipelineLastBefore_Call
- type MockStore_GetPipelineLast_Call
- func (_c *MockStore_GetPipelineLast_Call) Return(pipeline *model.Pipeline, err error) *MockStore_GetPipelineLast_Call
- func (_c *MockStore_GetPipelineLast_Call) Run(run func(repo *model.Repo, s string)) *MockStore_GetPipelineLast_Call
- func (_c *MockStore_GetPipelineLast_Call) RunAndReturn(run func(repo *model.Repo, s string) (*model.Pipeline, error)) *MockStore_GetPipelineLast_Call
- type MockStore_GetPipelineListKeyset_Call
- func (_c *MockStore_GetPipelineListKeyset_Call) Return(pipelines []*model.Pipeline, err error) *MockStore_GetPipelineListKeyset_Call
- func (_c *MockStore_GetPipelineListKeyset_Call) Run(run func(repo *model.Repo, startID int64, beforeDate int64, limit int)) *MockStore_GetPipelineListKeyset_Call
- func (_c *MockStore_GetPipelineListKeyset_Call) RunAndReturn(...) *MockStore_GetPipelineListKeyset_Call
- type MockStore_GetPipelineList_Call
- func (_c *MockStore_GetPipelineList_Call) Return(pipelines []*model.Pipeline, err error) *MockStore_GetPipelineList_Call
- func (_c *MockStore_GetPipelineList_Call) Run(run func(repo *model.Repo, listOptions *model.ListOptions, ...)) *MockStore_GetPipelineList_Call
- func (_c *MockStore_GetPipelineList_Call) RunAndReturn(...) *MockStore_GetPipelineList_Call
- type MockStore_GetPipelineLogPurged_Call
- func (_c *MockStore_GetPipelineLogPurged_Call) Return(b bool, err error) *MockStore_GetPipelineLogPurged_Call
- func (_c *MockStore_GetPipelineLogPurged_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_GetPipelineLogPurged_Call
- func (_c *MockStore_GetPipelineLogPurged_Call) RunAndReturn(run func(pipeline *model.Pipeline) (bool, error)) *MockStore_GetPipelineLogPurged_Call
- type MockStore_GetPipelineNumber_Call
- func (_c *MockStore_GetPipelineNumber_Call) Return(pipeline *model.Pipeline, err error) *MockStore_GetPipelineNumber_Call
- func (_c *MockStore_GetPipelineNumber_Call) Run(run func(repo *model.Repo, n int64)) *MockStore_GetPipelineNumber_Call
- func (_c *MockStore_GetPipelineNumber_Call) RunAndReturn(run func(repo *model.Repo, n int64) (*model.Pipeline, error)) *MockStore_GetPipelineNumber_Call
- type MockStore_GetPipelineQueue_Call
- func (_c *MockStore_GetPipelineQueue_Call) Return(feeds []*model.Feed, err error) *MockStore_GetPipelineQueue_Call
- func (_c *MockStore_GetPipelineQueue_Call) Run(run func()) *MockStore_GetPipelineQueue_Call
- func (_c *MockStore_GetPipelineQueue_Call) RunAndReturn(run func() ([]*model.Feed, error)) *MockStore_GetPipelineQueue_Call
- type MockStore_GetPipeline_Call
- func (_c *MockStore_GetPipeline_Call) Return(pipeline *model.Pipeline, err error) *MockStore_GetPipeline_Call
- func (_c *MockStore_GetPipeline_Call) Run(run func(n int64)) *MockStore_GetPipeline_Call
- func (_c *MockStore_GetPipeline_Call) RunAndReturn(run func(n int64) (*model.Pipeline, error)) *MockStore_GetPipeline_Call
- type MockStore_GetRepoCount_Call
- type MockStore_GetRepoForgeID_Call
- func (_c *MockStore_GetRepoForgeID_Call) Return(repo *model.Repo, err error) *MockStore_GetRepoForgeID_Call
- func (_c *MockStore_GetRepoForgeID_Call) Run(run func(forgeRemoteID model.ForgeRemoteID)) *MockStore_GetRepoForgeID_Call
- func (_c *MockStore_GetRepoForgeID_Call) RunAndReturn(run func(forgeRemoteID model.ForgeRemoteID) (*model.Repo, error)) *MockStore_GetRepoForgeID_Call
- type MockStore_GetRepoLatestPipelines_Call
- func (_c *MockStore_GetRepoLatestPipelines_Call) Return(pipelines []*model.Pipeline, err error) *MockStore_GetRepoLatestPipelines_Call
- func (_c *MockStore_GetRepoLatestPipelines_Call) Run(run func(int64s []int64)) *MockStore_GetRepoLatestPipelines_Call
- func (_c *MockStore_GetRepoLatestPipelines_Call) RunAndReturn(run func(int64s []int64) ([]*model.Pipeline, error)) *MockStore_GetRepoLatestPipelines_Call
- type MockStore_GetRepoNameFallback_Call
- func (_c *MockStore_GetRepoNameFallback_Call) Return(repo *model.Repo, err error) *MockStore_GetRepoNameFallback_Call
- func (_c *MockStore_GetRepoNameFallback_Call) Run(run func(remoteID model.ForgeRemoteID, fullName string)) *MockStore_GetRepoNameFallback_Call
- func (_c *MockStore_GetRepoNameFallback_Call) RunAndReturn(run func(remoteID model.ForgeRemoteID, fullName string) (*model.Repo, error)) *MockStore_GetRepoNameFallback_Call
- type MockStore_GetRepoName_Call
- func (_c *MockStore_GetRepoName_Call) Return(repo *model.Repo, err error) *MockStore_GetRepoName_Call
- func (_c *MockStore_GetRepoName_Call) Run(run func(s string)) *MockStore_GetRepoName_Call
- func (_c *MockStore_GetRepoName_Call) RunAndReturn(run func(s string) (*model.Repo, error)) *MockStore_GetRepoName_Call
- type MockStore_GetRepo_Call
- type MockStore_GetUserCount_Call
- type MockStore_GetUserList_Call
- func (_c *MockStore_GetUserList_Call) Return(users []*model.User, err error) *MockStore_GetUserList_Call
- func (_c *MockStore_GetUserList_Call) Run(run func(p *model.ListOptions)) *MockStore_GetUserList_Call
- func (_c *MockStore_GetUserList_Call) RunAndReturn(run func(p *model.ListOptions) ([]*model.User, error)) *MockStore_GetUserList_Call
- type MockStore_GetUserLogin_Call
- func (_c *MockStore_GetUserLogin_Call) Return(user *model.User, err error) *MockStore_GetUserLogin_Call
- func (_c *MockStore_GetUserLogin_Call) Run(run func(s string)) *MockStore_GetUserLogin_Call
- func (_c *MockStore_GetUserLogin_Call) RunAndReturn(run func(s string) (*model.User, error)) *MockStore_GetUserLogin_Call
- type MockStore_GetUserRemoteID_Call
- func (_c *MockStore_GetUserRemoteID_Call) Return(user *model.User, err error) *MockStore_GetUserRemoteID_Call
- func (_c *MockStore_GetUserRemoteID_Call) Run(run func(forgeRemoteID model.ForgeRemoteID, s string)) *MockStore_GetUserRemoteID_Call
- func (_c *MockStore_GetUserRemoteID_Call) RunAndReturn(run func(forgeRemoteID model.ForgeRemoteID, s string) (*model.User, error)) *MockStore_GetUserRemoteID_Call
- type MockStore_GetUser_Call
- type MockStore_GlobalRegistryFind_Call
- func (_c *MockStore_GlobalRegistryFind_Call) Return(registry *model.Registry, err error) *MockStore_GlobalRegistryFind_Call
- func (_c *MockStore_GlobalRegistryFind_Call) Run(run func(s string)) *MockStore_GlobalRegistryFind_Call
- func (_c *MockStore_GlobalRegistryFind_Call) RunAndReturn(run func(s string) (*model.Registry, error)) *MockStore_GlobalRegistryFind_Call
- type MockStore_GlobalRegistryList_Call
- func (_c *MockStore_GlobalRegistryList_Call) Return(registrys []*model.Registry, err error) *MockStore_GlobalRegistryList_Call
- func (_c *MockStore_GlobalRegistryList_Call) Run(run func(listOptions *model.ListOptions)) *MockStore_GlobalRegistryList_Call
- func (_c *MockStore_GlobalRegistryList_Call) RunAndReturn(run func(listOptions *model.ListOptions) ([]*model.Registry, error)) *MockStore_GlobalRegistryList_Call
- type MockStore_GlobalSecretFind_Call
- func (_c *MockStore_GlobalSecretFind_Call) Return(secret *model.Secret, err error) *MockStore_GlobalSecretFind_Call
- func (_c *MockStore_GlobalSecretFind_Call) Run(run func(s string)) *MockStore_GlobalSecretFind_Call
- func (_c *MockStore_GlobalSecretFind_Call) RunAndReturn(run func(s string) (*model.Secret, error)) *MockStore_GlobalSecretFind_Call
- type MockStore_GlobalSecretList_Call
- func (_c *MockStore_GlobalSecretList_Call) Return(secrets []*model.Secret, err error) *MockStore_GlobalSecretList_Call
- func (_c *MockStore_GlobalSecretList_Call) Run(run func(listOptions *model.ListOptions)) *MockStore_GlobalSecretList_Call
- func (_c *MockStore_GlobalSecretList_Call) RunAndReturn(run func(listOptions *model.ListOptions) ([]*model.Secret, error)) *MockStore_GlobalSecretList_Call
- type MockStore_HasRedirectionForRepo_Call
- func (_c *MockStore_HasRedirectionForRepo_Call) Return(b bool, err error) *MockStore_HasRedirectionForRepo_Call
- func (_c *MockStore_HasRedirectionForRepo_Call) Run(run func(n int64, s string)) *MockStore_HasRedirectionForRepo_Call
- func (_c *MockStore_HasRedirectionForRepo_Call) RunAndReturn(run func(n int64, s string) (bool, error)) *MockStore_HasRedirectionForRepo_Call
- type MockStore_LogAppend_Call
- func (_c *MockStore_LogAppend_Call) Return(err error) *MockStore_LogAppend_Call
- func (_c *MockStore_LogAppend_Call) Run(run func(step *model.Step, logEntrys []*model.LogEntry)) *MockStore_LogAppend_Call
- func (_c *MockStore_LogAppend_Call) RunAndReturn(run func(step *model.Step, logEntrys []*model.LogEntry) error) *MockStore_LogAppend_Call
- type MockStore_LogDelete_Call
- type MockStore_LogFindAfter_Call
- func (_c *MockStore_LogFindAfter_Call) Return(logEntrys []*model.LogEntry, err error) *MockStore_LogFindAfter_Call
- func (_c *MockStore_LogFindAfter_Call) Run(run func(stepID int64, afterLogID int64)) *MockStore_LogFindAfter_Call
- func (_c *MockStore_LogFindAfter_Call) RunAndReturn(run func(stepID int64, afterLogID int64) ([]*model.LogEntry, error)) *MockStore_LogFindAfter_Call
- type MockStore_LogFind_Call
- func (_c *MockStore_LogFind_Call) Return(logEntrys []*model.LogEntry, err error) *MockStore_LogFind_Call
- func (_c *MockStore_LogFind_Call) Run(run func(step *model.Step)) *MockStore_LogFind_Call
- func (_c *MockStore_LogFind_Call) RunAndReturn(run func(step *model.Step) ([]*model.LogEntry, error)) *MockStore_LogFind_Call
- type MockStore_MaintenanceConfigGetByActionType_Call
- func (_c *MockStore_MaintenanceConfigGetByActionType_Call) Return(maintenanceConfig *model.MaintenanceConfig, err error) *MockStore_MaintenanceConfigGetByActionType_Call
- func (_c *MockStore_MaintenanceConfigGetByActionType_Call) Run(run func(actionType string)) *MockStore_MaintenanceConfigGetByActionType_Call
- func (_c *MockStore_MaintenanceConfigGetByActionType_Call) RunAndReturn(run func(actionType string) (*model.MaintenanceConfig, error)) *MockStore_MaintenanceConfigGetByActionType_Call
- type MockStore_MaintenanceConfigGet_Call
- func (_c *MockStore_MaintenanceConfigGet_Call) Return(maintenanceConfig *model.MaintenanceConfig, err error) *MockStore_MaintenanceConfigGet_Call
- func (_c *MockStore_MaintenanceConfigGet_Call) Run(run func()) *MockStore_MaintenanceConfigGet_Call
- func (_c *MockStore_MaintenanceConfigGet_Call) RunAndReturn(run func() (*model.MaintenanceConfig, error)) *MockStore_MaintenanceConfigGet_Call
- type MockStore_MaintenanceConfigUpdateByActionType_Call
- func (_c *MockStore_MaintenanceConfigUpdateByActionType_Call) Return(err error) *MockStore_MaintenanceConfigUpdateByActionType_Call
- func (_c *MockStore_MaintenanceConfigUpdateByActionType_Call) Run(run func(actionType string, config *model.MaintenanceConfig)) *MockStore_MaintenanceConfigUpdateByActionType_Call
- func (_c *MockStore_MaintenanceConfigUpdateByActionType_Call) RunAndReturn(run func(actionType string, config *model.MaintenanceConfig) error) *MockStore_MaintenanceConfigUpdateByActionType_Call
- type MockStore_MaintenanceConfigUpdate_Call
- func (_c *MockStore_MaintenanceConfigUpdate_Call) Return(err error) *MockStore_MaintenanceConfigUpdate_Call
- func (_c *MockStore_MaintenanceConfigUpdate_Call) Run(run func(maintenanceConfig *model.MaintenanceConfig)) *MockStore_MaintenanceConfigUpdate_Call
- func (_c *MockStore_MaintenanceConfigUpdate_Call) RunAndReturn(run func(maintenanceConfig *model.MaintenanceConfig) error) *MockStore_MaintenanceConfigUpdate_Call
- type MockStore_MaintenanceLogCreate_Call
- func (_c *MockStore_MaintenanceLogCreate_Call) Return(err error) *MockStore_MaintenanceLogCreate_Call
- func (_c *MockStore_MaintenanceLogCreate_Call) Run(run func(maintenanceLog *model.MaintenanceLog)) *MockStore_MaintenanceLogCreate_Call
- func (_c *MockStore_MaintenanceLogCreate_Call) RunAndReturn(run func(maintenanceLog *model.MaintenanceLog) error) *MockStore_MaintenanceLogCreate_Call
- type MockStore_MaintenanceLogList_Call
- func (_c *MockStore_MaintenanceLogList_Call) Return(maintenanceLogs []*model.MaintenanceLog, err error) *MockStore_MaintenanceLogList_Call
- func (_c *MockStore_MaintenanceLogList_Call) Run(run func(limit int)) *MockStore_MaintenanceLogList_Call
- func (_c *MockStore_MaintenanceLogList_Call) RunAndReturn(run func(limit int) ([]*model.MaintenanceLog, error)) *MockStore_MaintenanceLogList_Call
- type MockStore_MaintenanceRunMySQL_Call
- func (_c *MockStore_MaintenanceRunMySQL_Call) Return(err error) *MockStore_MaintenanceRunMySQL_Call
- func (_c *MockStore_MaintenanceRunMySQL_Call) Run(run func(context1 context.Context)) *MockStore_MaintenanceRunMySQL_Call
- func (_c *MockStore_MaintenanceRunMySQL_Call) RunAndReturn(run func(context1 context.Context) error) *MockStore_MaintenanceRunMySQL_Call
- type MockStore_MaintenanceRunPostgreSQL_Call
- func (_c *MockStore_MaintenanceRunPostgreSQL_Call) Return(err error) *MockStore_MaintenanceRunPostgreSQL_Call
- func (_c *MockStore_MaintenanceRunPostgreSQL_Call) Run(run func(context1 context.Context)) *MockStore_MaintenanceRunPostgreSQL_Call
- func (_c *MockStore_MaintenanceRunPostgreSQL_Call) RunAndReturn(run func(context1 context.Context) error) *MockStore_MaintenanceRunPostgreSQL_Call
- type MockStore_MaintenanceRunSQLite_Call
- func (_c *MockStore_MaintenanceRunSQLite_Call) Return(err error) *MockStore_MaintenanceRunSQLite_Call
- func (_c *MockStore_MaintenanceRunSQLite_Call) Run(run func(context1 context.Context)) *MockStore_MaintenanceRunSQLite_Call
- func (_c *MockStore_MaintenanceRunSQLite_Call) RunAndReturn(run func(context1 context.Context) error) *MockStore_MaintenanceRunSQLite_Call
- type MockStore_MaintenanceStatsGet_Call
- func (_c *MockStore_MaintenanceStatsGet_Call) Return(maintenanceStats *model.MaintenanceStats, err error) *MockStore_MaintenanceStatsGet_Call
- func (_c *MockStore_MaintenanceStatsGet_Call) Run(run func()) *MockStore_MaintenanceStatsGet_Call
- func (_c *MockStore_MaintenanceStatsGet_Call) RunAndReturn(run func() (*model.MaintenanceStats, error)) *MockStore_MaintenanceStatsGet_Call
- type MockStore_MaintenanceStatsUpdate_Call
- func (_c *MockStore_MaintenanceStatsUpdate_Call) Return(err error) *MockStore_MaintenanceStatsUpdate_Call
- func (_c *MockStore_MaintenanceStatsUpdate_Call) Run(run func(maintenanceStats *model.MaintenanceStats)) *MockStore_MaintenanceStatsUpdate_Call
- func (_c *MockStore_MaintenanceStatsUpdate_Call) RunAndReturn(run func(maintenanceStats *model.MaintenanceStats) error) *MockStore_MaintenanceStatsUpdate_Call
- type MockStore_Migrate_Call
- func (_c *MockStore_Migrate_Call) Return(err error) *MockStore_Migrate_Call
- func (_c *MockStore_Migrate_Call) Run(run func(context1 context.Context, b bool)) *MockStore_Migrate_Call
- func (_c *MockStore_Migrate_Call) RunAndReturn(run func(context1 context.Context, b bool) error) *MockStore_Migrate_Call
- type MockStore_OrgCreate_Call
- type MockStore_OrgDelete_Call
- type MockStore_OrgFindByName_Call
- func (_c *MockStore_OrgFindByName_Call) Return(org *model.Org, err error) *MockStore_OrgFindByName_Call
- func (_c *MockStore_OrgFindByName_Call) Run(run func(s string, n int64)) *MockStore_OrgFindByName_Call
- func (_c *MockStore_OrgFindByName_Call) RunAndReturn(run func(s string, n int64) (*model.Org, error)) *MockStore_OrgFindByName_Call
- type MockStore_OrgGet_Call
- type MockStore_OrgList_Call
- func (_c *MockStore_OrgList_Call) Return(orgs []*model.Org, err error) *MockStore_OrgList_Call
- func (_c *MockStore_OrgList_Call) Run(run func(listOptions *model.ListOptions)) *MockStore_OrgList_Call
- func (_c *MockStore_OrgList_Call) RunAndReturn(run func(listOptions *model.ListOptions) ([]*model.Org, error)) *MockStore_OrgList_Call
- type MockStore_OrgRegistryFind_Call
- func (_c *MockStore_OrgRegistryFind_Call) Return(registry *model.Registry, err error) *MockStore_OrgRegistryFind_Call
- func (_c *MockStore_OrgRegistryFind_Call) Run(run func(n int64, s string)) *MockStore_OrgRegistryFind_Call
- func (_c *MockStore_OrgRegistryFind_Call) RunAndReturn(run func(n int64, s string) (*model.Registry, error)) *MockStore_OrgRegistryFind_Call
- type MockStore_OrgRegistryList_Call
- func (_c *MockStore_OrgRegistryList_Call) Return(registrys []*model.Registry, err error) *MockStore_OrgRegistryList_Call
- func (_c *MockStore_OrgRegistryList_Call) Run(run func(n int64, listOptions *model.ListOptions)) *MockStore_OrgRegistryList_Call
- func (_c *MockStore_OrgRegistryList_Call) RunAndReturn(run func(n int64, listOptions *model.ListOptions) ([]*model.Registry, error)) *MockStore_OrgRegistryList_Call
- type MockStore_OrgRepoList_Call
- func (_c *MockStore_OrgRepoList_Call) Return(repos []*model.Repo, err error) *MockStore_OrgRepoList_Call
- func (_c *MockStore_OrgRepoList_Call) Run(run func(org *model.Org, listOptions *model.ListOptions)) *MockStore_OrgRepoList_Call
- func (_c *MockStore_OrgRepoList_Call) RunAndReturn(...) *MockStore_OrgRepoList_Call
- type MockStore_OrgSecretFind_Call
- func (_c *MockStore_OrgSecretFind_Call) Return(secret *model.Secret, err error) *MockStore_OrgSecretFind_Call
- func (_c *MockStore_OrgSecretFind_Call) Run(run func(n int64, s string)) *MockStore_OrgSecretFind_Call
- func (_c *MockStore_OrgSecretFind_Call) RunAndReturn(run func(n int64, s string) (*model.Secret, error)) *MockStore_OrgSecretFind_Call
- type MockStore_OrgSecretList_Call
- func (_c *MockStore_OrgSecretList_Call) Return(secrets []*model.Secret, err error) *MockStore_OrgSecretList_Call
- func (_c *MockStore_OrgSecretList_Call) Run(run func(n int64, listOptions *model.ListOptions)) *MockStore_OrgSecretList_Call
- func (_c *MockStore_OrgSecretList_Call) RunAndReturn(run func(n int64, listOptions *model.ListOptions) ([]*model.Secret, error)) *MockStore_OrgSecretList_Call
- type MockStore_OrgUpdate_Call
- type MockStore_PermFind_Call
- func (_c *MockStore_PermFind_Call) Return(perm *model.Perm, err error) *MockStore_PermFind_Call
- func (_c *MockStore_PermFind_Call) Run(run func(user *model.User, repo *model.Repo)) *MockStore_PermFind_Call
- func (_c *MockStore_PermFind_Call) RunAndReturn(run func(user *model.User, repo *model.Repo) (*model.Perm, error)) *MockStore_PermFind_Call
- type MockStore_PermUpsert_Call
- type MockStore_Ping_Call
- type MockStore_PipelineConfigCreate_Call
- func (_c *MockStore_PipelineConfigCreate_Call) Return(err error) *MockStore_PipelineConfigCreate_Call
- func (_c *MockStore_PipelineConfigCreate_Call) Run(run func(pipelineConfig *model.PipelineConfig)) *MockStore_PipelineConfigCreate_Call
- func (_c *MockStore_PipelineConfigCreate_Call) RunAndReturn(run func(pipelineConfig *model.PipelineConfig) error) *MockStore_PipelineConfigCreate_Call
- type MockStore_PubSubMessageCleanupOlderThan_Call
- func (_c *MockStore_PubSubMessageCleanupOlderThan_Call) Return(err error) *MockStore_PubSubMessageCleanupOlderThan_Call
- func (_c *MockStore_PubSubMessageCleanupOlderThan_Call) Run(run func(timestamp int64)) *MockStore_PubSubMessageCleanupOlderThan_Call
- func (_c *MockStore_PubSubMessageCleanupOlderThan_Call) RunAndReturn(run func(timestamp int64) error) *MockStore_PubSubMessageCleanupOlderThan_Call
- type MockStore_PubSubMessageInsert_Call
- func (_c *MockStore_PubSubMessageInsert_Call) Return(err error) *MockStore_PubSubMessageInsert_Call
- func (_c *MockStore_PubSubMessageInsert_Call) Run(run func(msg *model.DistributedMessage)) *MockStore_PubSubMessageInsert_Call
- func (_c *MockStore_PubSubMessageInsert_Call) RunAndReturn(run func(msg *model.DistributedMessage) error) *MockStore_PubSubMessageInsert_Call
- type MockStore_PubSubMessageListAfter_Call
- func (_c *MockStore_PubSubMessageListAfter_Call) Return(distributedMessages []*model.DistributedMessage, err error) *MockStore_PubSubMessageListAfter_Call
- func (_c *MockStore_PubSubMessageListAfter_Call) Run(run func(timestamp int64)) *MockStore_PubSubMessageListAfter_Call
- func (_c *MockStore_PubSubMessageListAfter_Call) RunAndReturn(run func(timestamp int64) ([]*model.DistributedMessage, error)) *MockStore_PubSubMessageListAfter_Call
- type MockStore_RegistryCreate_Call
- func (_c *MockStore_RegistryCreate_Call) Return(err error) *MockStore_RegistryCreate_Call
- func (_c *MockStore_RegistryCreate_Call) Run(run func(registry *model.Registry)) *MockStore_RegistryCreate_Call
- func (_c *MockStore_RegistryCreate_Call) RunAndReturn(run func(registry *model.Registry) error) *MockStore_RegistryCreate_Call
- type MockStore_RegistryDelete_Call
- func (_c *MockStore_RegistryDelete_Call) Return(err error) *MockStore_RegistryDelete_Call
- func (_c *MockStore_RegistryDelete_Call) Run(run func(registry *model.Registry)) *MockStore_RegistryDelete_Call
- func (_c *MockStore_RegistryDelete_Call) RunAndReturn(run func(registry *model.Registry) error) *MockStore_RegistryDelete_Call
- type MockStore_RegistryFind_Call
- func (_c *MockStore_RegistryFind_Call) Return(registry *model.Registry, err error) *MockStore_RegistryFind_Call
- func (_c *MockStore_RegistryFind_Call) Run(run func(repo *model.Repo, s string)) *MockStore_RegistryFind_Call
- func (_c *MockStore_RegistryFind_Call) RunAndReturn(run func(repo *model.Repo, s string) (*model.Registry, error)) *MockStore_RegistryFind_Call
- type MockStore_RegistryListAll_Call
- func (_c *MockStore_RegistryListAll_Call) Return(registrys []*model.Registry, err error) *MockStore_RegistryListAll_Call
- func (_c *MockStore_RegistryListAll_Call) Run(run func()) *MockStore_RegistryListAll_Call
- func (_c *MockStore_RegistryListAll_Call) RunAndReturn(run func() ([]*model.Registry, error)) *MockStore_RegistryListAll_Call
- type MockStore_RegistryList_Call
- func (_c *MockStore_RegistryList_Call) Return(registrys []*model.Registry, err error) *MockStore_RegistryList_Call
- func (_c *MockStore_RegistryList_Call) Run(run func(repo *model.Repo, b bool, listOptions *model.ListOptions)) *MockStore_RegistryList_Call
- func (_c *MockStore_RegistryList_Call) RunAndReturn(...) *MockStore_RegistryList_Call
- type MockStore_RegistryUpdate_Call
- func (_c *MockStore_RegistryUpdate_Call) Return(err error) *MockStore_RegistryUpdate_Call
- func (_c *MockStore_RegistryUpdate_Call) Run(run func(registry *model.Registry)) *MockStore_RegistryUpdate_Call
- func (_c *MockStore_RegistryUpdate_Call) RunAndReturn(run func(registry *model.Registry) error) *MockStore_RegistryUpdate_Call
- type MockStore_RepoListAll_Call
- func (_c *MockStore_RepoListAll_Call) Return(repos []*model.Repo, err error) *MockStore_RepoListAll_Call
- func (_c *MockStore_RepoListAll_Call) Run(run func(active bool, p *model.ListOptions)) *MockStore_RepoListAll_Call
- func (_c *MockStore_RepoListAll_Call) RunAndReturn(run func(active bool, p *model.ListOptions) ([]*model.Repo, error)) *MockStore_RepoListAll_Call
- type MockStore_RepoListLatest_Call
- func (_c *MockStore_RepoListLatest_Call) Return(feeds []*model.Feed, err error) *MockStore_RepoListLatest_Call
- func (_c *MockStore_RepoListLatest_Call) Run(run func(user *model.User)) *MockStore_RepoListLatest_Call
- func (_c *MockStore_RepoListLatest_Call) RunAndReturn(run func(user *model.User) ([]*model.Feed, error)) *MockStore_RepoListLatest_Call
- type MockStore_RepoList_Call
- func (_c *MockStore_RepoList_Call) Return(repos []*model.Repo, err error) *MockStore_RepoList_Call
- func (_c *MockStore_RepoList_Call) Run(run func(user *model.User, owned bool, active bool)) *MockStore_RepoList_Call
- func (_c *MockStore_RepoList_Call) RunAndReturn(run func(user *model.User, owned bool, active bool) ([]*model.Repo, error)) *MockStore_RepoList_Call
- type MockStore_SecretCreate_Call
- func (_c *MockStore_SecretCreate_Call) Return(err error) *MockStore_SecretCreate_Call
- func (_c *MockStore_SecretCreate_Call) Run(run func(secret *model.Secret)) *MockStore_SecretCreate_Call
- func (_c *MockStore_SecretCreate_Call) RunAndReturn(run func(secret *model.Secret) error) *MockStore_SecretCreate_Call
- type MockStore_SecretDelete_Call
- func (_c *MockStore_SecretDelete_Call) Return(err error) *MockStore_SecretDelete_Call
- func (_c *MockStore_SecretDelete_Call) Run(run func(secret *model.Secret)) *MockStore_SecretDelete_Call
- func (_c *MockStore_SecretDelete_Call) RunAndReturn(run func(secret *model.Secret) error) *MockStore_SecretDelete_Call
- type MockStore_SecretFind_Call
- func (_c *MockStore_SecretFind_Call) Return(secret *model.Secret, err error) *MockStore_SecretFind_Call
- func (_c *MockStore_SecretFind_Call) Run(run func(repo *model.Repo, s string)) *MockStore_SecretFind_Call
- func (_c *MockStore_SecretFind_Call) RunAndReturn(run func(repo *model.Repo, s string) (*model.Secret, error)) *MockStore_SecretFind_Call
- type MockStore_SecretListAll_Call
- func (_c *MockStore_SecretListAll_Call) Return(secrets []*model.Secret, err error) *MockStore_SecretListAll_Call
- func (_c *MockStore_SecretListAll_Call) Run(run func()) *MockStore_SecretListAll_Call
- func (_c *MockStore_SecretListAll_Call) RunAndReturn(run func() ([]*model.Secret, error)) *MockStore_SecretListAll_Call
- type MockStore_SecretList_Call
- func (_c *MockStore_SecretList_Call) Return(secrets []*model.Secret, err error) *MockStore_SecretList_Call
- func (_c *MockStore_SecretList_Call) Run(run func(repo *model.Repo, b bool, listOptions *model.ListOptions)) *MockStore_SecretList_Call
- func (_c *MockStore_SecretList_Call) RunAndReturn(...) *MockStore_SecretList_Call
- type MockStore_SecretUpdate_Call
- func (_c *MockStore_SecretUpdate_Call) Return(err error) *MockStore_SecretUpdate_Call
- func (_c *MockStore_SecretUpdate_Call) Run(run func(secret *model.Secret)) *MockStore_SecretUpdate_Call
- func (_c *MockStore_SecretUpdate_Call) RunAndReturn(run func(secret *model.Secret) error) *MockStore_SecretUpdate_Call
- type MockStore_ServerConfigDelete_Call
- func (_c *MockStore_ServerConfigDelete_Call) Return(err error) *MockStore_ServerConfigDelete_Call
- func (_c *MockStore_ServerConfigDelete_Call) Run(run func(s string)) *MockStore_ServerConfigDelete_Call
- func (_c *MockStore_ServerConfigDelete_Call) RunAndReturn(run func(s string) error) *MockStore_ServerConfigDelete_Call
- type MockStore_ServerConfigGet_Call
- func (_c *MockStore_ServerConfigGet_Call) Return(s1 string, err error) *MockStore_ServerConfigGet_Call
- func (_c *MockStore_ServerConfigGet_Call) Run(run func(s string)) *MockStore_ServerConfigGet_Call
- func (_c *MockStore_ServerConfigGet_Call) RunAndReturn(run func(s string) (string, error)) *MockStore_ServerConfigGet_Call
- type MockStore_ServerConfigSet_Call
- func (_c *MockStore_ServerConfigSet_Call) Return(err error) *MockStore_ServerConfigSet_Call
- func (_c *MockStore_ServerConfigSet_Call) Run(run func(s string, s1 string)) *MockStore_ServerConfigSet_Call
- func (_c *MockStore_ServerConfigSet_Call) RunAndReturn(run func(s string, s1 string) error) *MockStore_ServerConfigSet_Call
- type MockStore_SetPipelineLogPurged_Call
- func (_c *MockStore_SetPipelineLogPurged_Call) Return(err error) *MockStore_SetPipelineLogPurged_Call
- func (_c *MockStore_SetPipelineLogPurged_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_SetPipelineLogPurged_Call
- func (_c *MockStore_SetPipelineLogPurged_Call) RunAndReturn(run func(pipeline *model.Pipeline) error) *MockStore_SetPipelineLogPurged_Call
- type MockStore_StepByUUID_Call
- func (_c *MockStore_StepByUUID_Call) Return(step *model.Step, err error) *MockStore_StepByUUID_Call
- func (_c *MockStore_StepByUUID_Call) Run(run func(s string)) *MockStore_StepByUUID_Call
- func (_c *MockStore_StepByUUID_Call) RunAndReturn(run func(s string) (*model.Step, error)) *MockStore_StepByUUID_Call
- type MockStore_StepChild_Call
- func (_c *MockStore_StepChild_Call) Return(step *model.Step, err error) *MockStore_StepChild_Call
- func (_c *MockStore_StepChild_Call) Run(run func(pipeline *model.Pipeline, n int, s string)) *MockStore_StepChild_Call
- func (_c *MockStore_StepChild_Call) RunAndReturn(run func(pipeline *model.Pipeline, n int, s string) (*model.Step, error)) *MockStore_StepChild_Call
- type MockStore_StepFind_Call
- func (_c *MockStore_StepFind_Call) Return(step *model.Step, err error) *MockStore_StepFind_Call
- func (_c *MockStore_StepFind_Call) Run(run func(pipeline *model.Pipeline, n int)) *MockStore_StepFind_Call
- func (_c *MockStore_StepFind_Call) RunAndReturn(run func(pipeline *model.Pipeline, n int) (*model.Step, error)) *MockStore_StepFind_Call
- type MockStore_StepListFromWorkflowFind_Call
- func (_c *MockStore_StepListFromWorkflowFind_Call) Return(steps []*model.Step, err error) *MockStore_StepListFromWorkflowFind_Call
- func (_c *MockStore_StepListFromWorkflowFind_Call) Run(run func(workflow *model.Workflow)) *MockStore_StepListFromWorkflowFind_Call
- func (_c *MockStore_StepListFromWorkflowFind_Call) RunAndReturn(run func(workflow *model.Workflow) ([]*model.Step, error)) *MockStore_StepListFromWorkflowFind_Call
- type MockStore_StepList_Call
- func (_c *MockStore_StepList_Call) Return(steps []*model.Step, err error) *MockStore_StepList_Call
- func (_c *MockStore_StepList_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_StepList_Call
- func (_c *MockStore_StepList_Call) RunAndReturn(run func(pipeline *model.Pipeline) ([]*model.Step, error)) *MockStore_StepList_Call
- type MockStore_StepLoad_Call
- type MockStore_StepUpdate_Call
- type MockStore_TaskAtomicAssign_Call
- func (_c *MockStore_TaskAtomicAssign_Call) Return(b bool, err error) *MockStore_TaskAtomicAssign_Call
- func (_c *MockStore_TaskAtomicAssign_Call) Run(run func(taskID string, agentID int64)) *MockStore_TaskAtomicAssign_Call
- func (_c *MockStore_TaskAtomicAssign_Call) RunAndReturn(run func(taskID string, agentID int64) (bool, error)) *MockStore_TaskAtomicAssign_Call
- type MockStore_TaskDelete_Call
- type MockStore_TaskInsert_Call
- type MockStore_TaskListPending_Call
- func (_c *MockStore_TaskListPending_Call) Return(tasks []*model.Task, err error) *MockStore_TaskListPending_Call
- func (_c *MockStore_TaskListPending_Call) Run(run func()) *MockStore_TaskListPending_Call
- func (_c *MockStore_TaskListPending_Call) RunAndReturn(run func() ([]*model.Task, error)) *MockStore_TaskListPending_Call
- type MockStore_TaskList_Call
- type MockStore_TaskUpdate_Call
- type MockStore_UpdatePipeline_Call
- func (_c *MockStore_UpdatePipeline_Call) Return(err error) *MockStore_UpdatePipeline_Call
- func (_c *MockStore_UpdatePipeline_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_UpdatePipeline_Call
- func (_c *MockStore_UpdatePipeline_Call) RunAndReturn(run func(pipeline *model.Pipeline) error) *MockStore_UpdatePipeline_Call
- type MockStore_UpdateRepo_Call
- type MockStore_UpdateUser_Call
- type MockStore_UserFeed_Call
- func (_c *MockStore_UserFeed_Call) Return(feeds []*model.Feed, err error) *MockStore_UserFeed_Call
- func (_c *MockStore_UserFeed_Call) Run(run func(user *model.User)) *MockStore_UserFeed_Call
- func (_c *MockStore_UserFeed_Call) RunAndReturn(run func(user *model.User) ([]*model.Feed, error)) *MockStore_UserFeed_Call
- type MockStore_WorkflowGetTree_Call
- func (_c *MockStore_WorkflowGetTree_Call) Return(workflows []*model.Workflow, err error) *MockStore_WorkflowGetTree_Call
- func (_c *MockStore_WorkflowGetTree_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_WorkflowGetTree_Call
- func (_c *MockStore_WorkflowGetTree_Call) RunAndReturn(run func(pipeline *model.Pipeline) ([]*model.Workflow, error)) *MockStore_WorkflowGetTree_Call
- type MockStore_WorkflowLoad_Call
- func (_c *MockStore_WorkflowLoad_Call) Return(workflow *model.Workflow, err error) *MockStore_WorkflowLoad_Call
- func (_c *MockStore_WorkflowLoad_Call) Run(run func(n int64)) *MockStore_WorkflowLoad_Call
- func (_c *MockStore_WorkflowLoad_Call) RunAndReturn(run func(n int64) (*model.Workflow, error)) *MockStore_WorkflowLoad_Call
- type MockStore_WorkflowUpdate_Call
- func (_c *MockStore_WorkflowUpdate_Call) Return(err error) *MockStore_WorkflowUpdate_Call
- func (_c *MockStore_WorkflowUpdate_Call) Run(run func(workflow *model.Workflow)) *MockStore_WorkflowUpdate_Call
- func (_c *MockStore_WorkflowUpdate_Call) RunAndReturn(run func(workflow *model.Workflow) error) *MockStore_WorkflowUpdate_Call
- type MockStore_WorkflowsCreate_Call
- func (_c *MockStore_WorkflowsCreate_Call) Return(err error) *MockStore_WorkflowsCreate_Call
- func (_c *MockStore_WorkflowsCreate_Call) Run(run func(workflows []*model.Workflow)) *MockStore_WorkflowsCreate_Call
- func (_c *MockStore_WorkflowsCreate_Call) RunAndReturn(run func(workflows []*model.Workflow) error) *MockStore_WorkflowsCreate_Call
- type MockStore_WorkflowsReplace_Call
- func (_c *MockStore_WorkflowsReplace_Call) Return(err error) *MockStore_WorkflowsReplace_Call
- func (_c *MockStore_WorkflowsReplace_Call) Run(run func(pipeline *model.Pipeline, workflows []*model.Workflow)) *MockStore_WorkflowsReplace_Call
- func (_c *MockStore_WorkflowsReplace_Call) RunAndReturn(run func(pipeline *model.Pipeline, workflows []*model.Workflow) error) *MockStore_WorkflowsReplace_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMaintenanceScheduler ¶
MockMaintenanceScheduler is an autogenerated mock type for the MaintenanceScheduler type
func NewMockMaintenanceScheduler ¶
func NewMockMaintenanceScheduler(t interface {
mock.TestingT
Cleanup(func())
}) *MockMaintenanceScheduler
NewMockMaintenanceScheduler creates a new instance of MockMaintenanceScheduler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockMaintenanceScheduler) EXPECT ¶
func (_m *MockMaintenanceScheduler) EXPECT() *MockMaintenanceScheduler_Expecter
func (*MockMaintenanceScheduler) RunManual ¶
func (_mock *MockMaintenanceScheduler) RunManual() error
RunManual provides a mock function for the type MockMaintenanceScheduler
func (*MockMaintenanceScheduler) Start ¶
func (_mock *MockMaintenanceScheduler) Start() error
Start provides a mock function for the type MockMaintenanceScheduler
func (*MockMaintenanceScheduler) Stop ¶
func (_mock *MockMaintenanceScheduler) Stop()
Stop provides a mock function for the type MockMaintenanceScheduler
func (*MockMaintenanceScheduler) UpdateSchedule ¶
func (_mock *MockMaintenanceScheduler) UpdateSchedule(schedule string, enabled bool) error
UpdateSchedule provides a mock function for the type MockMaintenanceScheduler
type MockMaintenanceScheduler_Expecter ¶
type MockMaintenanceScheduler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMaintenanceScheduler_Expecter) RunManual ¶
func (_e *MockMaintenanceScheduler_Expecter) RunManual() *MockMaintenanceScheduler_RunManual_Call
RunManual is a helper method to define mock.On call
func (*MockMaintenanceScheduler_Expecter) Start ¶
func (_e *MockMaintenanceScheduler_Expecter) Start() *MockMaintenanceScheduler_Start_Call
Start is a helper method to define mock.On call
func (*MockMaintenanceScheduler_Expecter) Stop ¶
func (_e *MockMaintenanceScheduler_Expecter) Stop() *MockMaintenanceScheduler_Stop_Call
Stop is a helper method to define mock.On call
func (*MockMaintenanceScheduler_Expecter) UpdateSchedule ¶
func (_e *MockMaintenanceScheduler_Expecter) UpdateSchedule(schedule interface{}, enabled interface{}) *MockMaintenanceScheduler_UpdateSchedule_Call
UpdateSchedule is a helper method to define mock.On call
- schedule string
- enabled bool
type MockMaintenanceScheduler_RunManual_Call ¶
MockMaintenanceScheduler_RunManual_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunManual'
func (*MockMaintenanceScheduler_RunManual_Call) Return ¶
func (_c *MockMaintenanceScheduler_RunManual_Call) Return(err error) *MockMaintenanceScheduler_RunManual_Call
func (*MockMaintenanceScheduler_RunManual_Call) Run ¶
func (_c *MockMaintenanceScheduler_RunManual_Call) Run(run func()) *MockMaintenanceScheduler_RunManual_Call
func (*MockMaintenanceScheduler_RunManual_Call) RunAndReturn ¶
func (_c *MockMaintenanceScheduler_RunManual_Call) RunAndReturn(run func() error) *MockMaintenanceScheduler_RunManual_Call
type MockMaintenanceScheduler_Start_Call ¶
MockMaintenanceScheduler_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MockMaintenanceScheduler_Start_Call) Return ¶
func (_c *MockMaintenanceScheduler_Start_Call) Return(err error) *MockMaintenanceScheduler_Start_Call
func (*MockMaintenanceScheduler_Start_Call) Run ¶
func (_c *MockMaintenanceScheduler_Start_Call) Run(run func()) *MockMaintenanceScheduler_Start_Call
func (*MockMaintenanceScheduler_Start_Call) RunAndReturn ¶
func (_c *MockMaintenanceScheduler_Start_Call) RunAndReturn(run func() error) *MockMaintenanceScheduler_Start_Call
type MockMaintenanceScheduler_Stop_Call ¶
MockMaintenanceScheduler_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*MockMaintenanceScheduler_Stop_Call) Return ¶
func (_c *MockMaintenanceScheduler_Stop_Call) Return() *MockMaintenanceScheduler_Stop_Call
func (*MockMaintenanceScheduler_Stop_Call) Run ¶
func (_c *MockMaintenanceScheduler_Stop_Call) Run(run func()) *MockMaintenanceScheduler_Stop_Call
func (*MockMaintenanceScheduler_Stop_Call) RunAndReturn ¶
func (_c *MockMaintenanceScheduler_Stop_Call) RunAndReturn(run func()) *MockMaintenanceScheduler_Stop_Call
type MockMaintenanceScheduler_UpdateSchedule_Call ¶
MockMaintenanceScheduler_UpdateSchedule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSchedule'
func (*MockMaintenanceScheduler_UpdateSchedule_Call) Return ¶
func (_c *MockMaintenanceScheduler_UpdateSchedule_Call) Return(err error) *MockMaintenanceScheduler_UpdateSchedule_Call
func (*MockMaintenanceScheduler_UpdateSchedule_Call) Run ¶
func (_c *MockMaintenanceScheduler_UpdateSchedule_Call) Run(run func(schedule string, enabled bool)) *MockMaintenanceScheduler_UpdateSchedule_Call
func (*MockMaintenanceScheduler_UpdateSchedule_Call) RunAndReturn ¶
func (_c *MockMaintenanceScheduler_UpdateSchedule_Call) RunAndReturn(run func(schedule string, enabled bool) error) *MockMaintenanceScheduler_UpdateSchedule_Call
type MockMaintenanceService ¶
MockMaintenanceService is an autogenerated mock type for the MaintenanceService type
func NewMockMaintenanceService ¶
func NewMockMaintenanceService(t interface {
mock.TestingT
Cleanup(func())
}) *MockMaintenanceService
NewMockMaintenanceService creates a new instance of MockMaintenanceService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockMaintenanceService) EXPECT ¶
func (_m *MockMaintenanceService) EXPECT() *MockMaintenanceService_Expecter
func (*MockMaintenanceService) GetMaintenanceConfig ¶
func (_mock *MockMaintenanceService) GetMaintenanceConfig() *model.MaintenanceConfig
GetMaintenanceConfig provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) GetMaintenanceConfigByAction ¶ added in v4.1.0
func (_mock *MockMaintenanceService) GetMaintenanceConfigByAction(actionType string) (*model.MaintenanceConfig, error)
GetMaintenanceConfigByAction provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) GetMaintenanceStats ¶
func (_mock *MockMaintenanceService) GetMaintenanceStats() (*model.MaintenanceStats, error)
GetMaintenanceStats provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) IsKubernetesCleanupAvailable ¶ added in v4.1.0
func (_mock *MockMaintenanceService) IsKubernetesCleanupAvailable() bool
IsKubernetesCleanupAvailable provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) IsKubernetesEnvVarsConfigured ¶ added in v4.1.0
func (_mock *MockMaintenanceService) IsKubernetesEnvVarsConfigured() bool
IsKubernetesEnvVarsConfigured provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) IsVacuumEnvVarsConfigured ¶ added in v4.1.0
func (_mock *MockMaintenanceService) IsVacuumEnvVarsConfigured() bool
IsVacuumEnvVarsConfigured provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) RunKubernetesCleanup ¶ added in v4.1.0
func (_mock *MockMaintenanceService) RunKubernetesCleanup(ctx context.Context, dryRun bool) error
RunKubernetesCleanup provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) RunMaintenance ¶
func (_mock *MockMaintenanceService) RunMaintenance(ctx context.Context) error
RunMaintenance provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) RunStaleAgentCleanup ¶ added in v4.4.0
func (_mock *MockMaintenanceService) RunStaleAgentCleanup(ctx context.Context, staleDuration time.Duration) error
RunStaleAgentCleanup provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) SetKubernetesCleanupEnabled ¶ added in v4.1.0
func (_mock *MockMaintenanceService) SetKubernetesCleanupEnabled(enabled bool)
SetKubernetesCleanupEnabled provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) SetKubernetesCleanupFunc ¶ added in v4.1.0
func (_mock *MockMaintenanceService) SetKubernetesCleanupFunc(f func(ctx context.Context, dryRun bool) error)
SetKubernetesCleanupFunc provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) SetKubernetesEnvVarsConfigured ¶ added in v4.1.0
func (_mock *MockMaintenanceService) SetKubernetesEnvVarsConfigured(k8sEnvVarsSet bool)
SetKubernetesEnvVarsConfigured provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) SetVacuumEnvVarsConfigured ¶ added in v4.1.0
func (_mock *MockMaintenanceService) SetVacuumEnvVarsConfigured(vacuumEnvVarsSet bool)
SetVacuumEnvVarsConfigured provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) UpdateMaintenanceConfig ¶
func (_mock *MockMaintenanceService) UpdateMaintenanceConfig(config *model.MaintenanceConfig) error
UpdateMaintenanceConfig provides a mock function for the type MockMaintenanceService
func (*MockMaintenanceService) UpdateMaintenanceConfigByAction ¶ added in v4.1.0
func (_mock *MockMaintenanceService) UpdateMaintenanceConfigByAction(actionType string, config *model.MaintenanceConfig) error
UpdateMaintenanceConfigByAction provides a mock function for the type MockMaintenanceService
type MockMaintenanceService_Expecter ¶
type MockMaintenanceService_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMaintenanceService_Expecter) GetMaintenanceConfig ¶
func (_e *MockMaintenanceService_Expecter) GetMaintenanceConfig() *MockMaintenanceService_GetMaintenanceConfig_Call
GetMaintenanceConfig is a helper method to define mock.On call
func (*MockMaintenanceService_Expecter) GetMaintenanceConfigByAction ¶ added in v4.1.0
func (_e *MockMaintenanceService_Expecter) GetMaintenanceConfigByAction(actionType interface{}) *MockMaintenanceService_GetMaintenanceConfigByAction_Call
GetMaintenanceConfigByAction is a helper method to define mock.On call
- actionType string
func (*MockMaintenanceService_Expecter) GetMaintenanceStats ¶
func (_e *MockMaintenanceService_Expecter) GetMaintenanceStats() *MockMaintenanceService_GetMaintenanceStats_Call
GetMaintenanceStats is a helper method to define mock.On call
func (*MockMaintenanceService_Expecter) IsKubernetesCleanupAvailable ¶ added in v4.1.0
func (_e *MockMaintenanceService_Expecter) IsKubernetesCleanupAvailable() *MockMaintenanceService_IsKubernetesCleanupAvailable_Call
IsKubernetesCleanupAvailable is a helper method to define mock.On call
func (*MockMaintenanceService_Expecter) IsKubernetesEnvVarsConfigured ¶ added in v4.1.0
func (_e *MockMaintenanceService_Expecter) IsKubernetesEnvVarsConfigured() *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call
IsKubernetesEnvVarsConfigured is a helper method to define mock.On call
func (*MockMaintenanceService_Expecter) IsVacuumEnvVarsConfigured ¶ added in v4.1.0
func (_e *MockMaintenanceService_Expecter) IsVacuumEnvVarsConfigured() *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call
IsVacuumEnvVarsConfigured is a helper method to define mock.On call
func (*MockMaintenanceService_Expecter) RunKubernetesCleanup ¶ added in v4.1.0
func (_e *MockMaintenanceService_Expecter) RunKubernetesCleanup(ctx interface{}, dryRun interface{}) *MockMaintenanceService_RunKubernetesCleanup_Call
RunKubernetesCleanup is a helper method to define mock.On call
- ctx context.Context
- dryRun bool
func (*MockMaintenanceService_Expecter) RunMaintenance ¶
func (_e *MockMaintenanceService_Expecter) RunMaintenance(ctx interface{}) *MockMaintenanceService_RunMaintenance_Call
RunMaintenance is a helper method to define mock.On call
- ctx context.Context
func (*MockMaintenanceService_Expecter) RunStaleAgentCleanup ¶ added in v4.4.0
func (_e *MockMaintenanceService_Expecter) RunStaleAgentCleanup(ctx interface{}, staleDuration interface{}) *MockMaintenanceService_RunStaleAgentCleanup_Call
RunStaleAgentCleanup is a helper method to define mock.On call
- ctx context.Context
- staleDuration time.Duration
func (*MockMaintenanceService_Expecter) SetKubernetesCleanupEnabled ¶ added in v4.1.0
func (_e *MockMaintenanceService_Expecter) SetKubernetesCleanupEnabled(enabled interface{}) *MockMaintenanceService_SetKubernetesCleanupEnabled_Call
SetKubernetesCleanupEnabled is a helper method to define mock.On call
- enabled bool
func (*MockMaintenanceService_Expecter) SetKubernetesCleanupFunc ¶ added in v4.1.0
func (_e *MockMaintenanceService_Expecter) SetKubernetesCleanupFunc(f interface{}) *MockMaintenanceService_SetKubernetesCleanupFunc_Call
SetKubernetesCleanupFunc is a helper method to define mock.On call
- f func(ctx context.Context, dryRun bool) error
func (*MockMaintenanceService_Expecter) SetKubernetesEnvVarsConfigured ¶ added in v4.1.0
func (_e *MockMaintenanceService_Expecter) SetKubernetesEnvVarsConfigured(k8sEnvVarsSet interface{}) *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call
SetKubernetesEnvVarsConfigured is a helper method to define mock.On call
- k8sEnvVarsSet bool
func (*MockMaintenanceService_Expecter) SetVacuumEnvVarsConfigured ¶ added in v4.1.0
func (_e *MockMaintenanceService_Expecter) SetVacuumEnvVarsConfigured(vacuumEnvVarsSet interface{}) *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call
SetVacuumEnvVarsConfigured is a helper method to define mock.On call
- vacuumEnvVarsSet bool
func (*MockMaintenanceService_Expecter) UpdateMaintenanceConfig ¶
func (_e *MockMaintenanceService_Expecter) UpdateMaintenanceConfig(config interface{}) *MockMaintenanceService_UpdateMaintenanceConfig_Call
UpdateMaintenanceConfig is a helper method to define mock.On call
- config *model.MaintenanceConfig
func (*MockMaintenanceService_Expecter) UpdateMaintenanceConfigByAction ¶ added in v4.1.0
func (_e *MockMaintenanceService_Expecter) UpdateMaintenanceConfigByAction(actionType interface{}, config interface{}) *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call
UpdateMaintenanceConfigByAction is a helper method to define mock.On call
- actionType string
- config *model.MaintenanceConfig
type MockMaintenanceService_GetMaintenanceConfigByAction_Call ¶ added in v4.1.0
MockMaintenanceService_GetMaintenanceConfigByAction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMaintenanceConfigByAction'
func (*MockMaintenanceService_GetMaintenanceConfigByAction_Call) Return ¶ added in v4.1.0
func (_c *MockMaintenanceService_GetMaintenanceConfigByAction_Call) Return(maintenanceConfig *model.MaintenanceConfig, err error) *MockMaintenanceService_GetMaintenanceConfigByAction_Call
func (*MockMaintenanceService_GetMaintenanceConfigByAction_Call) Run ¶ added in v4.1.0
func (_c *MockMaintenanceService_GetMaintenanceConfigByAction_Call) Run(run func(actionType string)) *MockMaintenanceService_GetMaintenanceConfigByAction_Call
func (*MockMaintenanceService_GetMaintenanceConfigByAction_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockMaintenanceService_GetMaintenanceConfigByAction_Call) RunAndReturn(run func(actionType string) (*model.MaintenanceConfig, error)) *MockMaintenanceService_GetMaintenanceConfigByAction_Call
type MockMaintenanceService_GetMaintenanceConfig_Call ¶
MockMaintenanceService_GetMaintenanceConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMaintenanceConfig'
func (*MockMaintenanceService_GetMaintenanceConfig_Call) Return ¶
func (_c *MockMaintenanceService_GetMaintenanceConfig_Call) Return(maintenanceConfig *model.MaintenanceConfig) *MockMaintenanceService_GetMaintenanceConfig_Call
func (*MockMaintenanceService_GetMaintenanceConfig_Call) Run ¶
func (_c *MockMaintenanceService_GetMaintenanceConfig_Call) Run(run func()) *MockMaintenanceService_GetMaintenanceConfig_Call
func (*MockMaintenanceService_GetMaintenanceConfig_Call) RunAndReturn ¶
func (_c *MockMaintenanceService_GetMaintenanceConfig_Call) RunAndReturn(run func() *model.MaintenanceConfig) *MockMaintenanceService_GetMaintenanceConfig_Call
type MockMaintenanceService_GetMaintenanceStats_Call ¶
MockMaintenanceService_GetMaintenanceStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMaintenanceStats'
func (*MockMaintenanceService_GetMaintenanceStats_Call) Return ¶
func (_c *MockMaintenanceService_GetMaintenanceStats_Call) Return(maintenanceStats *model.MaintenanceStats, err error) *MockMaintenanceService_GetMaintenanceStats_Call
func (*MockMaintenanceService_GetMaintenanceStats_Call) Run ¶
func (_c *MockMaintenanceService_GetMaintenanceStats_Call) Run(run func()) *MockMaintenanceService_GetMaintenanceStats_Call
func (*MockMaintenanceService_GetMaintenanceStats_Call) RunAndReturn ¶
func (_c *MockMaintenanceService_GetMaintenanceStats_Call) RunAndReturn(run func() (*model.MaintenanceStats, error)) *MockMaintenanceService_GetMaintenanceStats_Call
type MockMaintenanceService_IsKubernetesCleanupAvailable_Call ¶ added in v4.1.0
MockMaintenanceService_IsKubernetesCleanupAvailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsKubernetesCleanupAvailable'
func (*MockMaintenanceService_IsKubernetesCleanupAvailable_Call) Run ¶ added in v4.1.0
func (_c *MockMaintenanceService_IsKubernetesCleanupAvailable_Call) Run(run func()) *MockMaintenanceService_IsKubernetesCleanupAvailable_Call
func (*MockMaintenanceService_IsKubernetesCleanupAvailable_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockMaintenanceService_IsKubernetesCleanupAvailable_Call) RunAndReturn(run func() bool) *MockMaintenanceService_IsKubernetesCleanupAvailable_Call
type MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call ¶ added in v4.1.0
MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsKubernetesEnvVarsConfigured'
func (*MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call) Run ¶ added in v4.1.0
func (_c *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call) Run(run func()) *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call
func (*MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call) RunAndReturn(run func() bool) *MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call
type MockMaintenanceService_IsVacuumEnvVarsConfigured_Call ¶ added in v4.1.0
MockMaintenanceService_IsVacuumEnvVarsConfigured_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsVacuumEnvVarsConfigured'
func (*MockMaintenanceService_IsVacuumEnvVarsConfigured_Call) Run ¶ added in v4.1.0
func (_c *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call) Run(run func()) *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call
func (*MockMaintenanceService_IsVacuumEnvVarsConfigured_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call) RunAndReturn(run func() bool) *MockMaintenanceService_IsVacuumEnvVarsConfigured_Call
type MockMaintenanceService_RunKubernetesCleanup_Call ¶ added in v4.1.0
MockMaintenanceService_RunKubernetesCleanup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunKubernetesCleanup'
func (*MockMaintenanceService_RunKubernetesCleanup_Call) Return ¶ added in v4.1.0
func (_c *MockMaintenanceService_RunKubernetesCleanup_Call) Return(err error) *MockMaintenanceService_RunKubernetesCleanup_Call
func (*MockMaintenanceService_RunKubernetesCleanup_Call) Run ¶ added in v4.1.0
func (_c *MockMaintenanceService_RunKubernetesCleanup_Call) Run(run func(ctx context.Context, dryRun bool)) *MockMaintenanceService_RunKubernetesCleanup_Call
func (*MockMaintenanceService_RunKubernetesCleanup_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockMaintenanceService_RunKubernetesCleanup_Call) RunAndReturn(run func(ctx context.Context, dryRun bool) error) *MockMaintenanceService_RunKubernetesCleanup_Call
type MockMaintenanceService_RunMaintenance_Call ¶
MockMaintenanceService_RunMaintenance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunMaintenance'
func (*MockMaintenanceService_RunMaintenance_Call) Return ¶
func (_c *MockMaintenanceService_RunMaintenance_Call) Return(err error) *MockMaintenanceService_RunMaintenance_Call
func (*MockMaintenanceService_RunMaintenance_Call) Run ¶
func (_c *MockMaintenanceService_RunMaintenance_Call) Run(run func(ctx context.Context)) *MockMaintenanceService_RunMaintenance_Call
func (*MockMaintenanceService_RunMaintenance_Call) RunAndReturn ¶
func (_c *MockMaintenanceService_RunMaintenance_Call) RunAndReturn(run func(ctx context.Context) error) *MockMaintenanceService_RunMaintenance_Call
type MockMaintenanceService_RunStaleAgentCleanup_Call ¶ added in v4.4.0
MockMaintenanceService_RunStaleAgentCleanup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunStaleAgentCleanup'
func (*MockMaintenanceService_RunStaleAgentCleanup_Call) Return ¶ added in v4.4.0
func (_c *MockMaintenanceService_RunStaleAgentCleanup_Call) Return(err error) *MockMaintenanceService_RunStaleAgentCleanup_Call
func (*MockMaintenanceService_RunStaleAgentCleanup_Call) Run ¶ added in v4.4.0
func (_c *MockMaintenanceService_RunStaleAgentCleanup_Call) Run(run func(ctx context.Context, staleDuration time.Duration)) *MockMaintenanceService_RunStaleAgentCleanup_Call
func (*MockMaintenanceService_RunStaleAgentCleanup_Call) RunAndReturn ¶ added in v4.4.0
func (_c *MockMaintenanceService_RunStaleAgentCleanup_Call) RunAndReturn(run func(ctx context.Context, staleDuration time.Duration) error) *MockMaintenanceService_RunStaleAgentCleanup_Call
type MockMaintenanceService_SetKubernetesCleanupEnabled_Call ¶ added in v4.1.0
MockMaintenanceService_SetKubernetesCleanupEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetKubernetesCleanupEnabled'
func (*MockMaintenanceService_SetKubernetesCleanupEnabled_Call) Run ¶ added in v4.1.0
func (_c *MockMaintenanceService_SetKubernetesCleanupEnabled_Call) Run(run func(enabled bool)) *MockMaintenanceService_SetKubernetesCleanupEnabled_Call
func (*MockMaintenanceService_SetKubernetesCleanupEnabled_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockMaintenanceService_SetKubernetesCleanupEnabled_Call) RunAndReturn(run func(enabled bool)) *MockMaintenanceService_SetKubernetesCleanupEnabled_Call
type MockMaintenanceService_SetKubernetesCleanupFunc_Call ¶ added in v4.1.0
MockMaintenanceService_SetKubernetesCleanupFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetKubernetesCleanupFunc'
func (*MockMaintenanceService_SetKubernetesCleanupFunc_Call) Run ¶ added in v4.1.0
func (_c *MockMaintenanceService_SetKubernetesCleanupFunc_Call) Run(run func(f func(ctx context.Context, dryRun bool) error)) *MockMaintenanceService_SetKubernetesCleanupFunc_Call
func (*MockMaintenanceService_SetKubernetesCleanupFunc_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockMaintenanceService_SetKubernetesCleanupFunc_Call) RunAndReturn(run func(f func(ctx context.Context, dryRun bool) error)) *MockMaintenanceService_SetKubernetesCleanupFunc_Call
type MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call ¶ added in v4.1.0
MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetKubernetesEnvVarsConfigured'
func (*MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call) Run ¶ added in v4.1.0
func (_c *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call) Run(run func(k8sEnvVarsSet bool)) *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call
func (*MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call) RunAndReturn(run func(k8sEnvVarsSet bool)) *MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call
type MockMaintenanceService_SetVacuumEnvVarsConfigured_Call ¶ added in v4.1.0
MockMaintenanceService_SetVacuumEnvVarsConfigured_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVacuumEnvVarsConfigured'
func (*MockMaintenanceService_SetVacuumEnvVarsConfigured_Call) Run ¶ added in v4.1.0
func (_c *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call) Run(run func(vacuumEnvVarsSet bool)) *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call
func (*MockMaintenanceService_SetVacuumEnvVarsConfigured_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call) RunAndReturn(run func(vacuumEnvVarsSet bool)) *MockMaintenanceService_SetVacuumEnvVarsConfigured_Call
type MockMaintenanceService_UpdateMaintenanceConfigByAction_Call ¶ added in v4.1.0
MockMaintenanceService_UpdateMaintenanceConfigByAction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMaintenanceConfigByAction'
func (*MockMaintenanceService_UpdateMaintenanceConfigByAction_Call) Run ¶ added in v4.1.0
func (_c *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call) Run(run func(actionType string, config *model.MaintenanceConfig)) *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call
func (*MockMaintenanceService_UpdateMaintenanceConfigByAction_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call) RunAndReturn(run func(actionType string, config *model.MaintenanceConfig) error) *MockMaintenanceService_UpdateMaintenanceConfigByAction_Call
type MockMaintenanceService_UpdateMaintenanceConfig_Call ¶
MockMaintenanceService_UpdateMaintenanceConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMaintenanceConfig'
func (*MockMaintenanceService_UpdateMaintenanceConfig_Call) Run ¶
func (_c *MockMaintenanceService_UpdateMaintenanceConfig_Call) Run(run func(config *model.MaintenanceConfig)) *MockMaintenanceService_UpdateMaintenanceConfig_Call
func (*MockMaintenanceService_UpdateMaintenanceConfig_Call) RunAndReturn ¶
func (_c *MockMaintenanceService_UpdateMaintenanceConfig_Call) RunAndReturn(run func(config *model.MaintenanceConfig) error) *MockMaintenanceService_UpdateMaintenanceConfig_Call
type MockManager ¶
MockManager is an autogenerated mock type for the Manager type
func NewMockManager ¶
func NewMockManager(t interface {
mock.TestingT
Cleanup(func())
}) *MockManager
NewMockManager creates a new instance of MockManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockManager) ConfigServiceFromRepo ¶
func (_mock *MockManager) ConfigServiceFromRepo(repo *model.Repo) config.Service
ConfigServiceFromRepo provides a mock function for the type MockManager
func (*MockManager) EXPECT ¶
func (_m *MockManager) EXPECT() *MockManager_Expecter
func (*MockManager) EnvironmentService ¶
func (_mock *MockManager) EnvironmentService() environment.Service
EnvironmentService provides a mock function for the type MockManager
func (*MockManager) ForgeByID ¶
func (_mock *MockManager) ForgeByID(forgeID int64) (forge.Forge, error)
ForgeByID provides a mock function for the type MockManager
func (*MockManager) ForgeFromRepo ¶
ForgeFromRepo provides a mock function for the type MockManager
func (*MockManager) ForgeFromUser ¶
ForgeFromUser provides a mock function for the type MockManager
func (*MockManager) RegistryService ¶
func (_mock *MockManager) RegistryService() registry.Service
RegistryService provides a mock function for the type MockManager
func (*MockManager) RegistryServiceFromRepo ¶
func (_mock *MockManager) RegistryServiceFromRepo(repo *model.Repo) registry.Service
RegistryServiceFromRepo provides a mock function for the type MockManager
func (*MockManager) SecretService ¶
func (_mock *MockManager) SecretService() secret.Service
SecretService provides a mock function for the type MockManager
func (*MockManager) SecretServiceFromRepo ¶
func (_mock *MockManager) SecretServiceFromRepo(repo *model.Repo) secret.Service
SecretServiceFromRepo provides a mock function for the type MockManager
func (*MockManager) SignaturePublicKey ¶
func (_mock *MockManager) SignaturePublicKey() crypto.PublicKey
SignaturePublicKey provides a mock function for the type MockManager
type MockManager_ConfigServiceFromRepo_Call ¶
MockManager_ConfigServiceFromRepo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigServiceFromRepo'
func (*MockManager_ConfigServiceFromRepo_Call) Return ¶
func (_c *MockManager_ConfigServiceFromRepo_Call) Return(service config.Service) *MockManager_ConfigServiceFromRepo_Call
func (*MockManager_ConfigServiceFromRepo_Call) Run ¶
func (_c *MockManager_ConfigServiceFromRepo_Call) Run(run func(repo *model.Repo)) *MockManager_ConfigServiceFromRepo_Call
func (*MockManager_ConfigServiceFromRepo_Call) RunAndReturn ¶
func (_c *MockManager_ConfigServiceFromRepo_Call) RunAndReturn(run func(repo *model.Repo) config.Service) *MockManager_ConfigServiceFromRepo_Call
type MockManager_EnvironmentService_Call ¶
MockManager_EnvironmentService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnvironmentService'
func (*MockManager_EnvironmentService_Call) Return ¶
func (_c *MockManager_EnvironmentService_Call) Return(service environment.Service) *MockManager_EnvironmentService_Call
func (*MockManager_EnvironmentService_Call) Run ¶
func (_c *MockManager_EnvironmentService_Call) Run(run func()) *MockManager_EnvironmentService_Call
func (*MockManager_EnvironmentService_Call) RunAndReturn ¶
func (_c *MockManager_EnvironmentService_Call) RunAndReturn(run func() environment.Service) *MockManager_EnvironmentService_Call
type MockManager_Expecter ¶
type MockManager_Expecter struct {
// contains filtered or unexported fields
}
func (*MockManager_Expecter) ConfigServiceFromRepo ¶
func (_e *MockManager_Expecter) ConfigServiceFromRepo(repo interface{}) *MockManager_ConfigServiceFromRepo_Call
ConfigServiceFromRepo is a helper method to define mock.On call
- repo *model.Repo
func (*MockManager_Expecter) EnvironmentService ¶
func (_e *MockManager_Expecter) EnvironmentService() *MockManager_EnvironmentService_Call
EnvironmentService is a helper method to define mock.On call
func (*MockManager_Expecter) ForgeByID ¶
func (_e *MockManager_Expecter) ForgeByID(forgeID interface{}) *MockManager_ForgeByID_Call
ForgeByID is a helper method to define mock.On call
- forgeID int64
func (*MockManager_Expecter) ForgeFromRepo ¶
func (_e *MockManager_Expecter) ForgeFromRepo(repo interface{}) *MockManager_ForgeFromRepo_Call
ForgeFromRepo is a helper method to define mock.On call
- repo *model.Repo
func (*MockManager_Expecter) ForgeFromUser ¶
func (_e *MockManager_Expecter) ForgeFromUser(user interface{}) *MockManager_ForgeFromUser_Call
ForgeFromUser is a helper method to define mock.On call
- user *model.User
func (*MockManager_Expecter) RegistryService ¶
func (_e *MockManager_Expecter) RegistryService() *MockManager_RegistryService_Call
RegistryService is a helper method to define mock.On call
func (*MockManager_Expecter) RegistryServiceFromRepo ¶
func (_e *MockManager_Expecter) RegistryServiceFromRepo(repo interface{}) *MockManager_RegistryServiceFromRepo_Call
RegistryServiceFromRepo is a helper method to define mock.On call
- repo *model.Repo
func (*MockManager_Expecter) SecretService ¶
func (_e *MockManager_Expecter) SecretService() *MockManager_SecretService_Call
SecretService is a helper method to define mock.On call
func (*MockManager_Expecter) SecretServiceFromRepo ¶
func (_e *MockManager_Expecter) SecretServiceFromRepo(repo interface{}) *MockManager_SecretServiceFromRepo_Call
SecretServiceFromRepo is a helper method to define mock.On call
- repo *model.Repo
func (*MockManager_Expecter) SignaturePublicKey ¶
func (_e *MockManager_Expecter) SignaturePublicKey() *MockManager_SignaturePublicKey_Call
SignaturePublicKey is a helper method to define mock.On call
type MockManager_ForgeByID_Call ¶
MockManager_ForgeByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForgeByID'
func (*MockManager_ForgeByID_Call) Return ¶
func (_c *MockManager_ForgeByID_Call) Return(forge1 forge.Forge, err error) *MockManager_ForgeByID_Call
func (*MockManager_ForgeByID_Call) Run ¶
func (_c *MockManager_ForgeByID_Call) Run(run func(forgeID int64)) *MockManager_ForgeByID_Call
func (*MockManager_ForgeByID_Call) RunAndReturn ¶
func (_c *MockManager_ForgeByID_Call) RunAndReturn(run func(forgeID int64) (forge.Forge, error)) *MockManager_ForgeByID_Call
type MockManager_ForgeFromRepo_Call ¶
MockManager_ForgeFromRepo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForgeFromRepo'
func (*MockManager_ForgeFromRepo_Call) Return ¶
func (_c *MockManager_ForgeFromRepo_Call) Return(forge1 forge.Forge, err error) *MockManager_ForgeFromRepo_Call
func (*MockManager_ForgeFromRepo_Call) Run ¶
func (_c *MockManager_ForgeFromRepo_Call) Run(run func(repo *model.Repo)) *MockManager_ForgeFromRepo_Call
func (*MockManager_ForgeFromRepo_Call) RunAndReturn ¶
func (_c *MockManager_ForgeFromRepo_Call) RunAndReturn(run func(repo *model.Repo) (forge.Forge, error)) *MockManager_ForgeFromRepo_Call
type MockManager_ForgeFromUser_Call ¶
MockManager_ForgeFromUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForgeFromUser'
func (*MockManager_ForgeFromUser_Call) Return ¶
func (_c *MockManager_ForgeFromUser_Call) Return(forge1 forge.Forge, err error) *MockManager_ForgeFromUser_Call
func (*MockManager_ForgeFromUser_Call) Run ¶
func (_c *MockManager_ForgeFromUser_Call) Run(run func(user *model.User)) *MockManager_ForgeFromUser_Call
func (*MockManager_ForgeFromUser_Call) RunAndReturn ¶
func (_c *MockManager_ForgeFromUser_Call) RunAndReturn(run func(user *model.User) (forge.Forge, error)) *MockManager_ForgeFromUser_Call
type MockManager_RegistryServiceFromRepo_Call ¶
MockManager_RegistryServiceFromRepo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryServiceFromRepo'
func (*MockManager_RegistryServiceFromRepo_Call) Return ¶
func (_c *MockManager_RegistryServiceFromRepo_Call) Return(service registry.Service) *MockManager_RegistryServiceFromRepo_Call
func (*MockManager_RegistryServiceFromRepo_Call) Run ¶
func (_c *MockManager_RegistryServiceFromRepo_Call) Run(run func(repo *model.Repo)) *MockManager_RegistryServiceFromRepo_Call
func (*MockManager_RegistryServiceFromRepo_Call) RunAndReturn ¶
func (_c *MockManager_RegistryServiceFromRepo_Call) RunAndReturn(run func(repo *model.Repo) registry.Service) *MockManager_RegistryServiceFromRepo_Call
type MockManager_RegistryService_Call ¶
MockManager_RegistryService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryService'
func (*MockManager_RegistryService_Call) Return ¶
func (_c *MockManager_RegistryService_Call) Return(service registry.Service) *MockManager_RegistryService_Call
func (*MockManager_RegistryService_Call) Run ¶
func (_c *MockManager_RegistryService_Call) Run(run func()) *MockManager_RegistryService_Call
func (*MockManager_RegistryService_Call) RunAndReturn ¶
func (_c *MockManager_RegistryService_Call) RunAndReturn(run func() registry.Service) *MockManager_RegistryService_Call
type MockManager_SecretServiceFromRepo_Call ¶
MockManager_SecretServiceFromRepo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretServiceFromRepo'
func (*MockManager_SecretServiceFromRepo_Call) Return ¶
func (_c *MockManager_SecretServiceFromRepo_Call) Return(service secret.Service) *MockManager_SecretServiceFromRepo_Call
func (*MockManager_SecretServiceFromRepo_Call) Run ¶
func (_c *MockManager_SecretServiceFromRepo_Call) Run(run func(repo *model.Repo)) *MockManager_SecretServiceFromRepo_Call
func (*MockManager_SecretServiceFromRepo_Call) RunAndReturn ¶
func (_c *MockManager_SecretServiceFromRepo_Call) RunAndReturn(run func(repo *model.Repo) secret.Service) *MockManager_SecretServiceFromRepo_Call
type MockManager_SecretService_Call ¶
MockManager_SecretService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretService'
func (*MockManager_SecretService_Call) Return ¶
func (_c *MockManager_SecretService_Call) Return(service secret.Service) *MockManager_SecretService_Call
func (*MockManager_SecretService_Call) Run ¶
func (_c *MockManager_SecretService_Call) Run(run func()) *MockManager_SecretService_Call
func (*MockManager_SecretService_Call) RunAndReturn ¶
func (_c *MockManager_SecretService_Call) RunAndReturn(run func() secret.Service) *MockManager_SecretService_Call
type MockManager_SignaturePublicKey_Call ¶
MockManager_SignaturePublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignaturePublicKey'
func (*MockManager_SignaturePublicKey_Call) Return ¶
func (_c *MockManager_SignaturePublicKey_Call) Return(publicKey crypto.PublicKey) *MockManager_SignaturePublicKey_Call
func (*MockManager_SignaturePublicKey_Call) Run ¶
func (_c *MockManager_SignaturePublicKey_Call) Run(run func()) *MockManager_SignaturePublicKey_Call
func (*MockManager_SignaturePublicKey_Call) RunAndReturn ¶
func (_c *MockManager_SignaturePublicKey_Call) RunAndReturn(run func() crypto.PublicKey) *MockManager_SignaturePublicKey_Call
type MockSetupForge ¶
MockSetupForge is an autogenerated mock type for the SetupForge type
func NewMockSetupForge ¶
func NewMockSetupForge(t interface {
mock.TestingT
Cleanup(func())
}) *MockSetupForge
NewMockSetupForge creates a new instance of MockSetupForge. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockSetupForge) EXPECT ¶
func (_m *MockSetupForge) EXPECT() *MockSetupForge_Expecter
type MockSetupForge_Execute_Call ¶
MockSetupForge_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockSetupForge_Execute_Call) Return ¶
func (_c *MockSetupForge_Execute_Call) Return(_a0 forge.Forge, _a1 error) *MockSetupForge_Execute_Call
func (*MockSetupForge_Execute_Call) Run ¶
func (_c *MockSetupForge_Execute_Call) Run(run func(_a0 *model.Forge)) *MockSetupForge_Execute_Call
func (*MockSetupForge_Execute_Call) RunAndReturn ¶
func (_c *MockSetupForge_Execute_Call) RunAndReturn(run func(*model.Forge) (forge.Forge, error)) *MockSetupForge_Execute_Call
type MockSetupForge_Expecter ¶
type MockSetupForge_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSetupForge_Expecter) Execute ¶
func (_e *MockSetupForge_Expecter) Execute(_a0 interface{}) *MockSetupForge_Execute_Call
Execute is a helper method to define mock.On call
- _a0 *model.Forge
type MockStore ¶
MockStore is an autogenerated mock type for the Store type
func NewMockStore ¶
NewMockStore creates a new instance of MockStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockStore) AgentCreate ¶
AgentCreate provides a mock function for the type MockStore
func (*MockStore) AgentDelete ¶
AgentDelete provides a mock function for the type MockStore
func (*MockStore) AgentFindByToken ¶
AgentFindByToken provides a mock function for the type MockStore
func (*MockStore) AgentListForOrg ¶
func (_mock *MockStore) AgentListForOrg(orgID int64, opt *model.ListOptions) ([]*model.Agent, error)
AgentListForOrg provides a mock function for the type MockStore
func (*MockStore) AgentUpdate ¶
AgentUpdate provides a mock function for the type MockStore
func (*MockStore) AutoscalerCreate ¶ added in v4.5.0
func (_mock *MockStore) AutoscalerCreate(autoscaler *model.Autoscaler) error
AutoscalerCreate provides a mock function for the type MockStore
func (*MockStore) AutoscalerDelete ¶ added in v4.5.0
func (_mock *MockStore) AutoscalerDelete(autoscaler *model.Autoscaler) error
AutoscalerDelete provides a mock function for the type MockStore
func (*MockStore) AutoscalerFind ¶ added in v4.5.0
func (_mock *MockStore) AutoscalerFind(n int64) (*model.Autoscaler, error)
AutoscalerFind provides a mock function for the type MockStore
func (*MockStore) AutoscalerFindByName ¶ added in v4.5.0
func (_mock *MockStore) AutoscalerFindByName(s string) (*model.Autoscaler, error)
AutoscalerFindByName provides a mock function for the type MockStore
func (*MockStore) AutoscalerFindByToken ¶ added in v4.5.0
func (_mock *MockStore) AutoscalerFindByToken(s string) (*model.Autoscaler, error)
AutoscalerFindByToken provides a mock function for the type MockStore
func (*MockStore) AutoscalerList ¶ added in v4.5.0
func (_mock *MockStore) AutoscalerList(opts *model.AutoscalerListOptions) ([]*model.Autoscaler, error)
AutoscalerList provides a mock function for the type MockStore
func (*MockStore) AutoscalerUpdate ¶ added in v4.5.0
func (_mock *MockStore) AutoscalerUpdate(autoscaler *model.Autoscaler) error
AutoscalerUpdate provides a mock function for the type MockStore
func (*MockStore) AutoscalerUpdateHeartbeat ¶ added in v4.5.0
func (_mock *MockStore) AutoscalerUpdateHeartbeat(id int64, activeAgents int32, pendingAgents int32, version string) error
AutoscalerUpdateHeartbeat provides a mock function for the type MockStore
func (*MockStore) CacheCleanupExpired ¶
CacheCleanupExpired provides a mock function for the type MockStore
func (*MockStore) CacheDelete ¶
CacheDelete provides a mock function for the type MockStore
func (*MockStore) CacheGet ¶
func (_mock *MockStore) CacheGet(key string) (*model.CacheEntry, error)
CacheGet provides a mock function for the type MockStore
func (*MockStore) CacheSet ¶
func (_mock *MockStore) CacheSet(entry *model.CacheEntry) error
CacheSet provides a mock function for the type MockStore
func (*MockStore) CleanupOrphanedWorkflows ¶
CleanupOrphanedWorkflows provides a mock function for the type MockStore
func (*MockStore) ConfigPersist ¶
ConfigPersist provides a mock function for the type MockStore
func (*MockStore) ConfigsForPipeline ¶
ConfigsForPipeline provides a mock function for the type MockStore
func (*MockStore) CreatePipeline ¶
CreatePipeline provides a mock function for the type MockStore
func (*MockStore) CreateRedirection ¶
func (_mock *MockStore) CreateRedirection(redirection *model.Redirection) error
CreateRedirection provides a mock function for the type MockStore
func (*MockStore) CreateRepo ¶
CreateRepo provides a mock function for the type MockStore
func (*MockStore) CreateUser ¶
CreateUser provides a mock function for the type MockStore
func (*MockStore) CronCreate ¶
CronCreate provides a mock function for the type MockStore
func (*MockStore) CronDelete ¶
CronDelete provides a mock function for the type MockStore
func (*MockStore) CronGetLock ¶
CronGetLock provides a mock function for the type MockStore
func (*MockStore) CronList ¶
func (_mock *MockStore) CronList(repo *model.Repo, listOptions *model.ListOptions) ([]*model.Cron, error)
CronList provides a mock function for the type MockStore
func (*MockStore) CronListNextExecute ¶
CronListNextExecute provides a mock function for the type MockStore
func (*MockStore) CronUpdate ¶
CronUpdate provides a mock function for the type MockStore
func (*MockStore) DeletePipeline ¶
DeletePipeline provides a mock function for the type MockStore
func (*MockStore) DeleteRepo ¶
DeleteRepo provides a mock function for the type MockStore
func (*MockStore) DeleteUser ¶
DeleteUser provides a mock function for the type MockStore
func (*MockStore) DistributedLockAcquire ¶
func (_mock *MockStore) DistributedLockAcquire(lockName string, instanceID string, ttlSeconds int64) (bool, error)
DistributedLockAcquire provides a mock function for the type MockStore
func (*MockStore) DistributedLockCleanup ¶
DistributedLockCleanup provides a mock function for the type MockStore
func (*MockStore) DistributedLockExtend ¶
func (_mock *MockStore) DistributedLockExtend(lockName string, instanceID string, ttlSeconds int64) (bool, error)
DistributedLockExtend provides a mock function for the type MockStore
func (*MockStore) DistributedLockInit ¶ added in v4.0.1
DistributedLockInit provides a mock function for the type MockStore
func (*MockStore) DistributedLockList ¶
func (_mock *MockStore) DistributedLockList() ([]*model.DistributedLock, error)
DistributedLockList provides a mock function for the type MockStore
func (*MockStore) DistributedLockRelease ¶
DistributedLockRelease provides a mock function for the type MockStore
func (*MockStore) EXPECT ¶
func (_m *MockStore) EXPECT() *MockStore_Expecter
func (*MockStore) ForgeCreate ¶
ForgeCreate provides a mock function for the type MockStore
func (*MockStore) ForgeDelete ¶
ForgeDelete provides a mock function for the type MockStore
func (*MockStore) ForgeUpdate ¶
ForgeUpdate provides a mock function for the type MockStore
func (*MockStore) GetActivePipelineList ¶
GetActivePipelineList provides a mock function for the type MockStore
func (*MockStore) GetPipeline ¶
GetPipeline provides a mock function for the type MockStore
func (*MockStore) GetPipelineBadge ¶
GetPipelineBadge provides a mock function for the type MockStore
func (*MockStore) GetPipelineCount ¶
GetPipelineCount provides a mock function for the type MockStore
func (*MockStore) GetPipelineCountByRepo ¶
GetPipelineCountByRepo provides a mock function for the type MockStore
func (*MockStore) GetPipelineLast ¶
GetPipelineLast provides a mock function for the type MockStore
func (*MockStore) GetPipelineLastBefore ¶
func (_mock *MockStore) GetPipelineLastBefore(repo *model.Repo, s string, n int64) (*model.Pipeline, error)
GetPipelineLastBefore provides a mock function for the type MockStore
func (*MockStore) GetPipelineList ¶
func (_mock *MockStore) GetPipelineList(repo *model.Repo, listOptions *model.ListOptions, pipelineFilter *model.PipelineFilter) ([]*model.Pipeline, error)
GetPipelineList provides a mock function for the type MockStore
func (*MockStore) GetPipelineListKeyset ¶
func (_mock *MockStore) GetPipelineListKeyset(repo *model.Repo, startID int64, beforeDate int64, limit int) ([]*model.Pipeline, error)
GetPipelineListKeyset provides a mock function for the type MockStore
func (*MockStore) GetPipelineLogPurged ¶
GetPipelineLogPurged provides a mock function for the type MockStore
func (*MockStore) GetPipelineNumber ¶
GetPipelineNumber provides a mock function for the type MockStore
func (*MockStore) GetPipelineQueue ¶
GetPipelineQueue provides a mock function for the type MockStore
func (*MockStore) GetRepoCount ¶
GetRepoCount provides a mock function for the type MockStore
func (*MockStore) GetRepoForgeID ¶
GetRepoForgeID provides a mock function for the type MockStore
func (*MockStore) GetRepoLatestPipelines ¶
GetRepoLatestPipelines provides a mock function for the type MockStore
func (*MockStore) GetRepoName ¶
GetRepoName provides a mock function for the type MockStore
func (*MockStore) GetRepoNameFallback ¶
func (_mock *MockStore) GetRepoNameFallback(remoteID model.ForgeRemoteID, fullName string) (*model.Repo, error)
GetRepoNameFallback provides a mock function for the type MockStore
func (*MockStore) GetUserCount ¶
GetUserCount provides a mock function for the type MockStore
func (*MockStore) GetUserList ¶
GetUserList provides a mock function for the type MockStore
func (*MockStore) GetUserLogin ¶
GetUserLogin provides a mock function for the type MockStore
func (*MockStore) GetUserRemoteID ¶
func (_mock *MockStore) GetUserRemoteID(forgeRemoteID model.ForgeRemoteID, s string) (*model.User, error)
GetUserRemoteID provides a mock function for the type MockStore
func (*MockStore) GlobalRegistryFind ¶
GlobalRegistryFind provides a mock function for the type MockStore
func (*MockStore) GlobalRegistryList ¶
func (_mock *MockStore) GlobalRegistryList(listOptions *model.ListOptions) ([]*model.Registry, error)
GlobalRegistryList provides a mock function for the type MockStore
func (*MockStore) GlobalSecretFind ¶
GlobalSecretFind provides a mock function for the type MockStore
func (*MockStore) GlobalSecretList ¶
GlobalSecretList provides a mock function for the type MockStore
func (*MockStore) HasRedirectionForRepo ¶
HasRedirectionForRepo provides a mock function for the type MockStore
func (*MockStore) LogFindAfter ¶ added in v4.0.1
LogFindAfter provides a mock function for the type MockStore
func (*MockStore) MaintenanceConfigGet ¶
func (_mock *MockStore) MaintenanceConfigGet() (*model.MaintenanceConfig, error)
MaintenanceConfigGet provides a mock function for the type MockStore
func (*MockStore) MaintenanceConfigGetByActionType ¶ added in v4.1.0
func (_mock *MockStore) MaintenanceConfigGetByActionType(actionType string) (*model.MaintenanceConfig, error)
MaintenanceConfigGetByActionType provides a mock function for the type MockStore
func (*MockStore) MaintenanceConfigUpdate ¶
func (_mock *MockStore) MaintenanceConfigUpdate(maintenanceConfig *model.MaintenanceConfig) error
MaintenanceConfigUpdate provides a mock function for the type MockStore
func (*MockStore) MaintenanceConfigUpdateByActionType ¶ added in v4.1.0
func (_mock *MockStore) MaintenanceConfigUpdateByActionType(actionType string, config *model.MaintenanceConfig) error
MaintenanceConfigUpdateByActionType provides a mock function for the type MockStore
func (*MockStore) MaintenanceLogCreate ¶
func (_mock *MockStore) MaintenanceLogCreate(maintenanceLog *model.MaintenanceLog) error
MaintenanceLogCreate provides a mock function for the type MockStore
func (*MockStore) MaintenanceLogList ¶
func (_mock *MockStore) MaintenanceLogList(limit int) ([]*model.MaintenanceLog, error)
MaintenanceLogList provides a mock function for the type MockStore
func (*MockStore) MaintenanceRunMySQL ¶
MaintenanceRunMySQL provides a mock function for the type MockStore
func (*MockStore) MaintenanceRunPostgreSQL ¶
MaintenanceRunPostgreSQL provides a mock function for the type MockStore
func (*MockStore) MaintenanceRunSQLite ¶
MaintenanceRunSQLite provides a mock function for the type MockStore
func (*MockStore) MaintenanceStatsGet ¶
func (_mock *MockStore) MaintenanceStatsGet() (*model.MaintenanceStats, error)
MaintenanceStatsGet provides a mock function for the type MockStore
func (*MockStore) MaintenanceStatsUpdate ¶
func (_mock *MockStore) MaintenanceStatsUpdate(maintenanceStats *model.MaintenanceStats) error
MaintenanceStatsUpdate provides a mock function for the type MockStore
func (*MockStore) OrgFindByName ¶
OrgFindByName provides a mock function for the type MockStore
func (*MockStore) OrgRegistryFind ¶
OrgRegistryFind provides a mock function for the type MockStore
func (*MockStore) OrgRegistryList ¶
func (_mock *MockStore) OrgRegistryList(n int64, listOptions *model.ListOptions) ([]*model.Registry, error)
OrgRegistryList provides a mock function for the type MockStore
func (*MockStore) OrgRepoList ¶
func (_mock *MockStore) OrgRepoList(org *model.Org, listOptions *model.ListOptions) ([]*model.Repo, error)
OrgRepoList provides a mock function for the type MockStore
func (*MockStore) OrgSecretFind ¶
OrgSecretFind provides a mock function for the type MockStore
func (*MockStore) OrgSecretList ¶
func (_mock *MockStore) OrgSecretList(n int64, listOptions *model.ListOptions) ([]*model.Secret, error)
OrgSecretList provides a mock function for the type MockStore
func (*MockStore) PermUpsert ¶
PermUpsert provides a mock function for the type MockStore
func (*MockStore) PipelineConfigCreate ¶
func (_mock *MockStore) PipelineConfigCreate(pipelineConfig *model.PipelineConfig) error
PipelineConfigCreate provides a mock function for the type MockStore
func (*MockStore) PubSubMessageCleanupOlderThan ¶
PubSubMessageCleanupOlderThan provides a mock function for the type MockStore
func (*MockStore) PubSubMessageInsert ¶
func (_mock *MockStore) PubSubMessageInsert(msg *model.DistributedMessage) error
PubSubMessageInsert provides a mock function for the type MockStore
func (*MockStore) PubSubMessageListAfter ¶
func (_mock *MockStore) PubSubMessageListAfter(timestamp int64) ([]*model.DistributedMessage, error)
PubSubMessageListAfter provides a mock function for the type MockStore
func (*MockStore) RegistryCreate ¶
RegistryCreate provides a mock function for the type MockStore
func (*MockStore) RegistryDelete ¶
RegistryDelete provides a mock function for the type MockStore
func (*MockStore) RegistryFind ¶
RegistryFind provides a mock function for the type MockStore
func (*MockStore) RegistryList ¶
func (_mock *MockStore) RegistryList(repo *model.Repo, b bool, listOptions *model.ListOptions) ([]*model.Registry, error)
RegistryList provides a mock function for the type MockStore
func (*MockStore) RegistryListAll ¶
RegistryListAll provides a mock function for the type MockStore
func (*MockStore) RegistryUpdate ¶
RegistryUpdate provides a mock function for the type MockStore
func (*MockStore) RepoListAll ¶
RepoListAll provides a mock function for the type MockStore
func (*MockStore) RepoListLatest ¶
RepoListLatest provides a mock function for the type MockStore
func (*MockStore) SecretCreate ¶
SecretCreate provides a mock function for the type MockStore
func (*MockStore) SecretDelete ¶
SecretDelete provides a mock function for the type MockStore
func (*MockStore) SecretFind ¶
SecretFind provides a mock function for the type MockStore
func (*MockStore) SecretList ¶
func (_mock *MockStore) SecretList(repo *model.Repo, b bool, listOptions *model.ListOptions) ([]*model.Secret, error)
SecretList provides a mock function for the type MockStore
func (*MockStore) SecretListAll ¶
SecretListAll provides a mock function for the type MockStore
func (*MockStore) SecretUpdate ¶
SecretUpdate provides a mock function for the type MockStore
func (*MockStore) ServerConfigDelete ¶
ServerConfigDelete provides a mock function for the type MockStore
func (*MockStore) ServerConfigGet ¶
ServerConfigGet provides a mock function for the type MockStore
func (*MockStore) ServerConfigSet ¶
ServerConfigSet provides a mock function for the type MockStore
func (*MockStore) SetPipelineLogPurged ¶
SetPipelineLogPurged provides a mock function for the type MockStore
func (*MockStore) StepByUUID ¶
StepByUUID provides a mock function for the type MockStore
func (*MockStore) StepListFromWorkflowFind ¶
StepListFromWorkflowFind provides a mock function for the type MockStore
func (*MockStore) StepUpdate ¶
StepUpdate provides a mock function for the type MockStore
func (*MockStore) TaskAtomicAssign ¶ added in v4.0.1
TaskAtomicAssign provides a mock function for the type MockStore
func (*MockStore) TaskDelete ¶
TaskDelete provides a mock function for the type MockStore
func (*MockStore) TaskInsert ¶
TaskInsert provides a mock function for the type MockStore
func (*MockStore) TaskListPending ¶ added in v4.5.0
TaskListPending provides a mock function for the type MockStore
func (*MockStore) TaskUpdate ¶ added in v4.0.1
TaskUpdate provides a mock function for the type MockStore
func (*MockStore) UpdatePipeline ¶
UpdatePipeline provides a mock function for the type MockStore
func (*MockStore) UpdateRepo ¶
UpdateRepo provides a mock function for the type MockStore
func (*MockStore) UpdateUser ¶
UpdateUser provides a mock function for the type MockStore
func (*MockStore) WorkflowGetTree ¶
WorkflowGetTree provides a mock function for the type MockStore
func (*MockStore) WorkflowLoad ¶
WorkflowLoad provides a mock function for the type MockStore
func (*MockStore) WorkflowUpdate ¶
WorkflowUpdate provides a mock function for the type MockStore
func (*MockStore) WorkflowsCreate ¶
WorkflowsCreate provides a mock function for the type MockStore
type MockStore_AgentCreate_Call ¶
MockStore_AgentCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentCreate'
func (*MockStore_AgentCreate_Call) Return ¶
func (_c *MockStore_AgentCreate_Call) Return(err error) *MockStore_AgentCreate_Call
func (*MockStore_AgentCreate_Call) Run ¶
func (_c *MockStore_AgentCreate_Call) Run(run func(agent *model.Agent)) *MockStore_AgentCreate_Call
func (*MockStore_AgentCreate_Call) RunAndReturn ¶
func (_c *MockStore_AgentCreate_Call) RunAndReturn(run func(agent *model.Agent) error) *MockStore_AgentCreate_Call
type MockStore_AgentDelete_Call ¶
MockStore_AgentDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentDelete'
func (*MockStore_AgentDelete_Call) Return ¶
func (_c *MockStore_AgentDelete_Call) Return(err error) *MockStore_AgentDelete_Call
func (*MockStore_AgentDelete_Call) Run ¶
func (_c *MockStore_AgentDelete_Call) Run(run func(agent *model.Agent)) *MockStore_AgentDelete_Call
func (*MockStore_AgentDelete_Call) RunAndReturn ¶
func (_c *MockStore_AgentDelete_Call) RunAndReturn(run func(agent *model.Agent) error) *MockStore_AgentDelete_Call
type MockStore_AgentFindByToken_Call ¶
MockStore_AgentFindByToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentFindByToken'
func (*MockStore_AgentFindByToken_Call) Return ¶
func (_c *MockStore_AgentFindByToken_Call) Return(agent *model.Agent, err error) *MockStore_AgentFindByToken_Call
func (*MockStore_AgentFindByToken_Call) Run ¶
func (_c *MockStore_AgentFindByToken_Call) Run(run func(s string)) *MockStore_AgentFindByToken_Call
func (*MockStore_AgentFindByToken_Call) RunAndReturn ¶
func (_c *MockStore_AgentFindByToken_Call) RunAndReturn(run func(s string) (*model.Agent, error)) *MockStore_AgentFindByToken_Call
type MockStore_AgentFind_Call ¶
MockStore_AgentFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentFind'
func (*MockStore_AgentFind_Call) Return ¶
func (_c *MockStore_AgentFind_Call) Return(agent *model.Agent, err error) *MockStore_AgentFind_Call
func (*MockStore_AgentFind_Call) Run ¶
func (_c *MockStore_AgentFind_Call) Run(run func(n int64)) *MockStore_AgentFind_Call
func (*MockStore_AgentFind_Call) RunAndReturn ¶
func (_c *MockStore_AgentFind_Call) RunAndReturn(run func(n int64) (*model.Agent, error)) *MockStore_AgentFind_Call
type MockStore_AgentListForOrg_Call ¶
MockStore_AgentListForOrg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentListForOrg'
func (*MockStore_AgentListForOrg_Call) Return ¶
func (_c *MockStore_AgentListForOrg_Call) Return(agents []*model.Agent, err error) *MockStore_AgentListForOrg_Call
func (*MockStore_AgentListForOrg_Call) Run ¶
func (_c *MockStore_AgentListForOrg_Call) Run(run func(orgID int64, opt *model.ListOptions)) *MockStore_AgentListForOrg_Call
func (*MockStore_AgentListForOrg_Call) RunAndReturn ¶
func (_c *MockStore_AgentListForOrg_Call) RunAndReturn(run func(orgID int64, opt *model.ListOptions) ([]*model.Agent, error)) *MockStore_AgentListForOrg_Call
type MockStore_AgentList_Call ¶
MockStore_AgentList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentList'
func (*MockStore_AgentList_Call) Return ¶
func (_c *MockStore_AgentList_Call) Return(agents []*model.Agent, err error) *MockStore_AgentList_Call
func (*MockStore_AgentList_Call) Run ¶
func (_c *MockStore_AgentList_Call) Run(run func(opts *model.AgentListOptions)) *MockStore_AgentList_Call
func (*MockStore_AgentList_Call) RunAndReturn ¶
func (_c *MockStore_AgentList_Call) RunAndReturn(run func(opts *model.AgentListOptions) ([]*model.Agent, error)) *MockStore_AgentList_Call
type MockStore_AgentUpdate_Call ¶
MockStore_AgentUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentUpdate'
func (*MockStore_AgentUpdate_Call) Return ¶
func (_c *MockStore_AgentUpdate_Call) Return(err error) *MockStore_AgentUpdate_Call
func (*MockStore_AgentUpdate_Call) Run ¶
func (_c *MockStore_AgentUpdate_Call) Run(run func(agent *model.Agent)) *MockStore_AgentUpdate_Call
func (*MockStore_AgentUpdate_Call) RunAndReturn ¶
func (_c *MockStore_AgentUpdate_Call) RunAndReturn(run func(agent *model.Agent) error) *MockStore_AgentUpdate_Call
type MockStore_AutoscalerCreate_Call ¶ added in v4.5.0
MockStore_AutoscalerCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalerCreate'
func (*MockStore_AutoscalerCreate_Call) Return ¶ added in v4.5.0
func (_c *MockStore_AutoscalerCreate_Call) Return(err error) *MockStore_AutoscalerCreate_Call
func (*MockStore_AutoscalerCreate_Call) Run ¶ added in v4.5.0
func (_c *MockStore_AutoscalerCreate_Call) Run(run func(autoscaler *model.Autoscaler)) *MockStore_AutoscalerCreate_Call
func (*MockStore_AutoscalerCreate_Call) RunAndReturn ¶ added in v4.5.0
func (_c *MockStore_AutoscalerCreate_Call) RunAndReturn(run func(autoscaler *model.Autoscaler) error) *MockStore_AutoscalerCreate_Call
type MockStore_AutoscalerDelete_Call ¶ added in v4.5.0
MockStore_AutoscalerDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalerDelete'
func (*MockStore_AutoscalerDelete_Call) Return ¶ added in v4.5.0
func (_c *MockStore_AutoscalerDelete_Call) Return(err error) *MockStore_AutoscalerDelete_Call
func (*MockStore_AutoscalerDelete_Call) Run ¶ added in v4.5.0
func (_c *MockStore_AutoscalerDelete_Call) Run(run func(autoscaler *model.Autoscaler)) *MockStore_AutoscalerDelete_Call
func (*MockStore_AutoscalerDelete_Call) RunAndReturn ¶ added in v4.5.0
func (_c *MockStore_AutoscalerDelete_Call) RunAndReturn(run func(autoscaler *model.Autoscaler) error) *MockStore_AutoscalerDelete_Call
type MockStore_AutoscalerFindByName_Call ¶ added in v4.5.0
MockStore_AutoscalerFindByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalerFindByName'
func (*MockStore_AutoscalerFindByName_Call) Return ¶ added in v4.5.0
func (_c *MockStore_AutoscalerFindByName_Call) Return(autoscaler *model.Autoscaler, err error) *MockStore_AutoscalerFindByName_Call
func (*MockStore_AutoscalerFindByName_Call) Run ¶ added in v4.5.0
func (_c *MockStore_AutoscalerFindByName_Call) Run(run func(s string)) *MockStore_AutoscalerFindByName_Call
func (*MockStore_AutoscalerFindByName_Call) RunAndReturn ¶ added in v4.5.0
func (_c *MockStore_AutoscalerFindByName_Call) RunAndReturn(run func(s string) (*model.Autoscaler, error)) *MockStore_AutoscalerFindByName_Call
type MockStore_AutoscalerFindByToken_Call ¶ added in v4.5.0
MockStore_AutoscalerFindByToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalerFindByToken'
func (*MockStore_AutoscalerFindByToken_Call) Return ¶ added in v4.5.0
func (_c *MockStore_AutoscalerFindByToken_Call) Return(autoscaler *model.Autoscaler, err error) *MockStore_AutoscalerFindByToken_Call
func (*MockStore_AutoscalerFindByToken_Call) Run ¶ added in v4.5.0
func (_c *MockStore_AutoscalerFindByToken_Call) Run(run func(s string)) *MockStore_AutoscalerFindByToken_Call
func (*MockStore_AutoscalerFindByToken_Call) RunAndReturn ¶ added in v4.5.0
func (_c *MockStore_AutoscalerFindByToken_Call) RunAndReturn(run func(s string) (*model.Autoscaler, error)) *MockStore_AutoscalerFindByToken_Call
type MockStore_AutoscalerFind_Call ¶ added in v4.5.0
MockStore_AutoscalerFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalerFind'
func (*MockStore_AutoscalerFind_Call) Return ¶ added in v4.5.0
func (_c *MockStore_AutoscalerFind_Call) Return(autoscaler *model.Autoscaler, err error) *MockStore_AutoscalerFind_Call
func (*MockStore_AutoscalerFind_Call) Run ¶ added in v4.5.0
func (_c *MockStore_AutoscalerFind_Call) Run(run func(n int64)) *MockStore_AutoscalerFind_Call
func (*MockStore_AutoscalerFind_Call) RunAndReturn ¶ added in v4.5.0
func (_c *MockStore_AutoscalerFind_Call) RunAndReturn(run func(n int64) (*model.Autoscaler, error)) *MockStore_AutoscalerFind_Call
type MockStore_AutoscalerList_Call ¶ added in v4.5.0
MockStore_AutoscalerList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalerList'
func (*MockStore_AutoscalerList_Call) Return ¶ added in v4.5.0
func (_c *MockStore_AutoscalerList_Call) Return(autoscalers []*model.Autoscaler, err error) *MockStore_AutoscalerList_Call
func (*MockStore_AutoscalerList_Call) Run ¶ added in v4.5.0
func (_c *MockStore_AutoscalerList_Call) Run(run func(opts *model.AutoscalerListOptions)) *MockStore_AutoscalerList_Call
func (*MockStore_AutoscalerList_Call) RunAndReturn ¶ added in v4.5.0
func (_c *MockStore_AutoscalerList_Call) RunAndReturn(run func(opts *model.AutoscalerListOptions) ([]*model.Autoscaler, error)) *MockStore_AutoscalerList_Call
type MockStore_AutoscalerUpdateHeartbeat_Call ¶ added in v4.5.0
MockStore_AutoscalerUpdateHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalerUpdateHeartbeat'
func (*MockStore_AutoscalerUpdateHeartbeat_Call) Return ¶ added in v4.5.0
func (_c *MockStore_AutoscalerUpdateHeartbeat_Call) Return(err error) *MockStore_AutoscalerUpdateHeartbeat_Call
func (*MockStore_AutoscalerUpdateHeartbeat_Call) Run ¶ added in v4.5.0
func (_c *MockStore_AutoscalerUpdateHeartbeat_Call) Run(run func(id int64, activeAgents int32, pendingAgents int32, version string)) *MockStore_AutoscalerUpdateHeartbeat_Call
func (*MockStore_AutoscalerUpdateHeartbeat_Call) RunAndReturn ¶ added in v4.5.0
func (_c *MockStore_AutoscalerUpdateHeartbeat_Call) RunAndReturn(run func(id int64, activeAgents int32, pendingAgents int32, version string) error) *MockStore_AutoscalerUpdateHeartbeat_Call
type MockStore_AutoscalerUpdate_Call ¶ added in v4.5.0
MockStore_AutoscalerUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalerUpdate'
func (*MockStore_AutoscalerUpdate_Call) Return ¶ added in v4.5.0
func (_c *MockStore_AutoscalerUpdate_Call) Return(err error) *MockStore_AutoscalerUpdate_Call
func (*MockStore_AutoscalerUpdate_Call) Run ¶ added in v4.5.0
func (_c *MockStore_AutoscalerUpdate_Call) Run(run func(autoscaler *model.Autoscaler)) *MockStore_AutoscalerUpdate_Call
func (*MockStore_AutoscalerUpdate_Call) RunAndReturn ¶ added in v4.5.0
func (_c *MockStore_AutoscalerUpdate_Call) RunAndReturn(run func(autoscaler *model.Autoscaler) error) *MockStore_AutoscalerUpdate_Call
type MockStore_CacheCleanupExpired_Call ¶
MockStore_CacheCleanupExpired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CacheCleanupExpired'
func (*MockStore_CacheCleanupExpired_Call) Return ¶
func (_c *MockStore_CacheCleanupExpired_Call) Return(err error) *MockStore_CacheCleanupExpired_Call
func (*MockStore_CacheCleanupExpired_Call) Run ¶
func (_c *MockStore_CacheCleanupExpired_Call) Run(run func(cutoff int64)) *MockStore_CacheCleanupExpired_Call
func (*MockStore_CacheCleanupExpired_Call) RunAndReturn ¶
func (_c *MockStore_CacheCleanupExpired_Call) RunAndReturn(run func(cutoff int64) error) *MockStore_CacheCleanupExpired_Call
type MockStore_CacheDelete_Call ¶
MockStore_CacheDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CacheDelete'
func (*MockStore_CacheDelete_Call) Return ¶
func (_c *MockStore_CacheDelete_Call) Return(err error) *MockStore_CacheDelete_Call
func (*MockStore_CacheDelete_Call) Run ¶
func (_c *MockStore_CacheDelete_Call) Run(run func(key string)) *MockStore_CacheDelete_Call
func (*MockStore_CacheDelete_Call) RunAndReturn ¶
func (_c *MockStore_CacheDelete_Call) RunAndReturn(run func(key string) error) *MockStore_CacheDelete_Call
type MockStore_CacheGet_Call ¶
MockStore_CacheGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CacheGet'
func (*MockStore_CacheGet_Call) Return ¶
func (_c *MockStore_CacheGet_Call) Return(cacheEntry *model.CacheEntry, err error) *MockStore_CacheGet_Call
func (*MockStore_CacheGet_Call) Run ¶
func (_c *MockStore_CacheGet_Call) Run(run func(key string)) *MockStore_CacheGet_Call
func (*MockStore_CacheGet_Call) RunAndReturn ¶
func (_c *MockStore_CacheGet_Call) RunAndReturn(run func(key string) (*model.CacheEntry, error)) *MockStore_CacheGet_Call
type MockStore_CacheSet_Call ¶
MockStore_CacheSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CacheSet'
func (*MockStore_CacheSet_Call) Return ¶
func (_c *MockStore_CacheSet_Call) Return(err error) *MockStore_CacheSet_Call
func (*MockStore_CacheSet_Call) Run ¶
func (_c *MockStore_CacheSet_Call) Run(run func(entry *model.CacheEntry)) *MockStore_CacheSet_Call
func (*MockStore_CacheSet_Call) RunAndReturn ¶
func (_c *MockStore_CacheSet_Call) RunAndReturn(run func(entry *model.CacheEntry) error) *MockStore_CacheSet_Call
type MockStore_CleanupOrphanedWorkflows_Call ¶
MockStore_CleanupOrphanedWorkflows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CleanupOrphanedWorkflows'
func (*MockStore_CleanupOrphanedWorkflows_Call) Return ¶
func (_c *MockStore_CleanupOrphanedWorkflows_Call) Return(err error) *MockStore_CleanupOrphanedWorkflows_Call
func (*MockStore_CleanupOrphanedWorkflows_Call) Run ¶
func (_c *MockStore_CleanupOrphanedWorkflows_Call) Run(run func(workflowIDs []string)) *MockStore_CleanupOrphanedWorkflows_Call
func (*MockStore_CleanupOrphanedWorkflows_Call) RunAndReturn ¶
func (_c *MockStore_CleanupOrphanedWorkflows_Call) RunAndReturn(run func(workflowIDs []string) error) *MockStore_CleanupOrphanedWorkflows_Call
type MockStore_Close_Call ¶
MockStore_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockStore_Close_Call) Return ¶
func (_c *MockStore_Close_Call) Return(err error) *MockStore_Close_Call
func (*MockStore_Close_Call) Run ¶
func (_c *MockStore_Close_Call) Run(run func()) *MockStore_Close_Call
func (*MockStore_Close_Call) RunAndReturn ¶
func (_c *MockStore_Close_Call) RunAndReturn(run func() error) *MockStore_Close_Call
type MockStore_ConfigPersist_Call ¶
MockStore_ConfigPersist_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigPersist'
func (*MockStore_ConfigPersist_Call) Return ¶
func (_c *MockStore_ConfigPersist_Call) Return(config1 *model.Config, err error) *MockStore_ConfigPersist_Call
func (*MockStore_ConfigPersist_Call) Run ¶
func (_c *MockStore_ConfigPersist_Call) Run(run func(config *model.Config)) *MockStore_ConfigPersist_Call
func (*MockStore_ConfigPersist_Call) RunAndReturn ¶
func (_c *MockStore_ConfigPersist_Call) RunAndReturn(run func(config *model.Config) (*model.Config, error)) *MockStore_ConfigPersist_Call
type MockStore_ConfigsForPipeline_Call ¶
MockStore_ConfigsForPipeline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigsForPipeline'
func (*MockStore_ConfigsForPipeline_Call) Return ¶
func (_c *MockStore_ConfigsForPipeline_Call) Return(configs []*model.Config, err error) *MockStore_ConfigsForPipeline_Call
func (*MockStore_ConfigsForPipeline_Call) Run ¶
func (_c *MockStore_ConfigsForPipeline_Call) Run(run func(pipelineID int64)) *MockStore_ConfigsForPipeline_Call
func (*MockStore_ConfigsForPipeline_Call) RunAndReturn ¶
func (_c *MockStore_ConfigsForPipeline_Call) RunAndReturn(run func(pipelineID int64) ([]*model.Config, error)) *MockStore_ConfigsForPipeline_Call
type MockStore_CreatePipeline_Call ¶
MockStore_CreatePipeline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePipeline'
func (*MockStore_CreatePipeline_Call) Return ¶
func (_c *MockStore_CreatePipeline_Call) Return(err error) *MockStore_CreatePipeline_Call
func (*MockStore_CreatePipeline_Call) Run ¶
func (_c *MockStore_CreatePipeline_Call) Run(run func(pipeline *model.Pipeline, steps ...*model.Step)) *MockStore_CreatePipeline_Call
func (*MockStore_CreatePipeline_Call) RunAndReturn ¶
func (_c *MockStore_CreatePipeline_Call) RunAndReturn(run func(pipeline *model.Pipeline, steps ...*model.Step) error) *MockStore_CreatePipeline_Call
type MockStore_CreateRedirection_Call ¶
MockStore_CreateRedirection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRedirection'
func (*MockStore_CreateRedirection_Call) Return ¶
func (_c *MockStore_CreateRedirection_Call) Return(err error) *MockStore_CreateRedirection_Call
func (*MockStore_CreateRedirection_Call) Run ¶
func (_c *MockStore_CreateRedirection_Call) Run(run func(redirection *model.Redirection)) *MockStore_CreateRedirection_Call
func (*MockStore_CreateRedirection_Call) RunAndReturn ¶
func (_c *MockStore_CreateRedirection_Call) RunAndReturn(run func(redirection *model.Redirection) error) *MockStore_CreateRedirection_Call
type MockStore_CreateRepo_Call ¶
MockStore_CreateRepo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepo'
func (*MockStore_CreateRepo_Call) Return ¶
func (_c *MockStore_CreateRepo_Call) Return(err error) *MockStore_CreateRepo_Call
func (*MockStore_CreateRepo_Call) Run ¶
func (_c *MockStore_CreateRepo_Call) Run(run func(repo *model.Repo)) *MockStore_CreateRepo_Call
func (*MockStore_CreateRepo_Call) RunAndReturn ¶
func (_c *MockStore_CreateRepo_Call) RunAndReturn(run func(repo *model.Repo) error) *MockStore_CreateRepo_Call
type MockStore_CreateUser_Call ¶
MockStore_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'
func (*MockStore_CreateUser_Call) Return ¶
func (_c *MockStore_CreateUser_Call) Return(err error) *MockStore_CreateUser_Call
func (*MockStore_CreateUser_Call) Run ¶
func (_c *MockStore_CreateUser_Call) Run(run func(user *model.User)) *MockStore_CreateUser_Call
func (*MockStore_CreateUser_Call) RunAndReturn ¶
func (_c *MockStore_CreateUser_Call) RunAndReturn(run func(user *model.User) error) *MockStore_CreateUser_Call
type MockStore_CronCreate_Call ¶
MockStore_CronCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronCreate'
func (*MockStore_CronCreate_Call) Return ¶
func (_c *MockStore_CronCreate_Call) Return(err error) *MockStore_CronCreate_Call
func (*MockStore_CronCreate_Call) Run ¶
func (_c *MockStore_CronCreate_Call) Run(run func(cron *model.Cron)) *MockStore_CronCreate_Call
func (*MockStore_CronCreate_Call) RunAndReturn ¶
func (_c *MockStore_CronCreate_Call) RunAndReturn(run func(cron *model.Cron) error) *MockStore_CronCreate_Call
type MockStore_CronDelete_Call ¶
MockStore_CronDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronDelete'
func (*MockStore_CronDelete_Call) Return ¶
func (_c *MockStore_CronDelete_Call) Return(err error) *MockStore_CronDelete_Call
func (*MockStore_CronDelete_Call) Run ¶
func (_c *MockStore_CronDelete_Call) Run(run func(repo *model.Repo, n int64)) *MockStore_CronDelete_Call
func (*MockStore_CronDelete_Call) RunAndReturn ¶
func (_c *MockStore_CronDelete_Call) RunAndReturn(run func(repo *model.Repo, n int64) error) *MockStore_CronDelete_Call
type MockStore_CronFind_Call ¶
MockStore_CronFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronFind'
func (*MockStore_CronFind_Call) Return ¶
func (_c *MockStore_CronFind_Call) Return(cron *model.Cron, err error) *MockStore_CronFind_Call
func (*MockStore_CronFind_Call) Run ¶
func (_c *MockStore_CronFind_Call) Run(run func(repo *model.Repo, n int64)) *MockStore_CronFind_Call
func (*MockStore_CronFind_Call) RunAndReturn ¶
func (_c *MockStore_CronFind_Call) RunAndReturn(run func(repo *model.Repo, n int64) (*model.Cron, error)) *MockStore_CronFind_Call
type MockStore_CronGetLock_Call ¶
MockStore_CronGetLock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronGetLock'
func (*MockStore_CronGetLock_Call) Return ¶
func (_c *MockStore_CronGetLock_Call) Return(b bool, err error) *MockStore_CronGetLock_Call
func (*MockStore_CronGetLock_Call) Run ¶
func (_c *MockStore_CronGetLock_Call) Run(run func(cron *model.Cron, n int64)) *MockStore_CronGetLock_Call
func (*MockStore_CronGetLock_Call) RunAndReturn ¶
func (_c *MockStore_CronGetLock_Call) RunAndReturn(run func(cron *model.Cron, n int64) (bool, error)) *MockStore_CronGetLock_Call
type MockStore_CronListNextExecute_Call ¶
MockStore_CronListNextExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronListNextExecute'
func (*MockStore_CronListNextExecute_Call) Return ¶
func (_c *MockStore_CronListNextExecute_Call) Return(crons []*model.Cron, err error) *MockStore_CronListNextExecute_Call
func (*MockStore_CronListNextExecute_Call) Run ¶
func (_c *MockStore_CronListNextExecute_Call) Run(run func(n int64, n1 int64)) *MockStore_CronListNextExecute_Call
func (*MockStore_CronListNextExecute_Call) RunAndReturn ¶
func (_c *MockStore_CronListNextExecute_Call) RunAndReturn(run func(n int64, n1 int64) ([]*model.Cron, error)) *MockStore_CronListNextExecute_Call
type MockStore_CronList_Call ¶
MockStore_CronList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronList'
func (*MockStore_CronList_Call) Return ¶
func (_c *MockStore_CronList_Call) Return(crons []*model.Cron, err error) *MockStore_CronList_Call
func (*MockStore_CronList_Call) Run ¶
func (_c *MockStore_CronList_Call) Run(run func(repo *model.Repo, listOptions *model.ListOptions)) *MockStore_CronList_Call
func (*MockStore_CronList_Call) RunAndReturn ¶
func (_c *MockStore_CronList_Call) RunAndReturn(run func(repo *model.Repo, listOptions *model.ListOptions) ([]*model.Cron, error)) *MockStore_CronList_Call
type MockStore_CronUpdate_Call ¶
MockStore_CronUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronUpdate'
func (*MockStore_CronUpdate_Call) Return ¶
func (_c *MockStore_CronUpdate_Call) Return(err error) *MockStore_CronUpdate_Call
func (*MockStore_CronUpdate_Call) Run ¶
func (_c *MockStore_CronUpdate_Call) Run(run func(repo *model.Repo, cron *model.Cron)) *MockStore_CronUpdate_Call
func (*MockStore_CronUpdate_Call) RunAndReturn ¶
func (_c *MockStore_CronUpdate_Call) RunAndReturn(run func(repo *model.Repo, cron *model.Cron) error) *MockStore_CronUpdate_Call
type MockStore_DeletePipeline_Call ¶
MockStore_DeletePipeline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePipeline'
func (*MockStore_DeletePipeline_Call) Return ¶
func (_c *MockStore_DeletePipeline_Call) Return(err error) *MockStore_DeletePipeline_Call
func (*MockStore_DeletePipeline_Call) Run ¶
func (_c *MockStore_DeletePipeline_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_DeletePipeline_Call
func (*MockStore_DeletePipeline_Call) RunAndReturn ¶
func (_c *MockStore_DeletePipeline_Call) RunAndReturn(run func(pipeline *model.Pipeline) error) *MockStore_DeletePipeline_Call
type MockStore_DeleteRepo_Call ¶
MockStore_DeleteRepo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRepo'
func (*MockStore_DeleteRepo_Call) Return ¶
func (_c *MockStore_DeleteRepo_Call) Return(err error) *MockStore_DeleteRepo_Call
func (*MockStore_DeleteRepo_Call) Run ¶
func (_c *MockStore_DeleteRepo_Call) Run(run func(repo *model.Repo)) *MockStore_DeleteRepo_Call
func (*MockStore_DeleteRepo_Call) RunAndReturn ¶
func (_c *MockStore_DeleteRepo_Call) RunAndReturn(run func(repo *model.Repo) error) *MockStore_DeleteRepo_Call
type MockStore_DeleteUser_Call ¶
MockStore_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser'
func (*MockStore_DeleteUser_Call) Return ¶
func (_c *MockStore_DeleteUser_Call) Return(err error) *MockStore_DeleteUser_Call
func (*MockStore_DeleteUser_Call) Run ¶
func (_c *MockStore_DeleteUser_Call) Run(run func(user *model.User)) *MockStore_DeleteUser_Call
func (*MockStore_DeleteUser_Call) RunAndReturn ¶
func (_c *MockStore_DeleteUser_Call) RunAndReturn(run func(user *model.User) error) *MockStore_DeleteUser_Call
type MockStore_DistributedLockAcquire_Call ¶
MockStore_DistributedLockAcquire_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DistributedLockAcquire'
func (*MockStore_DistributedLockAcquire_Call) Return ¶
func (_c *MockStore_DistributedLockAcquire_Call) Return(b bool, err error) *MockStore_DistributedLockAcquire_Call
func (*MockStore_DistributedLockAcquire_Call) Run ¶
func (_c *MockStore_DistributedLockAcquire_Call) Run(run func(lockName string, instanceID string, ttlSeconds int64)) *MockStore_DistributedLockAcquire_Call
func (*MockStore_DistributedLockAcquire_Call) RunAndReturn ¶
func (_c *MockStore_DistributedLockAcquire_Call) RunAndReturn(run func(lockName string, instanceID string, ttlSeconds int64) (bool, error)) *MockStore_DistributedLockAcquire_Call
type MockStore_DistributedLockCleanup_Call ¶
MockStore_DistributedLockCleanup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DistributedLockCleanup'
func (*MockStore_DistributedLockCleanup_Call) Return ¶
func (_c *MockStore_DistributedLockCleanup_Call) Return(err error) *MockStore_DistributedLockCleanup_Call
func (*MockStore_DistributedLockCleanup_Call) Run ¶
func (_c *MockStore_DistributedLockCleanup_Call) Run(run func()) *MockStore_DistributedLockCleanup_Call
func (*MockStore_DistributedLockCleanup_Call) RunAndReturn ¶
func (_c *MockStore_DistributedLockCleanup_Call) RunAndReturn(run func() error) *MockStore_DistributedLockCleanup_Call
type MockStore_DistributedLockExtend_Call ¶
MockStore_DistributedLockExtend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DistributedLockExtend'
func (*MockStore_DistributedLockExtend_Call) Return ¶
func (_c *MockStore_DistributedLockExtend_Call) Return(b bool, err error) *MockStore_DistributedLockExtend_Call
func (*MockStore_DistributedLockExtend_Call) Run ¶
func (_c *MockStore_DistributedLockExtend_Call) Run(run func(lockName string, instanceID string, ttlSeconds int64)) *MockStore_DistributedLockExtend_Call
func (*MockStore_DistributedLockExtend_Call) RunAndReturn ¶
func (_c *MockStore_DistributedLockExtend_Call) RunAndReturn(run func(lockName string, instanceID string, ttlSeconds int64) (bool, error)) *MockStore_DistributedLockExtend_Call
type MockStore_DistributedLockInit_Call ¶ added in v4.0.1
MockStore_DistributedLockInit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DistributedLockInit'
func (*MockStore_DistributedLockInit_Call) Return ¶ added in v4.0.1
func (_c *MockStore_DistributedLockInit_Call) Return(err error) *MockStore_DistributedLockInit_Call
func (*MockStore_DistributedLockInit_Call) Run ¶ added in v4.0.1
func (_c *MockStore_DistributedLockInit_Call) Run(run func()) *MockStore_DistributedLockInit_Call
func (*MockStore_DistributedLockInit_Call) RunAndReturn ¶ added in v4.0.1
func (_c *MockStore_DistributedLockInit_Call) RunAndReturn(run func() error) *MockStore_DistributedLockInit_Call
type MockStore_DistributedLockList_Call ¶
MockStore_DistributedLockList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DistributedLockList'
func (*MockStore_DistributedLockList_Call) Return ¶
func (_c *MockStore_DistributedLockList_Call) Return(distributedLocks []*model.DistributedLock, err error) *MockStore_DistributedLockList_Call
func (*MockStore_DistributedLockList_Call) Run ¶
func (_c *MockStore_DistributedLockList_Call) Run(run func()) *MockStore_DistributedLockList_Call
func (*MockStore_DistributedLockList_Call) RunAndReturn ¶
func (_c *MockStore_DistributedLockList_Call) RunAndReturn(run func() ([]*model.DistributedLock, error)) *MockStore_DistributedLockList_Call
type MockStore_DistributedLockRelease_Call ¶
MockStore_DistributedLockRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DistributedLockRelease'
func (*MockStore_DistributedLockRelease_Call) Return ¶
func (_c *MockStore_DistributedLockRelease_Call) Return(err error) *MockStore_DistributedLockRelease_Call
func (*MockStore_DistributedLockRelease_Call) Run ¶
func (_c *MockStore_DistributedLockRelease_Call) Run(run func(lockName string, instanceID string)) *MockStore_DistributedLockRelease_Call
func (*MockStore_DistributedLockRelease_Call) RunAndReturn ¶
func (_c *MockStore_DistributedLockRelease_Call) RunAndReturn(run func(lockName string, instanceID string) error) *MockStore_DistributedLockRelease_Call
type MockStore_Expecter ¶
type MockStore_Expecter struct {
// contains filtered or unexported fields
}
func (*MockStore_Expecter) AgentCreate ¶
func (_e *MockStore_Expecter) AgentCreate(agent interface{}) *MockStore_AgentCreate_Call
AgentCreate is a helper method to define mock.On call
- agent *model.Agent
func (*MockStore_Expecter) AgentDelete ¶
func (_e *MockStore_Expecter) AgentDelete(agent interface{}) *MockStore_AgentDelete_Call
AgentDelete is a helper method to define mock.On call
- agent *model.Agent
func (*MockStore_Expecter) AgentFind ¶
func (_e *MockStore_Expecter) AgentFind(n interface{}) *MockStore_AgentFind_Call
AgentFind is a helper method to define mock.On call
- n int64
func (*MockStore_Expecter) AgentFindByToken ¶
func (_e *MockStore_Expecter) AgentFindByToken(s interface{}) *MockStore_AgentFindByToken_Call
AgentFindByToken is a helper method to define mock.On call
- s string
func (*MockStore_Expecter) AgentList ¶
func (_e *MockStore_Expecter) AgentList(opts interface{}) *MockStore_AgentList_Call
AgentList is a helper method to define mock.On call
- opts *model.AgentListOptions
func (*MockStore_Expecter) AgentListForOrg ¶
func (_e *MockStore_Expecter) AgentListForOrg(orgID interface{}, opt interface{}) *MockStore_AgentListForOrg_Call
AgentListForOrg is a helper method to define mock.On call
- orgID int64
- opt *model.ListOptions
func (*MockStore_Expecter) AgentUpdate ¶
func (_e *MockStore_Expecter) AgentUpdate(agent interface{}) *MockStore_AgentUpdate_Call
AgentUpdate is a helper method to define mock.On call
- agent *model.Agent
func (*MockStore_Expecter) AutoscalerCreate ¶ added in v4.5.0
func (_e *MockStore_Expecter) AutoscalerCreate(autoscaler interface{}) *MockStore_AutoscalerCreate_Call
AutoscalerCreate is a helper method to define mock.On call
- autoscaler *model.Autoscaler
func (*MockStore_Expecter) AutoscalerDelete ¶ added in v4.5.0
func (_e *MockStore_Expecter) AutoscalerDelete(autoscaler interface{}) *MockStore_AutoscalerDelete_Call
AutoscalerDelete is a helper method to define mock.On call
- autoscaler *model.Autoscaler
func (*MockStore_Expecter) AutoscalerFind ¶ added in v4.5.0
func (_e *MockStore_Expecter) AutoscalerFind(n interface{}) *MockStore_AutoscalerFind_Call
AutoscalerFind is a helper method to define mock.On call
- n int64
func (*MockStore_Expecter) AutoscalerFindByName ¶ added in v4.5.0
func (_e *MockStore_Expecter) AutoscalerFindByName(s interface{}) *MockStore_AutoscalerFindByName_Call
AutoscalerFindByName is a helper method to define mock.On call
- s string
func (*MockStore_Expecter) AutoscalerFindByToken ¶ added in v4.5.0
func (_e *MockStore_Expecter) AutoscalerFindByToken(s interface{}) *MockStore_AutoscalerFindByToken_Call
AutoscalerFindByToken is a helper method to define mock.On call
- s string
func (*MockStore_Expecter) AutoscalerList ¶ added in v4.5.0
func (_e *MockStore_Expecter) AutoscalerList(opts interface{}) *MockStore_AutoscalerList_Call
AutoscalerList is a helper method to define mock.On call
- opts *model.AutoscalerListOptions
func (*MockStore_Expecter) AutoscalerUpdate ¶ added in v4.5.0
func (_e *MockStore_Expecter) AutoscalerUpdate(autoscaler interface{}) *MockStore_AutoscalerUpdate_Call
AutoscalerUpdate is a helper method to define mock.On call
- autoscaler *model.Autoscaler
func (*MockStore_Expecter) AutoscalerUpdateHeartbeat ¶ added in v4.5.0
func (_e *MockStore_Expecter) AutoscalerUpdateHeartbeat(id interface{}, activeAgents interface{}, pendingAgents interface{}, version interface{}) *MockStore_AutoscalerUpdateHeartbeat_Call
AutoscalerUpdateHeartbeat is a helper method to define mock.On call
- id int64
- activeAgents int32
- pendingAgents int32
- version string
func (*MockStore_Expecter) CacheCleanupExpired ¶
func (_e *MockStore_Expecter) CacheCleanupExpired(cutoff interface{}) *MockStore_CacheCleanupExpired_Call
CacheCleanupExpired is a helper method to define mock.On call
- cutoff int64
func (*MockStore_Expecter) CacheDelete ¶
func (_e *MockStore_Expecter) CacheDelete(key interface{}) *MockStore_CacheDelete_Call
CacheDelete is a helper method to define mock.On call
- key string
func (*MockStore_Expecter) CacheGet ¶
func (_e *MockStore_Expecter) CacheGet(key interface{}) *MockStore_CacheGet_Call
CacheGet is a helper method to define mock.On call
- key string
func (*MockStore_Expecter) CacheSet ¶
func (_e *MockStore_Expecter) CacheSet(entry interface{}) *MockStore_CacheSet_Call
CacheSet is a helper method to define mock.On call
- entry *model.CacheEntry
func (*MockStore_Expecter) CleanupOrphanedWorkflows ¶
func (_e *MockStore_Expecter) CleanupOrphanedWorkflows(workflowIDs interface{}) *MockStore_CleanupOrphanedWorkflows_Call
CleanupOrphanedWorkflows is a helper method to define mock.On call
- workflowIDs []string
func (*MockStore_Expecter) Close ¶
func (_e *MockStore_Expecter) Close() *MockStore_Close_Call
Close is a helper method to define mock.On call
func (*MockStore_Expecter) ConfigPersist ¶
func (_e *MockStore_Expecter) ConfigPersist(config interface{}) *MockStore_ConfigPersist_Call
ConfigPersist is a helper method to define mock.On call
- config *model.Config
func (*MockStore_Expecter) ConfigsForPipeline ¶
func (_e *MockStore_Expecter) ConfigsForPipeline(pipelineID interface{}) *MockStore_ConfigsForPipeline_Call
ConfigsForPipeline is a helper method to define mock.On call
- pipelineID int64
func (*MockStore_Expecter) CreatePipeline ¶
func (_e *MockStore_Expecter) CreatePipeline(pipeline interface{}, steps ...interface{}) *MockStore_CreatePipeline_Call
CreatePipeline is a helper method to define mock.On call
- pipeline *model.Pipeline
- steps ...*model.Step
func (*MockStore_Expecter) CreateRedirection ¶
func (_e *MockStore_Expecter) CreateRedirection(redirection interface{}) *MockStore_CreateRedirection_Call
CreateRedirection is a helper method to define mock.On call
- redirection *model.Redirection
func (*MockStore_Expecter) CreateRepo ¶
func (_e *MockStore_Expecter) CreateRepo(repo interface{}) *MockStore_CreateRepo_Call
CreateRepo is a helper method to define mock.On call
- repo *model.Repo
func (*MockStore_Expecter) CreateUser ¶
func (_e *MockStore_Expecter) CreateUser(user interface{}) *MockStore_CreateUser_Call
CreateUser is a helper method to define mock.On call
- user *model.User
func (*MockStore_Expecter) CronCreate ¶
func (_e *MockStore_Expecter) CronCreate(cron interface{}) *MockStore_CronCreate_Call
CronCreate is a helper method to define mock.On call
- cron *model.Cron
func (*MockStore_Expecter) CronDelete ¶
func (_e *MockStore_Expecter) CronDelete(repo interface{}, n interface{}) *MockStore_CronDelete_Call
CronDelete is a helper method to define mock.On call
- repo *model.Repo
- n int64
func (*MockStore_Expecter) CronFind ¶
func (_e *MockStore_Expecter) CronFind(repo interface{}, n interface{}) *MockStore_CronFind_Call
CronFind is a helper method to define mock.On call
- repo *model.Repo
- n int64
func (*MockStore_Expecter) CronGetLock ¶
func (_e *MockStore_Expecter) CronGetLock(cron interface{}, n interface{}) *MockStore_CronGetLock_Call
CronGetLock is a helper method to define mock.On call
- cron *model.Cron
- n int64
func (*MockStore_Expecter) CronList ¶
func (_e *MockStore_Expecter) CronList(repo interface{}, listOptions interface{}) *MockStore_CronList_Call
CronList is a helper method to define mock.On call
- repo *model.Repo
- listOptions *model.ListOptions
func (*MockStore_Expecter) CronListNextExecute ¶
func (_e *MockStore_Expecter) CronListNextExecute(n interface{}, n1 interface{}) *MockStore_CronListNextExecute_Call
CronListNextExecute is a helper method to define mock.On call
- n int64
- n1 int64
func (*MockStore_Expecter) CronUpdate ¶
func (_e *MockStore_Expecter) CronUpdate(repo interface{}, cron interface{}) *MockStore_CronUpdate_Call
CronUpdate is a helper method to define mock.On call
- repo *model.Repo
- cron *model.Cron
func (*MockStore_Expecter) DeletePipeline ¶
func (_e *MockStore_Expecter) DeletePipeline(pipeline interface{}) *MockStore_DeletePipeline_Call
DeletePipeline is a helper method to define mock.On call
- pipeline *model.Pipeline
func (*MockStore_Expecter) DeleteRepo ¶
func (_e *MockStore_Expecter) DeleteRepo(repo interface{}) *MockStore_DeleteRepo_Call
DeleteRepo is a helper method to define mock.On call
- repo *model.Repo
func (*MockStore_Expecter) DeleteUser ¶
func (_e *MockStore_Expecter) DeleteUser(user interface{}) *MockStore_DeleteUser_Call
DeleteUser is a helper method to define mock.On call
- user *model.User
func (*MockStore_Expecter) DistributedLockAcquire ¶
func (_e *MockStore_Expecter) DistributedLockAcquire(lockName interface{}, instanceID interface{}, ttlSeconds interface{}) *MockStore_DistributedLockAcquire_Call
DistributedLockAcquire is a helper method to define mock.On call
- lockName string
- instanceID string
- ttlSeconds int64
func (*MockStore_Expecter) DistributedLockCleanup ¶
func (_e *MockStore_Expecter) DistributedLockCleanup() *MockStore_DistributedLockCleanup_Call
DistributedLockCleanup is a helper method to define mock.On call
func (*MockStore_Expecter) DistributedLockExtend ¶
func (_e *MockStore_Expecter) DistributedLockExtend(lockName interface{}, instanceID interface{}, ttlSeconds interface{}) *MockStore_DistributedLockExtend_Call
DistributedLockExtend is a helper method to define mock.On call
- lockName string
- instanceID string
- ttlSeconds int64
func (*MockStore_Expecter) DistributedLockInit ¶ added in v4.0.1
func (_e *MockStore_Expecter) DistributedLockInit() *MockStore_DistributedLockInit_Call
DistributedLockInit is a helper method to define mock.On call
func (*MockStore_Expecter) DistributedLockList ¶
func (_e *MockStore_Expecter) DistributedLockList() *MockStore_DistributedLockList_Call
DistributedLockList is a helper method to define mock.On call
func (*MockStore_Expecter) DistributedLockRelease ¶
func (_e *MockStore_Expecter) DistributedLockRelease(lockName interface{}, instanceID interface{}) *MockStore_DistributedLockRelease_Call
DistributedLockRelease is a helper method to define mock.On call
- lockName string
- instanceID string
func (*MockStore_Expecter) ForgeCreate ¶
func (_e *MockStore_Expecter) ForgeCreate(forge interface{}) *MockStore_ForgeCreate_Call
ForgeCreate is a helper method to define mock.On call
- forge *model.Forge
func (*MockStore_Expecter) ForgeDelete ¶
func (_e *MockStore_Expecter) ForgeDelete(forge interface{}) *MockStore_ForgeDelete_Call
ForgeDelete is a helper method to define mock.On call
- forge *model.Forge
func (*MockStore_Expecter) ForgeGet ¶
func (_e *MockStore_Expecter) ForgeGet(n interface{}) *MockStore_ForgeGet_Call
ForgeGet is a helper method to define mock.On call
- n int64
func (*MockStore_Expecter) ForgeList ¶
func (_e *MockStore_Expecter) ForgeList(p interface{}) *MockStore_ForgeList_Call
ForgeList is a helper method to define mock.On call
- p *model.ListOptions
func (*MockStore_Expecter) ForgeUpdate ¶
func (_e *MockStore_Expecter) ForgeUpdate(forge interface{}) *MockStore_ForgeUpdate_Call
ForgeUpdate is a helper method to define mock.On call
- forge *model.Forge
func (*MockStore_Expecter) GetActivePipelineList ¶
func (_e *MockStore_Expecter) GetActivePipelineList(repo interface{}) *MockStore_GetActivePipelineList_Call
GetActivePipelineList is a helper method to define mock.On call
- repo *model.Repo
func (*MockStore_Expecter) GetPipeline ¶
func (_e *MockStore_Expecter) GetPipeline(n interface{}) *MockStore_GetPipeline_Call
GetPipeline is a helper method to define mock.On call
- n int64
func (*MockStore_Expecter) GetPipelineBadge ¶
func (_e *MockStore_Expecter) GetPipelineBadge(repo interface{}, s interface{}) *MockStore_GetPipelineBadge_Call
GetPipelineBadge is a helper method to define mock.On call
- repo *model.Repo
- s string
func (*MockStore_Expecter) GetPipelineCount ¶
func (_e *MockStore_Expecter) GetPipelineCount() *MockStore_GetPipelineCount_Call
GetPipelineCount is a helper method to define mock.On call
func (*MockStore_Expecter) GetPipelineCountByRepo ¶
func (_e *MockStore_Expecter) GetPipelineCountByRepo(n interface{}) *MockStore_GetPipelineCountByRepo_Call
GetPipelineCountByRepo is a helper method to define mock.On call
- n int64
func (*MockStore_Expecter) GetPipelineLast ¶
func (_e *MockStore_Expecter) GetPipelineLast(repo interface{}, s interface{}) *MockStore_GetPipelineLast_Call
GetPipelineLast is a helper method to define mock.On call
- repo *model.Repo
- s string
func (*MockStore_Expecter) GetPipelineLastBefore ¶
func (_e *MockStore_Expecter) GetPipelineLastBefore(repo interface{}, s interface{}, n interface{}) *MockStore_GetPipelineLastBefore_Call
GetPipelineLastBefore is a helper method to define mock.On call
- repo *model.Repo
- s string
- n int64
func (*MockStore_Expecter) GetPipelineList ¶
func (_e *MockStore_Expecter) GetPipelineList(repo interface{}, listOptions interface{}, pipelineFilter interface{}) *MockStore_GetPipelineList_Call
GetPipelineList is a helper method to define mock.On call
- repo *model.Repo
- listOptions *model.ListOptions
- pipelineFilter *model.PipelineFilter
func (*MockStore_Expecter) GetPipelineListKeyset ¶
func (_e *MockStore_Expecter) GetPipelineListKeyset(repo interface{}, startID interface{}, beforeDate interface{}, limit interface{}) *MockStore_GetPipelineListKeyset_Call
GetPipelineListKeyset is a helper method to define mock.On call
- repo *model.Repo
- startID int64
- beforeDate int64
- limit int
func (*MockStore_Expecter) GetPipelineLogPurged ¶
func (_e *MockStore_Expecter) GetPipelineLogPurged(pipeline interface{}) *MockStore_GetPipelineLogPurged_Call
GetPipelineLogPurged is a helper method to define mock.On call
- pipeline *model.Pipeline
func (*MockStore_Expecter) GetPipelineNumber ¶
func (_e *MockStore_Expecter) GetPipelineNumber(repo interface{}, n interface{}) *MockStore_GetPipelineNumber_Call
GetPipelineNumber is a helper method to define mock.On call
- repo *model.Repo
- n int64
func (*MockStore_Expecter) GetPipelineQueue ¶
func (_e *MockStore_Expecter) GetPipelineQueue() *MockStore_GetPipelineQueue_Call
GetPipelineQueue is a helper method to define mock.On call
func (*MockStore_Expecter) GetRepo ¶
func (_e *MockStore_Expecter) GetRepo(n interface{}) *MockStore_GetRepo_Call
GetRepo is a helper method to define mock.On call
- n int64
func (*MockStore_Expecter) GetRepoCount ¶
func (_e *MockStore_Expecter) GetRepoCount() *MockStore_GetRepoCount_Call
GetRepoCount is a helper method to define mock.On call
func (*MockStore_Expecter) GetRepoForgeID ¶
func (_e *MockStore_Expecter) GetRepoForgeID(forgeRemoteID interface{}) *MockStore_GetRepoForgeID_Call
GetRepoForgeID is a helper method to define mock.On call
- forgeRemoteID model.ForgeRemoteID
func (*MockStore_Expecter) GetRepoLatestPipelines ¶
func (_e *MockStore_Expecter) GetRepoLatestPipelines(int64s interface{}) *MockStore_GetRepoLatestPipelines_Call
GetRepoLatestPipelines is a helper method to define mock.On call
- int64s []int64
func (*MockStore_Expecter) GetRepoName ¶
func (_e *MockStore_Expecter) GetRepoName(s interface{}) *MockStore_GetRepoName_Call
GetRepoName is a helper method to define mock.On call
- s string
func (*MockStore_Expecter) GetRepoNameFallback ¶
func (_e *MockStore_Expecter) GetRepoNameFallback(remoteID interface{}, fullName interface{}) *MockStore_GetRepoNameFallback_Call
GetRepoNameFallback is a helper method to define mock.On call
- remoteID model.ForgeRemoteID
- fullName string
func (*MockStore_Expecter) GetUser ¶
func (_e *MockStore_Expecter) GetUser(n interface{}) *MockStore_GetUser_Call
GetUser is a helper method to define mock.On call
- n int64
func (*MockStore_Expecter) GetUserCount ¶
func (_e *MockStore_Expecter) GetUserCount() *MockStore_GetUserCount_Call
GetUserCount is a helper method to define mock.On call
func (*MockStore_Expecter) GetUserList ¶
func (_e *MockStore_Expecter) GetUserList(p interface{}) *MockStore_GetUserList_Call
GetUserList is a helper method to define mock.On call
- p *model.ListOptions
func (*MockStore_Expecter) GetUserLogin ¶
func (_e *MockStore_Expecter) GetUserLogin(s interface{}) *MockStore_GetUserLogin_Call
GetUserLogin is a helper method to define mock.On call
- s string
func (*MockStore_Expecter) GetUserRemoteID ¶
func (_e *MockStore_Expecter) GetUserRemoteID(forgeRemoteID interface{}, s interface{}) *MockStore_GetUserRemoteID_Call
GetUserRemoteID is a helper method to define mock.On call
- forgeRemoteID model.ForgeRemoteID
- s string
func (*MockStore_Expecter) GlobalRegistryFind ¶
func (_e *MockStore_Expecter) GlobalRegistryFind(s interface{}) *MockStore_GlobalRegistryFind_Call
GlobalRegistryFind is a helper method to define mock.On call
- s string
func (*MockStore_Expecter) GlobalRegistryList ¶
func (_e *MockStore_Expecter) GlobalRegistryList(listOptions interface{}) *MockStore_GlobalRegistryList_Call
GlobalRegistryList is a helper method to define mock.On call
- listOptions *model.ListOptions
func (*MockStore_Expecter) GlobalSecretFind ¶
func (_e *MockStore_Expecter) GlobalSecretFind(s interface{}) *MockStore_GlobalSecretFind_Call
GlobalSecretFind is a helper method to define mock.On call
- s string
func (*MockStore_Expecter) GlobalSecretList ¶
func (_e *MockStore_Expecter) GlobalSecretList(listOptions interface{}) *MockStore_GlobalSecretList_Call
GlobalSecretList is a helper method to define mock.On call
- listOptions *model.ListOptions
func (*MockStore_Expecter) HasRedirectionForRepo ¶
func (_e *MockStore_Expecter) HasRedirectionForRepo(n interface{}, s interface{}) *MockStore_HasRedirectionForRepo_Call
HasRedirectionForRepo is a helper method to define mock.On call
- n int64
- s string
func (*MockStore_Expecter) LogAppend ¶
func (_e *MockStore_Expecter) LogAppend(step interface{}, logEntrys interface{}) *MockStore_LogAppend_Call
LogAppend is a helper method to define mock.On call
- step *model.Step
- logEntrys []*model.LogEntry
func (*MockStore_Expecter) LogDelete ¶
func (_e *MockStore_Expecter) LogDelete(step interface{}) *MockStore_LogDelete_Call
LogDelete is a helper method to define mock.On call
- step *model.Step
func (*MockStore_Expecter) LogFind ¶
func (_e *MockStore_Expecter) LogFind(step interface{}) *MockStore_LogFind_Call
LogFind is a helper method to define mock.On call
- step *model.Step
func (*MockStore_Expecter) LogFindAfter ¶ added in v4.0.1
func (_e *MockStore_Expecter) LogFindAfter(stepID interface{}, afterLogID interface{}) *MockStore_LogFindAfter_Call
LogFindAfter is a helper method to define mock.On call
- stepID int64
- afterLogID int64
func (*MockStore_Expecter) MaintenanceConfigGet ¶
func (_e *MockStore_Expecter) MaintenanceConfigGet() *MockStore_MaintenanceConfigGet_Call
MaintenanceConfigGet is a helper method to define mock.On call
func (*MockStore_Expecter) MaintenanceConfigGetByActionType ¶ added in v4.1.0
func (_e *MockStore_Expecter) MaintenanceConfigGetByActionType(actionType interface{}) *MockStore_MaintenanceConfigGetByActionType_Call
MaintenanceConfigGetByActionType is a helper method to define mock.On call
- actionType string
func (*MockStore_Expecter) MaintenanceConfigUpdate ¶
func (_e *MockStore_Expecter) MaintenanceConfigUpdate(maintenanceConfig interface{}) *MockStore_MaintenanceConfigUpdate_Call
MaintenanceConfigUpdate is a helper method to define mock.On call
- maintenanceConfig *model.MaintenanceConfig
func (*MockStore_Expecter) MaintenanceConfigUpdateByActionType ¶ added in v4.1.0
func (_e *MockStore_Expecter) MaintenanceConfigUpdateByActionType(actionType interface{}, config interface{}) *MockStore_MaintenanceConfigUpdateByActionType_Call
MaintenanceConfigUpdateByActionType is a helper method to define mock.On call
- actionType string
- config *model.MaintenanceConfig
func (*MockStore_Expecter) MaintenanceLogCreate ¶
func (_e *MockStore_Expecter) MaintenanceLogCreate(maintenanceLog interface{}) *MockStore_MaintenanceLogCreate_Call
MaintenanceLogCreate is a helper method to define mock.On call
- maintenanceLog *model.MaintenanceLog
func (*MockStore_Expecter) MaintenanceLogList ¶
func (_e *MockStore_Expecter) MaintenanceLogList(limit interface{}) *MockStore_MaintenanceLogList_Call
MaintenanceLogList is a helper method to define mock.On call
- limit int
func (*MockStore_Expecter) MaintenanceRunMySQL ¶
func (_e *MockStore_Expecter) MaintenanceRunMySQL(context1 interface{}) *MockStore_MaintenanceRunMySQL_Call
MaintenanceRunMySQL is a helper method to define mock.On call
- context1 context.Context
func (*MockStore_Expecter) MaintenanceRunPostgreSQL ¶
func (_e *MockStore_Expecter) MaintenanceRunPostgreSQL(context1 interface{}) *MockStore_MaintenanceRunPostgreSQL_Call
MaintenanceRunPostgreSQL is a helper method to define mock.On call
- context1 context.Context
func (*MockStore_Expecter) MaintenanceRunSQLite ¶
func (_e *MockStore_Expecter) MaintenanceRunSQLite(context1 interface{}) *MockStore_MaintenanceRunSQLite_Call
MaintenanceRunSQLite is a helper method to define mock.On call
- context1 context.Context
func (*MockStore_Expecter) MaintenanceStatsGet ¶
func (_e *MockStore_Expecter) MaintenanceStatsGet() *MockStore_MaintenanceStatsGet_Call
MaintenanceStatsGet is a helper method to define mock.On call
func (*MockStore_Expecter) MaintenanceStatsUpdate ¶
func (_e *MockStore_Expecter) MaintenanceStatsUpdate(maintenanceStats interface{}) *MockStore_MaintenanceStatsUpdate_Call
MaintenanceStatsUpdate is a helper method to define mock.On call
- maintenanceStats *model.MaintenanceStats
func (*MockStore_Expecter) Migrate ¶
func (_e *MockStore_Expecter) Migrate(context1 interface{}, b interface{}) *MockStore_Migrate_Call
Migrate is a helper method to define mock.On call
- context1 context.Context
- b bool
func (*MockStore_Expecter) OrgCreate ¶
func (_e *MockStore_Expecter) OrgCreate(org interface{}) *MockStore_OrgCreate_Call
OrgCreate is a helper method to define mock.On call
- org *model.Org
func (*MockStore_Expecter) OrgDelete ¶
func (_e *MockStore_Expecter) OrgDelete(n interface{}) *MockStore_OrgDelete_Call
OrgDelete is a helper method to define mock.On call
- n int64
func (*MockStore_Expecter) OrgFindByName ¶
func (_e *MockStore_Expecter) OrgFindByName(s interface{}, n interface{}) *MockStore_OrgFindByName_Call
OrgFindByName is a helper method to define mock.On call
- s string
- n int64
func (*MockStore_Expecter) OrgGet ¶
func (_e *MockStore_Expecter) OrgGet(n interface{}) *MockStore_OrgGet_Call
OrgGet is a helper method to define mock.On call
- n int64
func (*MockStore_Expecter) OrgList ¶
func (_e *MockStore_Expecter) OrgList(listOptions interface{}) *MockStore_OrgList_Call
OrgList is a helper method to define mock.On call
- listOptions *model.ListOptions
func (*MockStore_Expecter) OrgRegistryFind ¶
func (_e *MockStore_Expecter) OrgRegistryFind(n interface{}, s interface{}) *MockStore_OrgRegistryFind_Call
OrgRegistryFind is a helper method to define mock.On call
- n int64
- s string
func (*MockStore_Expecter) OrgRegistryList ¶
func (_e *MockStore_Expecter) OrgRegistryList(n interface{}, listOptions interface{}) *MockStore_OrgRegistryList_Call
OrgRegistryList is a helper method to define mock.On call
- n int64
- listOptions *model.ListOptions
func (*MockStore_Expecter) OrgRepoList ¶
func (_e *MockStore_Expecter) OrgRepoList(org interface{}, listOptions interface{}) *MockStore_OrgRepoList_Call
OrgRepoList is a helper method to define mock.On call
- org *model.Org
- listOptions *model.ListOptions
func (*MockStore_Expecter) OrgSecretFind ¶
func (_e *MockStore_Expecter) OrgSecretFind(n interface{}, s interface{}) *MockStore_OrgSecretFind_Call
OrgSecretFind is a helper method to define mock.On call
- n int64
- s string
func (*MockStore_Expecter) OrgSecretList ¶
func (_e *MockStore_Expecter) OrgSecretList(n interface{}, listOptions interface{}) *MockStore_OrgSecretList_Call
OrgSecretList is a helper method to define mock.On call
- n int64
- listOptions *model.ListOptions
func (*MockStore_Expecter) OrgUpdate ¶
func (_e *MockStore_Expecter) OrgUpdate(org interface{}) *MockStore_OrgUpdate_Call
OrgUpdate is a helper method to define mock.On call
- org *model.Org
func (*MockStore_Expecter) PermFind ¶
func (_e *MockStore_Expecter) PermFind(user interface{}, repo interface{}) *MockStore_PermFind_Call
PermFind is a helper method to define mock.On call
- user *model.User
- repo *model.Repo
func (*MockStore_Expecter) PermUpsert ¶
func (_e *MockStore_Expecter) PermUpsert(perm interface{}) *MockStore_PermUpsert_Call
PermUpsert is a helper method to define mock.On call
- perm *model.Perm
func (*MockStore_Expecter) Ping ¶
func (_e *MockStore_Expecter) Ping() *MockStore_Ping_Call
Ping is a helper method to define mock.On call
func (*MockStore_Expecter) PipelineConfigCreate ¶
func (_e *MockStore_Expecter) PipelineConfigCreate(pipelineConfig interface{}) *MockStore_PipelineConfigCreate_Call
PipelineConfigCreate is a helper method to define mock.On call
- pipelineConfig *model.PipelineConfig
func (*MockStore_Expecter) PubSubMessageCleanupOlderThan ¶
func (_e *MockStore_Expecter) PubSubMessageCleanupOlderThan(timestamp interface{}) *MockStore_PubSubMessageCleanupOlderThan_Call
PubSubMessageCleanupOlderThan is a helper method to define mock.On call
- timestamp int64
func (*MockStore_Expecter) PubSubMessageInsert ¶
func (_e *MockStore_Expecter) PubSubMessageInsert(msg interface{}) *MockStore_PubSubMessageInsert_Call
PubSubMessageInsert is a helper method to define mock.On call
- msg *model.DistributedMessage
func (*MockStore_Expecter) PubSubMessageListAfter ¶
func (_e *MockStore_Expecter) PubSubMessageListAfter(timestamp interface{}) *MockStore_PubSubMessageListAfter_Call
PubSubMessageListAfter is a helper method to define mock.On call
- timestamp int64
func (*MockStore_Expecter) RegistryCreate ¶
func (_e *MockStore_Expecter) RegistryCreate(registry interface{}) *MockStore_RegistryCreate_Call
RegistryCreate is a helper method to define mock.On call
- registry *model.Registry
func (*MockStore_Expecter) RegistryDelete ¶
func (_e *MockStore_Expecter) RegistryDelete(registry interface{}) *MockStore_RegistryDelete_Call
RegistryDelete is a helper method to define mock.On call
- registry *model.Registry
func (*MockStore_Expecter) RegistryFind ¶
func (_e *MockStore_Expecter) RegistryFind(repo interface{}, s interface{}) *MockStore_RegistryFind_Call
RegistryFind is a helper method to define mock.On call
- repo *model.Repo
- s string
func (*MockStore_Expecter) RegistryList ¶
func (_e *MockStore_Expecter) RegistryList(repo interface{}, b interface{}, listOptions interface{}) *MockStore_RegistryList_Call
RegistryList is a helper method to define mock.On call
- repo *model.Repo
- b bool
- listOptions *model.ListOptions
func (*MockStore_Expecter) RegistryListAll ¶
func (_e *MockStore_Expecter) RegistryListAll() *MockStore_RegistryListAll_Call
RegistryListAll is a helper method to define mock.On call
func (*MockStore_Expecter) RegistryUpdate ¶
func (_e *MockStore_Expecter) RegistryUpdate(registry interface{}) *MockStore_RegistryUpdate_Call
RegistryUpdate is a helper method to define mock.On call
- registry *model.Registry
func (*MockStore_Expecter) RepoList ¶
func (_e *MockStore_Expecter) RepoList(user interface{}, owned interface{}, active interface{}) *MockStore_RepoList_Call
RepoList is a helper method to define mock.On call
- user *model.User
- owned bool
- active bool
func (*MockStore_Expecter) RepoListAll ¶
func (_e *MockStore_Expecter) RepoListAll(active interface{}, p interface{}) *MockStore_RepoListAll_Call
RepoListAll is a helper method to define mock.On call
- active bool
- p *model.ListOptions
func (*MockStore_Expecter) RepoListLatest ¶
func (_e *MockStore_Expecter) RepoListLatest(user interface{}) *MockStore_RepoListLatest_Call
RepoListLatest is a helper method to define mock.On call
- user *model.User
func (*MockStore_Expecter) SecretCreate ¶
func (_e *MockStore_Expecter) SecretCreate(secret interface{}) *MockStore_SecretCreate_Call
SecretCreate is a helper method to define mock.On call
- secret *model.Secret
func (*MockStore_Expecter) SecretDelete ¶
func (_e *MockStore_Expecter) SecretDelete(secret interface{}) *MockStore_SecretDelete_Call
SecretDelete is a helper method to define mock.On call
- secret *model.Secret
func (*MockStore_Expecter) SecretFind ¶
func (_e *MockStore_Expecter) SecretFind(repo interface{}, s interface{}) *MockStore_SecretFind_Call
SecretFind is a helper method to define mock.On call
- repo *model.Repo
- s string
func (*MockStore_Expecter) SecretList ¶
func (_e *MockStore_Expecter) SecretList(repo interface{}, b interface{}, listOptions interface{}) *MockStore_SecretList_Call
SecretList is a helper method to define mock.On call
- repo *model.Repo
- b bool
- listOptions *model.ListOptions
func (*MockStore_Expecter) SecretListAll ¶
func (_e *MockStore_Expecter) SecretListAll() *MockStore_SecretListAll_Call
SecretListAll is a helper method to define mock.On call
func (*MockStore_Expecter) SecretUpdate ¶
func (_e *MockStore_Expecter) SecretUpdate(secret interface{}) *MockStore_SecretUpdate_Call
SecretUpdate is a helper method to define mock.On call
- secret *model.Secret
func (*MockStore_Expecter) ServerConfigDelete ¶
func (_e *MockStore_Expecter) ServerConfigDelete(s interface{}) *MockStore_ServerConfigDelete_Call
ServerConfigDelete is a helper method to define mock.On call
- s string
func (*MockStore_Expecter) ServerConfigGet ¶
func (_e *MockStore_Expecter) ServerConfigGet(s interface{}) *MockStore_ServerConfigGet_Call
ServerConfigGet is a helper method to define mock.On call
- s string
func (*MockStore_Expecter) ServerConfigSet ¶
func (_e *MockStore_Expecter) ServerConfigSet(s interface{}, s1 interface{}) *MockStore_ServerConfigSet_Call
ServerConfigSet is a helper method to define mock.On call
- s string
- s1 string
func (*MockStore_Expecter) SetPipelineLogPurged ¶
func (_e *MockStore_Expecter) SetPipelineLogPurged(pipeline interface{}) *MockStore_SetPipelineLogPurged_Call
SetPipelineLogPurged is a helper method to define mock.On call
- pipeline *model.Pipeline
func (*MockStore_Expecter) StepByUUID ¶
func (_e *MockStore_Expecter) StepByUUID(s interface{}) *MockStore_StepByUUID_Call
StepByUUID is a helper method to define mock.On call
- s string
func (*MockStore_Expecter) StepChild ¶
func (_e *MockStore_Expecter) StepChild(pipeline interface{}, n interface{}, s interface{}) *MockStore_StepChild_Call
StepChild is a helper method to define mock.On call
- pipeline *model.Pipeline
- n int
- s string
func (*MockStore_Expecter) StepFind ¶
func (_e *MockStore_Expecter) StepFind(pipeline interface{}, n interface{}) *MockStore_StepFind_Call
StepFind is a helper method to define mock.On call
- pipeline *model.Pipeline
- n int
func (*MockStore_Expecter) StepList ¶
func (_e *MockStore_Expecter) StepList(pipeline interface{}) *MockStore_StepList_Call
StepList is a helper method to define mock.On call
- pipeline *model.Pipeline
func (*MockStore_Expecter) StepListFromWorkflowFind ¶
func (_e *MockStore_Expecter) StepListFromWorkflowFind(workflow interface{}) *MockStore_StepListFromWorkflowFind_Call
StepListFromWorkflowFind is a helper method to define mock.On call
- workflow *model.Workflow
func (*MockStore_Expecter) StepLoad ¶
func (_e *MockStore_Expecter) StepLoad(n interface{}) *MockStore_StepLoad_Call
StepLoad is a helper method to define mock.On call
- n int64
func (*MockStore_Expecter) StepUpdate ¶
func (_e *MockStore_Expecter) StepUpdate(step interface{}) *MockStore_StepUpdate_Call
StepUpdate is a helper method to define mock.On call
- step *model.Step
func (*MockStore_Expecter) TaskAtomicAssign ¶ added in v4.0.1
func (_e *MockStore_Expecter) TaskAtomicAssign(taskID interface{}, agentID interface{}) *MockStore_TaskAtomicAssign_Call
TaskAtomicAssign is a helper method to define mock.On call
- taskID string
- agentID int64
func (*MockStore_Expecter) TaskDelete ¶
func (_e *MockStore_Expecter) TaskDelete(s interface{}) *MockStore_TaskDelete_Call
TaskDelete is a helper method to define mock.On call
- s string
func (*MockStore_Expecter) TaskInsert ¶
func (_e *MockStore_Expecter) TaskInsert(task interface{}) *MockStore_TaskInsert_Call
TaskInsert is a helper method to define mock.On call
- task *model.Task
func (*MockStore_Expecter) TaskList ¶
func (_e *MockStore_Expecter) TaskList() *MockStore_TaskList_Call
TaskList is a helper method to define mock.On call
func (*MockStore_Expecter) TaskListPending ¶ added in v4.5.0
func (_e *MockStore_Expecter) TaskListPending() *MockStore_TaskListPending_Call
TaskListPending is a helper method to define mock.On call
func (*MockStore_Expecter) TaskUpdate ¶ added in v4.0.1
func (_e *MockStore_Expecter) TaskUpdate(task interface{}) *MockStore_TaskUpdate_Call
TaskUpdate is a helper method to define mock.On call
- task *model.Task
func (*MockStore_Expecter) UpdatePipeline ¶
func (_e *MockStore_Expecter) UpdatePipeline(pipeline interface{}) *MockStore_UpdatePipeline_Call
UpdatePipeline is a helper method to define mock.On call
- pipeline *model.Pipeline
func (*MockStore_Expecter) UpdateRepo ¶
func (_e *MockStore_Expecter) UpdateRepo(repo interface{}) *MockStore_UpdateRepo_Call
UpdateRepo is a helper method to define mock.On call
- repo *model.Repo
func (*MockStore_Expecter) UpdateUser ¶
func (_e *MockStore_Expecter) UpdateUser(user interface{}) *MockStore_UpdateUser_Call
UpdateUser is a helper method to define mock.On call
- user *model.User
func (*MockStore_Expecter) UserFeed ¶
func (_e *MockStore_Expecter) UserFeed(user interface{}) *MockStore_UserFeed_Call
UserFeed is a helper method to define mock.On call
- user *model.User
func (*MockStore_Expecter) WorkflowGetTree ¶
func (_e *MockStore_Expecter) WorkflowGetTree(pipeline interface{}) *MockStore_WorkflowGetTree_Call
WorkflowGetTree is a helper method to define mock.On call
- pipeline *model.Pipeline
func (*MockStore_Expecter) WorkflowLoad ¶
func (_e *MockStore_Expecter) WorkflowLoad(n interface{}) *MockStore_WorkflowLoad_Call
WorkflowLoad is a helper method to define mock.On call
- n int64
func (*MockStore_Expecter) WorkflowUpdate ¶
func (_e *MockStore_Expecter) WorkflowUpdate(workflow interface{}) *MockStore_WorkflowUpdate_Call
WorkflowUpdate is a helper method to define mock.On call
- workflow *model.Workflow
func (*MockStore_Expecter) WorkflowsCreate ¶
func (_e *MockStore_Expecter) WorkflowsCreate(workflows interface{}) *MockStore_WorkflowsCreate_Call
WorkflowsCreate is a helper method to define mock.On call
- workflows []*model.Workflow
func (*MockStore_Expecter) WorkflowsReplace ¶
func (_e *MockStore_Expecter) WorkflowsReplace(pipeline interface{}, workflows interface{}) *MockStore_WorkflowsReplace_Call
WorkflowsReplace is a helper method to define mock.On call
- pipeline *model.Pipeline
- workflows []*model.Workflow
type MockStore_ForgeCreate_Call ¶
MockStore_ForgeCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForgeCreate'
func (*MockStore_ForgeCreate_Call) Return ¶
func (_c *MockStore_ForgeCreate_Call) Return(err error) *MockStore_ForgeCreate_Call
func (*MockStore_ForgeCreate_Call) Run ¶
func (_c *MockStore_ForgeCreate_Call) Run(run func(forge *model.Forge)) *MockStore_ForgeCreate_Call
func (*MockStore_ForgeCreate_Call) RunAndReturn ¶
func (_c *MockStore_ForgeCreate_Call) RunAndReturn(run func(forge *model.Forge) error) *MockStore_ForgeCreate_Call
type MockStore_ForgeDelete_Call ¶
MockStore_ForgeDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForgeDelete'
func (*MockStore_ForgeDelete_Call) Return ¶
func (_c *MockStore_ForgeDelete_Call) Return(err error) *MockStore_ForgeDelete_Call
func (*MockStore_ForgeDelete_Call) Run ¶
func (_c *MockStore_ForgeDelete_Call) Run(run func(forge *model.Forge)) *MockStore_ForgeDelete_Call
func (*MockStore_ForgeDelete_Call) RunAndReturn ¶
func (_c *MockStore_ForgeDelete_Call) RunAndReturn(run func(forge *model.Forge) error) *MockStore_ForgeDelete_Call
type MockStore_ForgeGet_Call ¶
MockStore_ForgeGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForgeGet'
func (*MockStore_ForgeGet_Call) Return ¶
func (_c *MockStore_ForgeGet_Call) Return(forge *model.Forge, err error) *MockStore_ForgeGet_Call
func (*MockStore_ForgeGet_Call) Run ¶
func (_c *MockStore_ForgeGet_Call) Run(run func(n int64)) *MockStore_ForgeGet_Call
func (*MockStore_ForgeGet_Call) RunAndReturn ¶
func (_c *MockStore_ForgeGet_Call) RunAndReturn(run func(n int64) (*model.Forge, error)) *MockStore_ForgeGet_Call
type MockStore_ForgeList_Call ¶
MockStore_ForgeList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForgeList'
func (*MockStore_ForgeList_Call) Return ¶
func (_c *MockStore_ForgeList_Call) Return(forges []*model.Forge, err error) *MockStore_ForgeList_Call
func (*MockStore_ForgeList_Call) Run ¶
func (_c *MockStore_ForgeList_Call) Run(run func(p *model.ListOptions)) *MockStore_ForgeList_Call
func (*MockStore_ForgeList_Call) RunAndReturn ¶
func (_c *MockStore_ForgeList_Call) RunAndReturn(run func(p *model.ListOptions) ([]*model.Forge, error)) *MockStore_ForgeList_Call
type MockStore_ForgeUpdate_Call ¶
MockStore_ForgeUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForgeUpdate'
func (*MockStore_ForgeUpdate_Call) Return ¶
func (_c *MockStore_ForgeUpdate_Call) Return(err error) *MockStore_ForgeUpdate_Call
func (*MockStore_ForgeUpdate_Call) Run ¶
func (_c *MockStore_ForgeUpdate_Call) Run(run func(forge *model.Forge)) *MockStore_ForgeUpdate_Call
func (*MockStore_ForgeUpdate_Call) RunAndReturn ¶
func (_c *MockStore_ForgeUpdate_Call) RunAndReturn(run func(forge *model.Forge) error) *MockStore_ForgeUpdate_Call
type MockStore_GetActivePipelineList_Call ¶
MockStore_GetActivePipelineList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetActivePipelineList'
func (*MockStore_GetActivePipelineList_Call) Return ¶
func (_c *MockStore_GetActivePipelineList_Call) Return(pipelines []*model.Pipeline, err error) *MockStore_GetActivePipelineList_Call
func (*MockStore_GetActivePipelineList_Call) Run ¶
func (_c *MockStore_GetActivePipelineList_Call) Run(run func(repo *model.Repo)) *MockStore_GetActivePipelineList_Call
func (*MockStore_GetActivePipelineList_Call) RunAndReturn ¶
func (_c *MockStore_GetActivePipelineList_Call) RunAndReturn(run func(repo *model.Repo) ([]*model.Pipeline, error)) *MockStore_GetActivePipelineList_Call
type MockStore_GetPipelineBadge_Call ¶
MockStore_GetPipelineBadge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPipelineBadge'
func (*MockStore_GetPipelineBadge_Call) Return ¶
func (_c *MockStore_GetPipelineBadge_Call) Return(pipeline *model.Pipeline, err error) *MockStore_GetPipelineBadge_Call
func (*MockStore_GetPipelineBadge_Call) Run ¶
func (_c *MockStore_GetPipelineBadge_Call) Run(run func(repo *model.Repo, s string)) *MockStore_GetPipelineBadge_Call
func (*MockStore_GetPipelineBadge_Call) RunAndReturn ¶
func (_c *MockStore_GetPipelineBadge_Call) RunAndReturn(run func(repo *model.Repo, s string) (*model.Pipeline, error)) *MockStore_GetPipelineBadge_Call
type MockStore_GetPipelineCountByRepo_Call ¶
MockStore_GetPipelineCountByRepo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPipelineCountByRepo'
func (*MockStore_GetPipelineCountByRepo_Call) Return ¶
func (_c *MockStore_GetPipelineCountByRepo_Call) Return(n1 int64, err error) *MockStore_GetPipelineCountByRepo_Call
func (*MockStore_GetPipelineCountByRepo_Call) Run ¶
func (_c *MockStore_GetPipelineCountByRepo_Call) Run(run func(n int64)) *MockStore_GetPipelineCountByRepo_Call
func (*MockStore_GetPipelineCountByRepo_Call) RunAndReturn ¶
func (_c *MockStore_GetPipelineCountByRepo_Call) RunAndReturn(run func(n int64) (int64, error)) *MockStore_GetPipelineCountByRepo_Call
type MockStore_GetPipelineCount_Call ¶
MockStore_GetPipelineCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPipelineCount'
func (*MockStore_GetPipelineCount_Call) Return ¶
func (_c *MockStore_GetPipelineCount_Call) Return(n int64, err error) *MockStore_GetPipelineCount_Call
func (*MockStore_GetPipelineCount_Call) Run ¶
func (_c *MockStore_GetPipelineCount_Call) Run(run func()) *MockStore_GetPipelineCount_Call
func (*MockStore_GetPipelineCount_Call) RunAndReturn ¶
func (_c *MockStore_GetPipelineCount_Call) RunAndReturn(run func() (int64, error)) *MockStore_GetPipelineCount_Call
type MockStore_GetPipelineLastBefore_Call ¶
MockStore_GetPipelineLastBefore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPipelineLastBefore'
func (*MockStore_GetPipelineLastBefore_Call) Return ¶
func (_c *MockStore_GetPipelineLastBefore_Call) Return(pipeline *model.Pipeline, err error) *MockStore_GetPipelineLastBefore_Call
func (*MockStore_GetPipelineLastBefore_Call) Run ¶
func (_c *MockStore_GetPipelineLastBefore_Call) Run(run func(repo *model.Repo, s string, n int64)) *MockStore_GetPipelineLastBefore_Call
func (*MockStore_GetPipelineLastBefore_Call) RunAndReturn ¶
func (_c *MockStore_GetPipelineLastBefore_Call) RunAndReturn(run func(repo *model.Repo, s string, n int64) (*model.Pipeline, error)) *MockStore_GetPipelineLastBefore_Call
type MockStore_GetPipelineLast_Call ¶
MockStore_GetPipelineLast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPipelineLast'
func (*MockStore_GetPipelineLast_Call) Return ¶
func (_c *MockStore_GetPipelineLast_Call) Return(pipeline *model.Pipeline, err error) *MockStore_GetPipelineLast_Call
func (*MockStore_GetPipelineLast_Call) Run ¶
func (_c *MockStore_GetPipelineLast_Call) Run(run func(repo *model.Repo, s string)) *MockStore_GetPipelineLast_Call
func (*MockStore_GetPipelineLast_Call) RunAndReturn ¶
func (_c *MockStore_GetPipelineLast_Call) RunAndReturn(run func(repo *model.Repo, s string) (*model.Pipeline, error)) *MockStore_GetPipelineLast_Call
type MockStore_GetPipelineListKeyset_Call ¶
MockStore_GetPipelineListKeyset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPipelineListKeyset'
func (*MockStore_GetPipelineListKeyset_Call) Return ¶
func (_c *MockStore_GetPipelineListKeyset_Call) Return(pipelines []*model.Pipeline, err error) *MockStore_GetPipelineListKeyset_Call
func (*MockStore_GetPipelineListKeyset_Call) Run ¶
func (_c *MockStore_GetPipelineListKeyset_Call) Run(run func(repo *model.Repo, startID int64, beforeDate int64, limit int)) *MockStore_GetPipelineListKeyset_Call
func (*MockStore_GetPipelineListKeyset_Call) RunAndReturn ¶
func (_c *MockStore_GetPipelineListKeyset_Call) RunAndReturn(run func(repo *model.Repo, startID int64, beforeDate int64, limit int) ([]*model.Pipeline, error)) *MockStore_GetPipelineListKeyset_Call
type MockStore_GetPipelineList_Call ¶
MockStore_GetPipelineList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPipelineList'
func (*MockStore_GetPipelineList_Call) Return ¶
func (_c *MockStore_GetPipelineList_Call) Return(pipelines []*model.Pipeline, err error) *MockStore_GetPipelineList_Call
func (*MockStore_GetPipelineList_Call) Run ¶
func (_c *MockStore_GetPipelineList_Call) Run(run func(repo *model.Repo, listOptions *model.ListOptions, pipelineFilter *model.PipelineFilter)) *MockStore_GetPipelineList_Call
func (*MockStore_GetPipelineList_Call) RunAndReturn ¶
func (_c *MockStore_GetPipelineList_Call) RunAndReturn(run func(repo *model.Repo, listOptions *model.ListOptions, pipelineFilter *model.PipelineFilter) ([]*model.Pipeline, error)) *MockStore_GetPipelineList_Call
type MockStore_GetPipelineLogPurged_Call ¶
MockStore_GetPipelineLogPurged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPipelineLogPurged'
func (*MockStore_GetPipelineLogPurged_Call) Return ¶
func (_c *MockStore_GetPipelineLogPurged_Call) Return(b bool, err error) *MockStore_GetPipelineLogPurged_Call
func (*MockStore_GetPipelineLogPurged_Call) Run ¶
func (_c *MockStore_GetPipelineLogPurged_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_GetPipelineLogPurged_Call
func (*MockStore_GetPipelineLogPurged_Call) RunAndReturn ¶
func (_c *MockStore_GetPipelineLogPurged_Call) RunAndReturn(run func(pipeline *model.Pipeline) (bool, error)) *MockStore_GetPipelineLogPurged_Call
type MockStore_GetPipelineNumber_Call ¶
MockStore_GetPipelineNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPipelineNumber'
func (*MockStore_GetPipelineNumber_Call) Return ¶
func (_c *MockStore_GetPipelineNumber_Call) Return(pipeline *model.Pipeline, err error) *MockStore_GetPipelineNumber_Call
func (*MockStore_GetPipelineNumber_Call) Run ¶
func (_c *MockStore_GetPipelineNumber_Call) Run(run func(repo *model.Repo, n int64)) *MockStore_GetPipelineNumber_Call
func (*MockStore_GetPipelineNumber_Call) RunAndReturn ¶
func (_c *MockStore_GetPipelineNumber_Call) RunAndReturn(run func(repo *model.Repo, n int64) (*model.Pipeline, error)) *MockStore_GetPipelineNumber_Call
type MockStore_GetPipelineQueue_Call ¶
MockStore_GetPipelineQueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPipelineQueue'
func (*MockStore_GetPipelineQueue_Call) Return ¶
func (_c *MockStore_GetPipelineQueue_Call) Return(feeds []*model.Feed, err error) *MockStore_GetPipelineQueue_Call
func (*MockStore_GetPipelineQueue_Call) Run ¶
func (_c *MockStore_GetPipelineQueue_Call) Run(run func()) *MockStore_GetPipelineQueue_Call
func (*MockStore_GetPipelineQueue_Call) RunAndReturn ¶
func (_c *MockStore_GetPipelineQueue_Call) RunAndReturn(run func() ([]*model.Feed, error)) *MockStore_GetPipelineQueue_Call
type MockStore_GetPipeline_Call ¶
MockStore_GetPipeline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPipeline'
func (*MockStore_GetPipeline_Call) Return ¶
func (_c *MockStore_GetPipeline_Call) Return(pipeline *model.Pipeline, err error) *MockStore_GetPipeline_Call
func (*MockStore_GetPipeline_Call) Run ¶
func (_c *MockStore_GetPipeline_Call) Run(run func(n int64)) *MockStore_GetPipeline_Call
func (*MockStore_GetPipeline_Call) RunAndReturn ¶
func (_c *MockStore_GetPipeline_Call) RunAndReturn(run func(n int64) (*model.Pipeline, error)) *MockStore_GetPipeline_Call
type MockStore_GetRepoCount_Call ¶
MockStore_GetRepoCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepoCount'
func (*MockStore_GetRepoCount_Call) Return ¶
func (_c *MockStore_GetRepoCount_Call) Return(n int64, err error) *MockStore_GetRepoCount_Call
func (*MockStore_GetRepoCount_Call) Run ¶
func (_c *MockStore_GetRepoCount_Call) Run(run func()) *MockStore_GetRepoCount_Call
func (*MockStore_GetRepoCount_Call) RunAndReturn ¶
func (_c *MockStore_GetRepoCount_Call) RunAndReturn(run func() (int64, error)) *MockStore_GetRepoCount_Call
type MockStore_GetRepoForgeID_Call ¶
MockStore_GetRepoForgeID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepoForgeID'
func (*MockStore_GetRepoForgeID_Call) Return ¶
func (_c *MockStore_GetRepoForgeID_Call) Return(repo *model.Repo, err error) *MockStore_GetRepoForgeID_Call
func (*MockStore_GetRepoForgeID_Call) Run ¶
func (_c *MockStore_GetRepoForgeID_Call) Run(run func(forgeRemoteID model.ForgeRemoteID)) *MockStore_GetRepoForgeID_Call
func (*MockStore_GetRepoForgeID_Call) RunAndReturn ¶
func (_c *MockStore_GetRepoForgeID_Call) RunAndReturn(run func(forgeRemoteID model.ForgeRemoteID) (*model.Repo, error)) *MockStore_GetRepoForgeID_Call
type MockStore_GetRepoLatestPipelines_Call ¶
MockStore_GetRepoLatestPipelines_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepoLatestPipelines'
func (*MockStore_GetRepoLatestPipelines_Call) Return ¶
func (_c *MockStore_GetRepoLatestPipelines_Call) Return(pipelines []*model.Pipeline, err error) *MockStore_GetRepoLatestPipelines_Call
func (*MockStore_GetRepoLatestPipelines_Call) Run ¶
func (_c *MockStore_GetRepoLatestPipelines_Call) Run(run func(int64s []int64)) *MockStore_GetRepoLatestPipelines_Call
func (*MockStore_GetRepoLatestPipelines_Call) RunAndReturn ¶
func (_c *MockStore_GetRepoLatestPipelines_Call) RunAndReturn(run func(int64s []int64) ([]*model.Pipeline, error)) *MockStore_GetRepoLatestPipelines_Call
type MockStore_GetRepoNameFallback_Call ¶
MockStore_GetRepoNameFallback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepoNameFallback'
func (*MockStore_GetRepoNameFallback_Call) Return ¶
func (_c *MockStore_GetRepoNameFallback_Call) Return(repo *model.Repo, err error) *MockStore_GetRepoNameFallback_Call
func (*MockStore_GetRepoNameFallback_Call) Run ¶
func (_c *MockStore_GetRepoNameFallback_Call) Run(run func(remoteID model.ForgeRemoteID, fullName string)) *MockStore_GetRepoNameFallback_Call
func (*MockStore_GetRepoNameFallback_Call) RunAndReturn ¶
func (_c *MockStore_GetRepoNameFallback_Call) RunAndReturn(run func(remoteID model.ForgeRemoteID, fullName string) (*model.Repo, error)) *MockStore_GetRepoNameFallback_Call
type MockStore_GetRepoName_Call ¶
MockStore_GetRepoName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepoName'
func (*MockStore_GetRepoName_Call) Return ¶
func (_c *MockStore_GetRepoName_Call) Return(repo *model.Repo, err error) *MockStore_GetRepoName_Call
func (*MockStore_GetRepoName_Call) Run ¶
func (_c *MockStore_GetRepoName_Call) Run(run func(s string)) *MockStore_GetRepoName_Call
func (*MockStore_GetRepoName_Call) RunAndReturn ¶
func (_c *MockStore_GetRepoName_Call) RunAndReturn(run func(s string) (*model.Repo, error)) *MockStore_GetRepoName_Call
type MockStore_GetRepo_Call ¶
MockStore_GetRepo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepo'
func (*MockStore_GetRepo_Call) Return ¶
func (_c *MockStore_GetRepo_Call) Return(repo *model.Repo, err error) *MockStore_GetRepo_Call
func (*MockStore_GetRepo_Call) Run ¶
func (_c *MockStore_GetRepo_Call) Run(run func(n int64)) *MockStore_GetRepo_Call
func (*MockStore_GetRepo_Call) RunAndReturn ¶
func (_c *MockStore_GetRepo_Call) RunAndReturn(run func(n int64) (*model.Repo, error)) *MockStore_GetRepo_Call
type MockStore_GetUserCount_Call ¶
MockStore_GetUserCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserCount'
func (*MockStore_GetUserCount_Call) Return ¶
func (_c *MockStore_GetUserCount_Call) Return(n int64, err error) *MockStore_GetUserCount_Call
func (*MockStore_GetUserCount_Call) Run ¶
func (_c *MockStore_GetUserCount_Call) Run(run func()) *MockStore_GetUserCount_Call
func (*MockStore_GetUserCount_Call) RunAndReturn ¶
func (_c *MockStore_GetUserCount_Call) RunAndReturn(run func() (int64, error)) *MockStore_GetUserCount_Call
type MockStore_GetUserList_Call ¶
MockStore_GetUserList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserList'
func (*MockStore_GetUserList_Call) Return ¶
func (_c *MockStore_GetUserList_Call) Return(users []*model.User, err error) *MockStore_GetUserList_Call
func (*MockStore_GetUserList_Call) Run ¶
func (_c *MockStore_GetUserList_Call) Run(run func(p *model.ListOptions)) *MockStore_GetUserList_Call
func (*MockStore_GetUserList_Call) RunAndReturn ¶
func (_c *MockStore_GetUserList_Call) RunAndReturn(run func(p *model.ListOptions) ([]*model.User, error)) *MockStore_GetUserList_Call
type MockStore_GetUserLogin_Call ¶
MockStore_GetUserLogin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserLogin'
func (*MockStore_GetUserLogin_Call) Return ¶
func (_c *MockStore_GetUserLogin_Call) Return(user *model.User, err error) *MockStore_GetUserLogin_Call
func (*MockStore_GetUserLogin_Call) Run ¶
func (_c *MockStore_GetUserLogin_Call) Run(run func(s string)) *MockStore_GetUserLogin_Call
func (*MockStore_GetUserLogin_Call) RunAndReturn ¶
func (_c *MockStore_GetUserLogin_Call) RunAndReturn(run func(s string) (*model.User, error)) *MockStore_GetUserLogin_Call
type MockStore_GetUserRemoteID_Call ¶
MockStore_GetUserRemoteID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserRemoteID'
func (*MockStore_GetUserRemoteID_Call) Return ¶
func (_c *MockStore_GetUserRemoteID_Call) Return(user *model.User, err error) *MockStore_GetUserRemoteID_Call
func (*MockStore_GetUserRemoteID_Call) Run ¶
func (_c *MockStore_GetUserRemoteID_Call) Run(run func(forgeRemoteID model.ForgeRemoteID, s string)) *MockStore_GetUserRemoteID_Call
func (*MockStore_GetUserRemoteID_Call) RunAndReturn ¶
func (_c *MockStore_GetUserRemoteID_Call) RunAndReturn(run func(forgeRemoteID model.ForgeRemoteID, s string) (*model.User, error)) *MockStore_GetUserRemoteID_Call
type MockStore_GetUser_Call ¶
MockStore_GetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUser'
func (*MockStore_GetUser_Call) Return ¶
func (_c *MockStore_GetUser_Call) Return(user *model.User, err error) *MockStore_GetUser_Call
func (*MockStore_GetUser_Call) Run ¶
func (_c *MockStore_GetUser_Call) Run(run func(n int64)) *MockStore_GetUser_Call
func (*MockStore_GetUser_Call) RunAndReturn ¶
func (_c *MockStore_GetUser_Call) RunAndReturn(run func(n int64) (*model.User, error)) *MockStore_GetUser_Call
type MockStore_GlobalRegistryFind_Call ¶
MockStore_GlobalRegistryFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalRegistryFind'
func (*MockStore_GlobalRegistryFind_Call) Return ¶
func (_c *MockStore_GlobalRegistryFind_Call) Return(registry *model.Registry, err error) *MockStore_GlobalRegistryFind_Call
func (*MockStore_GlobalRegistryFind_Call) Run ¶
func (_c *MockStore_GlobalRegistryFind_Call) Run(run func(s string)) *MockStore_GlobalRegistryFind_Call
func (*MockStore_GlobalRegistryFind_Call) RunAndReturn ¶
func (_c *MockStore_GlobalRegistryFind_Call) RunAndReturn(run func(s string) (*model.Registry, error)) *MockStore_GlobalRegistryFind_Call
type MockStore_GlobalRegistryList_Call ¶
MockStore_GlobalRegistryList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalRegistryList'
func (*MockStore_GlobalRegistryList_Call) Return ¶
func (_c *MockStore_GlobalRegistryList_Call) Return(registrys []*model.Registry, err error) *MockStore_GlobalRegistryList_Call
func (*MockStore_GlobalRegistryList_Call) Run ¶
func (_c *MockStore_GlobalRegistryList_Call) Run(run func(listOptions *model.ListOptions)) *MockStore_GlobalRegistryList_Call
func (*MockStore_GlobalRegistryList_Call) RunAndReturn ¶
func (_c *MockStore_GlobalRegistryList_Call) RunAndReturn(run func(listOptions *model.ListOptions) ([]*model.Registry, error)) *MockStore_GlobalRegistryList_Call
type MockStore_GlobalSecretFind_Call ¶
MockStore_GlobalSecretFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalSecretFind'
func (*MockStore_GlobalSecretFind_Call) Return ¶
func (_c *MockStore_GlobalSecretFind_Call) Return(secret *model.Secret, err error) *MockStore_GlobalSecretFind_Call
func (*MockStore_GlobalSecretFind_Call) Run ¶
func (_c *MockStore_GlobalSecretFind_Call) Run(run func(s string)) *MockStore_GlobalSecretFind_Call
func (*MockStore_GlobalSecretFind_Call) RunAndReturn ¶
func (_c *MockStore_GlobalSecretFind_Call) RunAndReturn(run func(s string) (*model.Secret, error)) *MockStore_GlobalSecretFind_Call
type MockStore_GlobalSecretList_Call ¶
MockStore_GlobalSecretList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalSecretList'
func (*MockStore_GlobalSecretList_Call) Return ¶
func (_c *MockStore_GlobalSecretList_Call) Return(secrets []*model.Secret, err error) *MockStore_GlobalSecretList_Call
func (*MockStore_GlobalSecretList_Call) Run ¶
func (_c *MockStore_GlobalSecretList_Call) Run(run func(listOptions *model.ListOptions)) *MockStore_GlobalSecretList_Call
func (*MockStore_GlobalSecretList_Call) RunAndReturn ¶
func (_c *MockStore_GlobalSecretList_Call) RunAndReturn(run func(listOptions *model.ListOptions) ([]*model.Secret, error)) *MockStore_GlobalSecretList_Call
type MockStore_HasRedirectionForRepo_Call ¶
MockStore_HasRedirectionForRepo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasRedirectionForRepo'
func (*MockStore_HasRedirectionForRepo_Call) Return ¶
func (_c *MockStore_HasRedirectionForRepo_Call) Return(b bool, err error) *MockStore_HasRedirectionForRepo_Call
func (*MockStore_HasRedirectionForRepo_Call) Run ¶
func (_c *MockStore_HasRedirectionForRepo_Call) Run(run func(n int64, s string)) *MockStore_HasRedirectionForRepo_Call
func (*MockStore_HasRedirectionForRepo_Call) RunAndReturn ¶
func (_c *MockStore_HasRedirectionForRepo_Call) RunAndReturn(run func(n int64, s string) (bool, error)) *MockStore_HasRedirectionForRepo_Call
type MockStore_LogAppend_Call ¶
MockStore_LogAppend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogAppend'
func (*MockStore_LogAppend_Call) Return ¶
func (_c *MockStore_LogAppend_Call) Return(err error) *MockStore_LogAppend_Call
func (*MockStore_LogAppend_Call) Run ¶
func (_c *MockStore_LogAppend_Call) Run(run func(step *model.Step, logEntrys []*model.LogEntry)) *MockStore_LogAppend_Call
func (*MockStore_LogAppend_Call) RunAndReturn ¶
func (_c *MockStore_LogAppend_Call) RunAndReturn(run func(step *model.Step, logEntrys []*model.LogEntry) error) *MockStore_LogAppend_Call
type MockStore_LogDelete_Call ¶
MockStore_LogDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogDelete'
func (*MockStore_LogDelete_Call) Return ¶
func (_c *MockStore_LogDelete_Call) Return(err error) *MockStore_LogDelete_Call
func (*MockStore_LogDelete_Call) Run ¶
func (_c *MockStore_LogDelete_Call) Run(run func(step *model.Step)) *MockStore_LogDelete_Call
func (*MockStore_LogDelete_Call) RunAndReturn ¶
func (_c *MockStore_LogDelete_Call) RunAndReturn(run func(step *model.Step) error) *MockStore_LogDelete_Call
type MockStore_LogFindAfter_Call ¶ added in v4.0.1
MockStore_LogFindAfter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogFindAfter'
func (*MockStore_LogFindAfter_Call) Return ¶ added in v4.0.1
func (_c *MockStore_LogFindAfter_Call) Return(logEntrys []*model.LogEntry, err error) *MockStore_LogFindAfter_Call
func (*MockStore_LogFindAfter_Call) Run ¶ added in v4.0.1
func (_c *MockStore_LogFindAfter_Call) Run(run func(stepID int64, afterLogID int64)) *MockStore_LogFindAfter_Call
func (*MockStore_LogFindAfter_Call) RunAndReturn ¶ added in v4.0.1
func (_c *MockStore_LogFindAfter_Call) RunAndReturn(run func(stepID int64, afterLogID int64) ([]*model.LogEntry, error)) *MockStore_LogFindAfter_Call
type MockStore_LogFind_Call ¶
MockStore_LogFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogFind'
func (*MockStore_LogFind_Call) Return ¶
func (_c *MockStore_LogFind_Call) Return(logEntrys []*model.LogEntry, err error) *MockStore_LogFind_Call
func (*MockStore_LogFind_Call) Run ¶
func (_c *MockStore_LogFind_Call) Run(run func(step *model.Step)) *MockStore_LogFind_Call
func (*MockStore_LogFind_Call) RunAndReturn ¶
func (_c *MockStore_LogFind_Call) RunAndReturn(run func(step *model.Step) ([]*model.LogEntry, error)) *MockStore_LogFind_Call
type MockStore_MaintenanceConfigGetByActionType_Call ¶ added in v4.1.0
MockStore_MaintenanceConfigGetByActionType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceConfigGetByActionType'
func (*MockStore_MaintenanceConfigGetByActionType_Call) Return ¶ added in v4.1.0
func (_c *MockStore_MaintenanceConfigGetByActionType_Call) Return(maintenanceConfig *model.MaintenanceConfig, err error) *MockStore_MaintenanceConfigGetByActionType_Call
func (*MockStore_MaintenanceConfigGetByActionType_Call) Run ¶ added in v4.1.0
func (_c *MockStore_MaintenanceConfigGetByActionType_Call) Run(run func(actionType string)) *MockStore_MaintenanceConfigGetByActionType_Call
func (*MockStore_MaintenanceConfigGetByActionType_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockStore_MaintenanceConfigGetByActionType_Call) RunAndReturn(run func(actionType string) (*model.MaintenanceConfig, error)) *MockStore_MaintenanceConfigGetByActionType_Call
type MockStore_MaintenanceConfigGet_Call ¶
MockStore_MaintenanceConfigGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceConfigGet'
func (*MockStore_MaintenanceConfigGet_Call) Return ¶
func (_c *MockStore_MaintenanceConfigGet_Call) Return(maintenanceConfig *model.MaintenanceConfig, err error) *MockStore_MaintenanceConfigGet_Call
func (*MockStore_MaintenanceConfigGet_Call) Run ¶
func (_c *MockStore_MaintenanceConfigGet_Call) Run(run func()) *MockStore_MaintenanceConfigGet_Call
func (*MockStore_MaintenanceConfigGet_Call) RunAndReturn ¶
func (_c *MockStore_MaintenanceConfigGet_Call) RunAndReturn(run func() (*model.MaintenanceConfig, error)) *MockStore_MaintenanceConfigGet_Call
type MockStore_MaintenanceConfigUpdateByActionType_Call ¶ added in v4.1.0
MockStore_MaintenanceConfigUpdateByActionType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceConfigUpdateByActionType'
func (*MockStore_MaintenanceConfigUpdateByActionType_Call) Run ¶ added in v4.1.0
func (_c *MockStore_MaintenanceConfigUpdateByActionType_Call) Run(run func(actionType string, config *model.MaintenanceConfig)) *MockStore_MaintenanceConfigUpdateByActionType_Call
func (*MockStore_MaintenanceConfigUpdateByActionType_Call) RunAndReturn ¶ added in v4.1.0
func (_c *MockStore_MaintenanceConfigUpdateByActionType_Call) RunAndReturn(run func(actionType string, config *model.MaintenanceConfig) error) *MockStore_MaintenanceConfigUpdateByActionType_Call
type MockStore_MaintenanceConfigUpdate_Call ¶
MockStore_MaintenanceConfigUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceConfigUpdate'
func (*MockStore_MaintenanceConfigUpdate_Call) Return ¶
func (_c *MockStore_MaintenanceConfigUpdate_Call) Return(err error) *MockStore_MaintenanceConfigUpdate_Call
func (*MockStore_MaintenanceConfigUpdate_Call) Run ¶
func (_c *MockStore_MaintenanceConfigUpdate_Call) Run(run func(maintenanceConfig *model.MaintenanceConfig)) *MockStore_MaintenanceConfigUpdate_Call
func (*MockStore_MaintenanceConfigUpdate_Call) RunAndReturn ¶
func (_c *MockStore_MaintenanceConfigUpdate_Call) RunAndReturn(run func(maintenanceConfig *model.MaintenanceConfig) error) *MockStore_MaintenanceConfigUpdate_Call
type MockStore_MaintenanceLogCreate_Call ¶
MockStore_MaintenanceLogCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceLogCreate'
func (*MockStore_MaintenanceLogCreate_Call) Return ¶
func (_c *MockStore_MaintenanceLogCreate_Call) Return(err error) *MockStore_MaintenanceLogCreate_Call
func (*MockStore_MaintenanceLogCreate_Call) Run ¶
func (_c *MockStore_MaintenanceLogCreate_Call) Run(run func(maintenanceLog *model.MaintenanceLog)) *MockStore_MaintenanceLogCreate_Call
func (*MockStore_MaintenanceLogCreate_Call) RunAndReturn ¶
func (_c *MockStore_MaintenanceLogCreate_Call) RunAndReturn(run func(maintenanceLog *model.MaintenanceLog) error) *MockStore_MaintenanceLogCreate_Call
type MockStore_MaintenanceLogList_Call ¶
MockStore_MaintenanceLogList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceLogList'
func (*MockStore_MaintenanceLogList_Call) Return ¶
func (_c *MockStore_MaintenanceLogList_Call) Return(maintenanceLogs []*model.MaintenanceLog, err error) *MockStore_MaintenanceLogList_Call
func (*MockStore_MaintenanceLogList_Call) Run ¶
func (_c *MockStore_MaintenanceLogList_Call) Run(run func(limit int)) *MockStore_MaintenanceLogList_Call
func (*MockStore_MaintenanceLogList_Call) RunAndReturn ¶
func (_c *MockStore_MaintenanceLogList_Call) RunAndReturn(run func(limit int) ([]*model.MaintenanceLog, error)) *MockStore_MaintenanceLogList_Call
type MockStore_MaintenanceRunMySQL_Call ¶
MockStore_MaintenanceRunMySQL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceRunMySQL'
func (*MockStore_MaintenanceRunMySQL_Call) Return ¶
func (_c *MockStore_MaintenanceRunMySQL_Call) Return(err error) *MockStore_MaintenanceRunMySQL_Call
func (*MockStore_MaintenanceRunMySQL_Call) Run ¶
func (_c *MockStore_MaintenanceRunMySQL_Call) Run(run func(context1 context.Context)) *MockStore_MaintenanceRunMySQL_Call
func (*MockStore_MaintenanceRunMySQL_Call) RunAndReturn ¶
func (_c *MockStore_MaintenanceRunMySQL_Call) RunAndReturn(run func(context1 context.Context) error) *MockStore_MaintenanceRunMySQL_Call
type MockStore_MaintenanceRunPostgreSQL_Call ¶
MockStore_MaintenanceRunPostgreSQL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceRunPostgreSQL'
func (*MockStore_MaintenanceRunPostgreSQL_Call) Return ¶
func (_c *MockStore_MaintenanceRunPostgreSQL_Call) Return(err error) *MockStore_MaintenanceRunPostgreSQL_Call
func (*MockStore_MaintenanceRunPostgreSQL_Call) Run ¶
func (_c *MockStore_MaintenanceRunPostgreSQL_Call) Run(run func(context1 context.Context)) *MockStore_MaintenanceRunPostgreSQL_Call
func (*MockStore_MaintenanceRunPostgreSQL_Call) RunAndReturn ¶
func (_c *MockStore_MaintenanceRunPostgreSQL_Call) RunAndReturn(run func(context1 context.Context) error) *MockStore_MaintenanceRunPostgreSQL_Call
type MockStore_MaintenanceRunSQLite_Call ¶
MockStore_MaintenanceRunSQLite_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceRunSQLite'
func (*MockStore_MaintenanceRunSQLite_Call) Return ¶
func (_c *MockStore_MaintenanceRunSQLite_Call) Return(err error) *MockStore_MaintenanceRunSQLite_Call
func (*MockStore_MaintenanceRunSQLite_Call) Run ¶
func (_c *MockStore_MaintenanceRunSQLite_Call) Run(run func(context1 context.Context)) *MockStore_MaintenanceRunSQLite_Call
func (*MockStore_MaintenanceRunSQLite_Call) RunAndReturn ¶
func (_c *MockStore_MaintenanceRunSQLite_Call) RunAndReturn(run func(context1 context.Context) error) *MockStore_MaintenanceRunSQLite_Call
type MockStore_MaintenanceStatsGet_Call ¶
MockStore_MaintenanceStatsGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceStatsGet'
func (*MockStore_MaintenanceStatsGet_Call) Return ¶
func (_c *MockStore_MaintenanceStatsGet_Call) Return(maintenanceStats *model.MaintenanceStats, err error) *MockStore_MaintenanceStatsGet_Call
func (*MockStore_MaintenanceStatsGet_Call) Run ¶
func (_c *MockStore_MaintenanceStatsGet_Call) Run(run func()) *MockStore_MaintenanceStatsGet_Call
func (*MockStore_MaintenanceStatsGet_Call) RunAndReturn ¶
func (_c *MockStore_MaintenanceStatsGet_Call) RunAndReturn(run func() (*model.MaintenanceStats, error)) *MockStore_MaintenanceStatsGet_Call
type MockStore_MaintenanceStatsUpdate_Call ¶
MockStore_MaintenanceStatsUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceStatsUpdate'
func (*MockStore_MaintenanceStatsUpdate_Call) Return ¶
func (_c *MockStore_MaintenanceStatsUpdate_Call) Return(err error) *MockStore_MaintenanceStatsUpdate_Call
func (*MockStore_MaintenanceStatsUpdate_Call) Run ¶
func (_c *MockStore_MaintenanceStatsUpdate_Call) Run(run func(maintenanceStats *model.MaintenanceStats)) *MockStore_MaintenanceStatsUpdate_Call
func (*MockStore_MaintenanceStatsUpdate_Call) RunAndReturn ¶
func (_c *MockStore_MaintenanceStatsUpdate_Call) RunAndReturn(run func(maintenanceStats *model.MaintenanceStats) error) *MockStore_MaintenanceStatsUpdate_Call
type MockStore_Migrate_Call ¶
MockStore_Migrate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Migrate'
func (*MockStore_Migrate_Call) Return ¶
func (_c *MockStore_Migrate_Call) Return(err error) *MockStore_Migrate_Call
func (*MockStore_Migrate_Call) Run ¶
func (_c *MockStore_Migrate_Call) Run(run func(context1 context.Context, b bool)) *MockStore_Migrate_Call
func (*MockStore_Migrate_Call) RunAndReturn ¶
func (_c *MockStore_Migrate_Call) RunAndReturn(run func(context1 context.Context, b bool) error) *MockStore_Migrate_Call
type MockStore_OrgCreate_Call ¶
MockStore_OrgCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgCreate'
func (*MockStore_OrgCreate_Call) Return ¶
func (_c *MockStore_OrgCreate_Call) Return(err error) *MockStore_OrgCreate_Call
func (*MockStore_OrgCreate_Call) Run ¶
func (_c *MockStore_OrgCreate_Call) Run(run func(org *model.Org)) *MockStore_OrgCreate_Call
func (*MockStore_OrgCreate_Call) RunAndReturn ¶
func (_c *MockStore_OrgCreate_Call) RunAndReturn(run func(org *model.Org) error) *MockStore_OrgCreate_Call
type MockStore_OrgDelete_Call ¶
MockStore_OrgDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgDelete'
func (*MockStore_OrgDelete_Call) Return ¶
func (_c *MockStore_OrgDelete_Call) Return(err error) *MockStore_OrgDelete_Call
func (*MockStore_OrgDelete_Call) Run ¶
func (_c *MockStore_OrgDelete_Call) Run(run func(n int64)) *MockStore_OrgDelete_Call
func (*MockStore_OrgDelete_Call) RunAndReturn ¶
func (_c *MockStore_OrgDelete_Call) RunAndReturn(run func(n int64) error) *MockStore_OrgDelete_Call
type MockStore_OrgFindByName_Call ¶
MockStore_OrgFindByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgFindByName'
func (*MockStore_OrgFindByName_Call) Return ¶
func (_c *MockStore_OrgFindByName_Call) Return(org *model.Org, err error) *MockStore_OrgFindByName_Call
func (*MockStore_OrgFindByName_Call) Run ¶
func (_c *MockStore_OrgFindByName_Call) Run(run func(s string, n int64)) *MockStore_OrgFindByName_Call
func (*MockStore_OrgFindByName_Call) RunAndReturn ¶
func (_c *MockStore_OrgFindByName_Call) RunAndReturn(run func(s string, n int64) (*model.Org, error)) *MockStore_OrgFindByName_Call
type MockStore_OrgGet_Call ¶
MockStore_OrgGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgGet'
func (*MockStore_OrgGet_Call) Return ¶
func (_c *MockStore_OrgGet_Call) Return(org *model.Org, err error) *MockStore_OrgGet_Call
func (*MockStore_OrgGet_Call) Run ¶
func (_c *MockStore_OrgGet_Call) Run(run func(n int64)) *MockStore_OrgGet_Call
func (*MockStore_OrgGet_Call) RunAndReturn ¶
func (_c *MockStore_OrgGet_Call) RunAndReturn(run func(n int64) (*model.Org, error)) *MockStore_OrgGet_Call
type MockStore_OrgList_Call ¶
MockStore_OrgList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgList'
func (*MockStore_OrgList_Call) Return ¶
func (_c *MockStore_OrgList_Call) Return(orgs []*model.Org, err error) *MockStore_OrgList_Call
func (*MockStore_OrgList_Call) Run ¶
func (_c *MockStore_OrgList_Call) Run(run func(listOptions *model.ListOptions)) *MockStore_OrgList_Call
func (*MockStore_OrgList_Call) RunAndReturn ¶
func (_c *MockStore_OrgList_Call) RunAndReturn(run func(listOptions *model.ListOptions) ([]*model.Org, error)) *MockStore_OrgList_Call
type MockStore_OrgRegistryFind_Call ¶
MockStore_OrgRegistryFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgRegistryFind'
func (*MockStore_OrgRegistryFind_Call) Return ¶
func (_c *MockStore_OrgRegistryFind_Call) Return(registry *model.Registry, err error) *MockStore_OrgRegistryFind_Call
func (*MockStore_OrgRegistryFind_Call) Run ¶
func (_c *MockStore_OrgRegistryFind_Call) Run(run func(n int64, s string)) *MockStore_OrgRegistryFind_Call
func (*MockStore_OrgRegistryFind_Call) RunAndReturn ¶
func (_c *MockStore_OrgRegistryFind_Call) RunAndReturn(run func(n int64, s string) (*model.Registry, error)) *MockStore_OrgRegistryFind_Call
type MockStore_OrgRegistryList_Call ¶
MockStore_OrgRegistryList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgRegistryList'
func (*MockStore_OrgRegistryList_Call) Return ¶
func (_c *MockStore_OrgRegistryList_Call) Return(registrys []*model.Registry, err error) *MockStore_OrgRegistryList_Call
func (*MockStore_OrgRegistryList_Call) Run ¶
func (_c *MockStore_OrgRegistryList_Call) Run(run func(n int64, listOptions *model.ListOptions)) *MockStore_OrgRegistryList_Call
func (*MockStore_OrgRegistryList_Call) RunAndReturn ¶
func (_c *MockStore_OrgRegistryList_Call) RunAndReturn(run func(n int64, listOptions *model.ListOptions) ([]*model.Registry, error)) *MockStore_OrgRegistryList_Call
type MockStore_OrgRepoList_Call ¶
MockStore_OrgRepoList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgRepoList'
func (*MockStore_OrgRepoList_Call) Return ¶
func (_c *MockStore_OrgRepoList_Call) Return(repos []*model.Repo, err error) *MockStore_OrgRepoList_Call
func (*MockStore_OrgRepoList_Call) Run ¶
func (_c *MockStore_OrgRepoList_Call) Run(run func(org *model.Org, listOptions *model.ListOptions)) *MockStore_OrgRepoList_Call
func (*MockStore_OrgRepoList_Call) RunAndReturn ¶
func (_c *MockStore_OrgRepoList_Call) RunAndReturn(run func(org *model.Org, listOptions *model.ListOptions) ([]*model.Repo, error)) *MockStore_OrgRepoList_Call
type MockStore_OrgSecretFind_Call ¶
MockStore_OrgSecretFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgSecretFind'
func (*MockStore_OrgSecretFind_Call) Return ¶
func (_c *MockStore_OrgSecretFind_Call) Return(secret *model.Secret, err error) *MockStore_OrgSecretFind_Call
func (*MockStore_OrgSecretFind_Call) Run ¶
func (_c *MockStore_OrgSecretFind_Call) Run(run func(n int64, s string)) *MockStore_OrgSecretFind_Call
func (*MockStore_OrgSecretFind_Call) RunAndReturn ¶
func (_c *MockStore_OrgSecretFind_Call) RunAndReturn(run func(n int64, s string) (*model.Secret, error)) *MockStore_OrgSecretFind_Call
type MockStore_OrgSecretList_Call ¶
MockStore_OrgSecretList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgSecretList'
func (*MockStore_OrgSecretList_Call) Return ¶
func (_c *MockStore_OrgSecretList_Call) Return(secrets []*model.Secret, err error) *MockStore_OrgSecretList_Call
func (*MockStore_OrgSecretList_Call) Run ¶
func (_c *MockStore_OrgSecretList_Call) Run(run func(n int64, listOptions *model.ListOptions)) *MockStore_OrgSecretList_Call
func (*MockStore_OrgSecretList_Call) RunAndReturn ¶
func (_c *MockStore_OrgSecretList_Call) RunAndReturn(run func(n int64, listOptions *model.ListOptions) ([]*model.Secret, error)) *MockStore_OrgSecretList_Call
type MockStore_OrgUpdate_Call ¶
MockStore_OrgUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgUpdate'
func (*MockStore_OrgUpdate_Call) Return ¶
func (_c *MockStore_OrgUpdate_Call) Return(err error) *MockStore_OrgUpdate_Call
func (*MockStore_OrgUpdate_Call) Run ¶
func (_c *MockStore_OrgUpdate_Call) Run(run func(org *model.Org)) *MockStore_OrgUpdate_Call
func (*MockStore_OrgUpdate_Call) RunAndReturn ¶
func (_c *MockStore_OrgUpdate_Call) RunAndReturn(run func(org *model.Org) error) *MockStore_OrgUpdate_Call
type MockStore_PermFind_Call ¶
MockStore_PermFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PermFind'
func (*MockStore_PermFind_Call) Return ¶
func (_c *MockStore_PermFind_Call) Return(perm *model.Perm, err error) *MockStore_PermFind_Call
func (*MockStore_PermFind_Call) Run ¶
func (_c *MockStore_PermFind_Call) Run(run func(user *model.User, repo *model.Repo)) *MockStore_PermFind_Call
func (*MockStore_PermFind_Call) RunAndReturn ¶
func (_c *MockStore_PermFind_Call) RunAndReturn(run func(user *model.User, repo *model.Repo) (*model.Perm, error)) *MockStore_PermFind_Call
type MockStore_PermUpsert_Call ¶
MockStore_PermUpsert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PermUpsert'
func (*MockStore_PermUpsert_Call) Return ¶
func (_c *MockStore_PermUpsert_Call) Return(err error) *MockStore_PermUpsert_Call
func (*MockStore_PermUpsert_Call) Run ¶
func (_c *MockStore_PermUpsert_Call) Run(run func(perm *model.Perm)) *MockStore_PermUpsert_Call
func (*MockStore_PermUpsert_Call) RunAndReturn ¶
func (_c *MockStore_PermUpsert_Call) RunAndReturn(run func(perm *model.Perm) error) *MockStore_PermUpsert_Call
type MockStore_Ping_Call ¶
MockStore_Ping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ping'
func (*MockStore_Ping_Call) Return ¶
func (_c *MockStore_Ping_Call) Return(err error) *MockStore_Ping_Call
func (*MockStore_Ping_Call) Run ¶
func (_c *MockStore_Ping_Call) Run(run func()) *MockStore_Ping_Call
func (*MockStore_Ping_Call) RunAndReturn ¶
func (_c *MockStore_Ping_Call) RunAndReturn(run func() error) *MockStore_Ping_Call
type MockStore_PipelineConfigCreate_Call ¶
MockStore_PipelineConfigCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineConfigCreate'
func (*MockStore_PipelineConfigCreate_Call) Return ¶
func (_c *MockStore_PipelineConfigCreate_Call) Return(err error) *MockStore_PipelineConfigCreate_Call
func (*MockStore_PipelineConfigCreate_Call) Run ¶
func (_c *MockStore_PipelineConfigCreate_Call) Run(run func(pipelineConfig *model.PipelineConfig)) *MockStore_PipelineConfigCreate_Call
func (*MockStore_PipelineConfigCreate_Call) RunAndReturn ¶
func (_c *MockStore_PipelineConfigCreate_Call) RunAndReturn(run func(pipelineConfig *model.PipelineConfig) error) *MockStore_PipelineConfigCreate_Call
type MockStore_PubSubMessageCleanupOlderThan_Call ¶
MockStore_PubSubMessageCleanupOlderThan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PubSubMessageCleanupOlderThan'
func (*MockStore_PubSubMessageCleanupOlderThan_Call) Return ¶
func (_c *MockStore_PubSubMessageCleanupOlderThan_Call) Return(err error) *MockStore_PubSubMessageCleanupOlderThan_Call
func (*MockStore_PubSubMessageCleanupOlderThan_Call) Run ¶
func (_c *MockStore_PubSubMessageCleanupOlderThan_Call) Run(run func(timestamp int64)) *MockStore_PubSubMessageCleanupOlderThan_Call
func (*MockStore_PubSubMessageCleanupOlderThan_Call) RunAndReturn ¶
func (_c *MockStore_PubSubMessageCleanupOlderThan_Call) RunAndReturn(run func(timestamp int64) error) *MockStore_PubSubMessageCleanupOlderThan_Call
type MockStore_PubSubMessageInsert_Call ¶
MockStore_PubSubMessageInsert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PubSubMessageInsert'
func (*MockStore_PubSubMessageInsert_Call) Return ¶
func (_c *MockStore_PubSubMessageInsert_Call) Return(err error) *MockStore_PubSubMessageInsert_Call
func (*MockStore_PubSubMessageInsert_Call) Run ¶
func (_c *MockStore_PubSubMessageInsert_Call) Run(run func(msg *model.DistributedMessage)) *MockStore_PubSubMessageInsert_Call
func (*MockStore_PubSubMessageInsert_Call) RunAndReturn ¶
func (_c *MockStore_PubSubMessageInsert_Call) RunAndReturn(run func(msg *model.DistributedMessage) error) *MockStore_PubSubMessageInsert_Call
type MockStore_PubSubMessageListAfter_Call ¶
MockStore_PubSubMessageListAfter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PubSubMessageListAfter'
func (*MockStore_PubSubMessageListAfter_Call) Return ¶
func (_c *MockStore_PubSubMessageListAfter_Call) Return(distributedMessages []*model.DistributedMessage, err error) *MockStore_PubSubMessageListAfter_Call
func (*MockStore_PubSubMessageListAfter_Call) Run ¶
func (_c *MockStore_PubSubMessageListAfter_Call) Run(run func(timestamp int64)) *MockStore_PubSubMessageListAfter_Call
func (*MockStore_PubSubMessageListAfter_Call) RunAndReturn ¶
func (_c *MockStore_PubSubMessageListAfter_Call) RunAndReturn(run func(timestamp int64) ([]*model.DistributedMessage, error)) *MockStore_PubSubMessageListAfter_Call
type MockStore_RegistryCreate_Call ¶
MockStore_RegistryCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryCreate'
func (*MockStore_RegistryCreate_Call) Return ¶
func (_c *MockStore_RegistryCreate_Call) Return(err error) *MockStore_RegistryCreate_Call
func (*MockStore_RegistryCreate_Call) Run ¶
func (_c *MockStore_RegistryCreate_Call) Run(run func(registry *model.Registry)) *MockStore_RegistryCreate_Call
func (*MockStore_RegistryCreate_Call) RunAndReturn ¶
func (_c *MockStore_RegistryCreate_Call) RunAndReturn(run func(registry *model.Registry) error) *MockStore_RegistryCreate_Call
type MockStore_RegistryDelete_Call ¶
MockStore_RegistryDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryDelete'
func (*MockStore_RegistryDelete_Call) Return ¶
func (_c *MockStore_RegistryDelete_Call) Return(err error) *MockStore_RegistryDelete_Call
func (*MockStore_RegistryDelete_Call) Run ¶
func (_c *MockStore_RegistryDelete_Call) Run(run func(registry *model.Registry)) *MockStore_RegistryDelete_Call
func (*MockStore_RegistryDelete_Call) RunAndReturn ¶
func (_c *MockStore_RegistryDelete_Call) RunAndReturn(run func(registry *model.Registry) error) *MockStore_RegistryDelete_Call
type MockStore_RegistryFind_Call ¶
MockStore_RegistryFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryFind'
func (*MockStore_RegistryFind_Call) Return ¶
func (_c *MockStore_RegistryFind_Call) Return(registry *model.Registry, err error) *MockStore_RegistryFind_Call
func (*MockStore_RegistryFind_Call) Run ¶
func (_c *MockStore_RegistryFind_Call) Run(run func(repo *model.Repo, s string)) *MockStore_RegistryFind_Call
func (*MockStore_RegistryFind_Call) RunAndReturn ¶
func (_c *MockStore_RegistryFind_Call) RunAndReturn(run func(repo *model.Repo, s string) (*model.Registry, error)) *MockStore_RegistryFind_Call
type MockStore_RegistryListAll_Call ¶
MockStore_RegistryListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryListAll'
func (*MockStore_RegistryListAll_Call) Return ¶
func (_c *MockStore_RegistryListAll_Call) Return(registrys []*model.Registry, err error) *MockStore_RegistryListAll_Call
func (*MockStore_RegistryListAll_Call) Run ¶
func (_c *MockStore_RegistryListAll_Call) Run(run func()) *MockStore_RegistryListAll_Call
func (*MockStore_RegistryListAll_Call) RunAndReturn ¶
func (_c *MockStore_RegistryListAll_Call) RunAndReturn(run func() ([]*model.Registry, error)) *MockStore_RegistryListAll_Call
type MockStore_RegistryList_Call ¶
MockStore_RegistryList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryList'
func (*MockStore_RegistryList_Call) Return ¶
func (_c *MockStore_RegistryList_Call) Return(registrys []*model.Registry, err error) *MockStore_RegistryList_Call
func (*MockStore_RegistryList_Call) Run ¶
func (_c *MockStore_RegistryList_Call) Run(run func(repo *model.Repo, b bool, listOptions *model.ListOptions)) *MockStore_RegistryList_Call
func (*MockStore_RegistryList_Call) RunAndReturn ¶
func (_c *MockStore_RegistryList_Call) RunAndReturn(run func(repo *model.Repo, b bool, listOptions *model.ListOptions) ([]*model.Registry, error)) *MockStore_RegistryList_Call
type MockStore_RegistryUpdate_Call ¶
MockStore_RegistryUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryUpdate'
func (*MockStore_RegistryUpdate_Call) Return ¶
func (_c *MockStore_RegistryUpdate_Call) Return(err error) *MockStore_RegistryUpdate_Call
func (*MockStore_RegistryUpdate_Call) Run ¶
func (_c *MockStore_RegistryUpdate_Call) Run(run func(registry *model.Registry)) *MockStore_RegistryUpdate_Call
func (*MockStore_RegistryUpdate_Call) RunAndReturn ¶
func (_c *MockStore_RegistryUpdate_Call) RunAndReturn(run func(registry *model.Registry) error) *MockStore_RegistryUpdate_Call
type MockStore_RepoListAll_Call ¶
MockStore_RepoListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoListAll'
func (*MockStore_RepoListAll_Call) Return ¶
func (_c *MockStore_RepoListAll_Call) Return(repos []*model.Repo, err error) *MockStore_RepoListAll_Call
func (*MockStore_RepoListAll_Call) Run ¶
func (_c *MockStore_RepoListAll_Call) Run(run func(active bool, p *model.ListOptions)) *MockStore_RepoListAll_Call
func (*MockStore_RepoListAll_Call) RunAndReturn ¶
func (_c *MockStore_RepoListAll_Call) RunAndReturn(run func(active bool, p *model.ListOptions) ([]*model.Repo, error)) *MockStore_RepoListAll_Call
type MockStore_RepoListLatest_Call ¶
MockStore_RepoListLatest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoListLatest'
func (*MockStore_RepoListLatest_Call) Return ¶
func (_c *MockStore_RepoListLatest_Call) Return(feeds []*model.Feed, err error) *MockStore_RepoListLatest_Call
func (*MockStore_RepoListLatest_Call) Run ¶
func (_c *MockStore_RepoListLatest_Call) Run(run func(user *model.User)) *MockStore_RepoListLatest_Call
func (*MockStore_RepoListLatest_Call) RunAndReturn ¶
func (_c *MockStore_RepoListLatest_Call) RunAndReturn(run func(user *model.User) ([]*model.Feed, error)) *MockStore_RepoListLatest_Call
type MockStore_RepoList_Call ¶
MockStore_RepoList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoList'
func (*MockStore_RepoList_Call) Return ¶
func (_c *MockStore_RepoList_Call) Return(repos []*model.Repo, err error) *MockStore_RepoList_Call
func (*MockStore_RepoList_Call) Run ¶
func (_c *MockStore_RepoList_Call) Run(run func(user *model.User, owned bool, active bool)) *MockStore_RepoList_Call
func (*MockStore_RepoList_Call) RunAndReturn ¶
func (_c *MockStore_RepoList_Call) RunAndReturn(run func(user *model.User, owned bool, active bool) ([]*model.Repo, error)) *MockStore_RepoList_Call
type MockStore_SecretCreate_Call ¶
MockStore_SecretCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretCreate'
func (*MockStore_SecretCreate_Call) Return ¶
func (_c *MockStore_SecretCreate_Call) Return(err error) *MockStore_SecretCreate_Call
func (*MockStore_SecretCreate_Call) Run ¶
func (_c *MockStore_SecretCreate_Call) Run(run func(secret *model.Secret)) *MockStore_SecretCreate_Call
func (*MockStore_SecretCreate_Call) RunAndReturn ¶
func (_c *MockStore_SecretCreate_Call) RunAndReturn(run func(secret *model.Secret) error) *MockStore_SecretCreate_Call
type MockStore_SecretDelete_Call ¶
MockStore_SecretDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretDelete'
func (*MockStore_SecretDelete_Call) Return ¶
func (_c *MockStore_SecretDelete_Call) Return(err error) *MockStore_SecretDelete_Call
func (*MockStore_SecretDelete_Call) Run ¶
func (_c *MockStore_SecretDelete_Call) Run(run func(secret *model.Secret)) *MockStore_SecretDelete_Call
func (*MockStore_SecretDelete_Call) RunAndReturn ¶
func (_c *MockStore_SecretDelete_Call) RunAndReturn(run func(secret *model.Secret) error) *MockStore_SecretDelete_Call
type MockStore_SecretFind_Call ¶
MockStore_SecretFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretFind'
func (*MockStore_SecretFind_Call) Return ¶
func (_c *MockStore_SecretFind_Call) Return(secret *model.Secret, err error) *MockStore_SecretFind_Call
func (*MockStore_SecretFind_Call) Run ¶
func (_c *MockStore_SecretFind_Call) Run(run func(repo *model.Repo, s string)) *MockStore_SecretFind_Call
func (*MockStore_SecretFind_Call) RunAndReturn ¶
func (_c *MockStore_SecretFind_Call) RunAndReturn(run func(repo *model.Repo, s string) (*model.Secret, error)) *MockStore_SecretFind_Call
type MockStore_SecretListAll_Call ¶
MockStore_SecretListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretListAll'
func (*MockStore_SecretListAll_Call) Return ¶
func (_c *MockStore_SecretListAll_Call) Return(secrets []*model.Secret, err error) *MockStore_SecretListAll_Call
func (*MockStore_SecretListAll_Call) Run ¶
func (_c *MockStore_SecretListAll_Call) Run(run func()) *MockStore_SecretListAll_Call
func (*MockStore_SecretListAll_Call) RunAndReturn ¶
func (_c *MockStore_SecretListAll_Call) RunAndReturn(run func() ([]*model.Secret, error)) *MockStore_SecretListAll_Call
type MockStore_SecretList_Call ¶
MockStore_SecretList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretList'
func (*MockStore_SecretList_Call) Return ¶
func (_c *MockStore_SecretList_Call) Return(secrets []*model.Secret, err error) *MockStore_SecretList_Call
func (*MockStore_SecretList_Call) Run ¶
func (_c *MockStore_SecretList_Call) Run(run func(repo *model.Repo, b bool, listOptions *model.ListOptions)) *MockStore_SecretList_Call
func (*MockStore_SecretList_Call) RunAndReturn ¶
func (_c *MockStore_SecretList_Call) RunAndReturn(run func(repo *model.Repo, b bool, listOptions *model.ListOptions) ([]*model.Secret, error)) *MockStore_SecretList_Call
type MockStore_SecretUpdate_Call ¶
MockStore_SecretUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretUpdate'
func (*MockStore_SecretUpdate_Call) Return ¶
func (_c *MockStore_SecretUpdate_Call) Return(err error) *MockStore_SecretUpdate_Call
func (*MockStore_SecretUpdate_Call) Run ¶
func (_c *MockStore_SecretUpdate_Call) Run(run func(secret *model.Secret)) *MockStore_SecretUpdate_Call
func (*MockStore_SecretUpdate_Call) RunAndReturn ¶
func (_c *MockStore_SecretUpdate_Call) RunAndReturn(run func(secret *model.Secret) error) *MockStore_SecretUpdate_Call
type MockStore_ServerConfigDelete_Call ¶
MockStore_ServerConfigDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerConfigDelete'
func (*MockStore_ServerConfigDelete_Call) Return ¶
func (_c *MockStore_ServerConfigDelete_Call) Return(err error) *MockStore_ServerConfigDelete_Call
func (*MockStore_ServerConfigDelete_Call) Run ¶
func (_c *MockStore_ServerConfigDelete_Call) Run(run func(s string)) *MockStore_ServerConfigDelete_Call
func (*MockStore_ServerConfigDelete_Call) RunAndReturn ¶
func (_c *MockStore_ServerConfigDelete_Call) RunAndReturn(run func(s string) error) *MockStore_ServerConfigDelete_Call
type MockStore_ServerConfigGet_Call ¶
MockStore_ServerConfigGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerConfigGet'
func (*MockStore_ServerConfigGet_Call) Return ¶
func (_c *MockStore_ServerConfigGet_Call) Return(s1 string, err error) *MockStore_ServerConfigGet_Call
func (*MockStore_ServerConfigGet_Call) Run ¶
func (_c *MockStore_ServerConfigGet_Call) Run(run func(s string)) *MockStore_ServerConfigGet_Call
func (*MockStore_ServerConfigGet_Call) RunAndReturn ¶
func (_c *MockStore_ServerConfigGet_Call) RunAndReturn(run func(s string) (string, error)) *MockStore_ServerConfigGet_Call
type MockStore_ServerConfigSet_Call ¶
MockStore_ServerConfigSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerConfigSet'
func (*MockStore_ServerConfigSet_Call) Return ¶
func (_c *MockStore_ServerConfigSet_Call) Return(err error) *MockStore_ServerConfigSet_Call
func (*MockStore_ServerConfigSet_Call) Run ¶
func (_c *MockStore_ServerConfigSet_Call) Run(run func(s string, s1 string)) *MockStore_ServerConfigSet_Call
func (*MockStore_ServerConfigSet_Call) RunAndReturn ¶
func (_c *MockStore_ServerConfigSet_Call) RunAndReturn(run func(s string, s1 string) error) *MockStore_ServerConfigSet_Call
type MockStore_SetPipelineLogPurged_Call ¶
MockStore_SetPipelineLogPurged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPipelineLogPurged'
func (*MockStore_SetPipelineLogPurged_Call) Return ¶
func (_c *MockStore_SetPipelineLogPurged_Call) Return(err error) *MockStore_SetPipelineLogPurged_Call
func (*MockStore_SetPipelineLogPurged_Call) Run ¶
func (_c *MockStore_SetPipelineLogPurged_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_SetPipelineLogPurged_Call
func (*MockStore_SetPipelineLogPurged_Call) RunAndReturn ¶
func (_c *MockStore_SetPipelineLogPurged_Call) RunAndReturn(run func(pipeline *model.Pipeline) error) *MockStore_SetPipelineLogPurged_Call
type MockStore_StepByUUID_Call ¶
MockStore_StepByUUID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StepByUUID'
func (*MockStore_StepByUUID_Call) Return ¶
func (_c *MockStore_StepByUUID_Call) Return(step *model.Step, err error) *MockStore_StepByUUID_Call
func (*MockStore_StepByUUID_Call) Run ¶
func (_c *MockStore_StepByUUID_Call) Run(run func(s string)) *MockStore_StepByUUID_Call
func (*MockStore_StepByUUID_Call) RunAndReturn ¶
func (_c *MockStore_StepByUUID_Call) RunAndReturn(run func(s string) (*model.Step, error)) *MockStore_StepByUUID_Call
type MockStore_StepChild_Call ¶
MockStore_StepChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StepChild'
func (*MockStore_StepChild_Call) Return ¶
func (_c *MockStore_StepChild_Call) Return(step *model.Step, err error) *MockStore_StepChild_Call
func (*MockStore_StepChild_Call) Run ¶
func (_c *MockStore_StepChild_Call) Run(run func(pipeline *model.Pipeline, n int, s string)) *MockStore_StepChild_Call
func (*MockStore_StepChild_Call) RunAndReturn ¶
func (_c *MockStore_StepChild_Call) RunAndReturn(run func(pipeline *model.Pipeline, n int, s string) (*model.Step, error)) *MockStore_StepChild_Call
type MockStore_StepFind_Call ¶
MockStore_StepFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StepFind'
func (*MockStore_StepFind_Call) Return ¶
func (_c *MockStore_StepFind_Call) Return(step *model.Step, err error) *MockStore_StepFind_Call
func (*MockStore_StepFind_Call) Run ¶
func (_c *MockStore_StepFind_Call) Run(run func(pipeline *model.Pipeline, n int)) *MockStore_StepFind_Call
func (*MockStore_StepFind_Call) RunAndReturn ¶
func (_c *MockStore_StepFind_Call) RunAndReturn(run func(pipeline *model.Pipeline, n int) (*model.Step, error)) *MockStore_StepFind_Call
type MockStore_StepListFromWorkflowFind_Call ¶
MockStore_StepListFromWorkflowFind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StepListFromWorkflowFind'
func (*MockStore_StepListFromWorkflowFind_Call) Return ¶
func (_c *MockStore_StepListFromWorkflowFind_Call) Return(steps []*model.Step, err error) *MockStore_StepListFromWorkflowFind_Call
func (*MockStore_StepListFromWorkflowFind_Call) Run ¶
func (_c *MockStore_StepListFromWorkflowFind_Call) Run(run func(workflow *model.Workflow)) *MockStore_StepListFromWorkflowFind_Call
func (*MockStore_StepListFromWorkflowFind_Call) RunAndReturn ¶
func (_c *MockStore_StepListFromWorkflowFind_Call) RunAndReturn(run func(workflow *model.Workflow) ([]*model.Step, error)) *MockStore_StepListFromWorkflowFind_Call
type MockStore_StepList_Call ¶
MockStore_StepList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StepList'
func (*MockStore_StepList_Call) Return ¶
func (_c *MockStore_StepList_Call) Return(steps []*model.Step, err error) *MockStore_StepList_Call
func (*MockStore_StepList_Call) Run ¶
func (_c *MockStore_StepList_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_StepList_Call
func (*MockStore_StepList_Call) RunAndReturn ¶
func (_c *MockStore_StepList_Call) RunAndReturn(run func(pipeline *model.Pipeline) ([]*model.Step, error)) *MockStore_StepList_Call
type MockStore_StepLoad_Call ¶
MockStore_StepLoad_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StepLoad'
func (*MockStore_StepLoad_Call) Return ¶
func (_c *MockStore_StepLoad_Call) Return(step *model.Step, err error) *MockStore_StepLoad_Call
func (*MockStore_StepLoad_Call) Run ¶
func (_c *MockStore_StepLoad_Call) Run(run func(n int64)) *MockStore_StepLoad_Call
func (*MockStore_StepLoad_Call) RunAndReturn ¶
func (_c *MockStore_StepLoad_Call) RunAndReturn(run func(n int64) (*model.Step, error)) *MockStore_StepLoad_Call
type MockStore_StepUpdate_Call ¶
MockStore_StepUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StepUpdate'
func (*MockStore_StepUpdate_Call) Return ¶
func (_c *MockStore_StepUpdate_Call) Return(err error) *MockStore_StepUpdate_Call
func (*MockStore_StepUpdate_Call) Run ¶
func (_c *MockStore_StepUpdate_Call) Run(run func(step *model.Step)) *MockStore_StepUpdate_Call
func (*MockStore_StepUpdate_Call) RunAndReturn ¶
func (_c *MockStore_StepUpdate_Call) RunAndReturn(run func(step *model.Step) error) *MockStore_StepUpdate_Call
type MockStore_TaskAtomicAssign_Call ¶ added in v4.0.1
MockStore_TaskAtomicAssign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskAtomicAssign'
func (*MockStore_TaskAtomicAssign_Call) Return ¶ added in v4.0.1
func (_c *MockStore_TaskAtomicAssign_Call) Return(b bool, err error) *MockStore_TaskAtomicAssign_Call
func (*MockStore_TaskAtomicAssign_Call) Run ¶ added in v4.0.1
func (_c *MockStore_TaskAtomicAssign_Call) Run(run func(taskID string, agentID int64)) *MockStore_TaskAtomicAssign_Call
func (*MockStore_TaskAtomicAssign_Call) RunAndReturn ¶ added in v4.0.1
func (_c *MockStore_TaskAtomicAssign_Call) RunAndReturn(run func(taskID string, agentID int64) (bool, error)) *MockStore_TaskAtomicAssign_Call
type MockStore_TaskDelete_Call ¶
MockStore_TaskDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskDelete'
func (*MockStore_TaskDelete_Call) Return ¶
func (_c *MockStore_TaskDelete_Call) Return(err error) *MockStore_TaskDelete_Call
func (*MockStore_TaskDelete_Call) Run ¶
func (_c *MockStore_TaskDelete_Call) Run(run func(s string)) *MockStore_TaskDelete_Call
func (*MockStore_TaskDelete_Call) RunAndReturn ¶
func (_c *MockStore_TaskDelete_Call) RunAndReturn(run func(s string) error) *MockStore_TaskDelete_Call
type MockStore_TaskInsert_Call ¶
MockStore_TaskInsert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskInsert'
func (*MockStore_TaskInsert_Call) Return ¶
func (_c *MockStore_TaskInsert_Call) Return(err error) *MockStore_TaskInsert_Call
func (*MockStore_TaskInsert_Call) Run ¶
func (_c *MockStore_TaskInsert_Call) Run(run func(task *model.Task)) *MockStore_TaskInsert_Call
func (*MockStore_TaskInsert_Call) RunAndReturn ¶
func (_c *MockStore_TaskInsert_Call) RunAndReturn(run func(task *model.Task) error) *MockStore_TaskInsert_Call
type MockStore_TaskListPending_Call ¶ added in v4.5.0
MockStore_TaskListPending_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskListPending'
func (*MockStore_TaskListPending_Call) Return ¶ added in v4.5.0
func (_c *MockStore_TaskListPending_Call) Return(tasks []*model.Task, err error) *MockStore_TaskListPending_Call
func (*MockStore_TaskListPending_Call) Run ¶ added in v4.5.0
func (_c *MockStore_TaskListPending_Call) Run(run func()) *MockStore_TaskListPending_Call
func (*MockStore_TaskListPending_Call) RunAndReturn ¶ added in v4.5.0
func (_c *MockStore_TaskListPending_Call) RunAndReturn(run func() ([]*model.Task, error)) *MockStore_TaskListPending_Call
type MockStore_TaskList_Call ¶
MockStore_TaskList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskList'
func (*MockStore_TaskList_Call) Return ¶
func (_c *MockStore_TaskList_Call) Return(tasks []*model.Task, err error) *MockStore_TaskList_Call
func (*MockStore_TaskList_Call) Run ¶
func (_c *MockStore_TaskList_Call) Run(run func()) *MockStore_TaskList_Call
func (*MockStore_TaskList_Call) RunAndReturn ¶
func (_c *MockStore_TaskList_Call) RunAndReturn(run func() ([]*model.Task, error)) *MockStore_TaskList_Call
type MockStore_TaskUpdate_Call ¶ added in v4.0.1
MockStore_TaskUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskUpdate'
func (*MockStore_TaskUpdate_Call) Return ¶ added in v4.0.1
func (_c *MockStore_TaskUpdate_Call) Return(err error) *MockStore_TaskUpdate_Call
func (*MockStore_TaskUpdate_Call) Run ¶ added in v4.0.1
func (_c *MockStore_TaskUpdate_Call) Run(run func(task *model.Task)) *MockStore_TaskUpdate_Call
func (*MockStore_TaskUpdate_Call) RunAndReturn ¶ added in v4.0.1
func (_c *MockStore_TaskUpdate_Call) RunAndReturn(run func(task *model.Task) error) *MockStore_TaskUpdate_Call
type MockStore_UpdatePipeline_Call ¶
MockStore_UpdatePipeline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePipeline'
func (*MockStore_UpdatePipeline_Call) Return ¶
func (_c *MockStore_UpdatePipeline_Call) Return(err error) *MockStore_UpdatePipeline_Call
func (*MockStore_UpdatePipeline_Call) Run ¶
func (_c *MockStore_UpdatePipeline_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_UpdatePipeline_Call
func (*MockStore_UpdatePipeline_Call) RunAndReturn ¶
func (_c *MockStore_UpdatePipeline_Call) RunAndReturn(run func(pipeline *model.Pipeline) error) *MockStore_UpdatePipeline_Call
type MockStore_UpdateRepo_Call ¶
MockStore_UpdateRepo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRepo'
func (*MockStore_UpdateRepo_Call) Return ¶
func (_c *MockStore_UpdateRepo_Call) Return(err error) *MockStore_UpdateRepo_Call
func (*MockStore_UpdateRepo_Call) Run ¶
func (_c *MockStore_UpdateRepo_Call) Run(run func(repo *model.Repo)) *MockStore_UpdateRepo_Call
func (*MockStore_UpdateRepo_Call) RunAndReturn ¶
func (_c *MockStore_UpdateRepo_Call) RunAndReturn(run func(repo *model.Repo) error) *MockStore_UpdateRepo_Call
type MockStore_UpdateUser_Call ¶
MockStore_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser'
func (*MockStore_UpdateUser_Call) Return ¶
func (_c *MockStore_UpdateUser_Call) Return(err error) *MockStore_UpdateUser_Call
func (*MockStore_UpdateUser_Call) Run ¶
func (_c *MockStore_UpdateUser_Call) Run(run func(user *model.User)) *MockStore_UpdateUser_Call
func (*MockStore_UpdateUser_Call) RunAndReturn ¶
func (_c *MockStore_UpdateUser_Call) RunAndReturn(run func(user *model.User) error) *MockStore_UpdateUser_Call
type MockStore_UserFeed_Call ¶
MockStore_UserFeed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserFeed'
func (*MockStore_UserFeed_Call) Return ¶
func (_c *MockStore_UserFeed_Call) Return(feeds []*model.Feed, err error) *MockStore_UserFeed_Call
func (*MockStore_UserFeed_Call) Run ¶
func (_c *MockStore_UserFeed_Call) Run(run func(user *model.User)) *MockStore_UserFeed_Call
func (*MockStore_UserFeed_Call) RunAndReturn ¶
func (_c *MockStore_UserFeed_Call) RunAndReturn(run func(user *model.User) ([]*model.Feed, error)) *MockStore_UserFeed_Call
type MockStore_WorkflowGetTree_Call ¶
MockStore_WorkflowGetTree_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WorkflowGetTree'
func (*MockStore_WorkflowGetTree_Call) Return ¶
func (_c *MockStore_WorkflowGetTree_Call) Return(workflows []*model.Workflow, err error) *MockStore_WorkflowGetTree_Call
func (*MockStore_WorkflowGetTree_Call) Run ¶
func (_c *MockStore_WorkflowGetTree_Call) Run(run func(pipeline *model.Pipeline)) *MockStore_WorkflowGetTree_Call
func (*MockStore_WorkflowGetTree_Call) RunAndReturn ¶
func (_c *MockStore_WorkflowGetTree_Call) RunAndReturn(run func(pipeline *model.Pipeline) ([]*model.Workflow, error)) *MockStore_WorkflowGetTree_Call
type MockStore_WorkflowLoad_Call ¶
MockStore_WorkflowLoad_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WorkflowLoad'
func (*MockStore_WorkflowLoad_Call) Return ¶
func (_c *MockStore_WorkflowLoad_Call) Return(workflow *model.Workflow, err error) *MockStore_WorkflowLoad_Call
func (*MockStore_WorkflowLoad_Call) Run ¶
func (_c *MockStore_WorkflowLoad_Call) Run(run func(n int64)) *MockStore_WorkflowLoad_Call
func (*MockStore_WorkflowLoad_Call) RunAndReturn ¶
func (_c *MockStore_WorkflowLoad_Call) RunAndReturn(run func(n int64) (*model.Workflow, error)) *MockStore_WorkflowLoad_Call
type MockStore_WorkflowUpdate_Call ¶
MockStore_WorkflowUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WorkflowUpdate'
func (*MockStore_WorkflowUpdate_Call) Return ¶
func (_c *MockStore_WorkflowUpdate_Call) Return(err error) *MockStore_WorkflowUpdate_Call
func (*MockStore_WorkflowUpdate_Call) Run ¶
func (_c *MockStore_WorkflowUpdate_Call) Run(run func(workflow *model.Workflow)) *MockStore_WorkflowUpdate_Call
func (*MockStore_WorkflowUpdate_Call) RunAndReturn ¶
func (_c *MockStore_WorkflowUpdate_Call) RunAndReturn(run func(workflow *model.Workflow) error) *MockStore_WorkflowUpdate_Call
type MockStore_WorkflowsCreate_Call ¶
MockStore_WorkflowsCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WorkflowsCreate'
func (*MockStore_WorkflowsCreate_Call) Return ¶
func (_c *MockStore_WorkflowsCreate_Call) Return(err error) *MockStore_WorkflowsCreate_Call
func (*MockStore_WorkflowsCreate_Call) Run ¶
func (_c *MockStore_WorkflowsCreate_Call) Run(run func(workflows []*model.Workflow)) *MockStore_WorkflowsCreate_Call
func (*MockStore_WorkflowsCreate_Call) RunAndReturn ¶
func (_c *MockStore_WorkflowsCreate_Call) RunAndReturn(run func(workflows []*model.Workflow) error) *MockStore_WorkflowsCreate_Call
type MockStore_WorkflowsReplace_Call ¶
MockStore_WorkflowsReplace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WorkflowsReplace'
func (*MockStore_WorkflowsReplace_Call) Return ¶
func (_c *MockStore_WorkflowsReplace_Call) Return(err error) *MockStore_WorkflowsReplace_Call
func (*MockStore_WorkflowsReplace_Call) Run ¶
func (_c *MockStore_WorkflowsReplace_Call) Run(run func(pipeline *model.Pipeline, workflows []*model.Workflow)) *MockStore_WorkflowsReplace_Call
func (*MockStore_WorkflowsReplace_Call) RunAndReturn ¶
func (_c *MockStore_WorkflowsReplace_Call) RunAndReturn(run func(pipeline *model.Pipeline, workflows []*model.Workflow) error) *MockStore_WorkflowsReplace_Call