Documentation
¶
Index ¶
- type Store
- func (_m *Store) AddEntityEvent(ctx context.Context, entity params.ForgeEntity, event params.EventType, ...) error
- func (_m *Store) AddInstanceEvent(ctx context.Context, instanceNameOrID string, event params.EventType, ...) error
- func (_m *Store) BreakLockJobIsQueued(ctx context.Context, jobID int64) error
- func (_m *Store) ControllerInfo() (params.ControllerInfo, error)
- func (_m *Store) CreateEnterprise(ctx context.Context, name string, credentialsName params.ForgeCredentials, ...) (params.Enterprise, error)
- func (_m *Store) CreateEntityPool(ctx context.Context, entity params.ForgeEntity, param params.CreatePoolParams) (params.Pool, error)
- func (_m *Store) CreateEntityScaleSet(_a0 context.Context, entity params.ForgeEntity, ...) (params.ScaleSet, error)
- func (_m *Store) CreateFileObject(ctx context.Context, param params.CreateFileObjectParams, reader io.Reader) (params.FileObject, error)
- func (_m *Store) CreateGiteaCredentials(ctx context.Context, param params.CreateGiteaCredentialsParams) (params.ForgeCredentials, error)
- func (_m *Store) CreateGiteaEndpoint(_a0 context.Context, param params.CreateGiteaEndpointParams) (params.ForgeEndpoint, error)
- func (_m *Store) CreateGithubCredentials(ctx context.Context, param params.CreateGithubCredentialsParams) (params.ForgeCredentials, error)
- func (_m *Store) CreateGithubEndpoint(ctx context.Context, param params.CreateGithubEndpointParams) (params.ForgeEndpoint, error)
- func (_m *Store) CreateInstance(ctx context.Context, poolID string, param params.CreateInstanceParams) (params.Instance, error)
- func (_m *Store) CreateOrUpdateJob(ctx context.Context, job params.Job) (params.Job, error)
- func (_m *Store) CreateOrganization(ctx context.Context, name string, credentials params.ForgeCredentials, ...) (params.Organization, error)
- func (_m *Store) CreateRepository(ctx context.Context, owner string, name string, ...) (params.Repository, error)
- func (_m *Store) CreateScaleSetInstance(_a0 context.Context, scaleSetID uint, param params.CreateInstanceParams) (params.Instance, error)
- func (_m *Store) CreateTemplate(ctx context.Context, param params.CreateTemplateParams) (params.Template, error)
- func (_m *Store) CreateUser(ctx context.Context, user params.NewUserParams) (params.User, error)
- func (_m *Store) DeleteEnterprise(ctx context.Context, enterpriseID string) error
- func (_m *Store) DeleteEntityPool(ctx context.Context, entity params.ForgeEntity, poolID string) error
- func (_m *Store) DeleteFileObject(ctx context.Context, objID uint) error
- func (_m *Store) DeleteFileObjectsByTags(ctx context.Context, tags []string) (int64, error)
- func (_m *Store) DeleteGiteaCredentials(ctx context.Context, id uint) error
- func (_m *Store) DeleteGiteaEndpoint(_a0 context.Context, name string) error
- func (_m *Store) DeleteGithubCredentials(ctx context.Context, id uint) error
- func (_m *Store) DeleteGithubEndpoint(ctx context.Context, name string) error
- func (_m *Store) DeleteInactionableJobs(ctx context.Context, olderThan time.Duration) error
- func (_m *Store) DeleteInstance(ctx context.Context, poolID string, instanceNameOrID string) error
- func (_m *Store) DeleteInstanceByName(ctx context.Context, instanceName string) error
- func (_m *Store) DeleteJob(ctx context.Context, jobID int64) error
- func (_m *Store) DeleteOrganization(ctx context.Context, orgID string) error
- func (_m *Store) DeletePoolByID(ctx context.Context, poolID string) error
- func (_m *Store) DeleteRepository(ctx context.Context, repoID string) error
- func (_m *Store) DeleteScaleSetByID(ctx context.Context, scaleSetID uint) error
- func (_m *Store) DeleteTemplate(ctx context.Context, id uint) error
- func (_m *Store) EXPECT() *Store_Expecter
- func (_m *Store) FindPoolsMatchingAllTags(ctx context.Context, entityType params.ForgeEntityType, entityID string, ...) ([]params.Pool, error)
- func (_m *Store) ForceUpdateInstance(ctx context.Context, instanceName string, param params.UpdateInstanceParams) (params.Instance, error)
- func (_m *Store) GetAdminUser(ctx context.Context) (params.User, error)
- func (_m *Store) GetEnterprise(ctx context.Context, name string, endpointName string) (params.Enterprise, error)
- func (_m *Store) GetEnterpriseByID(ctx context.Context, enterpriseID string) (params.Enterprise, error)
- func (_m *Store) GetEntityPool(ctx context.Context, entity params.ForgeEntity, poolID string) (params.Pool, error)
- func (_m *Store) GetFileObject(ctx context.Context, objID uint) (params.FileObject, error)
- func (_m *Store) GetForgeEntity(_a0 context.Context, entityType params.ForgeEntityType, entityID string) (params.ForgeEntity, error)
- func (_m *Store) GetGiteaCredentials(ctx context.Context, id uint, detailed bool) (params.ForgeCredentials, error)
- func (_m *Store) GetGiteaCredentialsByName(ctx context.Context, name string, detailed bool) (params.ForgeCredentials, error)
- func (_m *Store) GetGiteaEndpoint(_a0 context.Context, name string) (params.ForgeEndpoint, error)
- func (_m *Store) GetGithubCredentials(ctx context.Context, id uint, detailed bool) (params.ForgeCredentials, error)
- func (_m *Store) GetGithubCredentialsByName(ctx context.Context, name string, detailed bool) (params.ForgeCredentials, error)
- func (_m *Store) GetGithubEndpoint(ctx context.Context, name string) (params.ForgeEndpoint, error)
- func (_m *Store) GetInstance(ctx context.Context, instanceNameOrID string) (params.Instance, error)
- func (_m *Store) GetJobByID(ctx context.Context, jobID int64) (params.Job, error)
- func (_m *Store) GetOrganization(ctx context.Context, name string, endpointName string) (params.Organization, error)
- func (_m *Store) GetOrganizationByID(ctx context.Context, orgID string) (params.Organization, error)
- func (_m *Store) GetPoolByID(ctx context.Context, poolID string) (params.Pool, error)
- func (_m *Store) GetRepository(ctx context.Context, owner string, name string, endpointName string) (params.Repository, error)
- func (_m *Store) GetRepositoryByID(ctx context.Context, repoID string) (params.Repository, error)
- func (_m *Store) GetScaleSetByID(ctx context.Context, scaleSet uint) (params.ScaleSet, error)
- func (_m *Store) GetTemplate(ctx context.Context, id uint) (params.Template, error)
- func (_m *Store) GetTemplateByName(ctx context.Context, name string) (params.Template, error)
- func (_m *Store) GetUser(ctx context.Context, user string) (params.User, error)
- func (_m *Store) GetUserByID(ctx context.Context, userID string) (params.User, error)
- func (_m *Store) HasAdminUser(ctx context.Context) bool
- func (_m *Store) HasEntitiesWithAgentModeEnabled() (bool, error)
- func (_m *Store) InitController() (params.ControllerInfo, error)
- func (_m *Store) ListAllInstances(ctx context.Context) ([]params.Instance, error)
- func (_m *Store) ListAllJobs(ctx context.Context) ([]params.Job, error)
- func (_m *Store) ListAllPools(ctx context.Context) ([]params.Pool, error)
- func (_m *Store) ListAllScaleSets(ctx context.Context) ([]params.ScaleSet, error)
- func (_m *Store) ListEnterprises(ctx context.Context, filter params.EnterpriseFilter) ([]params.Enterprise, error)
- func (_m *Store) ListEntityInstances(ctx context.Context, entity params.ForgeEntity) ([]params.Instance, error)
- func (_m *Store) ListEntityJobsByStatus(ctx context.Context, entityType params.ForgeEntityType, entityID string, ...) ([]params.Job, error)
- func (_m *Store) ListEntityPools(ctx context.Context, entity params.ForgeEntity) ([]params.Pool, error)
- func (_m *Store) ListEntityScaleSets(_a0 context.Context, entity params.ForgeEntity) ([]params.ScaleSet, error)
- func (_m *Store) ListFileObjects(ctx context.Context, page uint64, pageSize uint64) (params.FileObjectPaginatedResponse, error)
- func (_m *Store) ListGiteaCredentials(ctx context.Context) ([]params.ForgeCredentials, error)
- func (_m *Store) ListGiteaEndpoints(_a0 context.Context) ([]params.ForgeEndpoint, error)
- func (_m *Store) ListGithubCredentials(ctx context.Context) ([]params.ForgeCredentials, error)
- func (_m *Store) ListGithubEndpoints(ctx context.Context) ([]params.ForgeEndpoint, error)
- func (_m *Store) ListJobsByStatus(ctx context.Context, status params.JobStatus) ([]params.Job, error)
- func (_m *Store) ListOrganizations(ctx context.Context, filter params.OrganizationFilter) ([]params.Organization, error)
- func (_m *Store) ListPoolInstances(ctx context.Context, poolID string, oudatedOnly bool) ([]params.Instance, error)
- func (_m *Store) ListRepositories(ctx context.Context, filter params.RepositoryFilter) ([]params.Repository, error)
- func (_m *Store) ListScaleSetInstances(_a0 context.Context, scalesetID uint, outdatedOnly bool) ([]params.Instance, error)
- func (_m *Store) ListTemplates(ctx context.Context, osType *garm_provider_commonparams.OSType, ...) ([]params.Template, error)
- func (_m *Store) LockJob(ctx context.Context, jobID int64, entityID string) error
- func (_m *Store) OpenFileObjectContent(ctx context.Context, objID uint) (io.ReadCloser, error)
- func (_m *Store) PoolInstanceCount(ctx context.Context, poolID string) (int64, error)
- func (_m *Store) SearchFileObjectByTags(ctx context.Context, tags []string, page uint64, pageSize uint64) (params.FileObjectPaginatedResponse, error)
- func (_m *Store) SetEntityPoolManagerStatus(ctx context.Context, entity params.ForgeEntity, param params.PoolManagerStatus) error
- func (_m *Store) SetScaleSetDesiredRunnerCount(ctx context.Context, scaleSetID uint, desiredRunnerCount int) error
- func (_m *Store) SetScaleSetLastMessageID(ctx context.Context, scaleSetID uint, lastMessageID int64) error
- func (_m *Store) UnlockJob(ctx context.Context, jobID int64, entityID string) error
- func (_m *Store) UpdateCachedGARMAgentRelease(releaseData []byte, fetchedAt time.Time) error
- func (_m *Store) UpdateController(info params.UpdateControllerParams) (params.ControllerInfo, error)
- func (_m *Store) UpdateEnterprise(ctx context.Context, enterpriseID string, param params.UpdateEntityParams) (params.Enterprise, error)
- func (_m *Store) UpdateEntityPool(ctx context.Context, entity params.ForgeEntity, poolID string, ...) (params.Pool, error)
- func (_m *Store) UpdateEntityScaleSet(_a0 context.Context, entity params.ForgeEntity, scaleSetID uint, ...) (params.ScaleSet, error)
- func (_m *Store) UpdateFileObject(ctx context.Context, objID uint, param params.UpdateFileObjectParams) (params.FileObject, error)
- func (_m *Store) UpdateGiteaCredentials(ctx context.Context, id uint, param params.UpdateGiteaCredentialsParams) (params.ForgeCredentials, error)
- func (_m *Store) UpdateGiteaEndpoint(_a0 context.Context, name string, param params.UpdateGiteaEndpointParams) (params.ForgeEndpoint, error)
- func (_m *Store) UpdateGithubCredentials(ctx context.Context, id uint, param params.UpdateGithubCredentialsParams) (params.ForgeCredentials, error)
- func (_m *Store) UpdateGithubEndpoint(ctx context.Context, name string, param params.UpdateGithubEndpointParams) (params.ForgeEndpoint, error)
- func (_m *Store) UpdateInstance(ctx context.Context, instanceNameOrID string, ...) (params.Instance, error)
- func (_m *Store) UpdateOrganization(ctx context.Context, orgID string, param params.UpdateEntityParams) (params.Organization, error)
- func (_m *Store) UpdateRepository(ctx context.Context, repoID string, param params.UpdateEntityParams) (params.Repository, error)
- func (_m *Store) UpdateTemplate(ctx context.Context, id uint, param params.UpdateTemplateParams) (params.Template, error)
- func (_m *Store) UpdateUser(ctx context.Context, user string, param params.UpdateUserParams) (params.User, error)
- type Store_AddEntityEvent_Call
- type Store_AddInstanceEvent_Call
- type Store_BreakLockJobIsQueued_Call
- func (_c *Store_BreakLockJobIsQueued_Call) Return(_a0 error) *Store_BreakLockJobIsQueued_Call
- func (_c *Store_BreakLockJobIsQueued_Call) Run(run func(ctx context.Context, jobID int64)) *Store_BreakLockJobIsQueued_Call
- func (_c *Store_BreakLockJobIsQueued_Call) RunAndReturn(run func(context.Context, int64) error) *Store_BreakLockJobIsQueued_Call
- type Store_ControllerInfo_Call
- func (_c *Store_ControllerInfo_Call) Return(_a0 params.ControllerInfo, _a1 error) *Store_ControllerInfo_Call
- func (_c *Store_ControllerInfo_Call) Run(run func()) *Store_ControllerInfo_Call
- func (_c *Store_ControllerInfo_Call) RunAndReturn(run func() (params.ControllerInfo, error)) *Store_ControllerInfo_Call
- type Store_CreateEnterprise_Call
- type Store_CreateEntityPool_Call
- type Store_CreateEntityScaleSet_Call
- func (_c *Store_CreateEntityScaleSet_Call) Return(scaleSet params.ScaleSet, err error) *Store_CreateEntityScaleSet_Call
- func (_c *Store_CreateEntityScaleSet_Call) Run(run func(_a0 context.Context, entity params.ForgeEntity, ...)) *Store_CreateEntityScaleSet_Call
- func (_c *Store_CreateEntityScaleSet_Call) RunAndReturn(...) *Store_CreateEntityScaleSet_Call
- type Store_CreateFileObject_Call
- type Store_CreateGiteaCredentials_Call
- func (_c *Store_CreateGiteaCredentials_Call) Return(gtCreds params.ForgeCredentials, err error) *Store_CreateGiteaCredentials_Call
- func (_c *Store_CreateGiteaCredentials_Call) Run(run func(ctx context.Context, param params.CreateGiteaCredentialsParams)) *Store_CreateGiteaCredentials_Call
- func (_c *Store_CreateGiteaCredentials_Call) RunAndReturn(...) *Store_CreateGiteaCredentials_Call
- type Store_CreateGiteaEndpoint_Call
- func (_c *Store_CreateGiteaEndpoint_Call) Return(ghEndpoint params.ForgeEndpoint, err error) *Store_CreateGiteaEndpoint_Call
- func (_c *Store_CreateGiteaEndpoint_Call) Run(run func(_a0 context.Context, param params.CreateGiteaEndpointParams)) *Store_CreateGiteaEndpoint_Call
- func (_c *Store_CreateGiteaEndpoint_Call) RunAndReturn(...) *Store_CreateGiteaEndpoint_Call
- type Store_CreateGithubCredentials_Call
- func (_c *Store_CreateGithubCredentials_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_CreateGithubCredentials_Call
- func (_c *Store_CreateGithubCredentials_Call) Run(run func(ctx context.Context, param params.CreateGithubCredentialsParams)) *Store_CreateGithubCredentials_Call
- func (_c *Store_CreateGithubCredentials_Call) RunAndReturn(...) *Store_CreateGithubCredentials_Call
- type Store_CreateGithubEndpoint_Call
- func (_c *Store_CreateGithubEndpoint_Call) Return(_a0 params.ForgeEndpoint, _a1 error) *Store_CreateGithubEndpoint_Call
- func (_c *Store_CreateGithubEndpoint_Call) Run(run func(ctx context.Context, param params.CreateGithubEndpointParams)) *Store_CreateGithubEndpoint_Call
- func (_c *Store_CreateGithubEndpoint_Call) RunAndReturn(...) *Store_CreateGithubEndpoint_Call
- type Store_CreateInstance_Call
- type Store_CreateOrUpdateJob_Call
- func (_c *Store_CreateOrUpdateJob_Call) Return(_a0 params.Job, _a1 error) *Store_CreateOrUpdateJob_Call
- func (_c *Store_CreateOrUpdateJob_Call) Run(run func(ctx context.Context, job params.Job)) *Store_CreateOrUpdateJob_Call
- func (_c *Store_CreateOrUpdateJob_Call) RunAndReturn(run func(context.Context, params.Job) (params.Job, error)) *Store_CreateOrUpdateJob_Call
- type Store_CreateOrganization_Call
- type Store_CreateRepository_Call
- func (_c *Store_CreateRepository_Call) Return(param params.Repository, err error) *Store_CreateRepository_Call
- func (_c *Store_CreateRepository_Call) Run(run func(ctx context.Context, owner string, name string, ...)) *Store_CreateRepository_Call
- func (_c *Store_CreateRepository_Call) RunAndReturn(...) *Store_CreateRepository_Call
- type Store_CreateScaleSetInstance_Call
- func (_c *Store_CreateScaleSetInstance_Call) Return(instance params.Instance, err error) *Store_CreateScaleSetInstance_Call
- func (_c *Store_CreateScaleSetInstance_Call) Run(...) *Store_CreateScaleSetInstance_Call
- func (_c *Store_CreateScaleSetInstance_Call) RunAndReturn(...) *Store_CreateScaleSetInstance_Call
- type Store_CreateTemplate_Call
- func (_c *Store_CreateTemplate_Call) Return(template params.Template, err error) *Store_CreateTemplate_Call
- func (_c *Store_CreateTemplate_Call) Run(run func(ctx context.Context, param params.CreateTemplateParams)) *Store_CreateTemplate_Call
- func (_c *Store_CreateTemplate_Call) RunAndReturn(...) *Store_CreateTemplate_Call
- type Store_CreateUser_Call
- func (_c *Store_CreateUser_Call) Return(_a0 params.User, _a1 error) *Store_CreateUser_Call
- func (_c *Store_CreateUser_Call) Run(run func(ctx context.Context, user params.NewUserParams)) *Store_CreateUser_Call
- func (_c *Store_CreateUser_Call) RunAndReturn(run func(context.Context, params.NewUserParams) (params.User, error)) *Store_CreateUser_Call
- type Store_DeleteEnterprise_Call
- func (_c *Store_DeleteEnterprise_Call) Return(_a0 error) *Store_DeleteEnterprise_Call
- func (_c *Store_DeleteEnterprise_Call) Run(run func(ctx context.Context, enterpriseID string)) *Store_DeleteEnterprise_Call
- func (_c *Store_DeleteEnterprise_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteEnterprise_Call
- type Store_DeleteEntityPool_Call
- func (_c *Store_DeleteEntityPool_Call) Return(_a0 error) *Store_DeleteEntityPool_Call
- func (_c *Store_DeleteEntityPool_Call) Run(run func(ctx context.Context, entity params.ForgeEntity, poolID string)) *Store_DeleteEntityPool_Call
- func (_c *Store_DeleteEntityPool_Call) RunAndReturn(run func(context.Context, params.ForgeEntity, string) error) *Store_DeleteEntityPool_Call
- type Store_DeleteFileObject_Call
- func (_c *Store_DeleteFileObject_Call) Return(_a0 error) *Store_DeleteFileObject_Call
- func (_c *Store_DeleteFileObject_Call) Run(run func(ctx context.Context, objID uint)) *Store_DeleteFileObject_Call
- func (_c *Store_DeleteFileObject_Call) RunAndReturn(run func(context.Context, uint) error) *Store_DeleteFileObject_Call
- type Store_DeleteFileObjectsByTags_Call
- func (_c *Store_DeleteFileObjectsByTags_Call) Return(_a0 int64, _a1 error) *Store_DeleteFileObjectsByTags_Call
- func (_c *Store_DeleteFileObjectsByTags_Call) Run(run func(ctx context.Context, tags []string)) *Store_DeleteFileObjectsByTags_Call
- func (_c *Store_DeleteFileObjectsByTags_Call) RunAndReturn(run func(context.Context, []string) (int64, error)) *Store_DeleteFileObjectsByTags_Call
- type Store_DeleteGiteaCredentials_Call
- func (_c *Store_DeleteGiteaCredentials_Call) Return(err error) *Store_DeleteGiteaCredentials_Call
- func (_c *Store_DeleteGiteaCredentials_Call) Run(run func(ctx context.Context, id uint)) *Store_DeleteGiteaCredentials_Call
- func (_c *Store_DeleteGiteaCredentials_Call) RunAndReturn(run func(context.Context, uint) error) *Store_DeleteGiteaCredentials_Call
- type Store_DeleteGiteaEndpoint_Call
- func (_c *Store_DeleteGiteaEndpoint_Call) Return(err error) *Store_DeleteGiteaEndpoint_Call
- func (_c *Store_DeleteGiteaEndpoint_Call) Run(run func(_a0 context.Context, name string)) *Store_DeleteGiteaEndpoint_Call
- func (_c *Store_DeleteGiteaEndpoint_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteGiteaEndpoint_Call
- type Store_DeleteGithubCredentials_Call
- func (_c *Store_DeleteGithubCredentials_Call) Return(_a0 error) *Store_DeleteGithubCredentials_Call
- func (_c *Store_DeleteGithubCredentials_Call) Run(run func(ctx context.Context, id uint)) *Store_DeleteGithubCredentials_Call
- func (_c *Store_DeleteGithubCredentials_Call) RunAndReturn(run func(context.Context, uint) error) *Store_DeleteGithubCredentials_Call
- type Store_DeleteGithubEndpoint_Call
- func (_c *Store_DeleteGithubEndpoint_Call) Return(_a0 error) *Store_DeleteGithubEndpoint_Call
- func (_c *Store_DeleteGithubEndpoint_Call) Run(run func(ctx context.Context, name string)) *Store_DeleteGithubEndpoint_Call
- func (_c *Store_DeleteGithubEndpoint_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteGithubEndpoint_Call
- type Store_DeleteInactionableJobs_Call
- func (_c *Store_DeleteInactionableJobs_Call) Return(_a0 error) *Store_DeleteInactionableJobs_Call
- func (_c *Store_DeleteInactionableJobs_Call) Run(run func(ctx context.Context, olderThan time.Duration)) *Store_DeleteInactionableJobs_Call
- func (_c *Store_DeleteInactionableJobs_Call) RunAndReturn(run func(context.Context, time.Duration) error) *Store_DeleteInactionableJobs_Call
- type Store_DeleteInstanceByName_Call
- func (_c *Store_DeleteInstanceByName_Call) Return(_a0 error) *Store_DeleteInstanceByName_Call
- func (_c *Store_DeleteInstanceByName_Call) Run(run func(ctx context.Context, instanceName string)) *Store_DeleteInstanceByName_Call
- func (_c *Store_DeleteInstanceByName_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteInstanceByName_Call
- type Store_DeleteInstance_Call
- func (_c *Store_DeleteInstance_Call) Return(_a0 error) *Store_DeleteInstance_Call
- func (_c *Store_DeleteInstance_Call) Run(run func(ctx context.Context, poolID string, instanceNameOrID string)) *Store_DeleteInstance_Call
- func (_c *Store_DeleteInstance_Call) RunAndReturn(run func(context.Context, string, string) error) *Store_DeleteInstance_Call
- type Store_DeleteJob_Call
- type Store_DeleteOrganization_Call
- func (_c *Store_DeleteOrganization_Call) Return(_a0 error) *Store_DeleteOrganization_Call
- func (_c *Store_DeleteOrganization_Call) Run(run func(ctx context.Context, orgID string)) *Store_DeleteOrganization_Call
- func (_c *Store_DeleteOrganization_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteOrganization_Call
- type Store_DeletePoolByID_Call
- func (_c *Store_DeletePoolByID_Call) Return(_a0 error) *Store_DeletePoolByID_Call
- func (_c *Store_DeletePoolByID_Call) Run(run func(ctx context.Context, poolID string)) *Store_DeletePoolByID_Call
- func (_c *Store_DeletePoolByID_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeletePoolByID_Call
- type Store_DeleteRepository_Call
- func (_c *Store_DeleteRepository_Call) Return(_a0 error) *Store_DeleteRepository_Call
- func (_c *Store_DeleteRepository_Call) Run(run func(ctx context.Context, repoID string)) *Store_DeleteRepository_Call
- func (_c *Store_DeleteRepository_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteRepository_Call
- type Store_DeleteScaleSetByID_Call
- func (_c *Store_DeleteScaleSetByID_Call) Return(err error) *Store_DeleteScaleSetByID_Call
- func (_c *Store_DeleteScaleSetByID_Call) Run(run func(ctx context.Context, scaleSetID uint)) *Store_DeleteScaleSetByID_Call
- func (_c *Store_DeleteScaleSetByID_Call) RunAndReturn(run func(context.Context, uint) error) *Store_DeleteScaleSetByID_Call
- type Store_DeleteTemplate_Call
- func (_c *Store_DeleteTemplate_Call) Return(err error) *Store_DeleteTemplate_Call
- func (_c *Store_DeleteTemplate_Call) Run(run func(ctx context.Context, id uint)) *Store_DeleteTemplate_Call
- func (_c *Store_DeleteTemplate_Call) RunAndReturn(run func(context.Context, uint) error) *Store_DeleteTemplate_Call
- type Store_Expecter
- func (_e *Store_Expecter) AddEntityEvent(ctx interface{}, entity interface{}, event interface{}, eventLevel interface{}, ...) *Store_AddEntityEvent_Call
- func (_e *Store_Expecter) AddInstanceEvent(ctx interface{}, instanceNameOrID interface{}, event interface{}, ...) *Store_AddInstanceEvent_Call
- func (_e *Store_Expecter) BreakLockJobIsQueued(ctx interface{}, jobID interface{}) *Store_BreakLockJobIsQueued_Call
- func (_e *Store_Expecter) ControllerInfo() *Store_ControllerInfo_Call
- func (_e *Store_Expecter) CreateEnterprise(ctx interface{}, name interface{}, credentialsName interface{}, ...) *Store_CreateEnterprise_Call
- func (_e *Store_Expecter) CreateEntityPool(ctx interface{}, entity interface{}, param interface{}) *Store_CreateEntityPool_Call
- func (_e *Store_Expecter) CreateEntityScaleSet(_a0 interface{}, entity interface{}, param interface{}) *Store_CreateEntityScaleSet_Call
- func (_e *Store_Expecter) CreateFileObject(ctx interface{}, param interface{}, reader interface{}) *Store_CreateFileObject_Call
- func (_e *Store_Expecter) CreateGiteaCredentials(ctx interface{}, param interface{}) *Store_CreateGiteaCredentials_Call
- func (_e *Store_Expecter) CreateGiteaEndpoint(_a0 interface{}, param interface{}) *Store_CreateGiteaEndpoint_Call
- func (_e *Store_Expecter) CreateGithubCredentials(ctx interface{}, param interface{}) *Store_CreateGithubCredentials_Call
- func (_e *Store_Expecter) CreateGithubEndpoint(ctx interface{}, param interface{}) *Store_CreateGithubEndpoint_Call
- func (_e *Store_Expecter) CreateInstance(ctx interface{}, poolID interface{}, param interface{}) *Store_CreateInstance_Call
- func (_e *Store_Expecter) CreateOrUpdateJob(ctx interface{}, job interface{}) *Store_CreateOrUpdateJob_Call
- func (_e *Store_Expecter) CreateOrganization(ctx interface{}, name interface{}, credentials interface{}, ...) *Store_CreateOrganization_Call
- func (_e *Store_Expecter) CreateRepository(ctx interface{}, owner interface{}, name interface{}, credentials interface{}, ...) *Store_CreateRepository_Call
- func (_e *Store_Expecter) CreateScaleSetInstance(_a0 interface{}, scaleSetID interface{}, param interface{}) *Store_CreateScaleSetInstance_Call
- func (_e *Store_Expecter) CreateTemplate(ctx interface{}, param interface{}) *Store_CreateTemplate_Call
- func (_e *Store_Expecter) CreateUser(ctx interface{}, user interface{}) *Store_CreateUser_Call
- func (_e *Store_Expecter) DeleteEnterprise(ctx interface{}, enterpriseID interface{}) *Store_DeleteEnterprise_Call
- func (_e *Store_Expecter) DeleteEntityPool(ctx interface{}, entity interface{}, poolID interface{}) *Store_DeleteEntityPool_Call
- func (_e *Store_Expecter) DeleteFileObject(ctx interface{}, objID interface{}) *Store_DeleteFileObject_Call
- func (_e *Store_Expecter) DeleteFileObjectsByTags(ctx interface{}, tags interface{}) *Store_DeleteFileObjectsByTags_Call
- func (_e *Store_Expecter) DeleteGiteaCredentials(ctx interface{}, id interface{}) *Store_DeleteGiteaCredentials_Call
- func (_e *Store_Expecter) DeleteGiteaEndpoint(_a0 interface{}, name interface{}) *Store_DeleteGiteaEndpoint_Call
- func (_e *Store_Expecter) DeleteGithubCredentials(ctx interface{}, id interface{}) *Store_DeleteGithubCredentials_Call
- func (_e *Store_Expecter) DeleteGithubEndpoint(ctx interface{}, name interface{}) *Store_DeleteGithubEndpoint_Call
- func (_e *Store_Expecter) DeleteInactionableJobs(ctx interface{}, olderThan interface{}) *Store_DeleteInactionableJobs_Call
- func (_e *Store_Expecter) DeleteInstance(ctx interface{}, poolID interface{}, instanceNameOrID interface{}) *Store_DeleteInstance_Call
- func (_e *Store_Expecter) DeleteInstanceByName(ctx interface{}, instanceName interface{}) *Store_DeleteInstanceByName_Call
- func (_e *Store_Expecter) DeleteJob(ctx interface{}, jobID interface{}) *Store_DeleteJob_Call
- func (_e *Store_Expecter) DeleteOrganization(ctx interface{}, orgID interface{}) *Store_DeleteOrganization_Call
- func (_e *Store_Expecter) DeletePoolByID(ctx interface{}, poolID interface{}) *Store_DeletePoolByID_Call
- func (_e *Store_Expecter) DeleteRepository(ctx interface{}, repoID interface{}) *Store_DeleteRepository_Call
- func (_e *Store_Expecter) DeleteScaleSetByID(ctx interface{}, scaleSetID interface{}) *Store_DeleteScaleSetByID_Call
- func (_e *Store_Expecter) DeleteTemplate(ctx interface{}, id interface{}) *Store_DeleteTemplate_Call
- func (_e *Store_Expecter) FindPoolsMatchingAllTags(ctx interface{}, entityType interface{}, entityID interface{}, ...) *Store_FindPoolsMatchingAllTags_Call
- func (_e *Store_Expecter) ForceUpdateInstance(ctx interface{}, instanceName interface{}, param interface{}) *Store_ForceUpdateInstance_Call
- func (_e *Store_Expecter) GetAdminUser(ctx interface{}) *Store_GetAdminUser_Call
- func (_e *Store_Expecter) GetEnterprise(ctx interface{}, name interface{}, endpointName interface{}) *Store_GetEnterprise_Call
- func (_e *Store_Expecter) GetEnterpriseByID(ctx interface{}, enterpriseID interface{}) *Store_GetEnterpriseByID_Call
- func (_e *Store_Expecter) GetEntityPool(ctx interface{}, entity interface{}, poolID interface{}) *Store_GetEntityPool_Call
- func (_e *Store_Expecter) GetFileObject(ctx interface{}, objID interface{}) *Store_GetFileObject_Call
- func (_e *Store_Expecter) GetForgeEntity(_a0 interface{}, entityType interface{}, entityID interface{}) *Store_GetForgeEntity_Call
- func (_e *Store_Expecter) GetGiteaCredentials(ctx interface{}, id interface{}, detailed interface{}) *Store_GetGiteaCredentials_Call
- func (_e *Store_Expecter) GetGiteaCredentialsByName(ctx interface{}, name interface{}, detailed interface{}) *Store_GetGiteaCredentialsByName_Call
- func (_e *Store_Expecter) GetGiteaEndpoint(_a0 interface{}, name interface{}) *Store_GetGiteaEndpoint_Call
- func (_e *Store_Expecter) GetGithubCredentials(ctx interface{}, id interface{}, detailed interface{}) *Store_GetGithubCredentials_Call
- func (_e *Store_Expecter) GetGithubCredentialsByName(ctx interface{}, name interface{}, detailed interface{}) *Store_GetGithubCredentialsByName_Call
- func (_e *Store_Expecter) GetGithubEndpoint(ctx interface{}, name interface{}) *Store_GetGithubEndpoint_Call
- func (_e *Store_Expecter) GetInstance(ctx interface{}, instanceNameOrID interface{}) *Store_GetInstance_Call
- func (_e *Store_Expecter) GetJobByID(ctx interface{}, jobID interface{}) *Store_GetJobByID_Call
- func (_e *Store_Expecter) GetOrganization(ctx interface{}, name interface{}, endpointName interface{}) *Store_GetOrganization_Call
- func (_e *Store_Expecter) GetOrganizationByID(ctx interface{}, orgID interface{}) *Store_GetOrganizationByID_Call
- func (_e *Store_Expecter) GetPoolByID(ctx interface{}, poolID interface{}) *Store_GetPoolByID_Call
- func (_e *Store_Expecter) GetRepository(ctx interface{}, owner interface{}, name interface{}, endpointName interface{}) *Store_GetRepository_Call
- func (_e *Store_Expecter) GetRepositoryByID(ctx interface{}, repoID interface{}) *Store_GetRepositoryByID_Call
- func (_e *Store_Expecter) GetScaleSetByID(ctx interface{}, scaleSet interface{}) *Store_GetScaleSetByID_Call
- func (_e *Store_Expecter) GetTemplate(ctx interface{}, id interface{}) *Store_GetTemplate_Call
- func (_e *Store_Expecter) GetTemplateByName(ctx interface{}, name interface{}) *Store_GetTemplateByName_Call
- func (_e *Store_Expecter) GetUser(ctx interface{}, user interface{}) *Store_GetUser_Call
- func (_e *Store_Expecter) GetUserByID(ctx interface{}, userID interface{}) *Store_GetUserByID_Call
- func (_e *Store_Expecter) HasAdminUser(ctx interface{}) *Store_HasAdminUser_Call
- func (_e *Store_Expecter) HasEntitiesWithAgentModeEnabled() *Store_HasEntitiesWithAgentModeEnabled_Call
- func (_e *Store_Expecter) InitController() *Store_InitController_Call
- func (_e *Store_Expecter) ListAllInstances(ctx interface{}) *Store_ListAllInstances_Call
- func (_e *Store_Expecter) ListAllJobs(ctx interface{}) *Store_ListAllJobs_Call
- func (_e *Store_Expecter) ListAllPools(ctx interface{}) *Store_ListAllPools_Call
- func (_e *Store_Expecter) ListAllScaleSets(ctx interface{}) *Store_ListAllScaleSets_Call
- func (_e *Store_Expecter) ListEnterprises(ctx interface{}, filter interface{}) *Store_ListEnterprises_Call
- func (_e *Store_Expecter) ListEntityInstances(ctx interface{}, entity interface{}) *Store_ListEntityInstances_Call
- func (_e *Store_Expecter) ListEntityJobsByStatus(ctx interface{}, entityType interface{}, entityID interface{}, ...) *Store_ListEntityJobsByStatus_Call
- func (_e *Store_Expecter) ListEntityPools(ctx interface{}, entity interface{}) *Store_ListEntityPools_Call
- func (_e *Store_Expecter) ListEntityScaleSets(_a0 interface{}, entity interface{}) *Store_ListEntityScaleSets_Call
- func (_e *Store_Expecter) ListFileObjects(ctx interface{}, page interface{}, pageSize interface{}) *Store_ListFileObjects_Call
- func (_e *Store_Expecter) ListGiteaCredentials(ctx interface{}) *Store_ListGiteaCredentials_Call
- func (_e *Store_Expecter) ListGiteaEndpoints(_a0 interface{}) *Store_ListGiteaEndpoints_Call
- func (_e *Store_Expecter) ListGithubCredentials(ctx interface{}) *Store_ListGithubCredentials_Call
- func (_e *Store_Expecter) ListGithubEndpoints(ctx interface{}) *Store_ListGithubEndpoints_Call
- func (_e *Store_Expecter) ListJobsByStatus(ctx interface{}, status interface{}) *Store_ListJobsByStatus_Call
- func (_e *Store_Expecter) ListOrganizations(ctx interface{}, filter interface{}) *Store_ListOrganizations_Call
- func (_e *Store_Expecter) ListPoolInstances(ctx interface{}, poolID interface{}, oudatedOnly interface{}) *Store_ListPoolInstances_Call
- func (_e *Store_Expecter) ListRepositories(ctx interface{}, filter interface{}) *Store_ListRepositories_Call
- func (_e *Store_Expecter) ListScaleSetInstances(_a0 interface{}, scalesetID interface{}, outdatedOnly interface{}) *Store_ListScaleSetInstances_Call
- func (_e *Store_Expecter) ListTemplates(ctx interface{}, osType interface{}, forgeType interface{}, ...) *Store_ListTemplates_Call
- func (_e *Store_Expecter) LockJob(ctx interface{}, jobID interface{}, entityID interface{}) *Store_LockJob_Call
- func (_e *Store_Expecter) OpenFileObjectContent(ctx interface{}, objID interface{}) *Store_OpenFileObjectContent_Call
- func (_e *Store_Expecter) PoolInstanceCount(ctx interface{}, poolID interface{}) *Store_PoolInstanceCount_Call
- func (_e *Store_Expecter) SearchFileObjectByTags(ctx interface{}, tags interface{}, page interface{}, pageSize interface{}) *Store_SearchFileObjectByTags_Call
- func (_e *Store_Expecter) SetEntityPoolManagerStatus(ctx interface{}, entity interface{}, param interface{}) *Store_SetEntityPoolManagerStatus_Call
- func (_e *Store_Expecter) SetScaleSetDesiredRunnerCount(ctx interface{}, scaleSetID interface{}, desiredRunnerCount interface{}) *Store_SetScaleSetDesiredRunnerCount_Call
- func (_e *Store_Expecter) SetScaleSetLastMessageID(ctx interface{}, scaleSetID interface{}, lastMessageID interface{}) *Store_SetScaleSetLastMessageID_Call
- func (_e *Store_Expecter) UnlockJob(ctx interface{}, jobID interface{}, entityID interface{}) *Store_UnlockJob_Call
- func (_e *Store_Expecter) UpdateCachedGARMAgentRelease(releaseData interface{}, fetchedAt interface{}) *Store_UpdateCachedGARMAgentRelease_Call
- func (_e *Store_Expecter) UpdateController(info interface{}) *Store_UpdateController_Call
- func (_e *Store_Expecter) UpdateEnterprise(ctx interface{}, enterpriseID interface{}, param interface{}) *Store_UpdateEnterprise_Call
- func (_e *Store_Expecter) UpdateEntityPool(ctx interface{}, entity interface{}, poolID interface{}, param interface{}) *Store_UpdateEntityPool_Call
- func (_e *Store_Expecter) UpdateEntityScaleSet(_a0 interface{}, entity interface{}, scaleSetID interface{}, param interface{}, ...) *Store_UpdateEntityScaleSet_Call
- func (_e *Store_Expecter) UpdateFileObject(ctx interface{}, objID interface{}, param interface{}) *Store_UpdateFileObject_Call
- func (_e *Store_Expecter) UpdateGiteaCredentials(ctx interface{}, id interface{}, param interface{}) *Store_UpdateGiteaCredentials_Call
- func (_e *Store_Expecter) UpdateGiteaEndpoint(_a0 interface{}, name interface{}, param interface{}) *Store_UpdateGiteaEndpoint_Call
- func (_e *Store_Expecter) UpdateGithubCredentials(ctx interface{}, id interface{}, param interface{}) *Store_UpdateGithubCredentials_Call
- func (_e *Store_Expecter) UpdateGithubEndpoint(ctx interface{}, name interface{}, param interface{}) *Store_UpdateGithubEndpoint_Call
- func (_e *Store_Expecter) UpdateInstance(ctx interface{}, instanceNameOrID interface{}, param interface{}) *Store_UpdateInstance_Call
- func (_e *Store_Expecter) UpdateOrganization(ctx interface{}, orgID interface{}, param interface{}) *Store_UpdateOrganization_Call
- func (_e *Store_Expecter) UpdateRepository(ctx interface{}, repoID interface{}, param interface{}) *Store_UpdateRepository_Call
- func (_e *Store_Expecter) UpdateTemplate(ctx interface{}, id interface{}, param interface{}) *Store_UpdateTemplate_Call
- func (_e *Store_Expecter) UpdateUser(ctx interface{}, user interface{}, param interface{}) *Store_UpdateUser_Call
- type Store_FindPoolsMatchingAllTags_Call
- func (_c *Store_FindPoolsMatchingAllTags_Call) Return(_a0 []params.Pool, _a1 error) *Store_FindPoolsMatchingAllTags_Call
- func (_c *Store_FindPoolsMatchingAllTags_Call) Run(...) *Store_FindPoolsMatchingAllTags_Call
- func (_c *Store_FindPoolsMatchingAllTags_Call) RunAndReturn(...) *Store_FindPoolsMatchingAllTags_Call
- type Store_ForceUpdateInstance_Call
- type Store_GetAdminUser_Call
- func (_c *Store_GetAdminUser_Call) Return(_a0 params.User, _a1 error) *Store_GetAdminUser_Call
- func (_c *Store_GetAdminUser_Call) Run(run func(ctx context.Context)) *Store_GetAdminUser_Call
- func (_c *Store_GetAdminUser_Call) RunAndReturn(run func(context.Context) (params.User, error)) *Store_GetAdminUser_Call
- type Store_GetEnterpriseByID_Call
- func (_c *Store_GetEnterpriseByID_Call) Return(_a0 params.Enterprise, _a1 error) *Store_GetEnterpriseByID_Call
- func (_c *Store_GetEnterpriseByID_Call) Run(run func(ctx context.Context, enterpriseID string)) *Store_GetEnterpriseByID_Call
- func (_c *Store_GetEnterpriseByID_Call) RunAndReturn(run func(context.Context, string) (params.Enterprise, error)) *Store_GetEnterpriseByID_Call
- type Store_GetEnterprise_Call
- func (_c *Store_GetEnterprise_Call) Return(_a0 params.Enterprise, _a1 error) *Store_GetEnterprise_Call
- func (_c *Store_GetEnterprise_Call) Run(run func(ctx context.Context, name string, endpointName string)) *Store_GetEnterprise_Call
- func (_c *Store_GetEnterprise_Call) RunAndReturn(run func(context.Context, string, string) (params.Enterprise, error)) *Store_GetEnterprise_Call
- type Store_GetEntityPool_Call
- func (_c *Store_GetEntityPool_Call) Return(_a0 params.Pool, _a1 error) *Store_GetEntityPool_Call
- func (_c *Store_GetEntityPool_Call) Run(run func(ctx context.Context, entity params.ForgeEntity, poolID string)) *Store_GetEntityPool_Call
- func (_c *Store_GetEntityPool_Call) RunAndReturn(run func(context.Context, params.ForgeEntity, string) (params.Pool, error)) *Store_GetEntityPool_Call
- type Store_GetFileObject_Call
- func (_c *Store_GetFileObject_Call) Return(_a0 params.FileObject, _a1 error) *Store_GetFileObject_Call
- func (_c *Store_GetFileObject_Call) Run(run func(ctx context.Context, objID uint)) *Store_GetFileObject_Call
- func (_c *Store_GetFileObject_Call) RunAndReturn(run func(context.Context, uint) (params.FileObject, error)) *Store_GetFileObject_Call
- type Store_GetForgeEntity_Call
- type Store_GetGiteaCredentialsByName_Call
- func (_c *Store_GetGiteaCredentialsByName_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_GetGiteaCredentialsByName_Call
- func (_c *Store_GetGiteaCredentialsByName_Call) Run(run func(ctx context.Context, name string, detailed bool)) *Store_GetGiteaCredentialsByName_Call
- func (_c *Store_GetGiteaCredentialsByName_Call) RunAndReturn(run func(context.Context, string, bool) (params.ForgeCredentials, error)) *Store_GetGiteaCredentialsByName_Call
- type Store_GetGiteaCredentials_Call
- func (_c *Store_GetGiteaCredentials_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_GetGiteaCredentials_Call
- func (_c *Store_GetGiteaCredentials_Call) Run(run func(ctx context.Context, id uint, detailed bool)) *Store_GetGiteaCredentials_Call
- func (_c *Store_GetGiteaCredentials_Call) RunAndReturn(run func(context.Context, uint, bool) (params.ForgeCredentials, error)) *Store_GetGiteaCredentials_Call
- type Store_GetGiteaEndpoint_Call
- func (_c *Store_GetGiteaEndpoint_Call) Return(_a0 params.ForgeEndpoint, _a1 error) *Store_GetGiteaEndpoint_Call
- func (_c *Store_GetGiteaEndpoint_Call) Run(run func(_a0 context.Context, name string)) *Store_GetGiteaEndpoint_Call
- func (_c *Store_GetGiteaEndpoint_Call) RunAndReturn(run func(context.Context, string) (params.ForgeEndpoint, error)) *Store_GetGiteaEndpoint_Call
- type Store_GetGithubCredentialsByName_Call
- func (_c *Store_GetGithubCredentialsByName_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_GetGithubCredentialsByName_Call
- func (_c *Store_GetGithubCredentialsByName_Call) Run(run func(ctx context.Context, name string, detailed bool)) *Store_GetGithubCredentialsByName_Call
- func (_c *Store_GetGithubCredentialsByName_Call) RunAndReturn(run func(context.Context, string, bool) (params.ForgeCredentials, error)) *Store_GetGithubCredentialsByName_Call
- type Store_GetGithubCredentials_Call
- func (_c *Store_GetGithubCredentials_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_GetGithubCredentials_Call
- func (_c *Store_GetGithubCredentials_Call) Run(run func(ctx context.Context, id uint, detailed bool)) *Store_GetGithubCredentials_Call
- func (_c *Store_GetGithubCredentials_Call) RunAndReturn(run func(context.Context, uint, bool) (params.ForgeCredentials, error)) *Store_GetGithubCredentials_Call
- type Store_GetGithubEndpoint_Call
- func (_c *Store_GetGithubEndpoint_Call) Return(_a0 params.ForgeEndpoint, _a1 error) *Store_GetGithubEndpoint_Call
- func (_c *Store_GetGithubEndpoint_Call) Run(run func(ctx context.Context, name string)) *Store_GetGithubEndpoint_Call
- func (_c *Store_GetGithubEndpoint_Call) RunAndReturn(run func(context.Context, string) (params.ForgeEndpoint, error)) *Store_GetGithubEndpoint_Call
- type Store_GetInstance_Call
- func (_c *Store_GetInstance_Call) Return(_a0 params.Instance, _a1 error) *Store_GetInstance_Call
- func (_c *Store_GetInstance_Call) Run(run func(ctx context.Context, instanceNameOrID string)) *Store_GetInstance_Call
- func (_c *Store_GetInstance_Call) RunAndReturn(run func(context.Context, string) (params.Instance, error)) *Store_GetInstance_Call
- type Store_GetJobByID_Call
- func (_c *Store_GetJobByID_Call) Return(_a0 params.Job, _a1 error) *Store_GetJobByID_Call
- func (_c *Store_GetJobByID_Call) Run(run func(ctx context.Context, jobID int64)) *Store_GetJobByID_Call
- func (_c *Store_GetJobByID_Call) RunAndReturn(run func(context.Context, int64) (params.Job, error)) *Store_GetJobByID_Call
- type Store_GetOrganizationByID_Call
- func (_c *Store_GetOrganizationByID_Call) Return(_a0 params.Organization, _a1 error) *Store_GetOrganizationByID_Call
- func (_c *Store_GetOrganizationByID_Call) Run(run func(ctx context.Context, orgID string)) *Store_GetOrganizationByID_Call
- func (_c *Store_GetOrganizationByID_Call) RunAndReturn(run func(context.Context, string) (params.Organization, error)) *Store_GetOrganizationByID_Call
- type Store_GetOrganization_Call
- func (_c *Store_GetOrganization_Call) Return(_a0 params.Organization, _a1 error) *Store_GetOrganization_Call
- func (_c *Store_GetOrganization_Call) Run(run func(ctx context.Context, name string, endpointName string)) *Store_GetOrganization_Call
- func (_c *Store_GetOrganization_Call) RunAndReturn(run func(context.Context, string, string) (params.Organization, error)) *Store_GetOrganization_Call
- type Store_GetPoolByID_Call
- func (_c *Store_GetPoolByID_Call) Return(_a0 params.Pool, _a1 error) *Store_GetPoolByID_Call
- func (_c *Store_GetPoolByID_Call) Run(run func(ctx context.Context, poolID string)) *Store_GetPoolByID_Call
- func (_c *Store_GetPoolByID_Call) RunAndReturn(run func(context.Context, string) (params.Pool, error)) *Store_GetPoolByID_Call
- type Store_GetRepositoryByID_Call
- func (_c *Store_GetRepositoryByID_Call) Return(_a0 params.Repository, _a1 error) *Store_GetRepositoryByID_Call
- func (_c *Store_GetRepositoryByID_Call) Run(run func(ctx context.Context, repoID string)) *Store_GetRepositoryByID_Call
- func (_c *Store_GetRepositoryByID_Call) RunAndReturn(run func(context.Context, string) (params.Repository, error)) *Store_GetRepositoryByID_Call
- type Store_GetRepository_Call
- func (_c *Store_GetRepository_Call) Return(_a0 params.Repository, _a1 error) *Store_GetRepository_Call
- func (_c *Store_GetRepository_Call) Run(run func(ctx context.Context, owner string, name string, endpointName string)) *Store_GetRepository_Call
- func (_c *Store_GetRepository_Call) RunAndReturn(run func(context.Context, string, string, string) (params.Repository, error)) *Store_GetRepository_Call
- type Store_GetScaleSetByID_Call
- func (_c *Store_GetScaleSetByID_Call) Return(_a0 params.ScaleSet, _a1 error) *Store_GetScaleSetByID_Call
- func (_c *Store_GetScaleSetByID_Call) Run(run func(ctx context.Context, scaleSet uint)) *Store_GetScaleSetByID_Call
- func (_c *Store_GetScaleSetByID_Call) RunAndReturn(run func(context.Context, uint) (params.ScaleSet, error)) *Store_GetScaleSetByID_Call
- type Store_GetTemplateByName_Call
- func (_c *Store_GetTemplateByName_Call) Return(_a0 params.Template, _a1 error) *Store_GetTemplateByName_Call
- func (_c *Store_GetTemplateByName_Call) Run(run func(ctx context.Context, name string)) *Store_GetTemplateByName_Call
- func (_c *Store_GetTemplateByName_Call) RunAndReturn(run func(context.Context, string) (params.Template, error)) *Store_GetTemplateByName_Call
- type Store_GetTemplate_Call
- func (_c *Store_GetTemplate_Call) Return(_a0 params.Template, _a1 error) *Store_GetTemplate_Call
- func (_c *Store_GetTemplate_Call) Run(run func(ctx context.Context, id uint)) *Store_GetTemplate_Call
- func (_c *Store_GetTemplate_Call) RunAndReturn(run func(context.Context, uint) (params.Template, error)) *Store_GetTemplate_Call
- type Store_GetUserByID_Call
- func (_c *Store_GetUserByID_Call) Return(_a0 params.User, _a1 error) *Store_GetUserByID_Call
- func (_c *Store_GetUserByID_Call) Run(run func(ctx context.Context, userID string)) *Store_GetUserByID_Call
- func (_c *Store_GetUserByID_Call) RunAndReturn(run func(context.Context, string) (params.User, error)) *Store_GetUserByID_Call
- type Store_GetUser_Call
- func (_c *Store_GetUser_Call) Return(_a0 params.User, _a1 error) *Store_GetUser_Call
- func (_c *Store_GetUser_Call) Run(run func(ctx context.Context, user string)) *Store_GetUser_Call
- func (_c *Store_GetUser_Call) RunAndReturn(run func(context.Context, string) (params.User, error)) *Store_GetUser_Call
- type Store_HasAdminUser_Call
- type Store_HasEntitiesWithAgentModeEnabled_Call
- func (_c *Store_HasEntitiesWithAgentModeEnabled_Call) Return(_a0 bool, _a1 error) *Store_HasEntitiesWithAgentModeEnabled_Call
- func (_c *Store_HasEntitiesWithAgentModeEnabled_Call) Run(run func()) *Store_HasEntitiesWithAgentModeEnabled_Call
- func (_c *Store_HasEntitiesWithAgentModeEnabled_Call) RunAndReturn(run func() (bool, error)) *Store_HasEntitiesWithAgentModeEnabled_Call
- type Store_InitController_Call
- func (_c *Store_InitController_Call) Return(_a0 params.ControllerInfo, _a1 error) *Store_InitController_Call
- func (_c *Store_InitController_Call) Run(run func()) *Store_InitController_Call
- func (_c *Store_InitController_Call) RunAndReturn(run func() (params.ControllerInfo, error)) *Store_InitController_Call
- type Store_ListAllInstances_Call
- func (_c *Store_ListAllInstances_Call) Return(_a0 []params.Instance, _a1 error) *Store_ListAllInstances_Call
- func (_c *Store_ListAllInstances_Call) Run(run func(ctx context.Context)) *Store_ListAllInstances_Call
- func (_c *Store_ListAllInstances_Call) RunAndReturn(run func(context.Context) ([]params.Instance, error)) *Store_ListAllInstances_Call
- type Store_ListAllJobs_Call
- func (_c *Store_ListAllJobs_Call) Return(_a0 []params.Job, _a1 error) *Store_ListAllJobs_Call
- func (_c *Store_ListAllJobs_Call) Run(run func(ctx context.Context)) *Store_ListAllJobs_Call
- func (_c *Store_ListAllJobs_Call) RunAndReturn(run func(context.Context) ([]params.Job, error)) *Store_ListAllJobs_Call
- type Store_ListAllPools_Call
- func (_c *Store_ListAllPools_Call) Return(_a0 []params.Pool, _a1 error) *Store_ListAllPools_Call
- func (_c *Store_ListAllPools_Call) Run(run func(ctx context.Context)) *Store_ListAllPools_Call
- func (_c *Store_ListAllPools_Call) RunAndReturn(run func(context.Context) ([]params.Pool, error)) *Store_ListAllPools_Call
- type Store_ListAllScaleSets_Call
- func (_c *Store_ListAllScaleSets_Call) Return(_a0 []params.ScaleSet, _a1 error) *Store_ListAllScaleSets_Call
- func (_c *Store_ListAllScaleSets_Call) Run(run func(ctx context.Context)) *Store_ListAllScaleSets_Call
- func (_c *Store_ListAllScaleSets_Call) RunAndReturn(run func(context.Context) ([]params.ScaleSet, error)) *Store_ListAllScaleSets_Call
- type Store_ListEnterprises_Call
- func (_c *Store_ListEnterprises_Call) Return(_a0 []params.Enterprise, _a1 error) *Store_ListEnterprises_Call
- func (_c *Store_ListEnterprises_Call) Run(run func(ctx context.Context, filter params.EnterpriseFilter)) *Store_ListEnterprises_Call
- func (_c *Store_ListEnterprises_Call) RunAndReturn(...) *Store_ListEnterprises_Call
- type Store_ListEntityInstances_Call
- func (_c *Store_ListEntityInstances_Call) Return(_a0 []params.Instance, _a1 error) *Store_ListEntityInstances_Call
- func (_c *Store_ListEntityInstances_Call) Run(run func(ctx context.Context, entity params.ForgeEntity)) *Store_ListEntityInstances_Call
- func (_c *Store_ListEntityInstances_Call) RunAndReturn(run func(context.Context, params.ForgeEntity) ([]params.Instance, error)) *Store_ListEntityInstances_Call
- type Store_ListEntityJobsByStatus_Call
- func (_c *Store_ListEntityJobsByStatus_Call) Return(_a0 []params.Job, _a1 error) *Store_ListEntityJobsByStatus_Call
- func (_c *Store_ListEntityJobsByStatus_Call) Run(...) *Store_ListEntityJobsByStatus_Call
- func (_c *Store_ListEntityJobsByStatus_Call) RunAndReturn(...) *Store_ListEntityJobsByStatus_Call
- type Store_ListEntityPools_Call
- func (_c *Store_ListEntityPools_Call) Return(_a0 []params.Pool, _a1 error) *Store_ListEntityPools_Call
- func (_c *Store_ListEntityPools_Call) Run(run func(ctx context.Context, entity params.ForgeEntity)) *Store_ListEntityPools_Call
- func (_c *Store_ListEntityPools_Call) RunAndReturn(run func(context.Context, params.ForgeEntity) ([]params.Pool, error)) *Store_ListEntityPools_Call
- type Store_ListEntityScaleSets_Call
- func (_c *Store_ListEntityScaleSets_Call) Return(_a0 []params.ScaleSet, _a1 error) *Store_ListEntityScaleSets_Call
- func (_c *Store_ListEntityScaleSets_Call) Run(run func(_a0 context.Context, entity params.ForgeEntity)) *Store_ListEntityScaleSets_Call
- func (_c *Store_ListEntityScaleSets_Call) RunAndReturn(run func(context.Context, params.ForgeEntity) ([]params.ScaleSet, error)) *Store_ListEntityScaleSets_Call
- type Store_ListFileObjects_Call
- func (_c *Store_ListFileObjects_Call) Return(_a0 params.FileObjectPaginatedResponse, _a1 error) *Store_ListFileObjects_Call
- func (_c *Store_ListFileObjects_Call) Run(run func(ctx context.Context, page uint64, pageSize uint64)) *Store_ListFileObjects_Call
- func (_c *Store_ListFileObjects_Call) RunAndReturn(...) *Store_ListFileObjects_Call
- type Store_ListGiteaCredentials_Call
- func (_c *Store_ListGiteaCredentials_Call) Return(_a0 []params.ForgeCredentials, _a1 error) *Store_ListGiteaCredentials_Call
- func (_c *Store_ListGiteaCredentials_Call) Run(run func(ctx context.Context)) *Store_ListGiteaCredentials_Call
- func (_c *Store_ListGiteaCredentials_Call) RunAndReturn(run func(context.Context) ([]params.ForgeCredentials, error)) *Store_ListGiteaCredentials_Call
- type Store_ListGiteaEndpoints_Call
- func (_c *Store_ListGiteaEndpoints_Call) Return(_a0 []params.ForgeEndpoint, _a1 error) *Store_ListGiteaEndpoints_Call
- func (_c *Store_ListGiteaEndpoints_Call) Run(run func(_a0 context.Context)) *Store_ListGiteaEndpoints_Call
- func (_c *Store_ListGiteaEndpoints_Call) RunAndReturn(run func(context.Context) ([]params.ForgeEndpoint, error)) *Store_ListGiteaEndpoints_Call
- type Store_ListGithubCredentials_Call
- func (_c *Store_ListGithubCredentials_Call) Return(_a0 []params.ForgeCredentials, _a1 error) *Store_ListGithubCredentials_Call
- func (_c *Store_ListGithubCredentials_Call) Run(run func(ctx context.Context)) *Store_ListGithubCredentials_Call
- func (_c *Store_ListGithubCredentials_Call) RunAndReturn(run func(context.Context) ([]params.ForgeCredentials, error)) *Store_ListGithubCredentials_Call
- type Store_ListGithubEndpoints_Call
- func (_c *Store_ListGithubEndpoints_Call) Return(_a0 []params.ForgeEndpoint, _a1 error) *Store_ListGithubEndpoints_Call
- func (_c *Store_ListGithubEndpoints_Call) Run(run func(ctx context.Context)) *Store_ListGithubEndpoints_Call
- func (_c *Store_ListGithubEndpoints_Call) RunAndReturn(run func(context.Context) ([]params.ForgeEndpoint, error)) *Store_ListGithubEndpoints_Call
- type Store_ListJobsByStatus_Call
- func (_c *Store_ListJobsByStatus_Call) Return(_a0 []params.Job, _a1 error) *Store_ListJobsByStatus_Call
- func (_c *Store_ListJobsByStatus_Call) Run(run func(ctx context.Context, status params.JobStatus)) *Store_ListJobsByStatus_Call
- func (_c *Store_ListJobsByStatus_Call) RunAndReturn(run func(context.Context, params.JobStatus) ([]params.Job, error)) *Store_ListJobsByStatus_Call
- type Store_ListOrganizations_Call
- func (_c *Store_ListOrganizations_Call) Return(_a0 []params.Organization, _a1 error) *Store_ListOrganizations_Call
- func (_c *Store_ListOrganizations_Call) Run(run func(ctx context.Context, filter params.OrganizationFilter)) *Store_ListOrganizations_Call
- func (_c *Store_ListOrganizations_Call) RunAndReturn(...) *Store_ListOrganizations_Call
- type Store_ListPoolInstances_Call
- func (_c *Store_ListPoolInstances_Call) Return(_a0 []params.Instance, _a1 error) *Store_ListPoolInstances_Call
- func (_c *Store_ListPoolInstances_Call) Run(run func(ctx context.Context, poolID string, oudatedOnly bool)) *Store_ListPoolInstances_Call
- func (_c *Store_ListPoolInstances_Call) RunAndReturn(run func(context.Context, string, bool) ([]params.Instance, error)) *Store_ListPoolInstances_Call
- type Store_ListRepositories_Call
- func (_c *Store_ListRepositories_Call) Return(_a0 []params.Repository, _a1 error) *Store_ListRepositories_Call
- func (_c *Store_ListRepositories_Call) Run(run func(ctx context.Context, filter params.RepositoryFilter)) *Store_ListRepositories_Call
- func (_c *Store_ListRepositories_Call) RunAndReturn(...) *Store_ListRepositories_Call
- type Store_ListScaleSetInstances_Call
- func (_c *Store_ListScaleSetInstances_Call) Return(_a0 []params.Instance, _a1 error) *Store_ListScaleSetInstances_Call
- func (_c *Store_ListScaleSetInstances_Call) Run(run func(_a0 context.Context, scalesetID uint, outdatedOnly bool)) *Store_ListScaleSetInstances_Call
- func (_c *Store_ListScaleSetInstances_Call) RunAndReturn(run func(context.Context, uint, bool) ([]params.Instance, error)) *Store_ListScaleSetInstances_Call
- type Store_ListTemplates_Call
- func (_c *Store_ListTemplates_Call) Return(_a0 []params.Template, _a1 error) *Store_ListTemplates_Call
- func (_c *Store_ListTemplates_Call) Run(run func(ctx context.Context, osType *garm_provider_commonparams.OSType, ...)) *Store_ListTemplates_Call
- func (_c *Store_ListTemplates_Call) RunAndReturn(...) *Store_ListTemplates_Call
- type Store_LockJob_Call
- type Store_OpenFileObjectContent_Call
- func (_c *Store_OpenFileObjectContent_Call) Return(_a0 io.ReadCloser, _a1 error) *Store_OpenFileObjectContent_Call
- func (_c *Store_OpenFileObjectContent_Call) Run(run func(ctx context.Context, objID uint)) *Store_OpenFileObjectContent_Call
- func (_c *Store_OpenFileObjectContent_Call) RunAndReturn(run func(context.Context, uint) (io.ReadCloser, error)) *Store_OpenFileObjectContent_Call
- type Store_PoolInstanceCount_Call
- func (_c *Store_PoolInstanceCount_Call) Return(_a0 int64, _a1 error) *Store_PoolInstanceCount_Call
- func (_c *Store_PoolInstanceCount_Call) Run(run func(ctx context.Context, poolID string)) *Store_PoolInstanceCount_Call
- func (_c *Store_PoolInstanceCount_Call) RunAndReturn(run func(context.Context, string) (int64, error)) *Store_PoolInstanceCount_Call
- type Store_SearchFileObjectByTags_Call
- func (_c *Store_SearchFileObjectByTags_Call) Return(_a0 params.FileObjectPaginatedResponse, _a1 error) *Store_SearchFileObjectByTags_Call
- func (_c *Store_SearchFileObjectByTags_Call) Run(run func(ctx context.Context, tags []string, page uint64, pageSize uint64)) *Store_SearchFileObjectByTags_Call
- func (_c *Store_SearchFileObjectByTags_Call) RunAndReturn(...) *Store_SearchFileObjectByTags_Call
- type Store_SetEntityPoolManagerStatus_Call
- func (_c *Store_SetEntityPoolManagerStatus_Call) Return(_a0 error) *Store_SetEntityPoolManagerStatus_Call
- func (_c *Store_SetEntityPoolManagerStatus_Call) Run(...) *Store_SetEntityPoolManagerStatus_Call
- func (_c *Store_SetEntityPoolManagerStatus_Call) RunAndReturn(run func(context.Context, params.ForgeEntity, params.PoolManagerStatus) error) *Store_SetEntityPoolManagerStatus_Call
- type Store_SetScaleSetDesiredRunnerCount_Call
- func (_c *Store_SetScaleSetDesiredRunnerCount_Call) Return(_a0 error) *Store_SetScaleSetDesiredRunnerCount_Call
- func (_c *Store_SetScaleSetDesiredRunnerCount_Call) Run(run func(ctx context.Context, scaleSetID uint, desiredRunnerCount int)) *Store_SetScaleSetDesiredRunnerCount_Call
- func (_c *Store_SetScaleSetDesiredRunnerCount_Call) RunAndReturn(run func(context.Context, uint, int) error) *Store_SetScaleSetDesiredRunnerCount_Call
- type Store_SetScaleSetLastMessageID_Call
- func (_c *Store_SetScaleSetLastMessageID_Call) Return(_a0 error) *Store_SetScaleSetLastMessageID_Call
- func (_c *Store_SetScaleSetLastMessageID_Call) Run(run func(ctx context.Context, scaleSetID uint, lastMessageID int64)) *Store_SetScaleSetLastMessageID_Call
- func (_c *Store_SetScaleSetLastMessageID_Call) RunAndReturn(run func(context.Context, uint, int64) error) *Store_SetScaleSetLastMessageID_Call
- type Store_UnlockJob_Call
- func (_c *Store_UnlockJob_Call) Return(_a0 error) *Store_UnlockJob_Call
- func (_c *Store_UnlockJob_Call) Run(run func(ctx context.Context, jobID int64, entityID string)) *Store_UnlockJob_Call
- func (_c *Store_UnlockJob_Call) RunAndReturn(run func(context.Context, int64, string) error) *Store_UnlockJob_Call
- type Store_UpdateCachedGARMAgentRelease_Call
- func (_c *Store_UpdateCachedGARMAgentRelease_Call) Return(_a0 error) *Store_UpdateCachedGARMAgentRelease_Call
- func (_c *Store_UpdateCachedGARMAgentRelease_Call) Run(run func(releaseData []byte, fetchedAt time.Time)) *Store_UpdateCachedGARMAgentRelease_Call
- func (_c *Store_UpdateCachedGARMAgentRelease_Call) RunAndReturn(run func([]byte, time.Time) error) *Store_UpdateCachedGARMAgentRelease_Call
- type Store_UpdateController_Call
- func (_c *Store_UpdateController_Call) Return(_a0 params.ControllerInfo, _a1 error) *Store_UpdateController_Call
- func (_c *Store_UpdateController_Call) Run(run func(info params.UpdateControllerParams)) *Store_UpdateController_Call
- func (_c *Store_UpdateController_Call) RunAndReturn(run func(params.UpdateControllerParams) (params.ControllerInfo, error)) *Store_UpdateController_Call
- type Store_UpdateEnterprise_Call
- type Store_UpdateEntityPool_Call
- func (_c *Store_UpdateEntityPool_Call) Return(_a0 params.Pool, _a1 error) *Store_UpdateEntityPool_Call
- func (_c *Store_UpdateEntityPool_Call) Run(run func(ctx context.Context, entity params.ForgeEntity, poolID string, ...)) *Store_UpdateEntityPool_Call
- func (_c *Store_UpdateEntityPool_Call) RunAndReturn(...) *Store_UpdateEntityPool_Call
- type Store_UpdateEntityScaleSet_Call
- func (_c *Store_UpdateEntityScaleSet_Call) Return(updatedScaleSet params.ScaleSet, err error) *Store_UpdateEntityScaleSet_Call
- func (_c *Store_UpdateEntityScaleSet_Call) Run(run func(_a0 context.Context, entity params.ForgeEntity, scaleSetID uint, ...)) *Store_UpdateEntityScaleSet_Call
- func (_c *Store_UpdateEntityScaleSet_Call) RunAndReturn(...) *Store_UpdateEntityScaleSet_Call
- type Store_UpdateFileObject_Call
- func (_c *Store_UpdateFileObject_Call) Return(_a0 params.FileObject, _a1 error) *Store_UpdateFileObject_Call
- func (_c *Store_UpdateFileObject_Call) Run(run func(ctx context.Context, objID uint, param params.UpdateFileObjectParams)) *Store_UpdateFileObject_Call
- func (_c *Store_UpdateFileObject_Call) RunAndReturn(...) *Store_UpdateFileObject_Call
- type Store_UpdateGiteaCredentials_Call
- func (_c *Store_UpdateGiteaCredentials_Call) Return(gtCreds params.ForgeCredentials, err error) *Store_UpdateGiteaCredentials_Call
- func (_c *Store_UpdateGiteaCredentials_Call) Run(...) *Store_UpdateGiteaCredentials_Call
- func (_c *Store_UpdateGiteaCredentials_Call) RunAndReturn(...) *Store_UpdateGiteaCredentials_Call
- type Store_UpdateGiteaEndpoint_Call
- type Store_UpdateGithubCredentials_Call
- func (_c *Store_UpdateGithubCredentials_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_UpdateGithubCredentials_Call
- func (_c *Store_UpdateGithubCredentials_Call) Run(...) *Store_UpdateGithubCredentials_Call
- func (_c *Store_UpdateGithubCredentials_Call) RunAndReturn(...) *Store_UpdateGithubCredentials_Call
- type Store_UpdateGithubEndpoint_Call
- type Store_UpdateInstance_Call
- func (_c *Store_UpdateInstance_Call) Return(_a0 params.Instance, _a1 error) *Store_UpdateInstance_Call
- func (_c *Store_UpdateInstance_Call) Run(run func(ctx context.Context, instanceNameOrID string, ...)) *Store_UpdateInstance_Call
- func (_c *Store_UpdateInstance_Call) RunAndReturn(...) *Store_UpdateInstance_Call
- type Store_UpdateOrganization_Call
- func (_c *Store_UpdateOrganization_Call) Return(_a0 params.Organization, _a1 error) *Store_UpdateOrganization_Call
- func (_c *Store_UpdateOrganization_Call) Run(run func(ctx context.Context, orgID string, param params.UpdateEntityParams)) *Store_UpdateOrganization_Call
- func (_c *Store_UpdateOrganization_Call) RunAndReturn(...) *Store_UpdateOrganization_Call
- type Store_UpdateRepository_Call
- func (_c *Store_UpdateRepository_Call) Return(_a0 params.Repository, _a1 error) *Store_UpdateRepository_Call
- func (_c *Store_UpdateRepository_Call) Run(run func(ctx context.Context, repoID string, param params.UpdateEntityParams)) *Store_UpdateRepository_Call
- func (_c *Store_UpdateRepository_Call) RunAndReturn(...) *Store_UpdateRepository_Call
- type Store_UpdateTemplate_Call
- func (_c *Store_UpdateTemplate_Call) Return(template params.Template, err error) *Store_UpdateTemplate_Call
- func (_c *Store_UpdateTemplate_Call) Run(run func(ctx context.Context, id uint, param params.UpdateTemplateParams)) *Store_UpdateTemplate_Call
- func (_c *Store_UpdateTemplate_Call) RunAndReturn(...) *Store_UpdateTemplate_Call
- type Store_UpdateUser_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. 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 (*Store) AddEntityEvent ¶
func (_m *Store) AddEntityEvent(ctx context.Context, entity params.ForgeEntity, event params.EventType, eventLevel params.EventLevel, statusMessage string, maxEvents int) error
AddEntityEvent provides a mock function with given fields: ctx, entity, event, eventLevel, statusMessage, maxEvents
func (*Store) AddInstanceEvent ¶
func (_m *Store) AddInstanceEvent(ctx context.Context, instanceNameOrID string, event params.EventType, eventLevel params.EventLevel, eventMessage string) error
AddInstanceEvent provides a mock function with given fields: ctx, instanceNameOrID, event, eventLevel, eventMessage
func (*Store) BreakLockJobIsQueued ¶ added in v0.1.2
BreakLockJobIsQueued provides a mock function with given fields: ctx, jobID
func (*Store) ControllerInfo ¶
func (_m *Store) ControllerInfo() (params.ControllerInfo, error)
ControllerInfo provides a mock function with no fields
func (*Store) CreateEnterprise ¶
func (_m *Store) CreateEnterprise(ctx context.Context, name string, credentialsName params.ForgeCredentials, webhookSecret string, poolBalancerType params.PoolBalancerType, agentMode bool) (params.Enterprise, error)
CreateEnterprise provides a mock function with given fields: ctx, name, credentialsName, webhookSecret, poolBalancerType, agentMode
func (*Store) CreateEntityPool ¶ added in v0.1.5
func (_m *Store) CreateEntityPool(ctx context.Context, entity params.ForgeEntity, param params.CreatePoolParams) (params.Pool, error)
CreateEntityPool provides a mock function with given fields: ctx, entity, param
func (*Store) CreateEntityScaleSet ¶
func (_m *Store) CreateEntityScaleSet(_a0 context.Context, entity params.ForgeEntity, param params.CreateScaleSetParams) (params.ScaleSet, error)
CreateEntityScaleSet provides a mock function with given fields: _a0, entity, param
func (*Store) CreateFileObject ¶
func (_m *Store) CreateFileObject(ctx context.Context, param params.CreateFileObjectParams, reader io.Reader) (params.FileObject, error)
CreateFileObject provides a mock function with given fields: ctx, param, reader
func (*Store) CreateGiteaCredentials ¶
func (_m *Store) CreateGiteaCredentials(ctx context.Context, param params.CreateGiteaCredentialsParams) (params.ForgeCredentials, error)
CreateGiteaCredentials provides a mock function with given fields: ctx, param
func (*Store) CreateGiteaEndpoint ¶
func (_m *Store) CreateGiteaEndpoint(_a0 context.Context, param params.CreateGiteaEndpointParams) (params.ForgeEndpoint, error)
CreateGiteaEndpoint provides a mock function with given fields: _a0, param
func (*Store) CreateGithubCredentials ¶ added in v0.1.5
func (_m *Store) CreateGithubCredentials(ctx context.Context, param params.CreateGithubCredentialsParams) (params.ForgeCredentials, error)
CreateGithubCredentials provides a mock function with given fields: ctx, param
func (*Store) CreateGithubEndpoint ¶ added in v0.1.5
func (_m *Store) CreateGithubEndpoint(ctx context.Context, param params.CreateGithubEndpointParams) (params.ForgeEndpoint, error)
CreateGithubEndpoint provides a mock function with given fields: ctx, param
func (*Store) CreateInstance ¶
func (_m *Store) CreateInstance(ctx context.Context, poolID string, param params.CreateInstanceParams) (params.Instance, error)
CreateInstance provides a mock function with given fields: ctx, poolID, param
func (*Store) CreateOrUpdateJob ¶ added in v0.1.2
CreateOrUpdateJob provides a mock function with given fields: ctx, job
func (*Store) CreateOrganization ¶
func (_m *Store) CreateOrganization(ctx context.Context, name string, credentials params.ForgeCredentials, webhookSecret string, poolBalancerType params.PoolBalancerType, agentMode bool) (params.Organization, error)
CreateOrganization provides a mock function with given fields: ctx, name, credentials, webhookSecret, poolBalancerType, agentMode
func (*Store) CreateRepository ¶
func (_m *Store) CreateRepository(ctx context.Context, owner string, name string, credentials params.ForgeCredentials, webhookSecret string, poolBalancerType params.PoolBalancerType, agentMode bool) (params.Repository, error)
CreateRepository provides a mock function with given fields: ctx, owner, name, credentials, webhookSecret, poolBalancerType, agentMode
func (*Store) CreateScaleSetInstance ¶
func (_m *Store) CreateScaleSetInstance(_a0 context.Context, scaleSetID uint, param params.CreateInstanceParams) (params.Instance, error)
CreateScaleSetInstance provides a mock function with given fields: _a0, scaleSetID, param
func (*Store) CreateTemplate ¶
func (_m *Store) CreateTemplate(ctx context.Context, param params.CreateTemplateParams) (params.Template, error)
CreateTemplate provides a mock function with given fields: ctx, param
func (*Store) CreateUser ¶
CreateUser provides a mock function with given fields: ctx, user
func (*Store) DeleteEnterprise ¶
DeleteEnterprise provides a mock function with given fields: ctx, enterpriseID
func (*Store) DeleteEntityPool ¶ added in v0.1.5
func (_m *Store) DeleteEntityPool(ctx context.Context, entity params.ForgeEntity, poolID string) error
DeleteEntityPool provides a mock function with given fields: ctx, entity, poolID
func (*Store) DeleteFileObject ¶
DeleteFileObject provides a mock function with given fields: ctx, objID
func (*Store) DeleteFileObjectsByTags ¶
DeleteFileObjectsByTags provides a mock function with given fields: ctx, tags
func (*Store) DeleteGiteaCredentials ¶
DeleteGiteaCredentials provides a mock function with given fields: ctx, id
func (*Store) DeleteGiteaEndpoint ¶
DeleteGiteaEndpoint provides a mock function with given fields: _a0, name
func (*Store) DeleteGithubCredentials ¶ added in v0.1.5
DeleteGithubCredentials provides a mock function with given fields: ctx, id
func (*Store) DeleteGithubEndpoint ¶ added in v0.1.5
DeleteGithubEndpoint provides a mock function with given fields: ctx, name
func (*Store) DeleteInactionableJobs ¶
DeleteInactionableJobs provides a mock function with given fields: ctx, olderThan
func (*Store) DeleteInstance ¶
DeleteInstance provides a mock function with given fields: ctx, poolID, instanceNameOrID
func (*Store) DeleteInstanceByName ¶
DeleteInstanceByName provides a mock function with given fields: ctx, instanceName
func (*Store) DeleteJob ¶ added in v0.1.2
DeleteJob provides a mock function with given fields: ctx, jobID
func (*Store) DeleteOrganization ¶
DeleteOrganization provides a mock function with given fields: ctx, orgID
func (*Store) DeletePoolByID ¶
DeletePoolByID provides a mock function with given fields: ctx, poolID
func (*Store) DeleteRepository ¶
DeleteRepository provides a mock function with given fields: ctx, repoID
func (*Store) DeleteScaleSetByID ¶
DeleteScaleSetByID provides a mock function with given fields: ctx, scaleSetID
func (*Store) DeleteTemplate ¶
DeleteTemplate provides a mock function with given fields: ctx, id
func (*Store) EXPECT ¶
func (_m *Store) EXPECT() *Store_Expecter
func (*Store) FindPoolsMatchingAllTags ¶ added in v0.1.2
func (_m *Store) FindPoolsMatchingAllTags(ctx context.Context, entityType params.ForgeEntityType, entityID string, tags []string) ([]params.Pool, error)
FindPoolsMatchingAllTags provides a mock function with given fields: ctx, entityType, entityID, tags
func (*Store) ForceUpdateInstance ¶
func (_m *Store) ForceUpdateInstance(ctx context.Context, instanceName string, param params.UpdateInstanceParams) (params.Instance, error)
ForceUpdateInstance provides a mock function with given fields: ctx, instanceName, param
func (*Store) GetAdminUser ¶ added in v0.1.5
GetAdminUser provides a mock function with given fields: ctx
func (*Store) GetEnterprise ¶
func (_m *Store) GetEnterprise(ctx context.Context, name string, endpointName string) (params.Enterprise, error)
GetEnterprise provides a mock function with given fields: ctx, name, endpointName
func (*Store) GetEnterpriseByID ¶
func (_m *Store) GetEnterpriseByID(ctx context.Context, enterpriseID string) (params.Enterprise, error)
GetEnterpriseByID provides a mock function with given fields: ctx, enterpriseID
func (*Store) GetEntityPool ¶ added in v0.1.5
func (_m *Store) GetEntityPool(ctx context.Context, entity params.ForgeEntity, poolID string) (params.Pool, error)
GetEntityPool provides a mock function with given fields: ctx, entity, poolID
func (*Store) GetFileObject ¶
GetFileObject provides a mock function with given fields: ctx, objID
func (*Store) GetForgeEntity ¶
func (_m *Store) GetForgeEntity(_a0 context.Context, entityType params.ForgeEntityType, entityID string) (params.ForgeEntity, error)
GetForgeEntity provides a mock function with given fields: _a0, entityType, entityID
func (*Store) GetGiteaCredentials ¶
func (_m *Store) GetGiteaCredentials(ctx context.Context, id uint, detailed bool) (params.ForgeCredentials, error)
GetGiteaCredentials provides a mock function with given fields: ctx, id, detailed
func (*Store) GetGiteaCredentialsByName ¶
func (_m *Store) GetGiteaCredentialsByName(ctx context.Context, name string, detailed bool) (params.ForgeCredentials, error)
GetGiteaCredentialsByName provides a mock function with given fields: ctx, name, detailed
func (*Store) GetGiteaEndpoint ¶
GetGiteaEndpoint provides a mock function with given fields: _a0, name
func (*Store) GetGithubCredentials ¶ added in v0.1.5
func (_m *Store) GetGithubCredentials(ctx context.Context, id uint, detailed bool) (params.ForgeCredentials, error)
GetGithubCredentials provides a mock function with given fields: ctx, id, detailed
func (*Store) GetGithubCredentialsByName ¶ added in v0.1.5
func (_m *Store) GetGithubCredentialsByName(ctx context.Context, name string, detailed bool) (params.ForgeCredentials, error)
GetGithubCredentialsByName provides a mock function with given fields: ctx, name, detailed
func (*Store) GetGithubEndpoint ¶ added in v0.1.5
GetGithubEndpoint provides a mock function with given fields: ctx, name
func (*Store) GetInstance ¶
GetInstance provides a mock function with given fields: ctx, instanceNameOrID
func (*Store) GetJobByID ¶ added in v0.1.2
GetJobByID provides a mock function with given fields: ctx, jobID
func (*Store) GetOrganization ¶
func (_m *Store) GetOrganization(ctx context.Context, name string, endpointName string) (params.Organization, error)
GetOrganization provides a mock function with given fields: ctx, name, endpointName
func (*Store) GetOrganizationByID ¶
func (_m *Store) GetOrganizationByID(ctx context.Context, orgID string) (params.Organization, error)
GetOrganizationByID provides a mock function with given fields: ctx, orgID
func (*Store) GetPoolByID ¶
GetPoolByID provides a mock function with given fields: ctx, poolID
func (*Store) GetRepository ¶
func (_m *Store) GetRepository(ctx context.Context, owner string, name string, endpointName string) (params.Repository, error)
GetRepository provides a mock function with given fields: ctx, owner, name, endpointName
func (*Store) GetRepositoryByID ¶
GetRepositoryByID provides a mock function with given fields: ctx, repoID
func (*Store) GetScaleSetByID ¶
GetScaleSetByID provides a mock function with given fields: ctx, scaleSet
func (*Store) GetTemplate ¶
GetTemplate provides a mock function with given fields: ctx, id
func (*Store) GetTemplateByName ¶
GetTemplateByName provides a mock function with given fields: ctx, name
func (*Store) GetUserByID ¶
GetUserByID provides a mock function with given fields: ctx, userID
func (*Store) HasAdminUser ¶
HasAdminUser provides a mock function with given fields: ctx
func (*Store) HasEntitiesWithAgentModeEnabled ¶
HasEntitiesWithAgentModeEnabled provides a mock function with no fields
func (*Store) InitController ¶
func (_m *Store) InitController() (params.ControllerInfo, error)
InitController provides a mock function with no fields
func (*Store) ListAllInstances ¶
ListAllInstances provides a mock function with given fields: ctx
func (*Store) ListAllJobs ¶ added in v0.1.2
ListAllJobs provides a mock function with given fields: ctx
func (*Store) ListAllPools ¶
ListAllPools provides a mock function with given fields: ctx
func (*Store) ListAllScaleSets ¶
ListAllScaleSets provides a mock function with given fields: ctx
func (*Store) ListEnterprises ¶
func (_m *Store) ListEnterprises(ctx context.Context, filter params.EnterpriseFilter) ([]params.Enterprise, error)
ListEnterprises provides a mock function with given fields: ctx, filter
func (*Store) ListEntityInstances ¶ added in v0.1.5
func (_m *Store) ListEntityInstances(ctx context.Context, entity params.ForgeEntity) ([]params.Instance, error)
ListEntityInstances provides a mock function with given fields: ctx, entity
func (*Store) ListEntityJobsByStatus ¶ added in v0.1.2
func (_m *Store) ListEntityJobsByStatus(ctx context.Context, entityType params.ForgeEntityType, entityID string, status params.JobStatus) ([]params.Job, error)
ListEntityJobsByStatus provides a mock function with given fields: ctx, entityType, entityID, status
func (*Store) ListEntityPools ¶ added in v0.1.5
func (_m *Store) ListEntityPools(ctx context.Context, entity params.ForgeEntity) ([]params.Pool, error)
ListEntityPools provides a mock function with given fields: ctx, entity
func (*Store) ListEntityScaleSets ¶
func (_m *Store) ListEntityScaleSets(_a0 context.Context, entity params.ForgeEntity) ([]params.ScaleSet, error)
ListEntityScaleSets provides a mock function with given fields: _a0, entity
func (*Store) ListFileObjects ¶
func (_m *Store) ListFileObjects(ctx context.Context, page uint64, pageSize uint64) (params.FileObjectPaginatedResponse, error)
ListFileObjects provides a mock function with given fields: ctx, page, pageSize
func (*Store) ListGiteaCredentials ¶
ListGiteaCredentials provides a mock function with given fields: ctx
func (*Store) ListGiteaEndpoints ¶
ListGiteaEndpoints provides a mock function with given fields: _a0
func (*Store) ListGithubCredentials ¶ added in v0.1.5
ListGithubCredentials provides a mock function with given fields: ctx
func (*Store) ListGithubEndpoints ¶ added in v0.1.5
ListGithubEndpoints provides a mock function with given fields: ctx
func (*Store) ListJobsByStatus ¶ added in v0.1.2
func (_m *Store) ListJobsByStatus(ctx context.Context, status params.JobStatus) ([]params.Job, error)
ListJobsByStatus provides a mock function with given fields: ctx, status
func (*Store) ListOrganizations ¶
func (_m *Store) ListOrganizations(ctx context.Context, filter params.OrganizationFilter) ([]params.Organization, error)
ListOrganizations provides a mock function with given fields: ctx, filter
func (*Store) ListPoolInstances ¶
func (_m *Store) ListPoolInstances(ctx context.Context, poolID string, oudatedOnly bool) ([]params.Instance, error)
ListPoolInstances provides a mock function with given fields: ctx, poolID, oudatedOnly
func (*Store) ListRepositories ¶
func (_m *Store) ListRepositories(ctx context.Context, filter params.RepositoryFilter) ([]params.Repository, error)
ListRepositories provides a mock function with given fields: ctx, filter
func (*Store) ListScaleSetInstances ¶
func (_m *Store) ListScaleSetInstances(_a0 context.Context, scalesetID uint, outdatedOnly bool) ([]params.Instance, error)
ListScaleSetInstances provides a mock function with given fields: _a0, scalesetID, outdatedOnly
func (*Store) ListTemplates ¶
func (_m *Store) ListTemplates(ctx context.Context, osType *garm_provider_commonparams.OSType, forgeType *params.EndpointType, partialName *string) ([]params.Template, error)
ListTemplates provides a mock function with given fields: ctx, osType, forgeType, partialName
func (*Store) LockJob ¶ added in v0.1.2
LockJob provides a mock function with given fields: ctx, jobID, entityID
func (*Store) OpenFileObjectContent ¶
OpenFileObjectContent provides a mock function with given fields: ctx, objID
func (*Store) PoolInstanceCount ¶
PoolInstanceCount provides a mock function with given fields: ctx, poolID
func (*Store) SearchFileObjectByTags ¶
func (_m *Store) SearchFileObjectByTags(ctx context.Context, tags []string, page uint64, pageSize uint64) (params.FileObjectPaginatedResponse, error)
SearchFileObjectByTags provides a mock function with given fields: ctx, tags, page, pageSize
func (*Store) SetEntityPoolManagerStatus ¶
func (_m *Store) SetEntityPoolManagerStatus(ctx context.Context, entity params.ForgeEntity, param params.PoolManagerStatus) error
SetEntityPoolManagerStatus provides a mock function with given fields: ctx, entity, param
func (*Store) SetScaleSetDesiredRunnerCount ¶
func (_m *Store) SetScaleSetDesiredRunnerCount(ctx context.Context, scaleSetID uint, desiredRunnerCount int) error
SetScaleSetDesiredRunnerCount provides a mock function with given fields: ctx, scaleSetID, desiredRunnerCount
func (*Store) SetScaleSetLastMessageID ¶
func (_m *Store) SetScaleSetLastMessageID(ctx context.Context, scaleSetID uint, lastMessageID int64) error
SetScaleSetLastMessageID provides a mock function with given fields: ctx, scaleSetID, lastMessageID
func (*Store) UnlockJob ¶ added in v0.1.2
UnlockJob provides a mock function with given fields: ctx, jobID, entityID
func (*Store) UpdateCachedGARMAgentRelease ¶
UpdateCachedGARMAgentRelease provides a mock function with given fields: releaseData, fetchedAt
func (*Store) UpdateController ¶ added in v0.1.5
func (_m *Store) UpdateController(info params.UpdateControllerParams) (params.ControllerInfo, error)
UpdateController provides a mock function with given fields: info
func (*Store) UpdateEnterprise ¶
func (_m *Store) UpdateEnterprise(ctx context.Context, enterpriseID string, param params.UpdateEntityParams) (params.Enterprise, error)
UpdateEnterprise provides a mock function with given fields: ctx, enterpriseID, param
func (*Store) UpdateEntityPool ¶ added in v0.1.5
func (_m *Store) UpdateEntityPool(ctx context.Context, entity params.ForgeEntity, poolID string, param params.UpdatePoolParams) (params.Pool, error)
UpdateEntityPool provides a mock function with given fields: ctx, entity, poolID, param
func (*Store) UpdateEntityScaleSet ¶
func (_m *Store) UpdateEntityScaleSet(_a0 context.Context, entity params.ForgeEntity, scaleSetID uint, param params.UpdateScaleSetParams, callback func(params.ScaleSet, params.ScaleSet) error) (params.ScaleSet, error)
UpdateEntityScaleSet provides a mock function with given fields: _a0, entity, scaleSetID, param, callback
func (*Store) UpdateFileObject ¶
func (_m *Store) UpdateFileObject(ctx context.Context, objID uint, param params.UpdateFileObjectParams) (params.FileObject, error)
UpdateFileObject provides a mock function with given fields: ctx, objID, param
func (*Store) UpdateGiteaCredentials ¶
func (_m *Store) UpdateGiteaCredentials(ctx context.Context, id uint, param params.UpdateGiteaCredentialsParams) (params.ForgeCredentials, error)
UpdateGiteaCredentials provides a mock function with given fields: ctx, id, param
func (*Store) UpdateGiteaEndpoint ¶
func (_m *Store) UpdateGiteaEndpoint(_a0 context.Context, name string, param params.UpdateGiteaEndpointParams) (params.ForgeEndpoint, error)
UpdateGiteaEndpoint provides a mock function with given fields: _a0, name, param
func (*Store) UpdateGithubCredentials ¶ added in v0.1.5
func (_m *Store) UpdateGithubCredentials(ctx context.Context, id uint, param params.UpdateGithubCredentialsParams) (params.ForgeCredentials, error)
UpdateGithubCredentials provides a mock function with given fields: ctx, id, param
func (*Store) UpdateGithubEndpoint ¶ added in v0.1.5
func (_m *Store) UpdateGithubEndpoint(ctx context.Context, name string, param params.UpdateGithubEndpointParams) (params.ForgeEndpoint, error)
UpdateGithubEndpoint provides a mock function with given fields: ctx, name, param
func (*Store) UpdateInstance ¶
func (_m *Store) UpdateInstance(ctx context.Context, instanceNameOrID string, param params.UpdateInstanceParams) (params.Instance, error)
UpdateInstance provides a mock function with given fields: ctx, instanceNameOrID, param
func (*Store) UpdateOrganization ¶
func (_m *Store) UpdateOrganization(ctx context.Context, orgID string, param params.UpdateEntityParams) (params.Organization, error)
UpdateOrganization provides a mock function with given fields: ctx, orgID, param
func (*Store) UpdateRepository ¶
func (_m *Store) UpdateRepository(ctx context.Context, repoID string, param params.UpdateEntityParams) (params.Repository, error)
UpdateRepository provides a mock function with given fields: ctx, repoID, param
type Store_AddEntityEvent_Call ¶
Store_AddEntityEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddEntityEvent'
func (*Store_AddEntityEvent_Call) Return ¶
func (_c *Store_AddEntityEvent_Call) Return(_a0 error) *Store_AddEntityEvent_Call
func (*Store_AddEntityEvent_Call) Run ¶
func (_c *Store_AddEntityEvent_Call) Run(run func(ctx context.Context, entity params.ForgeEntity, event params.EventType, eventLevel params.EventLevel, statusMessage string, maxEvents int)) *Store_AddEntityEvent_Call
func (*Store_AddEntityEvent_Call) RunAndReturn ¶
func (_c *Store_AddEntityEvent_Call) RunAndReturn(run func(context.Context, params.ForgeEntity, params.EventType, params.EventLevel, string, int) error) *Store_AddEntityEvent_Call
type Store_AddInstanceEvent_Call ¶
Store_AddInstanceEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInstanceEvent'
func (*Store_AddInstanceEvent_Call) Return ¶
func (_c *Store_AddInstanceEvent_Call) Return(_a0 error) *Store_AddInstanceEvent_Call
func (*Store_AddInstanceEvent_Call) Run ¶
func (_c *Store_AddInstanceEvent_Call) Run(run func(ctx context.Context, instanceNameOrID string, event params.EventType, eventLevel params.EventLevel, eventMessage string)) *Store_AddInstanceEvent_Call
func (*Store_AddInstanceEvent_Call) RunAndReturn ¶
func (_c *Store_AddInstanceEvent_Call) RunAndReturn(run func(context.Context, string, params.EventType, params.EventLevel, string) error) *Store_AddInstanceEvent_Call
type Store_BreakLockJobIsQueued_Call ¶
Store_BreakLockJobIsQueued_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BreakLockJobIsQueued'
func (*Store_BreakLockJobIsQueued_Call) Return ¶
func (_c *Store_BreakLockJobIsQueued_Call) Return(_a0 error) *Store_BreakLockJobIsQueued_Call
func (*Store_BreakLockJobIsQueued_Call) Run ¶
func (_c *Store_BreakLockJobIsQueued_Call) Run(run func(ctx context.Context, jobID int64)) *Store_BreakLockJobIsQueued_Call
func (*Store_BreakLockJobIsQueued_Call) RunAndReturn ¶
func (_c *Store_BreakLockJobIsQueued_Call) RunAndReturn(run func(context.Context, int64) error) *Store_BreakLockJobIsQueued_Call
type Store_ControllerInfo_Call ¶
Store_ControllerInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ControllerInfo'
func (*Store_ControllerInfo_Call) Return ¶
func (_c *Store_ControllerInfo_Call) Return(_a0 params.ControllerInfo, _a1 error) *Store_ControllerInfo_Call
func (*Store_ControllerInfo_Call) Run ¶
func (_c *Store_ControllerInfo_Call) Run(run func()) *Store_ControllerInfo_Call
func (*Store_ControllerInfo_Call) RunAndReturn ¶
func (_c *Store_ControllerInfo_Call) RunAndReturn(run func() (params.ControllerInfo, error)) *Store_ControllerInfo_Call
type Store_CreateEnterprise_Call ¶
Store_CreateEnterprise_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEnterprise'
func (*Store_CreateEnterprise_Call) Return ¶
func (_c *Store_CreateEnterprise_Call) Return(_a0 params.Enterprise, _a1 error) *Store_CreateEnterprise_Call
func (*Store_CreateEnterprise_Call) Run ¶
func (_c *Store_CreateEnterprise_Call) Run(run func(ctx context.Context, name string, credentialsName params.ForgeCredentials, webhookSecret string, poolBalancerType params.PoolBalancerType, agentMode bool)) *Store_CreateEnterprise_Call
func (*Store_CreateEnterprise_Call) RunAndReturn ¶
func (_c *Store_CreateEnterprise_Call) RunAndReturn(run func(context.Context, string, params.ForgeCredentials, string, params.PoolBalancerType, bool) (params.Enterprise, error)) *Store_CreateEnterprise_Call
type Store_CreateEntityPool_Call ¶
Store_CreateEntityPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEntityPool'
func (*Store_CreateEntityPool_Call) Return ¶
func (_c *Store_CreateEntityPool_Call) Return(_a0 params.Pool, _a1 error) *Store_CreateEntityPool_Call
func (*Store_CreateEntityPool_Call) Run ¶
func (_c *Store_CreateEntityPool_Call) Run(run func(ctx context.Context, entity params.ForgeEntity, param params.CreatePoolParams)) *Store_CreateEntityPool_Call
func (*Store_CreateEntityPool_Call) RunAndReturn ¶
func (_c *Store_CreateEntityPool_Call) RunAndReturn(run func(context.Context, params.ForgeEntity, params.CreatePoolParams) (params.Pool, error)) *Store_CreateEntityPool_Call
type Store_CreateEntityScaleSet_Call ¶
Store_CreateEntityScaleSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEntityScaleSet'
func (*Store_CreateEntityScaleSet_Call) Return ¶
func (_c *Store_CreateEntityScaleSet_Call) Return(scaleSet params.ScaleSet, err error) *Store_CreateEntityScaleSet_Call
func (*Store_CreateEntityScaleSet_Call) Run ¶
func (_c *Store_CreateEntityScaleSet_Call) Run(run func(_a0 context.Context, entity params.ForgeEntity, param params.CreateScaleSetParams)) *Store_CreateEntityScaleSet_Call
func (*Store_CreateEntityScaleSet_Call) RunAndReturn ¶
func (_c *Store_CreateEntityScaleSet_Call) RunAndReturn(run func(context.Context, params.ForgeEntity, params.CreateScaleSetParams) (params.ScaleSet, error)) *Store_CreateEntityScaleSet_Call
type Store_CreateFileObject_Call ¶
Store_CreateFileObject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateFileObject'
func (*Store_CreateFileObject_Call) Return ¶
func (_c *Store_CreateFileObject_Call) Return(fileObjParam params.FileObject, err error) *Store_CreateFileObject_Call
func (*Store_CreateFileObject_Call) Run ¶
func (_c *Store_CreateFileObject_Call) Run(run func(ctx context.Context, param params.CreateFileObjectParams, reader io.Reader)) *Store_CreateFileObject_Call
func (*Store_CreateFileObject_Call) RunAndReturn ¶
func (_c *Store_CreateFileObject_Call) RunAndReturn(run func(context.Context, params.CreateFileObjectParams, io.Reader) (params.FileObject, error)) *Store_CreateFileObject_Call
type Store_CreateGiteaCredentials_Call ¶
Store_CreateGiteaCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateGiteaCredentials'
func (*Store_CreateGiteaCredentials_Call) Return ¶
func (_c *Store_CreateGiteaCredentials_Call) Return(gtCreds params.ForgeCredentials, err error) *Store_CreateGiteaCredentials_Call
func (*Store_CreateGiteaCredentials_Call) Run ¶
func (_c *Store_CreateGiteaCredentials_Call) Run(run func(ctx context.Context, param params.CreateGiteaCredentialsParams)) *Store_CreateGiteaCredentials_Call
func (*Store_CreateGiteaCredentials_Call) RunAndReturn ¶
func (_c *Store_CreateGiteaCredentials_Call) RunAndReturn(run func(context.Context, params.CreateGiteaCredentialsParams) (params.ForgeCredentials, error)) *Store_CreateGiteaCredentials_Call
type Store_CreateGiteaEndpoint_Call ¶
Store_CreateGiteaEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateGiteaEndpoint'
func (*Store_CreateGiteaEndpoint_Call) Return ¶
func (_c *Store_CreateGiteaEndpoint_Call) Return(ghEndpoint params.ForgeEndpoint, err error) *Store_CreateGiteaEndpoint_Call
func (*Store_CreateGiteaEndpoint_Call) Run ¶
func (_c *Store_CreateGiteaEndpoint_Call) Run(run func(_a0 context.Context, param params.CreateGiteaEndpointParams)) *Store_CreateGiteaEndpoint_Call
func (*Store_CreateGiteaEndpoint_Call) RunAndReturn ¶
func (_c *Store_CreateGiteaEndpoint_Call) RunAndReturn(run func(context.Context, params.CreateGiteaEndpointParams) (params.ForgeEndpoint, error)) *Store_CreateGiteaEndpoint_Call
type Store_CreateGithubCredentials_Call ¶
Store_CreateGithubCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateGithubCredentials'
func (*Store_CreateGithubCredentials_Call) Return ¶
func (_c *Store_CreateGithubCredentials_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_CreateGithubCredentials_Call
func (*Store_CreateGithubCredentials_Call) Run ¶
func (_c *Store_CreateGithubCredentials_Call) Run(run func(ctx context.Context, param params.CreateGithubCredentialsParams)) *Store_CreateGithubCredentials_Call
func (*Store_CreateGithubCredentials_Call) RunAndReturn ¶
func (_c *Store_CreateGithubCredentials_Call) RunAndReturn(run func(context.Context, params.CreateGithubCredentialsParams) (params.ForgeCredentials, error)) *Store_CreateGithubCredentials_Call
type Store_CreateGithubEndpoint_Call ¶
Store_CreateGithubEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateGithubEndpoint'
func (*Store_CreateGithubEndpoint_Call) Return ¶
func (_c *Store_CreateGithubEndpoint_Call) Return(_a0 params.ForgeEndpoint, _a1 error) *Store_CreateGithubEndpoint_Call
func (*Store_CreateGithubEndpoint_Call) Run ¶
func (_c *Store_CreateGithubEndpoint_Call) Run(run func(ctx context.Context, param params.CreateGithubEndpointParams)) *Store_CreateGithubEndpoint_Call
func (*Store_CreateGithubEndpoint_Call) RunAndReturn ¶
func (_c *Store_CreateGithubEndpoint_Call) RunAndReturn(run func(context.Context, params.CreateGithubEndpointParams) (params.ForgeEndpoint, error)) *Store_CreateGithubEndpoint_Call
type Store_CreateInstance_Call ¶
Store_CreateInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateInstance'
func (*Store_CreateInstance_Call) Return ¶
func (_c *Store_CreateInstance_Call) Return(_a0 params.Instance, _a1 error) *Store_CreateInstance_Call
func (*Store_CreateInstance_Call) Run ¶
func (_c *Store_CreateInstance_Call) Run(run func(ctx context.Context, poolID string, param params.CreateInstanceParams)) *Store_CreateInstance_Call
func (*Store_CreateInstance_Call) RunAndReturn ¶
func (_c *Store_CreateInstance_Call) RunAndReturn(run func(context.Context, string, params.CreateInstanceParams) (params.Instance, error)) *Store_CreateInstance_Call
type Store_CreateOrUpdateJob_Call ¶
Store_CreateOrUpdateJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOrUpdateJob'
func (*Store_CreateOrUpdateJob_Call) Return ¶
func (_c *Store_CreateOrUpdateJob_Call) Return(_a0 params.Job, _a1 error) *Store_CreateOrUpdateJob_Call
func (*Store_CreateOrUpdateJob_Call) Run ¶
func (_c *Store_CreateOrUpdateJob_Call) Run(run func(ctx context.Context, job params.Job)) *Store_CreateOrUpdateJob_Call
func (*Store_CreateOrUpdateJob_Call) RunAndReturn ¶
func (_c *Store_CreateOrUpdateJob_Call) RunAndReturn(run func(context.Context, params.Job) (params.Job, error)) *Store_CreateOrUpdateJob_Call
type Store_CreateOrganization_Call ¶
Store_CreateOrganization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOrganization'
func (*Store_CreateOrganization_Call) Return ¶
func (_c *Store_CreateOrganization_Call) Return(org params.Organization, err error) *Store_CreateOrganization_Call
func (*Store_CreateOrganization_Call) Run ¶
func (_c *Store_CreateOrganization_Call) Run(run func(ctx context.Context, name string, credentials params.ForgeCredentials, webhookSecret string, poolBalancerType params.PoolBalancerType, agentMode bool)) *Store_CreateOrganization_Call
func (*Store_CreateOrganization_Call) RunAndReturn ¶
func (_c *Store_CreateOrganization_Call) RunAndReturn(run func(context.Context, string, params.ForgeCredentials, string, params.PoolBalancerType, bool) (params.Organization, error)) *Store_CreateOrganization_Call
type Store_CreateRepository_Call ¶
Store_CreateRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepository'
func (*Store_CreateRepository_Call) Return ¶
func (_c *Store_CreateRepository_Call) Return(param params.Repository, err error) *Store_CreateRepository_Call
func (*Store_CreateRepository_Call) Run ¶
func (_c *Store_CreateRepository_Call) Run(run func(ctx context.Context, owner string, name string, credentials params.ForgeCredentials, webhookSecret string, poolBalancerType params.PoolBalancerType, agentMode bool)) *Store_CreateRepository_Call
func (*Store_CreateRepository_Call) RunAndReturn ¶
func (_c *Store_CreateRepository_Call) RunAndReturn(run func(context.Context, string, string, params.ForgeCredentials, string, params.PoolBalancerType, bool) (params.Repository, error)) *Store_CreateRepository_Call
type Store_CreateScaleSetInstance_Call ¶
Store_CreateScaleSetInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateScaleSetInstance'
func (*Store_CreateScaleSetInstance_Call) Return ¶
func (_c *Store_CreateScaleSetInstance_Call) Return(instance params.Instance, err error) *Store_CreateScaleSetInstance_Call
func (*Store_CreateScaleSetInstance_Call) Run ¶
func (_c *Store_CreateScaleSetInstance_Call) Run(run func(_a0 context.Context, scaleSetID uint, param params.CreateInstanceParams)) *Store_CreateScaleSetInstance_Call
func (*Store_CreateScaleSetInstance_Call) RunAndReturn ¶
func (_c *Store_CreateScaleSetInstance_Call) RunAndReturn(run func(context.Context, uint, params.CreateInstanceParams) (params.Instance, error)) *Store_CreateScaleSetInstance_Call
type Store_CreateTemplate_Call ¶
Store_CreateTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTemplate'
func (*Store_CreateTemplate_Call) Return ¶
func (_c *Store_CreateTemplate_Call) Return(template params.Template, err error) *Store_CreateTemplate_Call
func (*Store_CreateTemplate_Call) Run ¶
func (_c *Store_CreateTemplate_Call) Run(run func(ctx context.Context, param params.CreateTemplateParams)) *Store_CreateTemplate_Call
func (*Store_CreateTemplate_Call) RunAndReturn ¶
func (_c *Store_CreateTemplate_Call) RunAndReturn(run func(context.Context, params.CreateTemplateParams) (params.Template, error)) *Store_CreateTemplate_Call
type Store_CreateUser_Call ¶
Store_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'
func (*Store_CreateUser_Call) Return ¶
func (_c *Store_CreateUser_Call) Return(_a0 params.User, _a1 error) *Store_CreateUser_Call
func (*Store_CreateUser_Call) Run ¶
func (_c *Store_CreateUser_Call) Run(run func(ctx context.Context, user params.NewUserParams)) *Store_CreateUser_Call
func (*Store_CreateUser_Call) RunAndReturn ¶
func (_c *Store_CreateUser_Call) RunAndReturn(run func(context.Context, params.NewUserParams) (params.User, error)) *Store_CreateUser_Call
type Store_DeleteEnterprise_Call ¶
Store_DeleteEnterprise_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEnterprise'
func (*Store_DeleteEnterprise_Call) Return ¶
func (_c *Store_DeleteEnterprise_Call) Return(_a0 error) *Store_DeleteEnterprise_Call
func (*Store_DeleteEnterprise_Call) Run ¶
func (_c *Store_DeleteEnterprise_Call) Run(run func(ctx context.Context, enterpriseID string)) *Store_DeleteEnterprise_Call
func (*Store_DeleteEnterprise_Call) RunAndReturn ¶
func (_c *Store_DeleteEnterprise_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteEnterprise_Call
type Store_DeleteEntityPool_Call ¶
Store_DeleteEntityPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEntityPool'
func (*Store_DeleteEntityPool_Call) Return ¶
func (_c *Store_DeleteEntityPool_Call) Return(_a0 error) *Store_DeleteEntityPool_Call
func (*Store_DeleteEntityPool_Call) Run ¶
func (_c *Store_DeleteEntityPool_Call) Run(run func(ctx context.Context, entity params.ForgeEntity, poolID string)) *Store_DeleteEntityPool_Call
func (*Store_DeleteEntityPool_Call) RunAndReturn ¶
func (_c *Store_DeleteEntityPool_Call) RunAndReturn(run func(context.Context, params.ForgeEntity, string) error) *Store_DeleteEntityPool_Call
type Store_DeleteFileObject_Call ¶
Store_DeleteFileObject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteFileObject'
func (*Store_DeleteFileObject_Call) Return ¶
func (_c *Store_DeleteFileObject_Call) Return(_a0 error) *Store_DeleteFileObject_Call
func (*Store_DeleteFileObject_Call) Run ¶
func (_c *Store_DeleteFileObject_Call) Run(run func(ctx context.Context, objID uint)) *Store_DeleteFileObject_Call
func (*Store_DeleteFileObject_Call) RunAndReturn ¶
func (_c *Store_DeleteFileObject_Call) RunAndReturn(run func(context.Context, uint) error) *Store_DeleteFileObject_Call
type Store_DeleteFileObjectsByTags_Call ¶
Store_DeleteFileObjectsByTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteFileObjectsByTags'
func (*Store_DeleteFileObjectsByTags_Call) Return ¶
func (_c *Store_DeleteFileObjectsByTags_Call) Return(_a0 int64, _a1 error) *Store_DeleteFileObjectsByTags_Call
func (*Store_DeleteFileObjectsByTags_Call) Run ¶
func (_c *Store_DeleteFileObjectsByTags_Call) Run(run func(ctx context.Context, tags []string)) *Store_DeleteFileObjectsByTags_Call
func (*Store_DeleteFileObjectsByTags_Call) RunAndReturn ¶
func (_c *Store_DeleteFileObjectsByTags_Call) RunAndReturn(run func(context.Context, []string) (int64, error)) *Store_DeleteFileObjectsByTags_Call
type Store_DeleteGiteaCredentials_Call ¶
Store_DeleteGiteaCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteGiteaCredentials'
func (*Store_DeleteGiteaCredentials_Call) Return ¶
func (_c *Store_DeleteGiteaCredentials_Call) Return(err error) *Store_DeleteGiteaCredentials_Call
func (*Store_DeleteGiteaCredentials_Call) Run ¶
func (_c *Store_DeleteGiteaCredentials_Call) Run(run func(ctx context.Context, id uint)) *Store_DeleteGiteaCredentials_Call
func (*Store_DeleteGiteaCredentials_Call) RunAndReturn ¶
func (_c *Store_DeleteGiteaCredentials_Call) RunAndReturn(run func(context.Context, uint) error) *Store_DeleteGiteaCredentials_Call
type Store_DeleteGiteaEndpoint_Call ¶
Store_DeleteGiteaEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteGiteaEndpoint'
func (*Store_DeleteGiteaEndpoint_Call) Return ¶
func (_c *Store_DeleteGiteaEndpoint_Call) Return(err error) *Store_DeleteGiteaEndpoint_Call
func (*Store_DeleteGiteaEndpoint_Call) Run ¶
func (_c *Store_DeleteGiteaEndpoint_Call) Run(run func(_a0 context.Context, name string)) *Store_DeleteGiteaEndpoint_Call
func (*Store_DeleteGiteaEndpoint_Call) RunAndReturn ¶
func (_c *Store_DeleteGiteaEndpoint_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteGiteaEndpoint_Call
type Store_DeleteGithubCredentials_Call ¶
Store_DeleteGithubCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteGithubCredentials'
func (*Store_DeleteGithubCredentials_Call) Return ¶
func (_c *Store_DeleteGithubCredentials_Call) Return(_a0 error) *Store_DeleteGithubCredentials_Call
func (*Store_DeleteGithubCredentials_Call) Run ¶
func (_c *Store_DeleteGithubCredentials_Call) Run(run func(ctx context.Context, id uint)) *Store_DeleteGithubCredentials_Call
func (*Store_DeleteGithubCredentials_Call) RunAndReturn ¶
func (_c *Store_DeleteGithubCredentials_Call) RunAndReturn(run func(context.Context, uint) error) *Store_DeleteGithubCredentials_Call
type Store_DeleteGithubEndpoint_Call ¶
Store_DeleteGithubEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteGithubEndpoint'
func (*Store_DeleteGithubEndpoint_Call) Return ¶
func (_c *Store_DeleteGithubEndpoint_Call) Return(_a0 error) *Store_DeleteGithubEndpoint_Call
func (*Store_DeleteGithubEndpoint_Call) Run ¶
func (_c *Store_DeleteGithubEndpoint_Call) Run(run func(ctx context.Context, name string)) *Store_DeleteGithubEndpoint_Call
func (*Store_DeleteGithubEndpoint_Call) RunAndReturn ¶
func (_c *Store_DeleteGithubEndpoint_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteGithubEndpoint_Call
type Store_DeleteInactionableJobs_Call ¶
Store_DeleteInactionableJobs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteInactionableJobs'
func (*Store_DeleteInactionableJobs_Call) Return ¶
func (_c *Store_DeleteInactionableJobs_Call) Return(_a0 error) *Store_DeleteInactionableJobs_Call
func (*Store_DeleteInactionableJobs_Call) Run ¶
func (_c *Store_DeleteInactionableJobs_Call) Run(run func(ctx context.Context, olderThan time.Duration)) *Store_DeleteInactionableJobs_Call
func (*Store_DeleteInactionableJobs_Call) RunAndReturn ¶
func (_c *Store_DeleteInactionableJobs_Call) RunAndReturn(run func(context.Context, time.Duration) error) *Store_DeleteInactionableJobs_Call
type Store_DeleteInstanceByName_Call ¶
Store_DeleteInstanceByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteInstanceByName'
func (*Store_DeleteInstanceByName_Call) Return ¶
func (_c *Store_DeleteInstanceByName_Call) Return(_a0 error) *Store_DeleteInstanceByName_Call
func (*Store_DeleteInstanceByName_Call) Run ¶
func (_c *Store_DeleteInstanceByName_Call) Run(run func(ctx context.Context, instanceName string)) *Store_DeleteInstanceByName_Call
func (*Store_DeleteInstanceByName_Call) RunAndReturn ¶
func (_c *Store_DeleteInstanceByName_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteInstanceByName_Call
type Store_DeleteInstance_Call ¶
Store_DeleteInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteInstance'
func (*Store_DeleteInstance_Call) Return ¶
func (_c *Store_DeleteInstance_Call) Return(_a0 error) *Store_DeleteInstance_Call
func (*Store_DeleteInstance_Call) Run ¶
func (_c *Store_DeleteInstance_Call) Run(run func(ctx context.Context, poolID string, instanceNameOrID string)) *Store_DeleteInstance_Call
func (*Store_DeleteInstance_Call) RunAndReturn ¶
func (_c *Store_DeleteInstance_Call) RunAndReturn(run func(context.Context, string, string) error) *Store_DeleteInstance_Call
type Store_DeleteJob_Call ¶
Store_DeleteJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteJob'
func (*Store_DeleteJob_Call) Return ¶
func (_c *Store_DeleteJob_Call) Return(_a0 error) *Store_DeleteJob_Call
func (*Store_DeleteJob_Call) Run ¶
func (_c *Store_DeleteJob_Call) Run(run func(ctx context.Context, jobID int64)) *Store_DeleteJob_Call
func (*Store_DeleteJob_Call) RunAndReturn ¶
func (_c *Store_DeleteJob_Call) RunAndReturn(run func(context.Context, int64) error) *Store_DeleteJob_Call
type Store_DeleteOrganization_Call ¶
Store_DeleteOrganization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteOrganization'
func (*Store_DeleteOrganization_Call) Return ¶
func (_c *Store_DeleteOrganization_Call) Return(_a0 error) *Store_DeleteOrganization_Call
func (*Store_DeleteOrganization_Call) Run ¶
func (_c *Store_DeleteOrganization_Call) Run(run func(ctx context.Context, orgID string)) *Store_DeleteOrganization_Call
func (*Store_DeleteOrganization_Call) RunAndReturn ¶
func (_c *Store_DeleteOrganization_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteOrganization_Call
type Store_DeletePoolByID_Call ¶
Store_DeletePoolByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePoolByID'
func (*Store_DeletePoolByID_Call) Return ¶
func (_c *Store_DeletePoolByID_Call) Return(_a0 error) *Store_DeletePoolByID_Call
func (*Store_DeletePoolByID_Call) Run ¶
func (_c *Store_DeletePoolByID_Call) Run(run func(ctx context.Context, poolID string)) *Store_DeletePoolByID_Call
func (*Store_DeletePoolByID_Call) RunAndReturn ¶
func (_c *Store_DeletePoolByID_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeletePoolByID_Call
type Store_DeleteRepository_Call ¶
Store_DeleteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRepository'
func (*Store_DeleteRepository_Call) Return ¶
func (_c *Store_DeleteRepository_Call) Return(_a0 error) *Store_DeleteRepository_Call
func (*Store_DeleteRepository_Call) Run ¶
func (_c *Store_DeleteRepository_Call) Run(run func(ctx context.Context, repoID string)) *Store_DeleteRepository_Call
func (*Store_DeleteRepository_Call) RunAndReturn ¶
func (_c *Store_DeleteRepository_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteRepository_Call
type Store_DeleteScaleSetByID_Call ¶
Store_DeleteScaleSetByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteScaleSetByID'
func (*Store_DeleteScaleSetByID_Call) Return ¶
func (_c *Store_DeleteScaleSetByID_Call) Return(err error) *Store_DeleteScaleSetByID_Call
func (*Store_DeleteScaleSetByID_Call) Run ¶
func (_c *Store_DeleteScaleSetByID_Call) Run(run func(ctx context.Context, scaleSetID uint)) *Store_DeleteScaleSetByID_Call
func (*Store_DeleteScaleSetByID_Call) RunAndReturn ¶
func (_c *Store_DeleteScaleSetByID_Call) RunAndReturn(run func(context.Context, uint) error) *Store_DeleteScaleSetByID_Call
type Store_DeleteTemplate_Call ¶
Store_DeleteTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTemplate'
func (*Store_DeleteTemplate_Call) Return ¶
func (_c *Store_DeleteTemplate_Call) Return(err error) *Store_DeleteTemplate_Call
func (*Store_DeleteTemplate_Call) Run ¶
func (_c *Store_DeleteTemplate_Call) Run(run func(ctx context.Context, id uint)) *Store_DeleteTemplate_Call
func (*Store_DeleteTemplate_Call) RunAndReturn ¶
func (_c *Store_DeleteTemplate_Call) RunAndReturn(run func(context.Context, uint) error) *Store_DeleteTemplate_Call
type Store_Expecter ¶
type Store_Expecter struct {
// contains filtered or unexported fields
}
func (*Store_Expecter) AddEntityEvent ¶
func (_e *Store_Expecter) AddEntityEvent(ctx interface{}, entity interface{}, event interface{}, eventLevel interface{}, statusMessage interface{}, maxEvents interface{}) *Store_AddEntityEvent_Call
AddEntityEvent is a helper method to define mock.On call
- ctx context.Context
- entity params.ForgeEntity
- event params.EventType
- eventLevel params.EventLevel
- statusMessage string
- maxEvents int
func (*Store_Expecter) AddInstanceEvent ¶
func (_e *Store_Expecter) AddInstanceEvent(ctx interface{}, instanceNameOrID interface{}, event interface{}, eventLevel interface{}, eventMessage interface{}) *Store_AddInstanceEvent_Call
AddInstanceEvent is a helper method to define mock.On call
- ctx context.Context
- instanceNameOrID string
- event params.EventType
- eventLevel params.EventLevel
- eventMessage string
func (*Store_Expecter) BreakLockJobIsQueued ¶
func (_e *Store_Expecter) BreakLockJobIsQueued(ctx interface{}, jobID interface{}) *Store_BreakLockJobIsQueued_Call
BreakLockJobIsQueued is a helper method to define mock.On call
- ctx context.Context
- jobID int64
func (*Store_Expecter) ControllerInfo ¶
func (_e *Store_Expecter) ControllerInfo() *Store_ControllerInfo_Call
ControllerInfo is a helper method to define mock.On call
func (*Store_Expecter) CreateEnterprise ¶
func (_e *Store_Expecter) CreateEnterprise(ctx interface{}, name interface{}, credentialsName interface{}, webhookSecret interface{}, poolBalancerType interface{}, agentMode interface{}) *Store_CreateEnterprise_Call
CreateEnterprise is a helper method to define mock.On call
- ctx context.Context
- name string
- credentialsName params.ForgeCredentials
- webhookSecret string
- poolBalancerType params.PoolBalancerType
- agentMode bool
func (*Store_Expecter) CreateEntityPool ¶
func (_e *Store_Expecter) CreateEntityPool(ctx interface{}, entity interface{}, param interface{}) *Store_CreateEntityPool_Call
CreateEntityPool is a helper method to define mock.On call
- ctx context.Context
- entity params.ForgeEntity
- param params.CreatePoolParams
func (*Store_Expecter) CreateEntityScaleSet ¶
func (_e *Store_Expecter) CreateEntityScaleSet(_a0 interface{}, entity interface{}, param interface{}) *Store_CreateEntityScaleSet_Call
CreateEntityScaleSet is a helper method to define mock.On call
- _a0 context.Context
- entity params.ForgeEntity
- param params.CreateScaleSetParams
func (*Store_Expecter) CreateFileObject ¶
func (_e *Store_Expecter) CreateFileObject(ctx interface{}, param interface{}, reader interface{}) *Store_CreateFileObject_Call
CreateFileObject is a helper method to define mock.On call
- ctx context.Context
- param params.CreateFileObjectParams
- reader io.Reader
func (*Store_Expecter) CreateGiteaCredentials ¶
func (_e *Store_Expecter) CreateGiteaCredentials(ctx interface{}, param interface{}) *Store_CreateGiteaCredentials_Call
CreateGiteaCredentials is a helper method to define mock.On call
- ctx context.Context
- param params.CreateGiteaCredentialsParams
func (*Store_Expecter) CreateGiteaEndpoint ¶
func (_e *Store_Expecter) CreateGiteaEndpoint(_a0 interface{}, param interface{}) *Store_CreateGiteaEndpoint_Call
CreateGiteaEndpoint is a helper method to define mock.On call
- _a0 context.Context
- param params.CreateGiteaEndpointParams
func (*Store_Expecter) CreateGithubCredentials ¶
func (_e *Store_Expecter) CreateGithubCredentials(ctx interface{}, param interface{}) *Store_CreateGithubCredentials_Call
CreateGithubCredentials is a helper method to define mock.On call
- ctx context.Context
- param params.CreateGithubCredentialsParams
func (*Store_Expecter) CreateGithubEndpoint ¶
func (_e *Store_Expecter) CreateGithubEndpoint(ctx interface{}, param interface{}) *Store_CreateGithubEndpoint_Call
CreateGithubEndpoint is a helper method to define mock.On call
- ctx context.Context
- param params.CreateGithubEndpointParams
func (*Store_Expecter) CreateInstance ¶
func (_e *Store_Expecter) CreateInstance(ctx interface{}, poolID interface{}, param interface{}) *Store_CreateInstance_Call
CreateInstance is a helper method to define mock.On call
- ctx context.Context
- poolID string
- param params.CreateInstanceParams
func (*Store_Expecter) CreateOrUpdateJob ¶
func (_e *Store_Expecter) CreateOrUpdateJob(ctx interface{}, job interface{}) *Store_CreateOrUpdateJob_Call
CreateOrUpdateJob is a helper method to define mock.On call
- ctx context.Context
- job params.Job
func (*Store_Expecter) CreateOrganization ¶
func (_e *Store_Expecter) CreateOrganization(ctx interface{}, name interface{}, credentials interface{}, webhookSecret interface{}, poolBalancerType interface{}, agentMode interface{}) *Store_CreateOrganization_Call
CreateOrganization is a helper method to define mock.On call
- ctx context.Context
- name string
- credentials params.ForgeCredentials
- webhookSecret string
- poolBalancerType params.PoolBalancerType
- agentMode bool
func (*Store_Expecter) CreateRepository ¶
func (_e *Store_Expecter) CreateRepository(ctx interface{}, owner interface{}, name interface{}, credentials interface{}, webhookSecret interface{}, poolBalancerType interface{}, agentMode interface{}) *Store_CreateRepository_Call
CreateRepository is a helper method to define mock.On call
- ctx context.Context
- owner string
- name string
- credentials params.ForgeCredentials
- webhookSecret string
- poolBalancerType params.PoolBalancerType
- agentMode bool
func (*Store_Expecter) CreateScaleSetInstance ¶
func (_e *Store_Expecter) CreateScaleSetInstance(_a0 interface{}, scaleSetID interface{}, param interface{}) *Store_CreateScaleSetInstance_Call
CreateScaleSetInstance is a helper method to define mock.On call
- _a0 context.Context
- scaleSetID uint
- param params.CreateInstanceParams
func (*Store_Expecter) CreateTemplate ¶
func (_e *Store_Expecter) CreateTemplate(ctx interface{}, param interface{}) *Store_CreateTemplate_Call
CreateTemplate is a helper method to define mock.On call
- ctx context.Context
- param params.CreateTemplateParams
func (*Store_Expecter) CreateUser ¶
func (_e *Store_Expecter) CreateUser(ctx interface{}, user interface{}) *Store_CreateUser_Call
CreateUser is a helper method to define mock.On call
- ctx context.Context
- user params.NewUserParams
func (*Store_Expecter) DeleteEnterprise ¶
func (_e *Store_Expecter) DeleteEnterprise(ctx interface{}, enterpriseID interface{}) *Store_DeleteEnterprise_Call
DeleteEnterprise is a helper method to define mock.On call
- ctx context.Context
- enterpriseID string
func (*Store_Expecter) DeleteEntityPool ¶
func (_e *Store_Expecter) DeleteEntityPool(ctx interface{}, entity interface{}, poolID interface{}) *Store_DeleteEntityPool_Call
DeleteEntityPool is a helper method to define mock.On call
- ctx context.Context
- entity params.ForgeEntity
- poolID string
func (*Store_Expecter) DeleteFileObject ¶
func (_e *Store_Expecter) DeleteFileObject(ctx interface{}, objID interface{}) *Store_DeleteFileObject_Call
DeleteFileObject is a helper method to define mock.On call
- ctx context.Context
- objID uint
func (*Store_Expecter) DeleteFileObjectsByTags ¶
func (_e *Store_Expecter) DeleteFileObjectsByTags(ctx interface{}, tags interface{}) *Store_DeleteFileObjectsByTags_Call
DeleteFileObjectsByTags is a helper method to define mock.On call
- ctx context.Context
- tags []string
func (*Store_Expecter) DeleteGiteaCredentials ¶
func (_e *Store_Expecter) DeleteGiteaCredentials(ctx interface{}, id interface{}) *Store_DeleteGiteaCredentials_Call
DeleteGiteaCredentials is a helper method to define mock.On call
- ctx context.Context
- id uint
func (*Store_Expecter) DeleteGiteaEndpoint ¶
func (_e *Store_Expecter) DeleteGiteaEndpoint(_a0 interface{}, name interface{}) *Store_DeleteGiteaEndpoint_Call
DeleteGiteaEndpoint is a helper method to define mock.On call
- _a0 context.Context
- name string
func (*Store_Expecter) DeleteGithubCredentials ¶
func (_e *Store_Expecter) DeleteGithubCredentials(ctx interface{}, id interface{}) *Store_DeleteGithubCredentials_Call
DeleteGithubCredentials is a helper method to define mock.On call
- ctx context.Context
- id uint
func (*Store_Expecter) DeleteGithubEndpoint ¶
func (_e *Store_Expecter) DeleteGithubEndpoint(ctx interface{}, name interface{}) *Store_DeleteGithubEndpoint_Call
DeleteGithubEndpoint is a helper method to define mock.On call
- ctx context.Context
- name string
func (*Store_Expecter) DeleteInactionableJobs ¶
func (_e *Store_Expecter) DeleteInactionableJobs(ctx interface{}, olderThan interface{}) *Store_DeleteInactionableJobs_Call
DeleteInactionableJobs is a helper method to define mock.On call
- ctx context.Context
- olderThan time.Duration
func (*Store_Expecter) DeleteInstance ¶
func (_e *Store_Expecter) DeleteInstance(ctx interface{}, poolID interface{}, instanceNameOrID interface{}) *Store_DeleteInstance_Call
DeleteInstance is a helper method to define mock.On call
- ctx context.Context
- poolID string
- instanceNameOrID string
func (*Store_Expecter) DeleteInstanceByName ¶
func (_e *Store_Expecter) DeleteInstanceByName(ctx interface{}, instanceName interface{}) *Store_DeleteInstanceByName_Call
DeleteInstanceByName is a helper method to define mock.On call
- ctx context.Context
- instanceName string
func (*Store_Expecter) DeleteJob ¶
func (_e *Store_Expecter) DeleteJob(ctx interface{}, jobID interface{}) *Store_DeleteJob_Call
DeleteJob is a helper method to define mock.On call
- ctx context.Context
- jobID int64
func (*Store_Expecter) DeleteOrganization ¶
func (_e *Store_Expecter) DeleteOrganization(ctx interface{}, orgID interface{}) *Store_DeleteOrganization_Call
DeleteOrganization is a helper method to define mock.On call
- ctx context.Context
- orgID string
func (*Store_Expecter) DeletePoolByID ¶
func (_e *Store_Expecter) DeletePoolByID(ctx interface{}, poolID interface{}) *Store_DeletePoolByID_Call
DeletePoolByID is a helper method to define mock.On call
- ctx context.Context
- poolID string
func (*Store_Expecter) DeleteRepository ¶
func (_e *Store_Expecter) DeleteRepository(ctx interface{}, repoID interface{}) *Store_DeleteRepository_Call
DeleteRepository is a helper method to define mock.On call
- ctx context.Context
- repoID string
func (*Store_Expecter) DeleteScaleSetByID ¶
func (_e *Store_Expecter) DeleteScaleSetByID(ctx interface{}, scaleSetID interface{}) *Store_DeleteScaleSetByID_Call
DeleteScaleSetByID is a helper method to define mock.On call
- ctx context.Context
- scaleSetID uint
func (*Store_Expecter) DeleteTemplate ¶
func (_e *Store_Expecter) DeleteTemplate(ctx interface{}, id interface{}) *Store_DeleteTemplate_Call
DeleteTemplate is a helper method to define mock.On call
- ctx context.Context
- id uint
func (*Store_Expecter) FindPoolsMatchingAllTags ¶
func (_e *Store_Expecter) FindPoolsMatchingAllTags(ctx interface{}, entityType interface{}, entityID interface{}, tags interface{}) *Store_FindPoolsMatchingAllTags_Call
FindPoolsMatchingAllTags is a helper method to define mock.On call
- ctx context.Context
- entityType params.ForgeEntityType
- entityID string
- tags []string
func (*Store_Expecter) ForceUpdateInstance ¶
func (_e *Store_Expecter) ForceUpdateInstance(ctx interface{}, instanceName interface{}, param interface{}) *Store_ForceUpdateInstance_Call
ForceUpdateInstance is a helper method to define mock.On call
- ctx context.Context
- instanceName string
- param params.UpdateInstanceParams
func (*Store_Expecter) GetAdminUser ¶
func (_e *Store_Expecter) GetAdminUser(ctx interface{}) *Store_GetAdminUser_Call
GetAdminUser is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) GetEnterprise ¶
func (_e *Store_Expecter) GetEnterprise(ctx interface{}, name interface{}, endpointName interface{}) *Store_GetEnterprise_Call
GetEnterprise is a helper method to define mock.On call
- ctx context.Context
- name string
- endpointName string
func (*Store_Expecter) GetEnterpriseByID ¶
func (_e *Store_Expecter) GetEnterpriseByID(ctx interface{}, enterpriseID interface{}) *Store_GetEnterpriseByID_Call
GetEnterpriseByID is a helper method to define mock.On call
- ctx context.Context
- enterpriseID string
func (*Store_Expecter) GetEntityPool ¶
func (_e *Store_Expecter) GetEntityPool(ctx interface{}, entity interface{}, poolID interface{}) *Store_GetEntityPool_Call
GetEntityPool is a helper method to define mock.On call
- ctx context.Context
- entity params.ForgeEntity
- poolID string
func (*Store_Expecter) GetFileObject ¶
func (_e *Store_Expecter) GetFileObject(ctx interface{}, objID interface{}) *Store_GetFileObject_Call
GetFileObject is a helper method to define mock.On call
- ctx context.Context
- objID uint
func (*Store_Expecter) GetForgeEntity ¶
func (_e *Store_Expecter) GetForgeEntity(_a0 interface{}, entityType interface{}, entityID interface{}) *Store_GetForgeEntity_Call
GetForgeEntity is a helper method to define mock.On call
- _a0 context.Context
- entityType params.ForgeEntityType
- entityID string
func (*Store_Expecter) GetGiteaCredentials ¶
func (_e *Store_Expecter) GetGiteaCredentials(ctx interface{}, id interface{}, detailed interface{}) *Store_GetGiteaCredentials_Call
GetGiteaCredentials is a helper method to define mock.On call
- ctx context.Context
- id uint
- detailed bool
func (*Store_Expecter) GetGiteaCredentialsByName ¶
func (_e *Store_Expecter) GetGiteaCredentialsByName(ctx interface{}, name interface{}, detailed interface{}) *Store_GetGiteaCredentialsByName_Call
GetGiteaCredentialsByName is a helper method to define mock.On call
- ctx context.Context
- name string
- detailed bool
func (*Store_Expecter) GetGiteaEndpoint ¶
func (_e *Store_Expecter) GetGiteaEndpoint(_a0 interface{}, name interface{}) *Store_GetGiteaEndpoint_Call
GetGiteaEndpoint is a helper method to define mock.On call
- _a0 context.Context
- name string
func (*Store_Expecter) GetGithubCredentials ¶
func (_e *Store_Expecter) GetGithubCredentials(ctx interface{}, id interface{}, detailed interface{}) *Store_GetGithubCredentials_Call
GetGithubCredentials is a helper method to define mock.On call
- ctx context.Context
- id uint
- detailed bool
func (*Store_Expecter) GetGithubCredentialsByName ¶
func (_e *Store_Expecter) GetGithubCredentialsByName(ctx interface{}, name interface{}, detailed interface{}) *Store_GetGithubCredentialsByName_Call
GetGithubCredentialsByName is a helper method to define mock.On call
- ctx context.Context
- name string
- detailed bool
func (*Store_Expecter) GetGithubEndpoint ¶
func (_e *Store_Expecter) GetGithubEndpoint(ctx interface{}, name interface{}) *Store_GetGithubEndpoint_Call
GetGithubEndpoint is a helper method to define mock.On call
- ctx context.Context
- name string
func (*Store_Expecter) GetInstance ¶
func (_e *Store_Expecter) GetInstance(ctx interface{}, instanceNameOrID interface{}) *Store_GetInstance_Call
GetInstance is a helper method to define mock.On call
- ctx context.Context
- instanceNameOrID string
func (*Store_Expecter) GetJobByID ¶
func (_e *Store_Expecter) GetJobByID(ctx interface{}, jobID interface{}) *Store_GetJobByID_Call
GetJobByID is a helper method to define mock.On call
- ctx context.Context
- jobID int64
func (*Store_Expecter) GetOrganization ¶
func (_e *Store_Expecter) GetOrganization(ctx interface{}, name interface{}, endpointName interface{}) *Store_GetOrganization_Call
GetOrganization is a helper method to define mock.On call
- ctx context.Context
- name string
- endpointName string
func (*Store_Expecter) GetOrganizationByID ¶
func (_e *Store_Expecter) GetOrganizationByID(ctx interface{}, orgID interface{}) *Store_GetOrganizationByID_Call
GetOrganizationByID is a helper method to define mock.On call
- ctx context.Context
- orgID string
func (*Store_Expecter) GetPoolByID ¶
func (_e *Store_Expecter) GetPoolByID(ctx interface{}, poolID interface{}) *Store_GetPoolByID_Call
GetPoolByID is a helper method to define mock.On call
- ctx context.Context
- poolID string
func (*Store_Expecter) GetRepository ¶
func (_e *Store_Expecter) GetRepository(ctx interface{}, owner interface{}, name interface{}, endpointName interface{}) *Store_GetRepository_Call
GetRepository is a helper method to define mock.On call
- ctx context.Context
- owner string
- name string
- endpointName string
func (*Store_Expecter) GetRepositoryByID ¶
func (_e *Store_Expecter) GetRepositoryByID(ctx interface{}, repoID interface{}) *Store_GetRepositoryByID_Call
GetRepositoryByID is a helper method to define mock.On call
- ctx context.Context
- repoID string
func (*Store_Expecter) GetScaleSetByID ¶
func (_e *Store_Expecter) GetScaleSetByID(ctx interface{}, scaleSet interface{}) *Store_GetScaleSetByID_Call
GetScaleSetByID is a helper method to define mock.On call
- ctx context.Context
- scaleSet uint
func (*Store_Expecter) GetTemplate ¶
func (_e *Store_Expecter) GetTemplate(ctx interface{}, id interface{}) *Store_GetTemplate_Call
GetTemplate is a helper method to define mock.On call
- ctx context.Context
- id uint
func (*Store_Expecter) GetTemplateByName ¶
func (_e *Store_Expecter) GetTemplateByName(ctx interface{}, name interface{}) *Store_GetTemplateByName_Call
GetTemplateByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*Store_Expecter) GetUser ¶
func (_e *Store_Expecter) GetUser(ctx interface{}, user interface{}) *Store_GetUser_Call
GetUser is a helper method to define mock.On call
- ctx context.Context
- user string
func (*Store_Expecter) GetUserByID ¶
func (_e *Store_Expecter) GetUserByID(ctx interface{}, userID interface{}) *Store_GetUserByID_Call
GetUserByID is a helper method to define mock.On call
- ctx context.Context
- userID string
func (*Store_Expecter) HasAdminUser ¶
func (_e *Store_Expecter) HasAdminUser(ctx interface{}) *Store_HasAdminUser_Call
HasAdminUser is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) HasEntitiesWithAgentModeEnabled ¶
func (_e *Store_Expecter) HasEntitiesWithAgentModeEnabled() *Store_HasEntitiesWithAgentModeEnabled_Call
HasEntitiesWithAgentModeEnabled is a helper method to define mock.On call
func (*Store_Expecter) InitController ¶
func (_e *Store_Expecter) InitController() *Store_InitController_Call
InitController is a helper method to define mock.On call
func (*Store_Expecter) ListAllInstances ¶
func (_e *Store_Expecter) ListAllInstances(ctx interface{}) *Store_ListAllInstances_Call
ListAllInstances is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) ListAllJobs ¶
func (_e *Store_Expecter) ListAllJobs(ctx interface{}) *Store_ListAllJobs_Call
ListAllJobs is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) ListAllPools ¶
func (_e *Store_Expecter) ListAllPools(ctx interface{}) *Store_ListAllPools_Call
ListAllPools is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) ListAllScaleSets ¶
func (_e *Store_Expecter) ListAllScaleSets(ctx interface{}) *Store_ListAllScaleSets_Call
ListAllScaleSets is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) ListEnterprises ¶
func (_e *Store_Expecter) ListEnterprises(ctx interface{}, filter interface{}) *Store_ListEnterprises_Call
ListEnterprises is a helper method to define mock.On call
- ctx context.Context
- filter params.EnterpriseFilter
func (*Store_Expecter) ListEntityInstances ¶
func (_e *Store_Expecter) ListEntityInstances(ctx interface{}, entity interface{}) *Store_ListEntityInstances_Call
ListEntityInstances is a helper method to define mock.On call
- ctx context.Context
- entity params.ForgeEntity
func (*Store_Expecter) ListEntityJobsByStatus ¶
func (_e *Store_Expecter) ListEntityJobsByStatus(ctx interface{}, entityType interface{}, entityID interface{}, status interface{}) *Store_ListEntityJobsByStatus_Call
ListEntityJobsByStatus is a helper method to define mock.On call
- ctx context.Context
- entityType params.ForgeEntityType
- entityID string
- status params.JobStatus
func (*Store_Expecter) ListEntityPools ¶
func (_e *Store_Expecter) ListEntityPools(ctx interface{}, entity interface{}) *Store_ListEntityPools_Call
ListEntityPools is a helper method to define mock.On call
- ctx context.Context
- entity params.ForgeEntity
func (*Store_Expecter) ListEntityScaleSets ¶
func (_e *Store_Expecter) ListEntityScaleSets(_a0 interface{}, entity interface{}) *Store_ListEntityScaleSets_Call
ListEntityScaleSets is a helper method to define mock.On call
- _a0 context.Context
- entity params.ForgeEntity
func (*Store_Expecter) ListFileObjects ¶
func (_e *Store_Expecter) ListFileObjects(ctx interface{}, page interface{}, pageSize interface{}) *Store_ListFileObjects_Call
ListFileObjects is a helper method to define mock.On call
- ctx context.Context
- page uint64
- pageSize uint64
func (*Store_Expecter) ListGiteaCredentials ¶
func (_e *Store_Expecter) ListGiteaCredentials(ctx interface{}) *Store_ListGiteaCredentials_Call
ListGiteaCredentials is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) ListGiteaEndpoints ¶
func (_e *Store_Expecter) ListGiteaEndpoints(_a0 interface{}) *Store_ListGiteaEndpoints_Call
ListGiteaEndpoints is a helper method to define mock.On call
- _a0 context.Context
func (*Store_Expecter) ListGithubCredentials ¶
func (_e *Store_Expecter) ListGithubCredentials(ctx interface{}) *Store_ListGithubCredentials_Call
ListGithubCredentials is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) ListGithubEndpoints ¶
func (_e *Store_Expecter) ListGithubEndpoints(ctx interface{}) *Store_ListGithubEndpoints_Call
ListGithubEndpoints is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) ListJobsByStatus ¶
func (_e *Store_Expecter) ListJobsByStatus(ctx interface{}, status interface{}) *Store_ListJobsByStatus_Call
ListJobsByStatus is a helper method to define mock.On call
- ctx context.Context
- status params.JobStatus
func (*Store_Expecter) ListOrganizations ¶
func (_e *Store_Expecter) ListOrganizations(ctx interface{}, filter interface{}) *Store_ListOrganizations_Call
ListOrganizations is a helper method to define mock.On call
- ctx context.Context
- filter params.OrganizationFilter
func (*Store_Expecter) ListPoolInstances ¶
func (_e *Store_Expecter) ListPoolInstances(ctx interface{}, poolID interface{}, oudatedOnly interface{}) *Store_ListPoolInstances_Call
ListPoolInstances is a helper method to define mock.On call
- ctx context.Context
- poolID string
- oudatedOnly bool
func (*Store_Expecter) ListRepositories ¶
func (_e *Store_Expecter) ListRepositories(ctx interface{}, filter interface{}) *Store_ListRepositories_Call
ListRepositories is a helper method to define mock.On call
- ctx context.Context
- filter params.RepositoryFilter
func (*Store_Expecter) ListScaleSetInstances ¶
func (_e *Store_Expecter) ListScaleSetInstances(_a0 interface{}, scalesetID interface{}, outdatedOnly interface{}) *Store_ListScaleSetInstances_Call
ListScaleSetInstances is a helper method to define mock.On call
- _a0 context.Context
- scalesetID uint
- outdatedOnly bool
func (*Store_Expecter) ListTemplates ¶
func (_e *Store_Expecter) ListTemplates(ctx interface{}, osType interface{}, forgeType interface{}, partialName interface{}) *Store_ListTemplates_Call
ListTemplates is a helper method to define mock.On call
- ctx context.Context
- osType *garm_provider_commonparams.OSType
- forgeType *params.EndpointType
- partialName *string
func (*Store_Expecter) LockJob ¶
func (_e *Store_Expecter) LockJob(ctx interface{}, jobID interface{}, entityID interface{}) *Store_LockJob_Call
LockJob is a helper method to define mock.On call
- ctx context.Context
- jobID int64
- entityID string
func (*Store_Expecter) OpenFileObjectContent ¶
func (_e *Store_Expecter) OpenFileObjectContent(ctx interface{}, objID interface{}) *Store_OpenFileObjectContent_Call
OpenFileObjectContent is a helper method to define mock.On call
- ctx context.Context
- objID uint
func (*Store_Expecter) PoolInstanceCount ¶
func (_e *Store_Expecter) PoolInstanceCount(ctx interface{}, poolID interface{}) *Store_PoolInstanceCount_Call
PoolInstanceCount is a helper method to define mock.On call
- ctx context.Context
- poolID string
func (*Store_Expecter) SearchFileObjectByTags ¶
func (_e *Store_Expecter) SearchFileObjectByTags(ctx interface{}, tags interface{}, page interface{}, pageSize interface{}) *Store_SearchFileObjectByTags_Call
SearchFileObjectByTags is a helper method to define mock.On call
- ctx context.Context
- tags []string
- page uint64
- pageSize uint64
func (*Store_Expecter) SetEntityPoolManagerStatus ¶
func (_e *Store_Expecter) SetEntityPoolManagerStatus(ctx interface{}, entity interface{}, param interface{}) *Store_SetEntityPoolManagerStatus_Call
SetEntityPoolManagerStatus is a helper method to define mock.On call
- ctx context.Context
- entity params.ForgeEntity
- param params.PoolManagerStatus
func (*Store_Expecter) SetScaleSetDesiredRunnerCount ¶
func (_e *Store_Expecter) SetScaleSetDesiredRunnerCount(ctx interface{}, scaleSetID interface{}, desiredRunnerCount interface{}) *Store_SetScaleSetDesiredRunnerCount_Call
SetScaleSetDesiredRunnerCount is a helper method to define mock.On call
- ctx context.Context
- scaleSetID uint
- desiredRunnerCount int
func (*Store_Expecter) SetScaleSetLastMessageID ¶
func (_e *Store_Expecter) SetScaleSetLastMessageID(ctx interface{}, scaleSetID interface{}, lastMessageID interface{}) *Store_SetScaleSetLastMessageID_Call
SetScaleSetLastMessageID is a helper method to define mock.On call
- ctx context.Context
- scaleSetID uint
- lastMessageID int64
func (*Store_Expecter) UnlockJob ¶
func (_e *Store_Expecter) UnlockJob(ctx interface{}, jobID interface{}, entityID interface{}) *Store_UnlockJob_Call
UnlockJob is a helper method to define mock.On call
- ctx context.Context
- jobID int64
- entityID string
func (*Store_Expecter) UpdateCachedGARMAgentRelease ¶
func (_e *Store_Expecter) UpdateCachedGARMAgentRelease(releaseData interface{}, fetchedAt interface{}) *Store_UpdateCachedGARMAgentRelease_Call
UpdateCachedGARMAgentRelease is a helper method to define mock.On call
- releaseData []byte
- fetchedAt time.Time
func (*Store_Expecter) UpdateController ¶
func (_e *Store_Expecter) UpdateController(info interface{}) *Store_UpdateController_Call
UpdateController is a helper method to define mock.On call
- info params.UpdateControllerParams
func (*Store_Expecter) UpdateEnterprise ¶
func (_e *Store_Expecter) UpdateEnterprise(ctx interface{}, enterpriseID interface{}, param interface{}) *Store_UpdateEnterprise_Call
UpdateEnterprise is a helper method to define mock.On call
- ctx context.Context
- enterpriseID string
- param params.UpdateEntityParams
func (*Store_Expecter) UpdateEntityPool ¶
func (_e *Store_Expecter) UpdateEntityPool(ctx interface{}, entity interface{}, poolID interface{}, param interface{}) *Store_UpdateEntityPool_Call
UpdateEntityPool is a helper method to define mock.On call
- ctx context.Context
- entity params.ForgeEntity
- poolID string
- param params.UpdatePoolParams
func (*Store_Expecter) UpdateEntityScaleSet ¶
func (_e *Store_Expecter) UpdateEntityScaleSet(_a0 interface{}, entity interface{}, scaleSetID interface{}, param interface{}, callback interface{}) *Store_UpdateEntityScaleSet_Call
UpdateEntityScaleSet is a helper method to define mock.On call
- _a0 context.Context
- entity params.ForgeEntity
- scaleSetID uint
- param params.UpdateScaleSetParams
- callback func(params.ScaleSet , params.ScaleSet) error
func (*Store_Expecter) UpdateFileObject ¶
func (_e *Store_Expecter) UpdateFileObject(ctx interface{}, objID interface{}, param interface{}) *Store_UpdateFileObject_Call
UpdateFileObject is a helper method to define mock.On call
- ctx context.Context
- objID uint
- param params.UpdateFileObjectParams
func (*Store_Expecter) UpdateGiteaCredentials ¶
func (_e *Store_Expecter) UpdateGiteaCredentials(ctx interface{}, id interface{}, param interface{}) *Store_UpdateGiteaCredentials_Call
UpdateGiteaCredentials is a helper method to define mock.On call
- ctx context.Context
- id uint
- param params.UpdateGiteaCredentialsParams
func (*Store_Expecter) UpdateGiteaEndpoint ¶
func (_e *Store_Expecter) UpdateGiteaEndpoint(_a0 interface{}, name interface{}, param interface{}) *Store_UpdateGiteaEndpoint_Call
UpdateGiteaEndpoint is a helper method to define mock.On call
- _a0 context.Context
- name string
- param params.UpdateGiteaEndpointParams
func (*Store_Expecter) UpdateGithubCredentials ¶
func (_e *Store_Expecter) UpdateGithubCredentials(ctx interface{}, id interface{}, param interface{}) *Store_UpdateGithubCredentials_Call
UpdateGithubCredentials is a helper method to define mock.On call
- ctx context.Context
- id uint
- param params.UpdateGithubCredentialsParams
func (*Store_Expecter) UpdateGithubEndpoint ¶
func (_e *Store_Expecter) UpdateGithubEndpoint(ctx interface{}, name interface{}, param interface{}) *Store_UpdateGithubEndpoint_Call
UpdateGithubEndpoint is a helper method to define mock.On call
- ctx context.Context
- name string
- param params.UpdateGithubEndpointParams
func (*Store_Expecter) UpdateInstance ¶
func (_e *Store_Expecter) UpdateInstance(ctx interface{}, instanceNameOrID interface{}, param interface{}) *Store_UpdateInstance_Call
UpdateInstance is a helper method to define mock.On call
- ctx context.Context
- instanceNameOrID string
- param params.UpdateInstanceParams
func (*Store_Expecter) UpdateOrganization ¶
func (_e *Store_Expecter) UpdateOrganization(ctx interface{}, orgID interface{}, param interface{}) *Store_UpdateOrganization_Call
UpdateOrganization is a helper method to define mock.On call
- ctx context.Context
- orgID string
- param params.UpdateEntityParams
func (*Store_Expecter) UpdateRepository ¶
func (_e *Store_Expecter) UpdateRepository(ctx interface{}, repoID interface{}, param interface{}) *Store_UpdateRepository_Call
UpdateRepository is a helper method to define mock.On call
- ctx context.Context
- repoID string
- param params.UpdateEntityParams
func (*Store_Expecter) UpdateTemplate ¶
func (_e *Store_Expecter) UpdateTemplate(ctx interface{}, id interface{}, param interface{}) *Store_UpdateTemplate_Call
UpdateTemplate is a helper method to define mock.On call
- ctx context.Context
- id uint
- param params.UpdateTemplateParams
func (*Store_Expecter) UpdateUser ¶
func (_e *Store_Expecter) UpdateUser(ctx interface{}, user interface{}, param interface{}) *Store_UpdateUser_Call
UpdateUser is a helper method to define mock.On call
- ctx context.Context
- user string
- param params.UpdateUserParams
type Store_FindPoolsMatchingAllTags_Call ¶
Store_FindPoolsMatchingAllTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindPoolsMatchingAllTags'
func (*Store_FindPoolsMatchingAllTags_Call) Return ¶
func (_c *Store_FindPoolsMatchingAllTags_Call) Return(_a0 []params.Pool, _a1 error) *Store_FindPoolsMatchingAllTags_Call
func (*Store_FindPoolsMatchingAllTags_Call) Run ¶
func (_c *Store_FindPoolsMatchingAllTags_Call) Run(run func(ctx context.Context, entityType params.ForgeEntityType, entityID string, tags []string)) *Store_FindPoolsMatchingAllTags_Call
func (*Store_FindPoolsMatchingAllTags_Call) RunAndReturn ¶
func (_c *Store_FindPoolsMatchingAllTags_Call) RunAndReturn(run func(context.Context, params.ForgeEntityType, string, []string) ([]params.Pool, error)) *Store_FindPoolsMatchingAllTags_Call
type Store_ForceUpdateInstance_Call ¶
Store_ForceUpdateInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceUpdateInstance'
func (*Store_ForceUpdateInstance_Call) Return ¶
func (_c *Store_ForceUpdateInstance_Call) Return(_a0 params.Instance, _a1 error) *Store_ForceUpdateInstance_Call
func (*Store_ForceUpdateInstance_Call) Run ¶
func (_c *Store_ForceUpdateInstance_Call) Run(run func(ctx context.Context, instanceName string, param params.UpdateInstanceParams)) *Store_ForceUpdateInstance_Call
func (*Store_ForceUpdateInstance_Call) RunAndReturn ¶
func (_c *Store_ForceUpdateInstance_Call) RunAndReturn(run func(context.Context, string, params.UpdateInstanceParams) (params.Instance, error)) *Store_ForceUpdateInstance_Call
type Store_GetAdminUser_Call ¶
Store_GetAdminUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAdminUser'
func (*Store_GetAdminUser_Call) Return ¶
func (_c *Store_GetAdminUser_Call) Return(_a0 params.User, _a1 error) *Store_GetAdminUser_Call
func (*Store_GetAdminUser_Call) Run ¶
func (_c *Store_GetAdminUser_Call) Run(run func(ctx context.Context)) *Store_GetAdminUser_Call
func (*Store_GetAdminUser_Call) RunAndReturn ¶
func (_c *Store_GetAdminUser_Call) RunAndReturn(run func(context.Context) (params.User, error)) *Store_GetAdminUser_Call
type Store_GetEnterpriseByID_Call ¶
Store_GetEnterpriseByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEnterpriseByID'
func (*Store_GetEnterpriseByID_Call) Return ¶
func (_c *Store_GetEnterpriseByID_Call) Return(_a0 params.Enterprise, _a1 error) *Store_GetEnterpriseByID_Call
func (*Store_GetEnterpriseByID_Call) Run ¶
func (_c *Store_GetEnterpriseByID_Call) Run(run func(ctx context.Context, enterpriseID string)) *Store_GetEnterpriseByID_Call
func (*Store_GetEnterpriseByID_Call) RunAndReturn ¶
func (_c *Store_GetEnterpriseByID_Call) RunAndReturn(run func(context.Context, string) (params.Enterprise, error)) *Store_GetEnterpriseByID_Call
type Store_GetEnterprise_Call ¶
Store_GetEnterprise_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEnterprise'
func (*Store_GetEnterprise_Call) Return ¶
func (_c *Store_GetEnterprise_Call) Return(_a0 params.Enterprise, _a1 error) *Store_GetEnterprise_Call
func (*Store_GetEnterprise_Call) Run ¶
func (_c *Store_GetEnterprise_Call) Run(run func(ctx context.Context, name string, endpointName string)) *Store_GetEnterprise_Call
func (*Store_GetEnterprise_Call) RunAndReturn ¶
func (_c *Store_GetEnterprise_Call) RunAndReturn(run func(context.Context, string, string) (params.Enterprise, error)) *Store_GetEnterprise_Call
type Store_GetEntityPool_Call ¶
Store_GetEntityPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEntityPool'
func (*Store_GetEntityPool_Call) Return ¶
func (_c *Store_GetEntityPool_Call) Return(_a0 params.Pool, _a1 error) *Store_GetEntityPool_Call
func (*Store_GetEntityPool_Call) Run ¶
func (_c *Store_GetEntityPool_Call) Run(run func(ctx context.Context, entity params.ForgeEntity, poolID string)) *Store_GetEntityPool_Call
func (*Store_GetEntityPool_Call) RunAndReturn ¶
func (_c *Store_GetEntityPool_Call) RunAndReturn(run func(context.Context, params.ForgeEntity, string) (params.Pool, error)) *Store_GetEntityPool_Call
type Store_GetFileObject_Call ¶
Store_GetFileObject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFileObject'
func (*Store_GetFileObject_Call) Return ¶
func (_c *Store_GetFileObject_Call) Return(_a0 params.FileObject, _a1 error) *Store_GetFileObject_Call
func (*Store_GetFileObject_Call) Run ¶
func (_c *Store_GetFileObject_Call) Run(run func(ctx context.Context, objID uint)) *Store_GetFileObject_Call
func (*Store_GetFileObject_Call) RunAndReturn ¶
func (_c *Store_GetFileObject_Call) RunAndReturn(run func(context.Context, uint) (params.FileObject, error)) *Store_GetFileObject_Call
type Store_GetForgeEntity_Call ¶
Store_GetForgeEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForgeEntity'
func (*Store_GetForgeEntity_Call) Return ¶
func (_c *Store_GetForgeEntity_Call) Return(_a0 params.ForgeEntity, _a1 error) *Store_GetForgeEntity_Call
func (*Store_GetForgeEntity_Call) Run ¶
func (_c *Store_GetForgeEntity_Call) Run(run func(_a0 context.Context, entityType params.ForgeEntityType, entityID string)) *Store_GetForgeEntity_Call
func (*Store_GetForgeEntity_Call) RunAndReturn ¶
func (_c *Store_GetForgeEntity_Call) RunAndReturn(run func(context.Context, params.ForgeEntityType, string) (params.ForgeEntity, error)) *Store_GetForgeEntity_Call
type Store_GetGiteaCredentialsByName_Call ¶
Store_GetGiteaCredentialsByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGiteaCredentialsByName'
func (*Store_GetGiteaCredentialsByName_Call) Return ¶
func (_c *Store_GetGiteaCredentialsByName_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_GetGiteaCredentialsByName_Call
func (*Store_GetGiteaCredentialsByName_Call) Run ¶
func (_c *Store_GetGiteaCredentialsByName_Call) Run(run func(ctx context.Context, name string, detailed bool)) *Store_GetGiteaCredentialsByName_Call
func (*Store_GetGiteaCredentialsByName_Call) RunAndReturn ¶
func (_c *Store_GetGiteaCredentialsByName_Call) RunAndReturn(run func(context.Context, string, bool) (params.ForgeCredentials, error)) *Store_GetGiteaCredentialsByName_Call
type Store_GetGiteaCredentials_Call ¶
Store_GetGiteaCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGiteaCredentials'
func (*Store_GetGiteaCredentials_Call) Return ¶
func (_c *Store_GetGiteaCredentials_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_GetGiteaCredentials_Call
func (*Store_GetGiteaCredentials_Call) Run ¶
func (_c *Store_GetGiteaCredentials_Call) Run(run func(ctx context.Context, id uint, detailed bool)) *Store_GetGiteaCredentials_Call
func (*Store_GetGiteaCredentials_Call) RunAndReturn ¶
func (_c *Store_GetGiteaCredentials_Call) RunAndReturn(run func(context.Context, uint, bool) (params.ForgeCredentials, error)) *Store_GetGiteaCredentials_Call
type Store_GetGiteaEndpoint_Call ¶
Store_GetGiteaEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGiteaEndpoint'
func (*Store_GetGiteaEndpoint_Call) Return ¶
func (_c *Store_GetGiteaEndpoint_Call) Return(_a0 params.ForgeEndpoint, _a1 error) *Store_GetGiteaEndpoint_Call
func (*Store_GetGiteaEndpoint_Call) Run ¶
func (_c *Store_GetGiteaEndpoint_Call) Run(run func(_a0 context.Context, name string)) *Store_GetGiteaEndpoint_Call
func (*Store_GetGiteaEndpoint_Call) RunAndReturn ¶
func (_c *Store_GetGiteaEndpoint_Call) RunAndReturn(run func(context.Context, string) (params.ForgeEndpoint, error)) *Store_GetGiteaEndpoint_Call
type Store_GetGithubCredentialsByName_Call ¶
Store_GetGithubCredentialsByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGithubCredentialsByName'
func (*Store_GetGithubCredentialsByName_Call) Return ¶
func (_c *Store_GetGithubCredentialsByName_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_GetGithubCredentialsByName_Call
func (*Store_GetGithubCredentialsByName_Call) Run ¶
func (_c *Store_GetGithubCredentialsByName_Call) Run(run func(ctx context.Context, name string, detailed bool)) *Store_GetGithubCredentialsByName_Call
func (*Store_GetGithubCredentialsByName_Call) RunAndReturn ¶
func (_c *Store_GetGithubCredentialsByName_Call) RunAndReturn(run func(context.Context, string, bool) (params.ForgeCredentials, error)) *Store_GetGithubCredentialsByName_Call
type Store_GetGithubCredentials_Call ¶
Store_GetGithubCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGithubCredentials'
func (*Store_GetGithubCredentials_Call) Return ¶
func (_c *Store_GetGithubCredentials_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_GetGithubCredentials_Call
func (*Store_GetGithubCredentials_Call) Run ¶
func (_c *Store_GetGithubCredentials_Call) Run(run func(ctx context.Context, id uint, detailed bool)) *Store_GetGithubCredentials_Call
func (*Store_GetGithubCredentials_Call) RunAndReturn ¶
func (_c *Store_GetGithubCredentials_Call) RunAndReturn(run func(context.Context, uint, bool) (params.ForgeCredentials, error)) *Store_GetGithubCredentials_Call
type Store_GetGithubEndpoint_Call ¶
Store_GetGithubEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGithubEndpoint'
func (*Store_GetGithubEndpoint_Call) Return ¶
func (_c *Store_GetGithubEndpoint_Call) Return(_a0 params.ForgeEndpoint, _a1 error) *Store_GetGithubEndpoint_Call
func (*Store_GetGithubEndpoint_Call) Run ¶
func (_c *Store_GetGithubEndpoint_Call) Run(run func(ctx context.Context, name string)) *Store_GetGithubEndpoint_Call
func (*Store_GetGithubEndpoint_Call) RunAndReturn ¶
func (_c *Store_GetGithubEndpoint_Call) RunAndReturn(run func(context.Context, string) (params.ForgeEndpoint, error)) *Store_GetGithubEndpoint_Call
type Store_GetInstance_Call ¶
Store_GetInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInstance'
func (*Store_GetInstance_Call) Return ¶
func (_c *Store_GetInstance_Call) Return(_a0 params.Instance, _a1 error) *Store_GetInstance_Call
func (*Store_GetInstance_Call) Run ¶
func (_c *Store_GetInstance_Call) Run(run func(ctx context.Context, instanceNameOrID string)) *Store_GetInstance_Call
func (*Store_GetInstance_Call) RunAndReturn ¶
func (_c *Store_GetInstance_Call) RunAndReturn(run func(context.Context, string) (params.Instance, error)) *Store_GetInstance_Call
type Store_GetJobByID_Call ¶
Store_GetJobByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetJobByID'
func (*Store_GetJobByID_Call) Return ¶
func (_c *Store_GetJobByID_Call) Return(_a0 params.Job, _a1 error) *Store_GetJobByID_Call
func (*Store_GetJobByID_Call) Run ¶
func (_c *Store_GetJobByID_Call) Run(run func(ctx context.Context, jobID int64)) *Store_GetJobByID_Call
func (*Store_GetJobByID_Call) RunAndReturn ¶
func (_c *Store_GetJobByID_Call) RunAndReturn(run func(context.Context, int64) (params.Job, error)) *Store_GetJobByID_Call
type Store_GetOrganizationByID_Call ¶
Store_GetOrganizationByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrganizationByID'
func (*Store_GetOrganizationByID_Call) Return ¶
func (_c *Store_GetOrganizationByID_Call) Return(_a0 params.Organization, _a1 error) *Store_GetOrganizationByID_Call
func (*Store_GetOrganizationByID_Call) Run ¶
func (_c *Store_GetOrganizationByID_Call) Run(run func(ctx context.Context, orgID string)) *Store_GetOrganizationByID_Call
func (*Store_GetOrganizationByID_Call) RunAndReturn ¶
func (_c *Store_GetOrganizationByID_Call) RunAndReturn(run func(context.Context, string) (params.Organization, error)) *Store_GetOrganizationByID_Call
type Store_GetOrganization_Call ¶
Store_GetOrganization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrganization'
func (*Store_GetOrganization_Call) Return ¶
func (_c *Store_GetOrganization_Call) Return(_a0 params.Organization, _a1 error) *Store_GetOrganization_Call
func (*Store_GetOrganization_Call) Run ¶
func (_c *Store_GetOrganization_Call) Run(run func(ctx context.Context, name string, endpointName string)) *Store_GetOrganization_Call
func (*Store_GetOrganization_Call) RunAndReturn ¶
func (_c *Store_GetOrganization_Call) RunAndReturn(run func(context.Context, string, string) (params.Organization, error)) *Store_GetOrganization_Call
type Store_GetPoolByID_Call ¶
Store_GetPoolByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPoolByID'
func (*Store_GetPoolByID_Call) Return ¶
func (_c *Store_GetPoolByID_Call) Return(_a0 params.Pool, _a1 error) *Store_GetPoolByID_Call
func (*Store_GetPoolByID_Call) Run ¶
func (_c *Store_GetPoolByID_Call) Run(run func(ctx context.Context, poolID string)) *Store_GetPoolByID_Call
func (*Store_GetPoolByID_Call) RunAndReturn ¶
func (_c *Store_GetPoolByID_Call) RunAndReturn(run func(context.Context, string) (params.Pool, error)) *Store_GetPoolByID_Call
type Store_GetRepositoryByID_Call ¶
Store_GetRepositoryByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepositoryByID'
func (*Store_GetRepositoryByID_Call) Return ¶
func (_c *Store_GetRepositoryByID_Call) Return(_a0 params.Repository, _a1 error) *Store_GetRepositoryByID_Call
func (*Store_GetRepositoryByID_Call) Run ¶
func (_c *Store_GetRepositoryByID_Call) Run(run func(ctx context.Context, repoID string)) *Store_GetRepositoryByID_Call
func (*Store_GetRepositoryByID_Call) RunAndReturn ¶
func (_c *Store_GetRepositoryByID_Call) RunAndReturn(run func(context.Context, string) (params.Repository, error)) *Store_GetRepositoryByID_Call
type Store_GetRepository_Call ¶
Store_GetRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepository'
func (*Store_GetRepository_Call) Return ¶
func (_c *Store_GetRepository_Call) Return(_a0 params.Repository, _a1 error) *Store_GetRepository_Call
func (*Store_GetRepository_Call) Run ¶
func (_c *Store_GetRepository_Call) Run(run func(ctx context.Context, owner string, name string, endpointName string)) *Store_GetRepository_Call
func (*Store_GetRepository_Call) RunAndReturn ¶
func (_c *Store_GetRepository_Call) RunAndReturn(run func(context.Context, string, string, string) (params.Repository, error)) *Store_GetRepository_Call
type Store_GetScaleSetByID_Call ¶
Store_GetScaleSetByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScaleSetByID'
func (*Store_GetScaleSetByID_Call) Return ¶
func (_c *Store_GetScaleSetByID_Call) Return(_a0 params.ScaleSet, _a1 error) *Store_GetScaleSetByID_Call
func (*Store_GetScaleSetByID_Call) Run ¶
func (_c *Store_GetScaleSetByID_Call) Run(run func(ctx context.Context, scaleSet uint)) *Store_GetScaleSetByID_Call
func (*Store_GetScaleSetByID_Call) RunAndReturn ¶
func (_c *Store_GetScaleSetByID_Call) RunAndReturn(run func(context.Context, uint) (params.ScaleSet, error)) *Store_GetScaleSetByID_Call
type Store_GetTemplateByName_Call ¶
Store_GetTemplateByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTemplateByName'
func (*Store_GetTemplateByName_Call) Return ¶
func (_c *Store_GetTemplateByName_Call) Return(_a0 params.Template, _a1 error) *Store_GetTemplateByName_Call
func (*Store_GetTemplateByName_Call) Run ¶
func (_c *Store_GetTemplateByName_Call) Run(run func(ctx context.Context, name string)) *Store_GetTemplateByName_Call
func (*Store_GetTemplateByName_Call) RunAndReturn ¶
func (_c *Store_GetTemplateByName_Call) RunAndReturn(run func(context.Context, string) (params.Template, error)) *Store_GetTemplateByName_Call
type Store_GetTemplate_Call ¶
Store_GetTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTemplate'
func (*Store_GetTemplate_Call) Return ¶
func (_c *Store_GetTemplate_Call) Return(_a0 params.Template, _a1 error) *Store_GetTemplate_Call
func (*Store_GetTemplate_Call) Run ¶
func (_c *Store_GetTemplate_Call) Run(run func(ctx context.Context, id uint)) *Store_GetTemplate_Call
func (*Store_GetTemplate_Call) RunAndReturn ¶
func (_c *Store_GetTemplate_Call) RunAndReturn(run func(context.Context, uint) (params.Template, error)) *Store_GetTemplate_Call
type Store_GetUserByID_Call ¶
Store_GetUserByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserByID'
func (*Store_GetUserByID_Call) Return ¶
func (_c *Store_GetUserByID_Call) Return(_a0 params.User, _a1 error) *Store_GetUserByID_Call
func (*Store_GetUserByID_Call) Run ¶
func (_c *Store_GetUserByID_Call) Run(run func(ctx context.Context, userID string)) *Store_GetUserByID_Call
func (*Store_GetUserByID_Call) RunAndReturn ¶
func (_c *Store_GetUserByID_Call) RunAndReturn(run func(context.Context, string) (params.User, error)) *Store_GetUserByID_Call
type Store_GetUser_Call ¶
Store_GetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUser'
func (*Store_GetUser_Call) Return ¶
func (_c *Store_GetUser_Call) Return(_a0 params.User, _a1 error) *Store_GetUser_Call
func (*Store_GetUser_Call) Run ¶
func (_c *Store_GetUser_Call) Run(run func(ctx context.Context, user string)) *Store_GetUser_Call
func (*Store_GetUser_Call) RunAndReturn ¶
func (_c *Store_GetUser_Call) RunAndReturn(run func(context.Context, string) (params.User, error)) *Store_GetUser_Call
type Store_HasAdminUser_Call ¶
Store_HasAdminUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasAdminUser'
func (*Store_HasAdminUser_Call) Return ¶
func (_c *Store_HasAdminUser_Call) Return(_a0 bool) *Store_HasAdminUser_Call
func (*Store_HasAdminUser_Call) Run ¶
func (_c *Store_HasAdminUser_Call) Run(run func(ctx context.Context)) *Store_HasAdminUser_Call
func (*Store_HasAdminUser_Call) RunAndReturn ¶
func (_c *Store_HasAdminUser_Call) RunAndReturn(run func(context.Context) bool) *Store_HasAdminUser_Call
type Store_HasEntitiesWithAgentModeEnabled_Call ¶
Store_HasEntitiesWithAgentModeEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasEntitiesWithAgentModeEnabled'
func (*Store_HasEntitiesWithAgentModeEnabled_Call) Return ¶
func (_c *Store_HasEntitiesWithAgentModeEnabled_Call) Return(_a0 bool, _a1 error) *Store_HasEntitiesWithAgentModeEnabled_Call
func (*Store_HasEntitiesWithAgentModeEnabled_Call) Run ¶
func (_c *Store_HasEntitiesWithAgentModeEnabled_Call) Run(run func()) *Store_HasEntitiesWithAgentModeEnabled_Call
func (*Store_HasEntitiesWithAgentModeEnabled_Call) RunAndReturn ¶
func (_c *Store_HasEntitiesWithAgentModeEnabled_Call) RunAndReturn(run func() (bool, error)) *Store_HasEntitiesWithAgentModeEnabled_Call
type Store_InitController_Call ¶
Store_InitController_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitController'
func (*Store_InitController_Call) Return ¶
func (_c *Store_InitController_Call) Return(_a0 params.ControllerInfo, _a1 error) *Store_InitController_Call
func (*Store_InitController_Call) Run ¶
func (_c *Store_InitController_Call) Run(run func()) *Store_InitController_Call
func (*Store_InitController_Call) RunAndReturn ¶
func (_c *Store_InitController_Call) RunAndReturn(run func() (params.ControllerInfo, error)) *Store_InitController_Call
type Store_ListAllInstances_Call ¶
Store_ListAllInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAllInstances'
func (*Store_ListAllInstances_Call) Return ¶
func (_c *Store_ListAllInstances_Call) Return(_a0 []params.Instance, _a1 error) *Store_ListAllInstances_Call
func (*Store_ListAllInstances_Call) Run ¶
func (_c *Store_ListAllInstances_Call) Run(run func(ctx context.Context)) *Store_ListAllInstances_Call
func (*Store_ListAllInstances_Call) RunAndReturn ¶
func (_c *Store_ListAllInstances_Call) RunAndReturn(run func(context.Context) ([]params.Instance, error)) *Store_ListAllInstances_Call
type Store_ListAllJobs_Call ¶
Store_ListAllJobs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAllJobs'
func (*Store_ListAllJobs_Call) Return ¶
func (_c *Store_ListAllJobs_Call) Return(_a0 []params.Job, _a1 error) *Store_ListAllJobs_Call
func (*Store_ListAllJobs_Call) Run ¶
func (_c *Store_ListAllJobs_Call) Run(run func(ctx context.Context)) *Store_ListAllJobs_Call
func (*Store_ListAllJobs_Call) RunAndReturn ¶
func (_c *Store_ListAllJobs_Call) RunAndReturn(run func(context.Context) ([]params.Job, error)) *Store_ListAllJobs_Call
type Store_ListAllPools_Call ¶
Store_ListAllPools_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAllPools'
func (*Store_ListAllPools_Call) Return ¶
func (_c *Store_ListAllPools_Call) Return(_a0 []params.Pool, _a1 error) *Store_ListAllPools_Call
func (*Store_ListAllPools_Call) Run ¶
func (_c *Store_ListAllPools_Call) Run(run func(ctx context.Context)) *Store_ListAllPools_Call
func (*Store_ListAllPools_Call) RunAndReturn ¶
func (_c *Store_ListAllPools_Call) RunAndReturn(run func(context.Context) ([]params.Pool, error)) *Store_ListAllPools_Call
type Store_ListAllScaleSets_Call ¶
Store_ListAllScaleSets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAllScaleSets'
func (*Store_ListAllScaleSets_Call) Return ¶
func (_c *Store_ListAllScaleSets_Call) Return(_a0 []params.ScaleSet, _a1 error) *Store_ListAllScaleSets_Call
func (*Store_ListAllScaleSets_Call) Run ¶
func (_c *Store_ListAllScaleSets_Call) Run(run func(ctx context.Context)) *Store_ListAllScaleSets_Call
func (*Store_ListAllScaleSets_Call) RunAndReturn ¶
func (_c *Store_ListAllScaleSets_Call) RunAndReturn(run func(context.Context) ([]params.ScaleSet, error)) *Store_ListAllScaleSets_Call
type Store_ListEnterprises_Call ¶
Store_ListEnterprises_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEnterprises'
func (*Store_ListEnterprises_Call) Return ¶
func (_c *Store_ListEnterprises_Call) Return(_a0 []params.Enterprise, _a1 error) *Store_ListEnterprises_Call
func (*Store_ListEnterprises_Call) Run ¶
func (_c *Store_ListEnterprises_Call) Run(run func(ctx context.Context, filter params.EnterpriseFilter)) *Store_ListEnterprises_Call
func (*Store_ListEnterprises_Call) RunAndReturn ¶
func (_c *Store_ListEnterprises_Call) RunAndReturn(run func(context.Context, params.EnterpriseFilter) ([]params.Enterprise, error)) *Store_ListEnterprises_Call
type Store_ListEntityInstances_Call ¶
Store_ListEntityInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEntityInstances'
func (*Store_ListEntityInstances_Call) Return ¶
func (_c *Store_ListEntityInstances_Call) Return(_a0 []params.Instance, _a1 error) *Store_ListEntityInstances_Call
func (*Store_ListEntityInstances_Call) Run ¶
func (_c *Store_ListEntityInstances_Call) Run(run func(ctx context.Context, entity params.ForgeEntity)) *Store_ListEntityInstances_Call
func (*Store_ListEntityInstances_Call) RunAndReturn ¶
func (_c *Store_ListEntityInstances_Call) RunAndReturn(run func(context.Context, params.ForgeEntity) ([]params.Instance, error)) *Store_ListEntityInstances_Call
type Store_ListEntityJobsByStatus_Call ¶
Store_ListEntityJobsByStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEntityJobsByStatus'
func (*Store_ListEntityJobsByStatus_Call) Return ¶
func (_c *Store_ListEntityJobsByStatus_Call) Return(_a0 []params.Job, _a1 error) *Store_ListEntityJobsByStatus_Call
func (*Store_ListEntityJobsByStatus_Call) Run ¶
func (_c *Store_ListEntityJobsByStatus_Call) Run(run func(ctx context.Context, entityType params.ForgeEntityType, entityID string, status params.JobStatus)) *Store_ListEntityJobsByStatus_Call
func (*Store_ListEntityJobsByStatus_Call) RunAndReturn ¶
func (_c *Store_ListEntityJobsByStatus_Call) RunAndReturn(run func(context.Context, params.ForgeEntityType, string, params.JobStatus) ([]params.Job, error)) *Store_ListEntityJobsByStatus_Call
type Store_ListEntityPools_Call ¶
Store_ListEntityPools_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEntityPools'
func (*Store_ListEntityPools_Call) Return ¶
func (_c *Store_ListEntityPools_Call) Return(_a0 []params.Pool, _a1 error) *Store_ListEntityPools_Call
func (*Store_ListEntityPools_Call) Run ¶
func (_c *Store_ListEntityPools_Call) Run(run func(ctx context.Context, entity params.ForgeEntity)) *Store_ListEntityPools_Call
func (*Store_ListEntityPools_Call) RunAndReturn ¶
func (_c *Store_ListEntityPools_Call) RunAndReturn(run func(context.Context, params.ForgeEntity) ([]params.Pool, error)) *Store_ListEntityPools_Call
type Store_ListEntityScaleSets_Call ¶
Store_ListEntityScaleSets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEntityScaleSets'
func (*Store_ListEntityScaleSets_Call) Return ¶
func (_c *Store_ListEntityScaleSets_Call) Return(_a0 []params.ScaleSet, _a1 error) *Store_ListEntityScaleSets_Call
func (*Store_ListEntityScaleSets_Call) Run ¶
func (_c *Store_ListEntityScaleSets_Call) Run(run func(_a0 context.Context, entity params.ForgeEntity)) *Store_ListEntityScaleSets_Call
func (*Store_ListEntityScaleSets_Call) RunAndReturn ¶
func (_c *Store_ListEntityScaleSets_Call) RunAndReturn(run func(context.Context, params.ForgeEntity) ([]params.ScaleSet, error)) *Store_ListEntityScaleSets_Call
type Store_ListFileObjects_Call ¶
Store_ListFileObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListFileObjects'
func (*Store_ListFileObjects_Call) Return ¶
func (_c *Store_ListFileObjects_Call) Return(_a0 params.FileObjectPaginatedResponse, _a1 error) *Store_ListFileObjects_Call
func (*Store_ListFileObjects_Call) Run ¶
func (_c *Store_ListFileObjects_Call) Run(run func(ctx context.Context, page uint64, pageSize uint64)) *Store_ListFileObjects_Call
func (*Store_ListFileObjects_Call) RunAndReturn ¶
func (_c *Store_ListFileObjects_Call) RunAndReturn(run func(context.Context, uint64, uint64) (params.FileObjectPaginatedResponse, error)) *Store_ListFileObjects_Call
type Store_ListGiteaCredentials_Call ¶
Store_ListGiteaCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListGiteaCredentials'
func (*Store_ListGiteaCredentials_Call) Return ¶
func (_c *Store_ListGiteaCredentials_Call) Return(_a0 []params.ForgeCredentials, _a1 error) *Store_ListGiteaCredentials_Call
func (*Store_ListGiteaCredentials_Call) Run ¶
func (_c *Store_ListGiteaCredentials_Call) Run(run func(ctx context.Context)) *Store_ListGiteaCredentials_Call
func (*Store_ListGiteaCredentials_Call) RunAndReturn ¶
func (_c *Store_ListGiteaCredentials_Call) RunAndReturn(run func(context.Context) ([]params.ForgeCredentials, error)) *Store_ListGiteaCredentials_Call
type Store_ListGiteaEndpoints_Call ¶
Store_ListGiteaEndpoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListGiteaEndpoints'
func (*Store_ListGiteaEndpoints_Call) Return ¶
func (_c *Store_ListGiteaEndpoints_Call) Return(_a0 []params.ForgeEndpoint, _a1 error) *Store_ListGiteaEndpoints_Call
func (*Store_ListGiteaEndpoints_Call) Run ¶
func (_c *Store_ListGiteaEndpoints_Call) Run(run func(_a0 context.Context)) *Store_ListGiteaEndpoints_Call
func (*Store_ListGiteaEndpoints_Call) RunAndReturn ¶
func (_c *Store_ListGiteaEndpoints_Call) RunAndReturn(run func(context.Context) ([]params.ForgeEndpoint, error)) *Store_ListGiteaEndpoints_Call
type Store_ListGithubCredentials_Call ¶
Store_ListGithubCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListGithubCredentials'
func (*Store_ListGithubCredentials_Call) Return ¶
func (_c *Store_ListGithubCredentials_Call) Return(_a0 []params.ForgeCredentials, _a1 error) *Store_ListGithubCredentials_Call
func (*Store_ListGithubCredentials_Call) Run ¶
func (_c *Store_ListGithubCredentials_Call) Run(run func(ctx context.Context)) *Store_ListGithubCredentials_Call
func (*Store_ListGithubCredentials_Call) RunAndReturn ¶
func (_c *Store_ListGithubCredentials_Call) RunAndReturn(run func(context.Context) ([]params.ForgeCredentials, error)) *Store_ListGithubCredentials_Call
type Store_ListGithubEndpoints_Call ¶
Store_ListGithubEndpoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListGithubEndpoints'
func (*Store_ListGithubEndpoints_Call) Return ¶
func (_c *Store_ListGithubEndpoints_Call) Return(_a0 []params.ForgeEndpoint, _a1 error) *Store_ListGithubEndpoints_Call
func (*Store_ListGithubEndpoints_Call) Run ¶
func (_c *Store_ListGithubEndpoints_Call) Run(run func(ctx context.Context)) *Store_ListGithubEndpoints_Call
func (*Store_ListGithubEndpoints_Call) RunAndReturn ¶
func (_c *Store_ListGithubEndpoints_Call) RunAndReturn(run func(context.Context) ([]params.ForgeEndpoint, error)) *Store_ListGithubEndpoints_Call
type Store_ListJobsByStatus_Call ¶
Store_ListJobsByStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListJobsByStatus'
func (*Store_ListJobsByStatus_Call) Return ¶
func (_c *Store_ListJobsByStatus_Call) Return(_a0 []params.Job, _a1 error) *Store_ListJobsByStatus_Call
func (*Store_ListJobsByStatus_Call) Run ¶
func (_c *Store_ListJobsByStatus_Call) Run(run func(ctx context.Context, status params.JobStatus)) *Store_ListJobsByStatus_Call
func (*Store_ListJobsByStatus_Call) RunAndReturn ¶
func (_c *Store_ListJobsByStatus_Call) RunAndReturn(run func(context.Context, params.JobStatus) ([]params.Job, error)) *Store_ListJobsByStatus_Call
type Store_ListOrganizations_Call ¶
Store_ListOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOrganizations'
func (*Store_ListOrganizations_Call) Return ¶
func (_c *Store_ListOrganizations_Call) Return(_a0 []params.Organization, _a1 error) *Store_ListOrganizations_Call
func (*Store_ListOrganizations_Call) Run ¶
func (_c *Store_ListOrganizations_Call) Run(run func(ctx context.Context, filter params.OrganizationFilter)) *Store_ListOrganizations_Call
func (*Store_ListOrganizations_Call) RunAndReturn ¶
func (_c *Store_ListOrganizations_Call) RunAndReturn(run func(context.Context, params.OrganizationFilter) ([]params.Organization, error)) *Store_ListOrganizations_Call
type Store_ListPoolInstances_Call ¶
Store_ListPoolInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPoolInstances'
func (*Store_ListPoolInstances_Call) Return ¶
func (_c *Store_ListPoolInstances_Call) Return(_a0 []params.Instance, _a1 error) *Store_ListPoolInstances_Call
func (*Store_ListPoolInstances_Call) Run ¶
func (_c *Store_ListPoolInstances_Call) Run(run func(ctx context.Context, poolID string, oudatedOnly bool)) *Store_ListPoolInstances_Call
func (*Store_ListPoolInstances_Call) RunAndReturn ¶
func (_c *Store_ListPoolInstances_Call) RunAndReturn(run func(context.Context, string, bool) ([]params.Instance, error)) *Store_ListPoolInstances_Call
type Store_ListRepositories_Call ¶
Store_ListRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepositories'
func (*Store_ListRepositories_Call) Return ¶
func (_c *Store_ListRepositories_Call) Return(_a0 []params.Repository, _a1 error) *Store_ListRepositories_Call
func (*Store_ListRepositories_Call) Run ¶
func (_c *Store_ListRepositories_Call) Run(run func(ctx context.Context, filter params.RepositoryFilter)) *Store_ListRepositories_Call
func (*Store_ListRepositories_Call) RunAndReturn ¶
func (_c *Store_ListRepositories_Call) RunAndReturn(run func(context.Context, params.RepositoryFilter) ([]params.Repository, error)) *Store_ListRepositories_Call
type Store_ListScaleSetInstances_Call ¶
Store_ListScaleSetInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScaleSetInstances'
func (*Store_ListScaleSetInstances_Call) Return ¶
func (_c *Store_ListScaleSetInstances_Call) Return(_a0 []params.Instance, _a1 error) *Store_ListScaleSetInstances_Call
func (*Store_ListScaleSetInstances_Call) Run ¶
func (_c *Store_ListScaleSetInstances_Call) Run(run func(_a0 context.Context, scalesetID uint, outdatedOnly bool)) *Store_ListScaleSetInstances_Call
func (*Store_ListScaleSetInstances_Call) RunAndReturn ¶
func (_c *Store_ListScaleSetInstances_Call) RunAndReturn(run func(context.Context, uint, bool) ([]params.Instance, error)) *Store_ListScaleSetInstances_Call
type Store_ListTemplates_Call ¶
Store_ListTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTemplates'
func (*Store_ListTemplates_Call) Return ¶
func (_c *Store_ListTemplates_Call) Return(_a0 []params.Template, _a1 error) *Store_ListTemplates_Call
func (*Store_ListTemplates_Call) Run ¶
func (_c *Store_ListTemplates_Call) Run(run func(ctx context.Context, osType *garm_provider_commonparams.OSType, forgeType *params.EndpointType, partialName *string)) *Store_ListTemplates_Call
func (*Store_ListTemplates_Call) RunAndReturn ¶
func (_c *Store_ListTemplates_Call) RunAndReturn(run func(context.Context, *garm_provider_commonparams.OSType, *params.EndpointType, *string) ([]params.Template, error)) *Store_ListTemplates_Call
type Store_LockJob_Call ¶
Store_LockJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LockJob'
func (*Store_LockJob_Call) Return ¶
func (_c *Store_LockJob_Call) Return(_a0 error) *Store_LockJob_Call
func (*Store_LockJob_Call) Run ¶
func (_c *Store_LockJob_Call) Run(run func(ctx context.Context, jobID int64, entityID string)) *Store_LockJob_Call
func (*Store_LockJob_Call) RunAndReturn ¶
func (_c *Store_LockJob_Call) RunAndReturn(run func(context.Context, int64, string) error) *Store_LockJob_Call
type Store_OpenFileObjectContent_Call ¶
Store_OpenFileObjectContent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenFileObjectContent'
func (*Store_OpenFileObjectContent_Call) Return ¶
func (_c *Store_OpenFileObjectContent_Call) Return(_a0 io.ReadCloser, _a1 error) *Store_OpenFileObjectContent_Call
func (*Store_OpenFileObjectContent_Call) Run ¶
func (_c *Store_OpenFileObjectContent_Call) Run(run func(ctx context.Context, objID uint)) *Store_OpenFileObjectContent_Call
func (*Store_OpenFileObjectContent_Call) RunAndReturn ¶
func (_c *Store_OpenFileObjectContent_Call) RunAndReturn(run func(context.Context, uint) (io.ReadCloser, error)) *Store_OpenFileObjectContent_Call
type Store_PoolInstanceCount_Call ¶
Store_PoolInstanceCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PoolInstanceCount'
func (*Store_PoolInstanceCount_Call) Return ¶
func (_c *Store_PoolInstanceCount_Call) Return(_a0 int64, _a1 error) *Store_PoolInstanceCount_Call
func (*Store_PoolInstanceCount_Call) Run ¶
func (_c *Store_PoolInstanceCount_Call) Run(run func(ctx context.Context, poolID string)) *Store_PoolInstanceCount_Call
func (*Store_PoolInstanceCount_Call) RunAndReturn ¶
func (_c *Store_PoolInstanceCount_Call) RunAndReturn(run func(context.Context, string) (int64, error)) *Store_PoolInstanceCount_Call
type Store_SearchFileObjectByTags_Call ¶
Store_SearchFileObjectByTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchFileObjectByTags'
func (*Store_SearchFileObjectByTags_Call) Return ¶
func (_c *Store_SearchFileObjectByTags_Call) Return(_a0 params.FileObjectPaginatedResponse, _a1 error) *Store_SearchFileObjectByTags_Call
func (*Store_SearchFileObjectByTags_Call) Run ¶
func (_c *Store_SearchFileObjectByTags_Call) Run(run func(ctx context.Context, tags []string, page uint64, pageSize uint64)) *Store_SearchFileObjectByTags_Call
func (*Store_SearchFileObjectByTags_Call) RunAndReturn ¶
func (_c *Store_SearchFileObjectByTags_Call) RunAndReturn(run func(context.Context, []string, uint64, uint64) (params.FileObjectPaginatedResponse, error)) *Store_SearchFileObjectByTags_Call
type Store_SetEntityPoolManagerStatus_Call ¶
Store_SetEntityPoolManagerStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEntityPoolManagerStatus'
func (*Store_SetEntityPoolManagerStatus_Call) Return ¶
func (_c *Store_SetEntityPoolManagerStatus_Call) Return(_a0 error) *Store_SetEntityPoolManagerStatus_Call
func (*Store_SetEntityPoolManagerStatus_Call) Run ¶
func (_c *Store_SetEntityPoolManagerStatus_Call) Run(run func(ctx context.Context, entity params.ForgeEntity, param params.PoolManagerStatus)) *Store_SetEntityPoolManagerStatus_Call
func (*Store_SetEntityPoolManagerStatus_Call) RunAndReturn ¶
func (_c *Store_SetEntityPoolManagerStatus_Call) RunAndReturn(run func(context.Context, params.ForgeEntity, params.PoolManagerStatus) error) *Store_SetEntityPoolManagerStatus_Call
type Store_SetScaleSetDesiredRunnerCount_Call ¶
Store_SetScaleSetDesiredRunnerCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetScaleSetDesiredRunnerCount'
func (*Store_SetScaleSetDesiredRunnerCount_Call) Return ¶
func (_c *Store_SetScaleSetDesiredRunnerCount_Call) Return(_a0 error) *Store_SetScaleSetDesiredRunnerCount_Call
func (*Store_SetScaleSetDesiredRunnerCount_Call) Run ¶
func (_c *Store_SetScaleSetDesiredRunnerCount_Call) Run(run func(ctx context.Context, scaleSetID uint, desiredRunnerCount int)) *Store_SetScaleSetDesiredRunnerCount_Call
func (*Store_SetScaleSetDesiredRunnerCount_Call) RunAndReturn ¶
func (_c *Store_SetScaleSetDesiredRunnerCount_Call) RunAndReturn(run func(context.Context, uint, int) error) *Store_SetScaleSetDesiredRunnerCount_Call
type Store_SetScaleSetLastMessageID_Call ¶
Store_SetScaleSetLastMessageID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetScaleSetLastMessageID'
func (*Store_SetScaleSetLastMessageID_Call) Return ¶
func (_c *Store_SetScaleSetLastMessageID_Call) Return(_a0 error) *Store_SetScaleSetLastMessageID_Call
func (*Store_SetScaleSetLastMessageID_Call) Run ¶
func (_c *Store_SetScaleSetLastMessageID_Call) Run(run func(ctx context.Context, scaleSetID uint, lastMessageID int64)) *Store_SetScaleSetLastMessageID_Call
func (*Store_SetScaleSetLastMessageID_Call) RunAndReturn ¶
func (_c *Store_SetScaleSetLastMessageID_Call) RunAndReturn(run func(context.Context, uint, int64) error) *Store_SetScaleSetLastMessageID_Call
type Store_UnlockJob_Call ¶
Store_UnlockJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnlockJob'
func (*Store_UnlockJob_Call) Return ¶
func (_c *Store_UnlockJob_Call) Return(_a0 error) *Store_UnlockJob_Call
func (*Store_UnlockJob_Call) Run ¶
func (_c *Store_UnlockJob_Call) Run(run func(ctx context.Context, jobID int64, entityID string)) *Store_UnlockJob_Call
func (*Store_UnlockJob_Call) RunAndReturn ¶
func (_c *Store_UnlockJob_Call) RunAndReturn(run func(context.Context, int64, string) error) *Store_UnlockJob_Call
type Store_UpdateCachedGARMAgentRelease_Call ¶
Store_UpdateCachedGARMAgentRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCachedGARMAgentRelease'
func (*Store_UpdateCachedGARMAgentRelease_Call) Return ¶
func (_c *Store_UpdateCachedGARMAgentRelease_Call) Return(_a0 error) *Store_UpdateCachedGARMAgentRelease_Call
func (*Store_UpdateCachedGARMAgentRelease_Call) Run ¶
func (_c *Store_UpdateCachedGARMAgentRelease_Call) Run(run func(releaseData []byte, fetchedAt time.Time)) *Store_UpdateCachedGARMAgentRelease_Call
func (*Store_UpdateCachedGARMAgentRelease_Call) RunAndReturn ¶
func (_c *Store_UpdateCachedGARMAgentRelease_Call) RunAndReturn(run func([]byte, time.Time) error) *Store_UpdateCachedGARMAgentRelease_Call
type Store_UpdateController_Call ¶
Store_UpdateController_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateController'
func (*Store_UpdateController_Call) Return ¶
func (_c *Store_UpdateController_Call) Return(_a0 params.ControllerInfo, _a1 error) *Store_UpdateController_Call
func (*Store_UpdateController_Call) Run ¶
func (_c *Store_UpdateController_Call) Run(run func(info params.UpdateControllerParams)) *Store_UpdateController_Call
func (*Store_UpdateController_Call) RunAndReturn ¶
func (_c *Store_UpdateController_Call) RunAndReturn(run func(params.UpdateControllerParams) (params.ControllerInfo, error)) *Store_UpdateController_Call
type Store_UpdateEnterprise_Call ¶
Store_UpdateEnterprise_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEnterprise'
func (*Store_UpdateEnterprise_Call) Return ¶
func (_c *Store_UpdateEnterprise_Call) Return(_a0 params.Enterprise, _a1 error) *Store_UpdateEnterprise_Call
func (*Store_UpdateEnterprise_Call) Run ¶
func (_c *Store_UpdateEnterprise_Call) Run(run func(ctx context.Context, enterpriseID string, param params.UpdateEntityParams)) *Store_UpdateEnterprise_Call
func (*Store_UpdateEnterprise_Call) RunAndReturn ¶
func (_c *Store_UpdateEnterprise_Call) RunAndReturn(run func(context.Context, string, params.UpdateEntityParams) (params.Enterprise, error)) *Store_UpdateEnterprise_Call
type Store_UpdateEntityPool_Call ¶
Store_UpdateEntityPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEntityPool'
func (*Store_UpdateEntityPool_Call) Return ¶
func (_c *Store_UpdateEntityPool_Call) Return(_a0 params.Pool, _a1 error) *Store_UpdateEntityPool_Call
func (*Store_UpdateEntityPool_Call) Run ¶
func (_c *Store_UpdateEntityPool_Call) Run(run func(ctx context.Context, entity params.ForgeEntity, poolID string, param params.UpdatePoolParams)) *Store_UpdateEntityPool_Call
func (*Store_UpdateEntityPool_Call) RunAndReturn ¶
func (_c *Store_UpdateEntityPool_Call) RunAndReturn(run func(context.Context, params.ForgeEntity, string, params.UpdatePoolParams) (params.Pool, error)) *Store_UpdateEntityPool_Call
type Store_UpdateEntityScaleSet_Call ¶
Store_UpdateEntityScaleSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEntityScaleSet'
func (*Store_UpdateEntityScaleSet_Call) Return ¶
func (_c *Store_UpdateEntityScaleSet_Call) Return(updatedScaleSet params.ScaleSet, err error) *Store_UpdateEntityScaleSet_Call
func (*Store_UpdateEntityScaleSet_Call) Run ¶
func (_c *Store_UpdateEntityScaleSet_Call) Run(run func(_a0 context.Context, entity params.ForgeEntity, scaleSetID uint, param params.UpdateScaleSetParams, callback func(params.ScaleSet, params.ScaleSet) error)) *Store_UpdateEntityScaleSet_Call
func (*Store_UpdateEntityScaleSet_Call) RunAndReturn ¶
func (_c *Store_UpdateEntityScaleSet_Call) RunAndReturn(run func(context.Context, params.ForgeEntity, uint, params.UpdateScaleSetParams, func(params.ScaleSet, params.ScaleSet) error) (params.ScaleSet, error)) *Store_UpdateEntityScaleSet_Call
type Store_UpdateFileObject_Call ¶
Store_UpdateFileObject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateFileObject'
func (*Store_UpdateFileObject_Call) Return ¶
func (_c *Store_UpdateFileObject_Call) Return(_a0 params.FileObject, _a1 error) *Store_UpdateFileObject_Call
func (*Store_UpdateFileObject_Call) Run ¶
func (_c *Store_UpdateFileObject_Call) Run(run func(ctx context.Context, objID uint, param params.UpdateFileObjectParams)) *Store_UpdateFileObject_Call
func (*Store_UpdateFileObject_Call) RunAndReturn ¶
func (_c *Store_UpdateFileObject_Call) RunAndReturn(run func(context.Context, uint, params.UpdateFileObjectParams) (params.FileObject, error)) *Store_UpdateFileObject_Call
type Store_UpdateGiteaCredentials_Call ¶
Store_UpdateGiteaCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateGiteaCredentials'
func (*Store_UpdateGiteaCredentials_Call) Return ¶
func (_c *Store_UpdateGiteaCredentials_Call) Return(gtCreds params.ForgeCredentials, err error) *Store_UpdateGiteaCredentials_Call
func (*Store_UpdateGiteaCredentials_Call) Run ¶
func (_c *Store_UpdateGiteaCredentials_Call) Run(run func(ctx context.Context, id uint, param params.UpdateGiteaCredentialsParams)) *Store_UpdateGiteaCredentials_Call
func (*Store_UpdateGiteaCredentials_Call) RunAndReturn ¶
func (_c *Store_UpdateGiteaCredentials_Call) RunAndReturn(run func(context.Context, uint, params.UpdateGiteaCredentialsParams) (params.ForgeCredentials, error)) *Store_UpdateGiteaCredentials_Call
type Store_UpdateGiteaEndpoint_Call ¶
Store_UpdateGiteaEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateGiteaEndpoint'
func (*Store_UpdateGiteaEndpoint_Call) Return ¶
func (_c *Store_UpdateGiteaEndpoint_Call) Return(ghEndpoint params.ForgeEndpoint, err error) *Store_UpdateGiteaEndpoint_Call
func (*Store_UpdateGiteaEndpoint_Call) Run ¶
func (_c *Store_UpdateGiteaEndpoint_Call) Run(run func(_a0 context.Context, name string, param params.UpdateGiteaEndpointParams)) *Store_UpdateGiteaEndpoint_Call
func (*Store_UpdateGiteaEndpoint_Call) RunAndReturn ¶
func (_c *Store_UpdateGiteaEndpoint_Call) RunAndReturn(run func(context.Context, string, params.UpdateGiteaEndpointParams) (params.ForgeEndpoint, error)) *Store_UpdateGiteaEndpoint_Call
type Store_UpdateGithubCredentials_Call ¶
Store_UpdateGithubCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateGithubCredentials'
func (*Store_UpdateGithubCredentials_Call) Return ¶
func (_c *Store_UpdateGithubCredentials_Call) Return(_a0 params.ForgeCredentials, _a1 error) *Store_UpdateGithubCredentials_Call
func (*Store_UpdateGithubCredentials_Call) Run ¶
func (_c *Store_UpdateGithubCredentials_Call) Run(run func(ctx context.Context, id uint, param params.UpdateGithubCredentialsParams)) *Store_UpdateGithubCredentials_Call
func (*Store_UpdateGithubCredentials_Call) RunAndReturn ¶
func (_c *Store_UpdateGithubCredentials_Call) RunAndReturn(run func(context.Context, uint, params.UpdateGithubCredentialsParams) (params.ForgeCredentials, error)) *Store_UpdateGithubCredentials_Call
type Store_UpdateGithubEndpoint_Call ¶
Store_UpdateGithubEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateGithubEndpoint'
func (*Store_UpdateGithubEndpoint_Call) Return ¶
func (_c *Store_UpdateGithubEndpoint_Call) Return(_a0 params.ForgeEndpoint, _a1 error) *Store_UpdateGithubEndpoint_Call
func (*Store_UpdateGithubEndpoint_Call) Run ¶
func (_c *Store_UpdateGithubEndpoint_Call) Run(run func(ctx context.Context, name string, param params.UpdateGithubEndpointParams)) *Store_UpdateGithubEndpoint_Call
func (*Store_UpdateGithubEndpoint_Call) RunAndReturn ¶
func (_c *Store_UpdateGithubEndpoint_Call) RunAndReturn(run func(context.Context, string, params.UpdateGithubEndpointParams) (params.ForgeEndpoint, error)) *Store_UpdateGithubEndpoint_Call
type Store_UpdateInstance_Call ¶
Store_UpdateInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateInstance'
func (*Store_UpdateInstance_Call) Return ¶
func (_c *Store_UpdateInstance_Call) Return(_a0 params.Instance, _a1 error) *Store_UpdateInstance_Call
func (*Store_UpdateInstance_Call) Run ¶
func (_c *Store_UpdateInstance_Call) Run(run func(ctx context.Context, instanceNameOrID string, param params.UpdateInstanceParams)) *Store_UpdateInstance_Call
func (*Store_UpdateInstance_Call) RunAndReturn ¶
func (_c *Store_UpdateInstance_Call) RunAndReturn(run func(context.Context, string, params.UpdateInstanceParams) (params.Instance, error)) *Store_UpdateInstance_Call
type Store_UpdateOrganization_Call ¶
Store_UpdateOrganization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateOrganization'
func (*Store_UpdateOrganization_Call) Return ¶
func (_c *Store_UpdateOrganization_Call) Return(_a0 params.Organization, _a1 error) *Store_UpdateOrganization_Call
func (*Store_UpdateOrganization_Call) Run ¶
func (_c *Store_UpdateOrganization_Call) Run(run func(ctx context.Context, orgID string, param params.UpdateEntityParams)) *Store_UpdateOrganization_Call
func (*Store_UpdateOrganization_Call) RunAndReturn ¶
func (_c *Store_UpdateOrganization_Call) RunAndReturn(run func(context.Context, string, params.UpdateEntityParams) (params.Organization, error)) *Store_UpdateOrganization_Call
type Store_UpdateRepository_Call ¶
Store_UpdateRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRepository'
func (*Store_UpdateRepository_Call) Return ¶
func (_c *Store_UpdateRepository_Call) Return(_a0 params.Repository, _a1 error) *Store_UpdateRepository_Call
func (*Store_UpdateRepository_Call) Run ¶
func (_c *Store_UpdateRepository_Call) Run(run func(ctx context.Context, repoID string, param params.UpdateEntityParams)) *Store_UpdateRepository_Call
func (*Store_UpdateRepository_Call) RunAndReturn ¶
func (_c *Store_UpdateRepository_Call) RunAndReturn(run func(context.Context, string, params.UpdateEntityParams) (params.Repository, error)) *Store_UpdateRepository_Call
type Store_UpdateTemplate_Call ¶
Store_UpdateTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTemplate'
func (*Store_UpdateTemplate_Call) Return ¶
func (_c *Store_UpdateTemplate_Call) Return(template params.Template, err error) *Store_UpdateTemplate_Call
func (*Store_UpdateTemplate_Call) Run ¶
func (_c *Store_UpdateTemplate_Call) Run(run func(ctx context.Context, id uint, param params.UpdateTemplateParams)) *Store_UpdateTemplate_Call
func (*Store_UpdateTemplate_Call) RunAndReturn ¶
func (_c *Store_UpdateTemplate_Call) RunAndReturn(run func(context.Context, uint, params.UpdateTemplateParams) (params.Template, error)) *Store_UpdateTemplate_Call
type Store_UpdateUser_Call ¶
Store_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser'
func (*Store_UpdateUser_Call) Return ¶
func (_c *Store_UpdateUser_Call) Return(_a0 params.User, _a1 error) *Store_UpdateUser_Call
func (*Store_UpdateUser_Call) Run ¶
func (_c *Store_UpdateUser_Call) Run(run func(ctx context.Context, user string, param params.UpdateUserParams)) *Store_UpdateUser_Call
func (*Store_UpdateUser_Call) RunAndReturn ¶
func (_c *Store_UpdateUser_Call) RunAndReturn(run func(context.Context, string, params.UpdateUserParams) (params.User, error)) *Store_UpdateUser_Call