mocks

package
v0.2.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func NewStore

func NewStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *Store

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

func (_m *Store) BreakLockJobIsQueued(ctx context.Context, jobID int64) error

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

func (_m *Store) CreateOrUpdateJob(ctx context.Context, job params.Job) (params.Job, error)

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

func (_m *Store) CreateUser(ctx context.Context, user params.NewUserParams) (params.User, error)

CreateUser provides a mock function with given fields: ctx, user

func (*Store) DeleteEnterprise

func (_m *Store) DeleteEnterprise(ctx context.Context, enterpriseID string) error

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

func (_m *Store) DeleteFileObject(ctx context.Context, objID uint) error

DeleteFileObject provides a mock function with given fields: ctx, objID

func (*Store) DeleteFileObjectsByTags

func (_m *Store) DeleteFileObjectsByTags(ctx context.Context, tags []string) (int64, error)

DeleteFileObjectsByTags provides a mock function with given fields: ctx, tags

func (*Store) DeleteGiteaCredentials

func (_m *Store) DeleteGiteaCredentials(ctx context.Context, id uint) error

DeleteGiteaCredentials provides a mock function with given fields: ctx, id

func (*Store) DeleteGiteaEndpoint

func (_m *Store) DeleteGiteaEndpoint(_a0 context.Context, name string) error

DeleteGiteaEndpoint provides a mock function with given fields: _a0, name

func (*Store) DeleteGithubCredentials added in v0.1.5

func (_m *Store) DeleteGithubCredentials(ctx context.Context, id uint) error

DeleteGithubCredentials provides a mock function with given fields: ctx, id

func (*Store) DeleteGithubEndpoint added in v0.1.5

func (_m *Store) DeleteGithubEndpoint(ctx context.Context, name string) error

DeleteGithubEndpoint provides a mock function with given fields: ctx, name

func (*Store) DeleteInactionableJobs

func (_m *Store) DeleteInactionableJobs(ctx context.Context, olderThan time.Duration) error

DeleteInactionableJobs provides a mock function with given fields: ctx, olderThan

func (*Store) DeleteInstance

func (_m *Store) DeleteInstance(ctx context.Context, poolID string, instanceNameOrID string) error

DeleteInstance provides a mock function with given fields: ctx, poolID, instanceNameOrID

func (*Store) DeleteInstanceByName

func (_m *Store) DeleteInstanceByName(ctx context.Context, instanceName string) error

DeleteInstanceByName provides a mock function with given fields: ctx, instanceName

func (*Store) DeleteJob added in v0.1.2

func (_m *Store) DeleteJob(ctx context.Context, jobID int64) error

DeleteJob provides a mock function with given fields: ctx, jobID

func (*Store) DeleteOrganization

func (_m *Store) DeleteOrganization(ctx context.Context, orgID string) error

DeleteOrganization provides a mock function with given fields: ctx, orgID

func (*Store) DeletePoolByID

func (_m *Store) DeletePoolByID(ctx context.Context, poolID string) error

DeletePoolByID provides a mock function with given fields: ctx, poolID

func (*Store) DeleteRepository

func (_m *Store) DeleteRepository(ctx context.Context, repoID string) error

DeleteRepository provides a mock function with given fields: ctx, repoID

func (*Store) DeleteScaleSetByID

func (_m *Store) DeleteScaleSetByID(ctx context.Context, scaleSetID uint) error

DeleteScaleSetByID provides a mock function with given fields: ctx, scaleSetID

func (*Store) DeleteTemplate

func (_m *Store) DeleteTemplate(ctx context.Context, id uint) error

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

func (_m *Store) GetAdminUser(ctx context.Context) (params.User, error)

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

func (_m *Store) GetFileObject(ctx context.Context, objID uint) (params.FileObject, error)

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

func (_m *Store) GetGiteaEndpoint(_a0 context.Context, name string) (params.ForgeEndpoint, error)

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

func (_m *Store) GetGithubEndpoint(ctx context.Context, name string) (params.ForgeEndpoint, error)

GetGithubEndpoint provides a mock function with given fields: ctx, name

func (*Store) GetInstance

func (_m *Store) GetInstance(ctx context.Context, instanceNameOrID string) (params.Instance, error)

GetInstance provides a mock function with given fields: ctx, instanceNameOrID

func (*Store) GetJobByID added in v0.1.2

func (_m *Store) GetJobByID(ctx context.Context, jobID int64) (params.Job, error)

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

func (_m *Store) GetPoolByID(ctx context.Context, poolID string) (params.Pool, error)

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

