services

package
v4.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMaintenanceScheduler

type MockMaintenanceScheduler struct {
	mock.Mock
}

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 (*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

RunManual is a helper method to define mock.On call

func (*MockMaintenanceScheduler_Expecter) Start

Start is a helper method to define mock.On call

func (*MockMaintenanceScheduler_Expecter) Stop

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

type MockMaintenanceScheduler_RunManual_Call struct {
	*mock.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 (*MockMaintenanceScheduler_RunManual_Call) Run

func (*MockMaintenanceScheduler_RunManual_Call) RunAndReturn

type MockMaintenanceScheduler_Start_Call

type MockMaintenanceScheduler_Start_Call struct {
	*mock.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 (*MockMaintenanceScheduler_Start_Call) Run

func (*MockMaintenanceScheduler_Start_Call) RunAndReturn

type MockMaintenanceScheduler_Stop_Call

type MockMaintenanceScheduler_Stop_Call struct {
	*mock.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 (*MockMaintenanceScheduler_Stop_Call) Run

func (*MockMaintenanceScheduler_Stop_Call) RunAndReturn

type MockMaintenanceScheduler_UpdateSchedule_Call

type MockMaintenanceScheduler_UpdateSchedule_Call struct {
	*mock.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 (*MockMaintenanceScheduler_UpdateSchedule_Call) Run

func (*MockMaintenanceScheduler_UpdateSchedule_Call) RunAndReturn

type MockMaintenanceService

type MockMaintenanceService struct {
	mock.Mock
}

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 (*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

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

GetMaintenanceStats is a helper method to define mock.On call

func (*MockMaintenanceService_Expecter) IsKubernetesCleanupAvailable added in v4.1.0

IsKubernetesCleanupAvailable is a helper method to define mock.On call

func (*MockMaintenanceService_Expecter) IsKubernetesEnvVarsConfigured added in v4.1.0

IsKubernetesEnvVarsConfigured is a helper method to define mock.On call

func (*MockMaintenanceService_Expecter) IsVacuumEnvVarsConfigured added in v4.1.0

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

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

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

type MockMaintenanceService_GetMaintenanceConfigByAction_Call struct {
	*mock.Call
}

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 (*MockMaintenanceService_GetMaintenanceConfigByAction_Call) Run added in v4.1.0

func (*MockMaintenanceService_GetMaintenanceConfigByAction_Call) RunAndReturn added in v4.1.0

type MockMaintenanceService_GetMaintenanceConfig_Call

type MockMaintenanceService_GetMaintenanceConfig_Call struct {
	*mock.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 (*MockMaintenanceService_GetMaintenanceConfig_Call) Run

func (*MockMaintenanceService_GetMaintenanceConfig_Call) RunAndReturn

type MockMaintenanceService_GetMaintenanceStats_Call

type MockMaintenanceService_GetMaintenanceStats_Call struct {
	*mock.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 (*MockMaintenanceService_GetMaintenanceStats_Call) Run

func (*MockMaintenanceService_GetMaintenanceStats_Call) RunAndReturn

type MockMaintenanceService_IsKubernetesCleanupAvailable_Call added in v4.1.0

type MockMaintenanceService_IsKubernetesCleanupAvailable_Call struct {
	*mock.Call
}

MockMaintenanceService_IsKubernetesCleanupAvailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsKubernetesCleanupAvailable'

func (*MockMaintenanceService_IsKubernetesCleanupAvailable_Call) Return added in v4.1.0

func (*MockMaintenanceService_IsKubernetesCleanupAvailable_Call) Run added in v4.1.0

func (*MockMaintenanceService_IsKubernetesCleanupAvailable_Call) RunAndReturn added in v4.1.0

type MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call added in v4.1.0

type MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call struct {
	*mock.Call
}

MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsKubernetesEnvVarsConfigured'

func (*MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call) Return added in v4.1.0

func (*MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call) Run added in v4.1.0

func (*MockMaintenanceService_IsKubernetesEnvVarsConfigured_Call) RunAndReturn added in v4.1.0

type MockMaintenanceService_IsVacuumEnvVarsConfigured_Call added in v4.1.0

type MockMaintenanceService_IsVacuumEnvVarsConfigured_Call struct {
	*mock.Call
}

MockMaintenanceService_IsVacuumEnvVarsConfigured_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsVacuumEnvVarsConfigured'

func (*MockMaintenanceService_IsVacuumEnvVarsConfigured_Call) Return added in v4.1.0

func (*MockMaintenanceService_IsVacuumEnvVarsConfigured_Call) Run added in v4.1.0

func (*MockMaintenanceService_IsVacuumEnvVarsConfigured_Call) RunAndReturn added in v4.1.0

type MockMaintenanceService_RunKubernetesCleanup_Call added in v4.1.0

type MockMaintenanceService_RunKubernetesCleanup_Call struct {
	*mock.Call
}

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 (*MockMaintenanceService_RunKubernetesCleanup_Call) Run added in v4.1.0

func (*MockMaintenanceService_RunKubernetesCleanup_Call) RunAndReturn added in v4.1.0

type MockMaintenanceService_RunMaintenance_Call

type MockMaintenanceService_RunMaintenance_Call struct {
	*mock.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 (*MockMaintenanceService_RunMaintenance_Call) Run

func (*MockMaintenanceService_RunMaintenance_Call) RunAndReturn

type MockMaintenanceService_RunStaleAgentCleanup_Call added in v4.4.0

type MockMaintenanceService_RunStaleAgentCleanup_Call struct {
	*mock.Call
}

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 (*MockMaintenanceService_RunStaleAgentCleanup_Call) Run added in v4.4.0

func (*MockMaintenanceService_RunStaleAgentCleanup_Call) RunAndReturn added in v4.4.0

type MockMaintenanceService_SetKubernetesCleanupEnabled_Call added in v4.1.0

type MockMaintenanceService_SetKubernetesCleanupEnabled_Call struct {
	*mock.Call
}

MockMaintenanceService_SetKubernetesCleanupEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetKubernetesCleanupEnabled'

func (*MockMaintenanceService_SetKubernetesCleanupEnabled_Call) Return added in v4.1.0

func (*MockMaintenanceService_SetKubernetesCleanupEnabled_Call) Run added in v4.1.0

func (*MockMaintenanceService_SetKubernetesCleanupEnabled_Call) RunAndReturn added in v4.1.0

type MockMaintenanceService_SetKubernetesCleanupFunc_Call added in v4.1.0

type MockMaintenanceService_SetKubernetesCleanupFunc_Call struct {
	*mock.Call
}

MockMaintenanceService_SetKubernetesCleanupFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetKubernetesCleanupFunc'

func (*MockMaintenanceService_SetKubernetesCleanupFunc_Call) Return added in v4.1.0

func (*MockMaintenanceService_SetKubernetesCleanupFunc_Call) Run added in v4.1.0

func (*MockMaintenanceService_SetKubernetesCleanupFunc_Call) RunAndReturn added in v4.1.0

type MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call added in v4.1.0

type MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call struct {
	*mock.Call
}

MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetKubernetesEnvVarsConfigured'

func (*MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call) Return added in v4.1.0

func (*MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call) Run added in v4.1.0

func (*MockMaintenanceService_SetKubernetesEnvVarsConfigured_Call) RunAndReturn added in v4.1.0

type MockMaintenanceService_SetVacuumEnvVarsConfigured_Call added in v4.1.0

type MockMaintenanceService_SetVacuumEnvVarsConfigured_Call struct {
	*mock.Call
}

MockMaintenanceService_SetVacuumEnvVarsConfigured_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVacuumEnvVarsConfigured'

func (*MockMaintenanceService_SetVacuumEnvVarsConfigured_Call) Return added in v4.1.0

func (*MockMaintenanceService_SetVacuumEnvVarsConfigured_Call) Run added in v4.1.0

func (*MockMaintenanceService_SetVacuumEnvVarsConfigured_Call) RunAndReturn added in v4.1.0

type MockMaintenanceService_UpdateMaintenanceConfigByAction_Call added in v4.1.0

type MockMaintenanceService_UpdateMaintenanceConfigByAction_Call struct {
	*mock.Call
}

MockMaintenanceService_UpdateMaintenanceConfigByAction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMaintenanceConfigByAction'

func (*MockMaintenanceService_UpdateMaintenanceConfigByAction_Call) Return added in v4.1.0

func (*MockMaintenanceService_UpdateMaintenanceConfigByAction_Call) Run added in v4.1.0

func (*MockMaintenanceService_UpdateMaintenanceConfigByAction_Call) RunAndReturn added in v4.1.0

type MockMaintenanceService_UpdateMaintenanceConfig_Call

type MockMaintenanceService_UpdateMaintenanceConfig_Call struct {
	*mock.Call
}

MockMaintenanceService_UpdateMaintenanceConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMaintenanceConfig'

func (*MockMaintenanceService_UpdateMaintenanceConfig_Call) Return

func (*MockMaintenanceService_UpdateMaintenanceConfig_Call) Run

func (*MockMaintenanceService_UpdateMaintenanceConfig_Call) RunAndReturn

type MockManager

type MockManager struct {
	mock.Mock
}

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

func (_mock *MockManager) ForgeFromRepo(repo *model.Repo) (forge.Forge, error)

ForgeFromRepo provides a mock function for the type MockManager

func (*MockManager) ForgeFromUser

func (_mock *MockManager) ForgeFromUser(user *model.User) (forge.Forge, error)

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

type MockManager_ConfigServiceFromRepo_Call struct {
	*mock.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 (*MockManager_ConfigServiceFromRepo_Call) Run

func (*MockManager_ConfigServiceFromRepo_Call) RunAndReturn

type MockManager_EnvironmentService_Call

type MockManager_EnvironmentService_Call struct {
	*mock.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 (*MockManager_EnvironmentService_Call) Run

func (*MockManager_EnvironmentService_Call) RunAndReturn

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

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

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

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

SignaturePublicKey is a helper method to define mock.On call

type MockManager_ForgeByID_Call

type MockManager_ForgeByID_Call struct {
	*mock.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 (*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

type MockManager_ForgeFromRepo_Call struct {
	*mock.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 (*MockManager_ForgeFromRepo_Call) Run

func (*MockManager_ForgeFromRepo_Call) RunAndReturn

type MockManager_ForgeFromUser_Call

type MockManager_ForgeFromUser_Call struct {
	*mock.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 (*MockManager_ForgeFromUser_Call) Run

func (*MockManager_ForgeFromUser_Call) RunAndReturn

type MockManager_RegistryServiceFromRepo_Call

type MockManager_RegistryServiceFromRepo_Call struct {
	*mock.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 (*MockManager_RegistryServiceFromRepo_Call) Run

func (*MockManager_RegistryServiceFromRepo_Call) RunAndReturn

type MockManager_RegistryService_Call

type MockManager_RegistryService_Call struct {
	*mock.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 (*MockManager_RegistryService_Call) Run

func (*MockManager_RegistryService_Call) RunAndReturn

type MockManager_SecretServiceFromRepo_Call

type MockManager_SecretServiceFromRepo_Call struct {
	*mock.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 (*MockManager_SecretServiceFromRepo_Call) Run

func (*MockManager_SecretServiceFromRepo_Call) RunAndReturn

type MockManager_SecretService_Call

type MockManager_SecretService_Call struct {
	*mock.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 (*MockManager_SecretService_Call) Run

func (*MockManager_SecretService_Call) RunAndReturn

type MockManager_SignaturePublicKey_Call

type MockManager_SignaturePublicKey_Call struct {
	*mock.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 (*MockManager_SignaturePublicKey_Call) Run

func (*MockManager_SignaturePublicKey_Call) RunAndReturn

type MockSetupForge

type MockSetupForge struct {
	mock.Mock
}

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 (*MockSetupForge) Execute

func (_m *MockSetupForge) Execute(_a0 *model.Forge) (forge.Forge, error)

Execute provides a mock function with given fields: _a0

type MockSetupForge_Execute_Call

type MockSetupForge_Execute_Call struct {
	*mock.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 (*MockSetupForge_Execute_Call) Run

func (*MockSetupForge_Execute_Call) RunAndReturn

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

type MockStore struct {
	mock.Mock
}

MockStore is an autogenerated mock type for the Store type

func NewMockStore

func NewMockStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockStore

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

func (_mock *MockStore) AgentCreate(agent *model.Agent) error

AgentCreate provides a mock function for the type MockStore

func (*MockStore) AgentDelete

func (_mock *MockStore) AgentDelete(agent *model.Agent) error

AgentDelete provides a mock function for the type MockStore

func (*MockStore) AgentFind

func (_mock *MockStore) AgentFind(n int64) (*model.Agent, error)

AgentFind provides a mock function for the type MockStore

func (*MockStore) AgentFindByToken

func (_mock *MockStore) AgentFindByToken(s string) (*model.Agent, error)

AgentFindByToken provides a mock function for the type MockStore

func (*MockStore) AgentList

func (_mock *MockStore) AgentList(opts *model.AgentListOptions) ([]*model.Agent, error)

AgentList 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

func (_mock *MockStore) AgentUpdate(agent *model.Agent) error

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

func (_mock *MockStore) CacheCleanupExpired(cutoff int64) error

CacheCleanupExpired provides a mock function for the type MockStore

func (*MockStore) CacheDelete

func (_mock *MockStore) CacheDelete(key string) error

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

func (_mock *MockStore) CleanupOrphanedWorkflows(workflowIDs []string) error

CleanupOrphanedWorkflows provides a mock function for the type MockStore

func (*MockStore) Close

func (_mock *MockStore) Close() error

Close provides a mock function for the type MockStore

func (*MockStore) ConfigPersist

func (_mock *MockStore) ConfigPersist(config *model.Config) (*model.Config, error)

ConfigPersist provides a mock function for the type MockStore

func (*MockStore) ConfigsForPipeline

func (_mock *MockStore) ConfigsForPipeline(pipelineID int64) ([]*model.Config, error)

ConfigsForPipeline provides a mock function for the type MockStore

func (*MockStore) CreatePipeline

func (_mock *MockStore) CreatePipeline(pipeline *model.Pipeline, steps ...*model.Step) error

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

func (_mock *MockStore) CreateRepo(repo *model.Repo) error

CreateRepo provides a mock function for the type MockStore

func (*MockStore) CreateUser

func (_mock *MockStore) CreateUser(user *model.User) error

CreateUser provides a mock function for the type MockStore

func (*MockStore) CronCreate

func (_mock *MockStore) CronCreate(cron *model.Cron) error

CronCreate provides a mock function for the type MockStore

func (*MockStore) CronDelete

func (_mock *MockStore) CronDelete(repo *model.Repo, n int64) error

CronDelete provides a mock function for the type MockStore

func (*MockStore) CronFind

func (_mock *MockStore) CronFind(repo *model.Repo, n int64) (*model.Cron, error)

CronFind provides a mock function for the type MockStore

func (*MockStore) CronGetLock

func (_mock *MockStore) CronGetLock(cron *model.Cron, n int64) (bool, error)

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

func (_mock *MockStore) CronListNextExecute(n int64, n1 int64) ([]*model.Cron, error)

CronListNextExecute provides a mock function for the type MockStore

func (*MockStore) CronUpdate

func (_mock *MockStore) CronUpdate(repo *model.Repo, cron *model.Cron) error

CronUpdate provides a mock function for the type MockStore

func (*MockStore) DeletePipeline

func (_mock *MockStore) DeletePipeline(pipeline *model.Pipeline) error

DeletePipeline provides a mock function for the type MockStore

func (*MockStore) DeleteRepo

func (_mock *MockStore) DeleteRepo(repo *model.Repo) error

DeleteRepo provides a mock function for the type MockStore

func (*MockStore) DeleteUser

func (_mock *MockStore) DeleteUser(user *model.User) error

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

func (_mock *MockStore) DistributedLockCleanup() error

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

func (_mock *MockStore) DistributedLockInit() error

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

func (_mock *MockStore) DistributedLockRelease(lockName string, instanceID string) error

DistributedLockRelease provides a mock function for the type MockStore

func (*MockStore) EXPECT

func (_m *MockStore) EXPECT() *MockStore_Expecter

func (*MockStore) ForgeCreate

func (_mock *MockStore) ForgeCreate(forge *model.Forge) error

ForgeCreate provides a mock function for the type MockStore

func (*MockStore) ForgeDelete

func (_mock *MockStore) ForgeDelete(forge *model.Forge) error

ForgeDelete provides a mock function for the type MockStore

func (*MockStore) ForgeGet

func (_mock *MockStore) ForgeGet(n int64) (*model.Forge, error)

ForgeGet provides a mock function for the type MockStore

func (*MockStore) ForgeList

func (_mock *MockStore) ForgeList(p *model.ListOptions) ([]*model.Forge, error)

ForgeList provides a mock function for the type MockStore

func (*MockStore) ForgeUpdate

func (_mock *MockStore) ForgeUpdate(forge *model.Forge) error

ForgeUpdate provides a mock function for the type MockStore

func (*MockStore) GetActivePipelineList

func (_mock *MockStore) GetActivePipelineList(repo *model.Repo) ([]*model.Pipeline, error)

GetActivePipelineList provides a mock function for the type MockStore

func (*MockStore) GetPipeline

func (_mock *MockStore) GetPipeline(n int64) (*model.Pipeline, error)

GetPipeline provides a mock function for the type MockStore

func (*MockStore) GetPipelineBadge

func (_mock *MockStore) GetPipelineBadge(repo *model.Repo, s string) (*model.Pipeline, error)

GetPipelineBadge provides a mock function for the type MockStore

func (*MockStore) GetPipelineCount

func (_mock *MockStore) GetPipelineCount() (int64, error)

GetPipelineCount provides a mock function for the type MockStore

func (*MockStore) GetPipelineCountByRepo

func (_mock *MockStore) GetPipelineCountByRepo(n int64) (int64, error)

GetPipelineCountByRepo provides a mock function for the type MockStore

func (*MockStore) GetPipelineLast

func (_mock *MockStore) GetPipelineLast(repo *model.Repo, s string) (*model.Pipeline, error)

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

func (_mock *MockStore) GetPipelineLogPurged(pipeline *model.Pipeline) (bool, error)

GetPipelineLogPurged provides a mock function for the type MockStore

func (*MockStore) GetPipelineNumber

func (_mock *MockStore) GetPipelineNumber(repo *model.Repo, n int64) (*model.Pipeline, error)

GetPipelineNumber provides a mock function for the type MockStore

func (*MockStore) GetPipelineQueue

func (_mock *MockStore) GetPipelineQueue() ([]*model.Feed, error)

GetPipelineQueue provides a mock function for the type MockStore

func (*MockStore) GetRepo

func (_mock *MockStore) GetRepo(n int64) (*model.Repo, error)

GetRepo provides a mock function for the type MockStore

func (*MockStore) GetRepoCount

func (_mock *MockStore) GetRepoCount() (int64, error)

GetRepoCount provides a mock function for the type MockStore

func (*MockStore) GetRepoForgeID

func (_mock *MockStore) GetRepoForgeID(forgeRemoteID model.ForgeRemoteID) (*model.Repo, error)

GetRepoForgeID provides a mock function for the type MockStore

func (*MockStore) GetRepoLatestPipelines

func (_mock *MockStore) GetRepoLatestPipelines(int64s []int64) ([]*model.Pipeline, error)

GetRepoLatestPipelines provides a mock function for the type MockStore

func (*MockStore) GetRepoName

func (_mock *MockStore) GetRepoName(s string) (*model.Repo, error)

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) GetUser

func (_mock *MockStore) GetUser(n int64) (*model.User, error)

GetUser provides a mock function for the type MockStore

func (*MockStore) GetUserCount

func (_mock *MockStore) GetUserCount() (int64, error)

GetUserCount provides a mock function for the type MockStore

func (*MockStore) GetUserList

func (_mock *MockStore) GetUserList(p *model.ListOptions) ([]*model.User, error)

GetUserList provides a mock function for the type MockStore

func (*MockStore) GetUserLogin

func (_mock *MockStore) GetUserLogin(s string) (*model.User, error)

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

func (_mock *MockStore) GlobalRegistryFind(s string) (*model.Registry, error)

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

func (_mock *MockStore) GlobalSecretFind(s string) (*model.Secret, error)

GlobalSecretFind provides a mock function for the type MockStore

func (*MockStore) GlobalSecretList

func (_mock *MockStore) GlobalSecretList(listOptions *model.ListOptions) ([]*model.Secret, error)

GlobalSecretList provides a mock function for the type MockStore

func (*MockStore) HasRedirectionForRepo

func (_mock *MockStore) HasRedirectionForRepo(n int64, s string) (bool, error)

HasRedirectionForRepo provides a mock function for the type MockStore

func (*MockStore) LogAppend

func (_mock *MockStore) LogAppend(step *model.Step, logEntrys []*model.LogEntry) error

LogAppend provides a mock function for the type MockStore

func (*MockStore) LogDelete

func (_mock *MockStore) LogDelete(step *model.Step) error

LogDelete provides a mock function for the type MockStore

func (*MockStore) LogFind

func (_mock *MockStore) LogFind(step *model.Step) ([]*model.LogEntry, error)

LogFind provides a mock function for the type MockStore

func (*MockStore) LogFindAfter added in v4.0.1

func (_mock *MockStore) LogFindAfter(stepID int64, afterLogID int64) ([]*model.LogEntry, error)

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

func (_mock *MockStore) MaintenanceRunMySQL(context1 context.Context) error

MaintenanceRunMySQL provides a mock function for the type MockStore

func (*MockStore) MaintenanceRunPostgreSQL

func (_mock *MockStore) MaintenanceRunPostgreSQL(context1 context.Context) error

MaintenanceRunPostgreSQL provides a mock function for the type MockStore

func (*MockStore) MaintenanceRunSQLite

func (_mock *MockStore) MaintenanceRunSQLite(context1 context.Context) error

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) Migrate

func (_mock *MockStore) Migrate(context1 context.Context, b bool) error

Migrate provides a mock function for the type MockStore

func (*MockStore) OrgCreate

func (_mock *MockStore) OrgCreate(org *model.Org) error

OrgCreate provides a mock function for the type MockStore

func (*MockStore) OrgDelete

func (_mock *MockStore) OrgDelete(n int64) error

OrgDelete provides a mock function for the type MockStore

func (*MockStore) OrgFindByName

func (_mock *MockStore) OrgFindByName(s string, n int64) (*model.Org, error)

OrgFindByName provides a mock function for the type MockStore

func (*MockStore) OrgGet

func (_mock *MockStore) OrgGet(n int64) (*model.Org, error)

OrgGet provides a mock function for the type MockStore

func (*MockStore) OrgList

func (_mock *MockStore) OrgList(listOptions *model.ListOptions) ([]*model.Org, error)

OrgList provides a mock function for the type MockStore

func (*MockStore) OrgRegistryFind

func (_mock *MockStore) OrgRegistryFind(n int64, s string) (*model.Registry, error)

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

func (_mock *MockStore) OrgSecretFind(n int64, s string) (*model.Secret, error)

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) OrgUpdate

func (_mock *MockStore) OrgUpdate(org *model.Org) error

OrgUpdate provides a mock function for the type MockStore

func (*MockStore) PermFind

func (_mock *MockStore) PermFind(user *model.User, repo *model.Repo) (*model.Perm, error)

PermFind provides a mock function for the type MockStore

func (*MockStore) PermUpsert

func (_mock *MockStore) PermUpsert(perm *model.Perm) error

PermUpsert provides a mock function for the type MockStore

func (*MockStore) Ping

func (_mock *MockStore) Ping() error

Ping 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

func (_mock *MockStore) PubSubMessageCleanupOlderThan(timestamp int64) error

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

func (_mock *MockStore) RegistryCreate(registry *model.Registry) error

RegistryCreate provides a mock function for the type MockStore

func (*MockStore) RegistryDelete

func (_mock *MockStore) RegistryDelete(registry *model.Registry) error

RegistryDelete provides a mock function for the type MockStore

func (*MockStore) RegistryFind

func (_mock *MockStore) RegistryFind(repo *model.Repo, s string) (*model.Registry, error)

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

func (_mock *MockStore) RegistryListAll() ([]*model.Registry, error)

RegistryListAll provides a mock function for the type MockStore

func (*MockStore) RegistryUpdate

func (_mock *MockStore) RegistryUpdate(registry *model.Registry) error

RegistryUpdate provides a mock function for the type MockStore

func (*MockStore) RepoList

func (_mock *MockStore) RepoList(user *model.User, owned bool, active bool) ([]*model.Repo, error)

RepoList provides a mock function for the type MockStore

func (*MockStore) RepoListAll

func (_mock *MockStore) RepoListAll(active bool, p *model.ListOptions) ([]*model.Repo, error)

RepoListAll provides a mock function for the type MockStore

func (*MockStore) RepoListLatest

func (_mock *MockStore) RepoListLatest(user *model.User) ([]*model.Feed, error)

RepoListLatest provides a mock function for the type MockStore

func (*MockStore) SecretCreate

func (_mock *MockStore) SecretCreate(secret *model.Secret) error

SecretCreate provides a mock function for the type MockStore

func (*MockStore) SecretDelete

func (_mock *MockStore) SecretDelete(secret *model.Secret) error

SecretDelete provides a mock function for the type MockStore

func (*MockStore) SecretFind

func (_mock *MockStore) SecretFind(repo *model.Repo, s string) (*model.Secret, error)

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

func (_mock *MockStore) SecretListAll() ([]*model.Secret, error)

SecretListAll provides a mock function for the type MockStore

func (*MockStore) SecretUpdate

func (_mock *MockStore) SecretUpdate(secret *model.Secret) error

SecretUpdate provides a mock function for the type MockStore

func (*MockStore) ServerConfigDelete

func (_mock *MockStore) ServerConfigDelete(s string) error

ServerConfigDelete provides a mock function for the type MockStore

func (*MockStore) ServerConfigGet

func (_mock *MockStore) ServerConfigGet(s string) (string, error)

ServerConfigGet provides a mock function for the type MockStore

func (*MockStore) ServerConfigSet

func (_mock *MockStore) ServerConfigSet(s string, s1 string) error

ServerConfigSet provides a mock function for the type MockStore

func (*MockStore) SetPipelineLogPurged

func (_mock *MockStore) SetPipelineLogPurged(pipeline *model.Pipeline) error

SetPipelineLogPurged provides a mock function for the type MockStore

func (*MockStore) StepByUUID

func (_mock *MockStore) StepByUUID(s string) (*model.Step, error)

StepByUUID provides a mock function for the type MockStore

func (*MockStore) StepChild

func (_mock *MockStore) StepChild(pipeline *model.Pipeline, n int, s string) (*model.Step, error)

StepChild provides a mock function for the type MockStore

func (*MockStore) StepFind

func (_mock *MockStore) StepFind(pipeline *model.Pipeline, n int) (*model.Step, error)

StepFind provides a mock function for the type MockStore

func (*MockStore) StepList

func (_mock *MockStore) StepList(pipeline *model.Pipeline) ([]*model.Step, error)

StepList provides a mock function for the type MockStore

func (*MockStore) StepListFromWorkflowFind

func (_mock *MockStore) StepListFromWorkflowFind(workflow *model.Workflow) ([]*model.Step, error)

StepListFromWorkflowFind provides a mock function for the type MockStore

func (*MockStore) StepLoad

func (_mock *MockStore) StepLoad(n int64) (*model.Step, error)

StepLoad provides a mock function for the type MockStore

func (*MockStore) StepUpdate

func (_mock *MockStore) StepUpdate(step *model.Step) error

StepUpdate provides a mock function for the type MockStore

func (*MockStore) TaskAtomicAssign added in v4.0.1

func (_mock *MockStore) TaskAtomicAssign(taskID string, agentID int64) (bool, error)

TaskAtomicAssign provides a mock function for the type MockStore

func (*MockStore) TaskDelete

func (_mock *MockStore) TaskDelete(s string) error

TaskDelete provides a mock function for the type MockStore

func (*MockStore) TaskInsert

func (_mock *MockStore) TaskInsert(task *model.Task) error

TaskInsert provides a mock function for the type MockStore

func (*MockStore) TaskList

func (_mock *MockStore) TaskList() ([]*model.Task, error)

TaskList provides a mock function for the type MockStore

func (*MockStore) TaskListPending added in v4.5.0

func (_mock *MockStore) TaskListPending() ([]*model.Task, error)

TaskListPending provides a mock function for the type MockStore

func (*MockStore) TaskUpdate added in v4.0.1

func (_mock *MockStore) TaskUpdate(task *model.Task) error

TaskUpdate provides a mock function for the type MockStore

func (*MockStore) UpdatePipeline

func (_mock *MockStore) UpdatePipeline(pipeline *model.Pipeline) error

UpdatePipeline provides a mock function for the type MockStore

func (*MockStore) UpdateRepo

func (_mock *MockStore) UpdateRepo(repo *model.Repo) error

UpdateRepo provides a mock function for the type MockStore

func (*MockStore) UpdateUser

func (_mock *MockStore) UpdateUser(user *model.User) error

UpdateUser provides a mock function for the type MockStore

func (*MockStore) UserFeed

func (_mock *MockStore) UserFeed(user *model.User) ([]*model.Feed, error)

UserFeed provides a mock function for the type MockStore

func (*MockStore) WorkflowGetTree

func (_mock *MockStore) WorkflowGetTree(pipeline *model.Pipeline) ([]*model.Workflow, error)

WorkflowGetTree provides a mock function for the type MockStore

func (*MockStore) WorkflowLoad

func (_mock *MockStore) WorkflowLoad(n int64) (*model.Workflow, error)

WorkflowLoad provides a mock function for the type MockStore

func (*MockStore) WorkflowUpdate

func (_mock *MockStore) WorkflowUpdate(workflow *model.Workflow) error

WorkflowUpdate provides a mock function for the type MockStore

func (*MockStore) WorkflowsCreate

func (_mock *MockStore) WorkflowsCreate(workflows []*model.Workflow) error

WorkflowsCreate provides a mock function for the type MockStore

func (*MockStore) WorkflowsReplace

func (_mock *MockStore) WorkflowsReplace(pipeline *model.Pipeline, workflows []*model.Workflow) error

WorkflowsReplace provides a mock function for the type MockStore

type MockStore_AgentCreate_Call

type MockStore_AgentCreate_Call struct {
	*mock.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 (*MockStore_AgentCreate_Call) Run

func (*MockStore_AgentCreate_Call) RunAndReturn

func (_c *MockStore_AgentCreate_Call) RunAndReturn(run func(agent *model.Agent) error) *MockStore_AgentCreate_Call

type MockStore_AgentDelete_Call

type MockStore_AgentDelete_Call struct {
	*mock.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 (*MockStore_AgentDelete_Call) Run

func (*MockStore_AgentDelete_Call) RunAndReturn

func (_c *MockStore_AgentDelete_Call) RunAndReturn(run func(agent *model.Agent) error) *MockStore_AgentDelete_Call

type MockStore_AgentFindByToken_Call

type MockStore_AgentFindByToken_Call struct {
	*mock.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 (*MockStore_AgentFindByToken_Call) Run

func (*MockStore_AgentFindByToken_Call) RunAndReturn

type MockStore_AgentFind_Call

type MockStore_AgentFind_Call struct {
	*mock.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 (*MockStore_AgentFind_Call) Run

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

type MockStore_AgentListForOrg_Call struct {
	*mock.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 (*MockStore_AgentListForOrg_Call) Run

func (*MockStore_AgentListForOrg_Call) RunAndReturn

type MockStore_AgentList_Call

type MockStore_AgentList_Call struct {
	*mock.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 (*MockStore_AgentList_Call) Run

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

type MockStore_AgentUpdate_Call struct {
	*mock.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 (*MockStore_AgentUpdate_Call) Run

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

type MockStore_AutoscalerCreate_Call struct {
	*mock.Call
}

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 (*MockStore_AutoscalerCreate_Call) Run added in v4.5.0

func (*MockStore_AutoscalerCreate_Call) RunAndReturn added in v4.5.0

type MockStore_AutoscalerDelete_Call added in v4.5.0

type MockStore_AutoscalerDelete_Call struct {
	*mock.Call
}

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 (*MockStore_AutoscalerDelete_Call) Run added in v4.5.0

func (*MockStore_AutoscalerDelete_Call) RunAndReturn added in v4.5.0

type MockStore_AutoscalerFindByName_Call added in v4.5.0

type MockStore_AutoscalerFindByName_Call struct {
	*mock.Call
}

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 (*MockStore_AutoscalerFindByName_Call) Run added in v4.5.0

func (*MockStore_AutoscalerFindByName_Call) RunAndReturn added in v4.5.0

type MockStore_AutoscalerFindByToken_Call added in v4.5.0

type MockStore_AutoscalerFindByToken_Call struct {
	*mock.Call
}

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 (*MockStore_AutoscalerFindByToken_Call) Run added in v4.5.0

func (*MockStore_AutoscalerFindByToken_Call) RunAndReturn added in v4.5.0

type MockStore_AutoscalerFind_Call added in v4.5.0

type MockStore_AutoscalerFind_Call struct {
	*mock.Call
}

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 (*MockStore_AutoscalerFind_Call) Run added in v4.5.0

func (*MockStore_AutoscalerFind_Call) RunAndReturn added in v4.5.0

type MockStore_AutoscalerList_Call added in v4.5.0

type MockStore_AutoscalerList_Call struct {
	*mock.Call
}

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 (*MockStore_AutoscalerList_Call) Run added in v4.5.0

func (*MockStore_AutoscalerList_Call) RunAndReturn added in v4.5.0

type MockStore_AutoscalerUpdateHeartbeat_Call added in v4.5.0

type MockStore_AutoscalerUpdateHeartbeat_Call struct {
	*mock.Call
}

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 (*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

type MockStore_AutoscalerUpdate_Call struct {
	*mock.Call
}

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 (*MockStore_AutoscalerUpdate_Call) Run added in v4.5.0

func (*MockStore_AutoscalerUpdate_Call) RunAndReturn added in v4.5.0

type MockStore_CacheCleanupExpired_Call

type MockStore_CacheCleanupExpired_Call struct {
	*mock.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 (*MockStore_CacheCleanupExpired_Call) Run

func (*MockStore_CacheCleanupExpired_Call) RunAndReturn

type MockStore_CacheDelete_Call

type MockStore_CacheDelete_Call struct {
	*mock.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 (*MockStore_CacheDelete_Call) Run

func (*MockStore_CacheDelete_Call) RunAndReturn

func (_c *MockStore_CacheDelete_Call) RunAndReturn(run func(key string) error) *MockStore_CacheDelete_Call

type MockStore_CacheGet_Call

type MockStore_CacheGet_Call struct {
	*mock.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 (*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

type MockStore_CacheSet_Call struct {
	*mock.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 (*MockStore_CacheSet_Call) Run

func (*MockStore_CacheSet_Call) RunAndReturn

func (_c *MockStore_CacheSet_Call) RunAndReturn(run func(entry *model.CacheEntry) error) *MockStore_CacheSet_Call

type MockStore_CleanupOrphanedWorkflows_Call

type MockStore_CleanupOrphanedWorkflows_Call struct {
	*mock.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 (*MockStore_CleanupOrphanedWorkflows_Call) Run

func (*MockStore_CleanupOrphanedWorkflows_Call) RunAndReturn

type MockStore_Close_Call

type MockStore_Close_Call struct {
	*mock.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 (*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

type MockStore_ConfigPersist_Call struct {
	*mock.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 (*MockStore_ConfigPersist_Call) Run

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

type MockStore_ConfigsForPipeline_Call struct {
	*mock.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 (*MockStore_ConfigsForPipeline_Call) Run

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

type MockStore_CreatePipeline_Call struct {
	*mock.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 (*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

type MockStore_CreateRedirection_Call struct {
	*mock.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 (*MockStore_CreateRedirection_Call) Run

func (*MockStore_CreateRedirection_Call) RunAndReturn

type MockStore_CreateRepo_Call

type MockStore_CreateRepo_Call struct {
	*mock.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 (*MockStore_CreateRepo_Call) Run

func (*MockStore_CreateRepo_Call) RunAndReturn

func (_c *MockStore_CreateRepo_Call) RunAndReturn(run func(repo *model.Repo) error) *MockStore_CreateRepo_Call

type MockStore_CreateUser_Call

type MockStore_CreateUser_Call struct {
	*mock.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 (*MockStore_CreateUser_Call) Run

func (*MockStore_CreateUser_Call) RunAndReturn

func (_c *MockStore_CreateUser_Call) RunAndReturn(run func(user *model.User) error) *MockStore_CreateUser_Call

type MockStore_CronCreate_Call

type MockStore_CronCreate_Call struct {
	*mock.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 (*MockStore_CronCreate_Call) Run

func (*MockStore_CronCreate_Call) RunAndReturn

func (_c *MockStore_CronCreate_Call) RunAndReturn(run func(cron *model.Cron) error) *MockStore_CronCreate_Call

type MockStore_CronDelete_Call

type MockStore_CronDelete_Call struct {
	*mock.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 (*MockStore_CronDelete_Call) Run

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

type MockStore_CronFind_Call struct {
	*mock.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 (*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

type MockStore_CronGetLock_Call struct {
	*mock.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 (*MockStore_CronGetLock_Call) Run

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

type MockStore_CronListNextExecute_Call struct {
	*mock.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 (*MockStore_CronListNextExecute_Call) Run

func (*MockStore_CronListNextExecute_Call) RunAndReturn

type MockStore_CronList_Call

type MockStore_CronList_Call struct {
	*mock.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

type MockStore_CronUpdate_Call struct {
	*mock.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 (*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

type MockStore_DeletePipeline_Call struct {
	*mock.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 (*MockStore_DeletePipeline_Call) Run

func (*MockStore_DeletePipeline_Call) RunAndReturn

func (_c *MockStore_DeletePipeline_Call) RunAndReturn(run func(pipeline *model.Pipeline) error) *MockStore_DeletePipeline_Call

type MockStore_DeleteRepo_Call

type MockStore_DeleteRepo_Call struct {
	*mock.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 (*MockStore_DeleteRepo_Call) Run

func (*MockStore_DeleteRepo_Call) RunAndReturn

func (_c *MockStore_DeleteRepo_Call) RunAndReturn(run func(repo *model.Repo) error) *MockStore_DeleteRepo_Call

type MockStore_DeleteUser_Call

type MockStore_DeleteUser_Call struct {
	*mock.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 (*MockStore_DeleteUser_Call) Run

func (*MockStore_DeleteUser_Call) RunAndReturn

func (_c *MockStore_DeleteUser_Call) RunAndReturn(run func(user *model.User) error) *MockStore_DeleteUser_Call

type MockStore_DistributedLockAcquire_Call

type MockStore_DistributedLockAcquire_Call struct {
	*mock.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 (*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

type MockStore_DistributedLockCleanup_Call struct {
	*mock.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 (*MockStore_DistributedLockCleanup_Call) Run

func (*MockStore_DistributedLockCleanup_Call) RunAndReturn

type MockStore_DistributedLockExtend_Call

type MockStore_DistributedLockExtend_Call struct {
	*mock.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 (*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

type MockStore_DistributedLockInit_Call struct {
	*mock.Call
}

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 (*MockStore_DistributedLockInit_Call) Run added in v4.0.1

func (*MockStore_DistributedLockInit_Call) RunAndReturn added in v4.0.1

type MockStore_DistributedLockList_Call

type MockStore_DistributedLockList_Call struct {
	*mock.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 (*MockStore_DistributedLockList_Call) Run

func (*MockStore_DistributedLockList_Call) RunAndReturn

type MockStore_DistributedLockRelease_Call

type MockStore_DistributedLockRelease_Call struct {
	*mock.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 (*MockStore_DistributedLockRelease_Call) Run

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

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

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

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

type MockStore_ForgeCreate_Call struct {
	*mock.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 (*MockStore_ForgeCreate_Call) Run

func (*MockStore_ForgeCreate_Call) RunAndReturn

func (_c *MockStore_ForgeCreate_Call) RunAndReturn(run func(forge *model.Forge) error) *MockStore_ForgeCreate_Call

type MockStore_ForgeDelete_Call

type MockStore_ForgeDelete_Call struct {
	*mock.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 (*MockStore_ForgeDelete_Call) Run

func (*MockStore_ForgeDelete_Call) RunAndReturn

func (_c *MockStore_ForgeDelete_Call) RunAndReturn(run func(forge *model.Forge) error) *MockStore_ForgeDelete_Call

type MockStore_ForgeGet_Call

type MockStore_ForgeGet_Call struct {
	*mock.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 (*MockStore_ForgeGet_Call) Run

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

type MockStore_ForgeList_Call struct {
	*mock.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 (*MockStore_ForgeList_Call) Run

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

type MockStore_ForgeUpdate_Call struct {
	*mock.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 (*MockStore_ForgeUpdate_Call) Run

func (*MockStore_ForgeUpdate_Call) RunAndReturn

func (_c *MockStore_ForgeUpdate_Call) RunAndReturn(run func(forge *model.Forge) error) *MockStore_ForgeUpdate_Call

type MockStore_GetActivePipelineList_Call

type MockStore_GetActivePipelineList_Call struct {
	*mock.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 (*MockStore_GetActivePipelineList_Call) Run

func (*MockStore_GetActivePipelineList_Call) RunAndReturn

type MockStore_GetPipelineBadge_Call

type MockStore_GetPipelineBadge_Call struct {
	*mock.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 (*MockStore_GetPipelineBadge_Call) Run

func (*MockStore_GetPipelineBadge_Call) RunAndReturn

type MockStore_GetPipelineCountByRepo_Call

type MockStore_GetPipelineCountByRepo_Call struct {
	*mock.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 (*MockStore_GetPipelineCountByRepo_Call) Run

func (*MockStore_GetPipelineCountByRepo_Call) RunAndReturn

type MockStore_GetPipelineCount_Call

type MockStore_GetPipelineCount_Call struct {
	*mock.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 (*MockStore_GetPipelineCount_Call) Run

func (*MockStore_GetPipelineCount_Call) RunAndReturn

type MockStore_GetPipelineLastBefore_Call

type MockStore_GetPipelineLastBefore_Call struct {
	*mock.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 (*MockStore_GetPipelineLastBefore_Call) Run

func (*MockStore_GetPipelineLastBefore_Call) RunAndReturn

type MockStore_GetPipelineLast_Call

type MockStore_GetPipelineLast_Call struct {
	*mock.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 (*MockStore_GetPipelineLast_Call) Run

func (*MockStore_GetPipelineLast_Call) RunAndReturn

type MockStore_GetPipelineListKeyset_Call

type MockStore_GetPipelineListKeyset_Call struct {
	*mock.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 (*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

type MockStore_GetPipelineList_Call struct {
	*mock.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 (*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

type MockStore_GetPipelineLogPurged_Call struct {
	*mock.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 (*MockStore_GetPipelineLogPurged_Call) Run

func (*MockStore_GetPipelineLogPurged_Call) RunAndReturn

type MockStore_GetPipelineNumber_Call

type MockStore_GetPipelineNumber_Call struct {
	*mock.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 (*MockStore_GetPipelineNumber_Call) Run

func (*MockStore_GetPipelineNumber_Call) RunAndReturn

type MockStore_GetPipelineQueue_Call

type MockStore_GetPipelineQueue_Call struct {
	*mock.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 (*MockStore_GetPipelineQueue_Call) Run

func (*MockStore_GetPipelineQueue_Call) RunAndReturn

type MockStore_GetPipeline_Call

type MockStore_GetPipeline_Call struct {
	*mock.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 (*MockStore_GetPipeline_Call) Run

func (*MockStore_GetPipeline_Call) RunAndReturn

type MockStore_GetRepoCount_Call

type MockStore_GetRepoCount_Call struct {
	*mock.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 (*MockStore_GetRepoCount_Call) Run

func (*MockStore_GetRepoCount_Call) RunAndReturn

func (_c *MockStore_GetRepoCount_Call) RunAndReturn(run func() (int64, error)) *MockStore_GetRepoCount_Call

type MockStore_GetRepoForgeID_Call

type MockStore_GetRepoForgeID_Call struct {
	*mock.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 (*MockStore_GetRepoForgeID_Call) Run

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

type MockStore_GetRepoLatestPipelines_Call struct {
	*mock.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 (*MockStore_GetRepoLatestPipelines_Call) Run

func (*MockStore_GetRepoLatestPipelines_Call) RunAndReturn

type MockStore_GetRepoNameFallback_Call

type MockStore_GetRepoNameFallback_Call struct {
	*mock.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 (*MockStore_GetRepoNameFallback_Call) Run

func (*MockStore_GetRepoNameFallback_Call) RunAndReturn

type MockStore_GetRepoName_Call

type MockStore_GetRepoName_Call struct {
	*mock.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 (*MockStore_GetRepoName_Call) Run

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

type MockStore_GetRepo_Call struct {
	*mock.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 (*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

type MockStore_GetUserCount_Call struct {
	*mock.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 (*MockStore_GetUserCount_Call) Run

func (*MockStore_GetUserCount_Call) RunAndReturn

func (_c *MockStore_GetUserCount_Call) RunAndReturn(run func() (int64, error)) *MockStore_GetUserCount_Call

type MockStore_GetUserList_Call

type MockStore_GetUserList_Call struct {
	*mock.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 (*MockStore_GetUserList_Call) Run

func (*MockStore_GetUserList_Call) RunAndReturn

type MockStore_GetUserLogin_Call

type MockStore_GetUserLogin_Call struct {
	*mock.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 (*MockStore_GetUserLogin_Call) Run

func (*MockStore_GetUserLogin_Call) RunAndReturn

type MockStore_GetUserRemoteID_Call

type MockStore_GetUserRemoteID_Call struct {
	*mock.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 (*MockStore_GetUserRemoteID_Call) Run

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

type MockStore_GetUser_Call struct {
	*mock.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 (*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

type MockStore_GlobalRegistryFind_Call struct {
	*mock.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 (*MockStore_GlobalRegistryFind_Call) Run

func (*MockStore_GlobalRegistryFind_Call) RunAndReturn

type MockStore_GlobalRegistryList_Call

type MockStore_GlobalRegistryList_Call struct {
	*mock.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 (*MockStore_GlobalRegistryList_Call) Run

func (*MockStore_GlobalRegistryList_Call) RunAndReturn

type MockStore_GlobalSecretFind_Call

type MockStore_GlobalSecretFind_Call struct {
	*mock.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 (*MockStore_GlobalSecretFind_Call) Run

func (*MockStore_GlobalSecretFind_Call) RunAndReturn

type MockStore_GlobalSecretList_Call

type MockStore_GlobalSecretList_Call struct {
	*mock.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 (*MockStore_GlobalSecretList_Call) Run

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

type MockStore_HasRedirectionForRepo_Call struct {
	*mock.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 (*MockStore_HasRedirectionForRepo_Call) Run

func (*MockStore_HasRedirectionForRepo_Call) RunAndReturn

type MockStore_LogAppend_Call

type MockStore_LogAppend_Call struct {
	*mock.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 (*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

type MockStore_LogDelete_Call struct {
	*mock.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 (*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

type MockStore_LogFindAfter_Call struct {
	*mock.Call
}

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 (*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

type MockStore_LogFind_Call struct {
	*mock.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

type MockStore_MaintenanceConfigGetByActionType_Call struct {
	*mock.Call
}

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 (*MockStore_MaintenanceConfigGetByActionType_Call) Run added in v4.1.0

func (*MockStore_MaintenanceConfigGetByActionType_Call) RunAndReturn added in v4.1.0

type MockStore_MaintenanceConfigGet_Call

type MockStore_MaintenanceConfigGet_Call struct {
	*mock.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 (*MockStore_MaintenanceConfigGet_Call) Run

func (*MockStore_MaintenanceConfigGet_Call) RunAndReturn

type MockStore_MaintenanceConfigUpdateByActionType_Call added in v4.1.0

type MockStore_MaintenanceConfigUpdateByActionType_Call struct {
	*mock.Call
}

MockStore_MaintenanceConfigUpdateByActionType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaintenanceConfigUpdateByActionType'

func (*MockStore_MaintenanceConfigUpdateByActionType_Call) Return added in v4.1.0

func (*MockStore_MaintenanceConfigUpdateByActionType_Call) Run added in v4.1.0

func (*MockStore_MaintenanceConfigUpdateByActionType_Call) RunAndReturn added in v4.1.0

type MockStore_MaintenanceConfigUpdate_Call

type MockStore_MaintenanceConfigUpdate_Call struct {
	*mock.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 (*MockStore_MaintenanceConfigUpdate_Call) Run

func (*MockStore_MaintenanceConfigUpdate_Call) RunAndReturn

type MockStore_MaintenanceLogCreate_Call

type MockStore_MaintenanceLogCreate_Call struct {
	*mock.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 (*MockStore_MaintenanceLogCreate_Call) Run

func (*MockStore_MaintenanceLogCreate_Call) RunAndReturn

type MockStore_MaintenanceLogList_Call

type MockStore_MaintenanceLogList_Call struct {
	*mock.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 (*MockStore_MaintenanceLogList_Call) Run

func (*MockStore_MaintenanceLogList_Call) RunAndReturn

type MockStore_MaintenanceRunMySQL_Call

type MockStore_MaintenanceRunMySQL_Call struct {
	*mock.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 (*MockStore_MaintenanceRunMySQL_Call) Run

func (*MockStore_MaintenanceRunMySQL_Call) RunAndReturn

type MockStore_MaintenanceRunPostgreSQL_Call

type MockStore_MaintenanceRunPostgreSQL_Call struct {
	*mock.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 (*MockStore_MaintenanceRunPostgreSQL_Call) Run

func (*MockStore_MaintenanceRunPostgreSQL_Call) RunAndReturn

type MockStore_MaintenanceRunSQLite_Call

type MockStore_MaintenanceRunSQLite_Call struct {
	*mock.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 (*MockStore_MaintenanceRunSQLite_Call) Run

func (*MockStore_MaintenanceRunSQLite_Call) RunAndReturn

type MockStore_MaintenanceStatsGet_Call

type MockStore_MaintenanceStatsGet_Call struct {
	*mock.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 (*MockStore_MaintenanceStatsGet_Call) Run

func (*MockStore_MaintenanceStatsGet_Call) RunAndReturn

type MockStore_MaintenanceStatsUpdate_Call

type MockStore_MaintenanceStatsUpdate_Call struct {
	*mock.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 (*MockStore_MaintenanceStatsUpdate_Call) Run

func (*MockStore_MaintenanceStatsUpdate_Call) RunAndReturn

type MockStore_Migrate_Call

type MockStore_Migrate_Call struct {
	*mock.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 (*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

type MockStore_OrgCreate_Call struct {
	*mock.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 (*MockStore_OrgCreate_Call) Run

func (*MockStore_OrgCreate_Call) RunAndReturn

func (_c *MockStore_OrgCreate_Call) RunAndReturn(run func(org *model.Org) error) *MockStore_OrgCreate_Call

type MockStore_OrgDelete_Call

type MockStore_OrgDelete_Call struct {
	*mock.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 (*MockStore_OrgDelete_Call) Run

func (*MockStore_OrgDelete_Call) RunAndReturn

func (_c *MockStore_OrgDelete_Call) RunAndReturn(run func(n int64) error) *MockStore_OrgDelete_Call

type MockStore_OrgFindByName_Call

type MockStore_OrgFindByName_Call struct {
	*mock.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 (*MockStore_OrgFindByName_Call) Run

func (*MockStore_OrgFindByName_Call) RunAndReturn

type MockStore_OrgGet_Call

type MockStore_OrgGet_Call struct {
	*mock.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 (*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

type MockStore_OrgList_Call struct {
	*mock.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

type MockStore_OrgRegistryFind_Call struct {
	*mock.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 (*MockStore_OrgRegistryFind_Call) Run

func (*MockStore_OrgRegistryFind_Call) RunAndReturn

type MockStore_OrgRegistryList_Call

type MockStore_OrgRegistryList_Call struct {
	*mock.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 (*MockStore_OrgRegistryList_Call) Run

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

type MockStore_OrgRepoList_Call struct {
	*mock.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 (*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

type MockStore_OrgSecretFind_Call struct {
	*mock.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 (*MockStore_OrgSecretFind_Call) Run

func (*MockStore_OrgSecretFind_Call) RunAndReturn

type MockStore_OrgSecretList_Call

type MockStore_OrgSecretList_Call struct {
	*mock.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 (*MockStore_OrgSecretList_Call) Run

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

type MockStore_OrgUpdate_Call struct {
	*mock.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 (*MockStore_OrgUpdate_Call) Run

func (*MockStore_OrgUpdate_Call) RunAndReturn

func (_c *MockStore_OrgUpdate_Call) RunAndReturn(run func(org *model.Org) error) *MockStore_OrgUpdate_Call

type MockStore_PermFind_Call

type MockStore_PermFind_Call struct {
	*mock.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 (*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

type MockStore_PermUpsert_Call struct {
	*mock.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 (*MockStore_PermUpsert_Call) Run

func (*MockStore_PermUpsert_Call) RunAndReturn

func (_c *MockStore_PermUpsert_Call) RunAndReturn(run func(perm *model.Perm) error) *MockStore_PermUpsert_Call

type MockStore_Ping_Call

type MockStore_Ping_Call struct {
	*mock.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 (*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

type MockStore_PipelineConfigCreate_Call struct {
	*mock.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 (*MockStore_PipelineConfigCreate_Call) Run

func (*MockStore_PipelineConfigCreate_Call) RunAndReturn

type MockStore_PubSubMessageCleanupOlderThan_Call

type MockStore_PubSubMessageCleanupOlderThan_Call struct {
	*mock.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 (*MockStore_PubSubMessageCleanupOlderThan_Call) Run

func (*MockStore_PubSubMessageCleanupOlderThan_Call) RunAndReturn

type MockStore_PubSubMessageInsert_Call

type MockStore_PubSubMessageInsert_Call struct {
	*mock.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 (*MockStore_PubSubMessageInsert_Call) Run

func (*MockStore_PubSubMessageInsert_Call) RunAndReturn

type MockStore_PubSubMessageListAfter_Call

type MockStore_PubSubMessageListAfter_Call struct {
	*mock.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 (*MockStore_PubSubMessageListAfter_Call) Run

func (*MockStore_PubSubMessageListAfter_Call) RunAndReturn

type MockStore_RegistryCreate_Call

type MockStore_RegistryCreate_Call struct {
	*mock.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 (*MockStore_RegistryCreate_Call) Run

func (*MockStore_RegistryCreate_Call) RunAndReturn

func (_c *MockStore_RegistryCreate_Call) RunAndReturn(run func(registry *model.Registry) error) *MockStore_RegistryCreate_Call

type MockStore_RegistryDelete_Call

type MockStore_RegistryDelete_Call struct {
	*mock.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 (*MockStore_RegistryDelete_Call) Run

func (*MockStore_RegistryDelete_Call) RunAndReturn

func (_c *MockStore_RegistryDelete_Call) RunAndReturn(run func(registry *model.Registry) error) *MockStore_RegistryDelete_Call

type MockStore_RegistryFind_Call

type MockStore_RegistryFind_Call struct {
	*mock.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 (*MockStore_RegistryFind_Call) Run

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

type MockStore_RegistryListAll_Call struct {
	*mock.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 (*MockStore_RegistryListAll_Call) Run

func (*MockStore_RegistryListAll_Call) RunAndReturn

type MockStore_RegistryList_Call

type MockStore_RegistryList_Call struct {
	*mock.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 (*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

type MockStore_RegistryUpdate_Call struct {
	*mock.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 (*MockStore_RegistryUpdate_Call) Run

func (*MockStore_RegistryUpdate_Call) RunAndReturn

func (_c *MockStore_RegistryUpdate_Call) RunAndReturn(run func(registry *model.Registry) error) *MockStore_RegistryUpdate_Call

type MockStore_RepoListAll_Call

type MockStore_RepoListAll_Call struct {
	*mock.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 (*MockStore_RepoListAll_Call) Run

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

type MockStore_RepoListLatest_Call struct {
	*mock.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 (*MockStore_RepoListLatest_Call) Run

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

type MockStore_RepoList_Call struct {
	*mock.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

type MockStore_SecretCreate_Call struct {
	*mock.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 (*MockStore_SecretCreate_Call) Run

func (*MockStore_SecretCreate_Call) RunAndReturn

func (_c *MockStore_SecretCreate_Call) RunAndReturn(run func(secret *model.Secret) error) *MockStore_SecretCreate_Call

type MockStore_SecretDelete_Call

type MockStore_SecretDelete_Call struct {
	*mock.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 (*MockStore_SecretDelete_Call) Run

func (*MockStore_SecretDelete_Call) RunAndReturn

func (_c *MockStore_SecretDelete_Call) RunAndReturn(run func(secret *model.Secret) error) *MockStore_SecretDelete_Call

type MockStore_SecretFind_Call

type MockStore_SecretFind_Call struct {
	*mock.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 (*MockStore_SecretFind_Call) Run

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

type MockStore_SecretListAll_Call struct {
	*mock.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 (*MockStore_SecretListAll_Call) Run

func (*MockStore_SecretListAll_Call) RunAndReturn

func (_c *MockStore_SecretListAll_Call) RunAndReturn(run func() ([]*model.Secret, error)) *MockStore_SecretListAll_Call

type MockStore_SecretList_Call

type MockStore_SecretList_Call struct {
	*mock.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 (*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

type MockStore_SecretUpdate_Call struct {
	*mock.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 (*MockStore_SecretUpdate_Call) Run

func (*MockStore_SecretUpdate_Call) RunAndReturn

func (_c *MockStore_SecretUpdate_Call) RunAndReturn(run func(secret *model.Secret) error) *MockStore_SecretUpdate_Call

type MockStore_ServerConfigDelete_Call

type MockStore_ServerConfigDelete_Call struct {
	*mock.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 (*MockStore_ServerConfigDelete_Call) Run

func (*MockStore_ServerConfigDelete_Call) RunAndReturn

type MockStore_ServerConfigGet_Call

type MockStore_ServerConfigGet_Call struct {
	*mock.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 (*MockStore_ServerConfigGet_Call) Run

func (*MockStore_ServerConfigGet_Call) RunAndReturn

type MockStore_ServerConfigSet_Call

type MockStore_ServerConfigSet_Call struct {
	*mock.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 (*MockStore_ServerConfigSet_Call) Run

func (*MockStore_ServerConfigSet_Call) RunAndReturn

type MockStore_SetPipelineLogPurged_Call

type MockStore_SetPipelineLogPurged_Call struct {
	*mock.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 (*MockStore_SetPipelineLogPurged_Call) Run

func (*MockStore_SetPipelineLogPurged_Call) RunAndReturn

type MockStore_StepByUUID_Call

type MockStore_StepByUUID_Call struct {
	*mock.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 (*MockStore_StepByUUID_Call) Run

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

type MockStore_StepChild_Call struct {
	*mock.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 (*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

type MockStore_StepFind_Call struct {
	*mock.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 (*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

type MockStore_StepListFromWorkflowFind_Call struct {
	*mock.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 (*MockStore_StepListFromWorkflowFind_Call) Run

func (*MockStore_StepListFromWorkflowFind_Call) RunAndReturn

type MockStore_StepList_Call

type MockStore_StepList_Call struct {
	*mock.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

type MockStore_StepLoad_Call struct {
	*mock.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 (*MockStore_StepLoad_Call) Run

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

type MockStore_StepUpdate_Call struct {
	*mock.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 (*MockStore_StepUpdate_Call) Run

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

type MockStore_TaskAtomicAssign_Call struct {
	*mock.Call
}

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 (*MockStore_TaskAtomicAssign_Call) Run added in v4.0.1

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

type MockStore_TaskDelete_Call struct {
	*mock.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 (*MockStore_TaskDelete_Call) Run

func (*MockStore_TaskDelete_Call) RunAndReturn

func (_c *MockStore_TaskDelete_Call) RunAndReturn(run func(s string) error) *MockStore_TaskDelete_Call

type MockStore_TaskInsert_Call

type MockStore_TaskInsert_Call struct {
	*mock.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 (*MockStore_TaskInsert_Call) Run

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

type MockStore_TaskListPending_Call struct {
	*mock.Call
}

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 (*MockStore_TaskListPending_Call) Run added in v4.5.0

func (*MockStore_TaskListPending_Call) RunAndReturn added in v4.5.0

type MockStore_TaskList_Call

type MockStore_TaskList_Call struct {
	*mock.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

type MockStore_TaskUpdate_Call struct {
	*mock.Call
}

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 (*MockStore_TaskUpdate_Call) Run added in v4.0.1

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

type MockStore_UpdatePipeline_Call struct {
	*mock.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 (*MockStore_UpdatePipeline_Call) Run

func (*MockStore_UpdatePipeline_Call) RunAndReturn

func (_c *MockStore_UpdatePipeline_Call) RunAndReturn(run func(pipeline *model.Pipeline) error) *MockStore_UpdatePipeline_Call

type MockStore_UpdateRepo_Call

type MockStore_UpdateRepo_Call struct {
	*mock.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 (*MockStore_UpdateRepo_Call) Run

func (*MockStore_UpdateRepo_Call) RunAndReturn

func (_c *MockStore_UpdateRepo_Call) RunAndReturn(run func(repo *model.Repo) error) *MockStore_UpdateRepo_Call

type MockStore_UpdateUser_Call

type MockStore_UpdateUser_Call struct {
	*mock.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 (*MockStore_UpdateUser_Call) Run

func (*MockStore_UpdateUser_Call) RunAndReturn

func (_c *MockStore_UpdateUser_Call) RunAndReturn(run func(user *model.User) error) *MockStore_UpdateUser_Call

type MockStore_UserFeed_Call

type MockStore_UserFeed_Call struct {
	*mock.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

type MockStore_WorkflowGetTree_Call struct {
	*mock.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 (*MockStore_WorkflowGetTree_Call) Run

func (*MockStore_WorkflowGetTree_Call) RunAndReturn

type MockStore_WorkflowLoad_Call

type MockStore_WorkflowLoad_Call struct {
	*mock.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 (*MockStore_WorkflowLoad_Call) Run

func (*MockStore_WorkflowLoad_Call) RunAndReturn

type MockStore_WorkflowUpdate_Call

type MockStore_WorkflowUpdate_Call struct {
	*mock.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 (*MockStore_WorkflowUpdate_Call) Run

func (*MockStore_WorkflowUpdate_Call) RunAndReturn

func (_c *MockStore_WorkflowUpdate_Call) RunAndReturn(run func(workflow *model.Workflow) error) *MockStore_WorkflowUpdate_Call

type MockStore_WorkflowsCreate_Call

type MockStore_WorkflowsCreate_Call struct {
	*mock.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 (*MockStore_WorkflowsCreate_Call) Run

func (*MockStore_WorkflowsCreate_Call) RunAndReturn

func (_c *MockStore_WorkflowsCreate_Call) RunAndReturn(run func(workflows []*model.Workflow) error) *MockStore_WorkflowsCreate_Call

type MockStore_WorkflowsReplace_Call

type MockStore_WorkflowsReplace_Call struct {
	*mock.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 (*MockStore_WorkflowsReplace_Call) Run

func (*MockStore_WorkflowsReplace_Call) RunAndReturn

func (_c *MockStore_WorkflowsReplace_Call) RunAndReturn(run func(pipeline *model.Pipeline, workflows []*model.Workflow) error) *MockStore_WorkflowsReplace_Call

Jump to

Keyboard shortcuts

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