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, instanceName 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) 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) CreateUser(ctx context.Context, user params.NewUserParams) (params.User, error)
- func (_m *Store) DeleteCompletedJobs(ctx context.Context) 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) 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) DeleteInstance(ctx context.Context, poolID string, instanceName 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) FindPoolsMatchingAllTags(ctx context.Context, entityType params.ForgeEntityType, entityID string, ...) ([]params.Pool, 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) 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) GetInstanceByName(ctx context.Context, instanceName 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) GetPoolInstanceByName(ctx context.Context, poolID string, instanceName string) (params.Instance, 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) 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) 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) 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) ([]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) ([]params.Instance, error)
- func (_m *Store) LockJob(ctx context.Context, jobID int64, entityID string) error
- func (_m *Store) PoolInstanceCount(ctx context.Context, poolID string) (int64, 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) 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) 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, instanceName string, param params.UpdateInstanceParams) (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) UpdateUser(ctx context.Context, user string, param params.UpdateUserParams) (params.User, error)
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, instanceName string, event params.EventType, eventLevel params.EventLevel, eventMessage string) error
AddInstanceEvent provides a mock function with given fields: ctx, instanceName, 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) (params.Enterprise, error)
CreateEnterprise provides a mock function with given fields: ctx, name, credentialsName, webhookSecret, poolBalancerType
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) 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) (params.Organization, error)
CreateOrganization provides a mock function with given fields: ctx, name, credentials, webhookSecret, poolBalancerType
func (*Store) CreateRepository ¶
func (_m *Store) CreateRepository(ctx context.Context, owner string, name string, credentials params.ForgeCredentials, webhookSecret string, poolBalancerType params.PoolBalancerType) (params.Repository, error)
CreateRepository provides a mock function with given fields: ctx, owner, name, credentials, webhookSecret, poolBalancerType
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) CreateUser ¶
CreateUser provides a mock function with given fields: ctx, user
func (*Store) DeleteCompletedJobs ¶ added in v0.1.2
DeleteCompletedJobs provides a mock function with given fields: ctx
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) 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) DeleteInstance ¶
DeleteInstance provides a mock function with given fields: ctx, poolID, instanceName
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) 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) 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) 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) GetInstanceByName ¶
func (_m *Store) GetInstanceByName(ctx context.Context, instanceName string) (params.Instance, error)
GetInstanceByName provides a mock function with given fields: ctx, instanceName
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) GetPoolInstanceByName ¶
func (_m *Store) GetPoolInstanceByName(ctx context.Context, poolID string, instanceName string) (params.Instance, error)
GetPoolInstanceByName provides a mock function with given fields: ctx, poolID, instanceName
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) 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) 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) 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 ¶
ListPoolInstances provides a mock function with given fields: ctx, poolID
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) ([]params.Instance, error)
ListScaleSetInstances provides a mock function with given fields: _a0, scalesetID
func (*Store) LockJob ¶ added in v0.1.2
LockJob provides a mock function with given fields: ctx, jobID, entityID
func (*Store) PoolInstanceCount ¶
PoolInstanceCount provides a mock function with given fields: ctx, poolID
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) 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) 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, instanceName string, param params.UpdateInstanceParams) (params.Instance, error)
UpdateInstance provides a mock function with given fields: ctx, instanceName, 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