func (_m *Store) GetRepositoryByID(ctx context.Context, repoID string) (params.Repository, error)

GetRepositoryByID provides a mock function with given fields: ctx, repoID

func (*Store) GetScaleSetByID

func (_m *Store) GetScaleSetByID(ctx context.Context, scaleSet uint) (params.ScaleSet, error)

GetScaleSetByID provides a mock function with given fields: ctx, scaleSet

func (*Store) GetTemplate

func (_m *Store) GetTemplate(ctx context.Context, id uint) (params.Template, error)

GetTemplate provides a mock function with given fields: ctx, id

func (*Store) GetTemplateByName

func (_m *Store) GetTemplateByName(ctx context.Context, name string) (params.Template, error)

GetTemplateByName provides a mock function with given fields: ctx, name

func (*Store) GetUser

func (_m *Store) GetUser(ctx context.Context, user string) (params.User, error)

GetUser provides a mock function with given fields: ctx, user

func (*Store) GetUserByID

func (_m *Store) GetUserByID(ctx context.Context, userID string) (params.User, error)

GetUserByID provides a mock function with given fields: ctx, userID

func (*Store) HasAdminUser

func (_m *Store) HasAdminUser(ctx context.Context) bool

HasAdminUser provides a mock function with given fields: ctx

func (*Store) HasEntitiesWithAgentModeEnabled

func (_m *Store) HasEntitiesWithAgentModeEnabled() (bool, error)

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

func (_m *Store) ListAllInstances(ctx context.Context) ([]params.Instance, error)

ListAllInstances provides a mock function with given fields: ctx

func (*Store) ListAllJobs added in v0.1.2

func (_m *Store) ListAllJobs(ctx context.Context) ([]params.Job, error)

ListAllJobs provides a mock function with given fields: ctx

func (*Store) ListAllPools

func (_m *Store) ListAllPools(ctx context.Context) ([]params.Pool, error)

ListAllPools provides a mock function with given fields: ctx

func (*Store) ListAllScaleSets

func (_m *Store) ListAllScaleSets(ctx context.Context) ([]params.ScaleSet, error)

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

func (_m *Store) ListGiteaCredentials(ctx context.Context) ([]params.ForgeCredentials, error)

ListGiteaCredentials provides a mock function with given fields: ctx

func (*Store) ListGiteaEndpoints

func (_m *Store) ListGiteaEndpoints(_a0 context.Context) ([]params.ForgeEndpoint, error)

ListGiteaEndpoints provides a mock function with given fields: _a0

func (*Store) ListGithubCredentials added in v0.1.5

func (_m *Store) ListGithubCredentials(ctx context.Context) ([]params.ForgeCredentials, error)

ListGithubCredentials provides a mock function with given fields: ctx

func (*Store) ListGithubEndpoints added in v0.1.5

func (_m *Store) ListGithubEndpoints(ctx context.Context) ([]params.ForgeEndpoint, error)

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

func (_m *Store) LockJob(ctx context.Context, jobID int64, entityID string) error

LockJob provides a mock function with given fields: ctx, jobID, entityID

func (*Store) OpenFileObjectContent

func (_m *Store) OpenFileObjectContent(ctx context.Context, objID uint) (io.ReadCloser, error)

OpenFileObjectContent provides a mock function with given fields: ctx, objID

func (*Store) PoolInstanceCount

func (_m *Store) PoolInstanceCount(ctx context.Context, poolID string) (int64, error)

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

func (_m *Store) UnlockJob(ctx context.Context, jobID int64, entityID string) error

UnlockJob provides a mock function with given fields: ctx, jobID, entityID

func (*Store) UpdateCachedGARMAgentRelease

func (_m *Store) UpdateCachedGARMAgentRelease(releaseData []byte, fetchedAt time.Time) error

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

func (*Store) UpdateTemplate

func (_m *Store) UpdateTemplate(ctx context.Context, id uint, param params.UpdateTemplateParams) (params.Template, error)

UpdateTemplate provides a mock function with given fields: ctx, id, param

func (*Store) UpdateUser

func (_m *Store) UpdateUser(ctx context.Context, user string, param params.UpdateUserParams) (params.User, error)

UpdateUser provides a mock function with given fields: ctx, user, param

type Store_AddEntityEvent_Call

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

type Store_AddInstanceEvent_Call

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

type Store_BreakLockJobIsQueued_Call

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

func (*Store_BreakLockJobIsQueued_Call) RunAndReturn

type Store_ControllerInfo_Call

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

func (*Store_ControllerInfo_Call) RunAndReturn

type Store_CreateEnterprise_Call

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

type Store_CreateEntityPool_Call

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

func (*Store_CreateEntityPool_Call) RunAndReturn

type Store_CreateEntityScaleSet_Call

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

type Store_CreateFileObject_Call

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

type Store_CreateGiteaCredentials_Call

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

type Store_CreateGiteaEndpoint_Call

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

type Store_CreateGithubCredentials_Call

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

type Store_CreateGithubEndpoint_Call

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

type Store_CreateInstance_Call

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

func (*Store_CreateInstance_Call) RunAndReturn

type Store_CreateOrUpdateJob_Call

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

func (*Store_CreateOrUpdateJob_Call) RunAndReturn

type Store_CreateOrganization_Call

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

type Store_CreateRepository_Call

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

type Store_CreateScaleSetInstance_Call

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

func (*Store_CreateScaleSetInstance_Call) RunAndReturn

type Store_CreateTemplate_Call

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

func (*Store_CreateTemplate_Call) RunAndReturn

type Store_CreateUser_Call

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

func (*Store_CreateUser_Call) RunAndReturn

type Store_DeleteEnterprise_Call

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

type Store_DeleteEntityPool_Call

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

func (*Store_DeleteEntityPool_Call) RunAndReturn

type Store_DeleteFileObject_Call

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

func (*Store_DeleteFileObject_Call) RunAndReturn

type Store_DeleteFileObjectsByTags_Call

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

func (*Store_DeleteFileObjectsByTags_Call) RunAndReturn

type Store_DeleteGiteaCredentials_Call

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

func (*Store_DeleteGiteaCredentials_Call) RunAndReturn

type Store_DeleteGiteaEndpoint_Call

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

func (*Store_DeleteGiteaEndpoint_Call) RunAndReturn

type Store_DeleteGithubCredentials_Call

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

func (*Store_DeleteGithubCredentials_Call) RunAndReturn

type Store_DeleteGithubEndpoint_Call

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

func (*Store_DeleteGithubEndpoint_Call) RunAndReturn

type Store_DeleteInactionableJobs_Call

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

func (*Store_DeleteInactionableJobs_Call) RunAndReturn

type Store_DeleteInstanceByName_Call

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

func (*Store_DeleteInstanceByName_Call) RunAndReturn

type Store_DeleteInstance_Call

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

type Store_DeleteJob_Call

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

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

func (*Store_DeleteOrganization_Call) RunAndReturn

type Store_DeletePoolByID_Call

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

func (*Store_DeletePoolByID_Call) RunAndReturn

type Store_DeleteRepository_Call

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

func (*Store_DeleteRepository_Call) RunAndReturn

type Store_DeleteScaleSetByID_Call

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

func (*Store_DeleteScaleSetByID_Call) RunAndReturn

type Store_DeleteTemplate_Call

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

func (*Store_DeleteTemplate_Call) RunAndReturn

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

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

func (*Store_FindPoolsMatchingAllTags_Call) RunAndReturn

type Store_ForceUpdateInstance_Call

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

func (*Store_ForceUpdateInstance_Call) RunAndReturn

type Store_GetAdminUser_Call

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

func (*Store_GetAdminUser_Call) RunAndReturn

type Store_GetEnterpriseByID_Call

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

type Store_GetEnterprise_Call

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

type Store_GetEntityPool_Call

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

func (*Store_GetEntityPool_Call) RunAndReturn

type Store_GetFileObject_Call

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

type Store_GetForgeEntity_Call

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

type Store_GetGiteaCredentialsByName_Call

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

func (*Store_GetGiteaCredentialsByName_Call) RunAndReturn

type Store_GetGiteaCredentials_Call

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

func (*Store_GetGiteaCredentials_Call) RunAndReturn

type Store_GetGiteaEndpoint_Call

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

func (*Store_GetGiteaEndpoint_Call) RunAndReturn

type Store_GetGithubCredentialsByName_Call

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

func (*Store_GetGithubCredentialsByName_Call) RunAndReturn

type Store_GetGithubCredentials_Call

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

func (*Store_GetGithubCredentials_Call) RunAndReturn

type Store_GetGithubEndpoint_Call

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

func (*Store_GetGithubEndpoint_Call) RunAndReturn

type Store_GetInstance_Call

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

type Store_GetJobByID_Call

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

type Store_GetOrganizationByID_Call

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

func (*Store_GetOrganizationByID_Call) RunAndReturn

type Store_GetOrganization_Call

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

type Store_GetPoolByID_Call

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

type Store_GetRepositoryByID_Call

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

func (*Store_GetRepositoryByID_Call) RunAndReturn

type Store_GetRepository_Call

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

type Store_GetScaleSetByID_Call

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

type Store_GetTemplateByName_Call

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

func (*Store_GetTemplateByName_Call) RunAndReturn

type Store_GetTemplate_Call

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

func (*Store_GetTemplate_Call) RunAndReturn

type Store_GetUserByID_Call

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

type Store_GetUser_Call

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

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

func (*Store_HasAdminUser_Call) RunAndReturn

type Store_HasEntitiesWithAgentModeEnabled_Call

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

func (*Store_HasEntitiesWithAgentModeEnabled_Call) RunAndReturn

type Store_InitController_Call

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

func (*Store_InitController_Call) RunAndReturn

type Store_ListAllInstances_Call

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

func (*Store_ListAllInstances_Call) RunAndReturn

type Store_ListAllJobs_Call

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

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

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

func (*Store_ListAllPools_Call) RunAndReturn

type Store_ListAllScaleSets_Call

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

func (*Store_ListAllScaleSets_Call) RunAndReturn

type Store_ListEnterprises_Call

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

func (*Store_ListEnterprises_Call) RunAndReturn

type Store_ListEntityInstances_Call

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

func (*Store_ListEntityInstances_Call) RunAndReturn

type Store_ListEntityJobsByStatus_Call

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

func (*Store_ListEntityJobsByStatus_Call) RunAndReturn

type Store_ListEntityPools_Call

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

func (*Store_ListEntityPools_Call) RunAndReturn

type Store_ListEntityScaleSets_Call

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

func (*Store_ListEntityScaleSets_Call) RunAndReturn

type Store_ListFileObjects_Call

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

type Store_ListGiteaCredentials_Call

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

func (*Store_ListGiteaCredentials_Call) RunAndReturn

type Store_ListGiteaEndpoints_Call

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

func (*Store_ListGiteaEndpoints_Call) RunAndReturn

type Store_ListGithubCredentials_Call

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

func (*Store_ListGithubCredentials_Call) RunAndReturn

type Store_ListGithubEndpoints_Call

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

func (*Store_ListGithubEndpoints_Call) RunAndReturn

type Store_ListJobsByStatus_Call

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

func (*Store_ListJobsByStatus_Call) RunAndReturn

type Store_ListOrganizations_Call

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

func (*Store_ListOrganizations_Call) RunAndReturn

type Store_ListPoolInstances_Call

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

type Store_ListRepositories_Call

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

func (*Store_ListRepositories_Call) RunAndReturn

type Store_ListScaleSetInstances_Call

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

type Store_ListTemplates_Call

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

type Store_LockJob_Call

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

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

func (*Store_OpenFileObjectContent_Call) RunAndReturn

type Store_PoolInstanceCount_Call

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

func (*Store_PoolInstanceCount_Call) RunAndReturn

type Store_SearchFileObjectByTags_Call

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

type Store_SetEntityPoolManagerStatus_Call

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

type Store_SetScaleSetDesiredRunnerCount_Call

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

type Store_SetScaleSetLastMessageID_Call

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

type Store_UnlockJob_Call

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

type Store_UpdateCachedGARMAgentRelease_Call

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

func (*Store_UpdateCachedGARMAgentRelease_Call) RunAndReturn

type Store_UpdateController_Call

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

func (*Store_UpdateController_Call) RunAndReturn

type Store_UpdateEnterprise_Call

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

func (*Store_UpdateEnterprise_Call) RunAndReturn

type Store_UpdateEntityPool_Call

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

type Store_UpdateEntityScaleSet_Call

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

type Store_UpdateFileObject_Call

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

func (*Store_UpdateFileObject_Call) RunAndReturn

type Store_UpdateGiteaCredentials_Call

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

type Store_UpdateGiteaEndpoint_Call

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

type Store_UpdateGithubCredentials_Call

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

type Store_UpdateGithubEndpoint_Call

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

type Store_UpdateInstance_Call

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

type Store_UpdateOrganization_Call

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

type Store_UpdateRepository_Call

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

func (*Store_UpdateRepository_Call) RunAndReturn

type Store_UpdateTemplate_Call

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

func (*Store_UpdateTemplate_Call) RunAndReturn

type Store_UpdateUser_Call

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

func (*Store_UpdateUser_Call) RunAndReturn

Jump to

Keyboard shortcuts

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