Documentation
¶
Overview ¶
Package mockdb is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) AddUserProject(arg0 context.Context, arg1 db.AddUserProjectParams) (db.UserProject, error)
- func (m *MockStore) AddUserRole(arg0 context.Context, arg1 db.AddUserRoleParams) (db.UserRole, error)
- func (m *MockStore) BeginTransaction() (*sql.Tx, error)
- func (m *MockStore) CheckHealth() error
- func (m *MockStore) Commit(arg0 *sql.Tx) error
- func (m *MockStore) CountProfilesByEntityType(arg0 context.Context) ([]db.CountProfilesByEntityTypeRow, error)
- func (m *MockStore) CountProfilesByName(arg0 context.Context, arg1 string) (int64, error)
- func (m *MockStore) CountRepositories(arg0 context.Context) (int64, error)
- func (m *MockStore) CountUsers(arg0 context.Context) (int64, error)
- func (m *MockStore) CreateAccessToken(arg0 context.Context, arg1 db.CreateAccessTokenParams) (db.ProviderAccessToken, error)
- func (m *MockStore) CreateArtifact(arg0 context.Context, arg1 db.CreateArtifactParams) (db.Artifact, error)
- func (m *MockStore) CreateArtifactVersion(arg0 context.Context, arg1 db.CreateArtifactVersionParams) (db.ArtifactVersion, error)
- func (m *MockStore) CreateOrganization(arg0 context.Context, arg1 db.CreateOrganizationParams) (db.Project, error)
- func (m *MockStore) CreateProfile(arg0 context.Context, arg1 db.CreateProfileParams) (db.Profile, error)
- func (m *MockStore) CreateProfileForEntity(arg0 context.Context, arg1 db.CreateProfileForEntityParams) (db.EntityProfile, error)
- func (m *MockStore) CreateProject(arg0 context.Context, arg1 db.CreateProjectParams) (db.Project, error)
- func (m *MockStore) CreateProvider(arg0 context.Context, arg1 db.CreateProviderParams) (db.Provider, error)
- func (m *MockStore) CreatePullRequest(arg0 context.Context, arg1 db.CreatePullRequestParams) (db.PullRequest, error)
- func (m *MockStore) CreateRepository(arg0 context.Context, arg1 db.CreateRepositoryParams) (db.Repository, error)
- func (m *MockStore) CreateRole(arg0 context.Context, arg1 db.CreateRoleParams) (db.Role, error)
- func (m *MockStore) CreateRuleType(arg0 context.Context, arg1 db.CreateRuleTypeParams) (db.RuleType, error)
- func (m *MockStore) CreateSessionState(arg0 context.Context, arg1 db.CreateSessionStateParams) (db.SessionStore, error)
- func (m *MockStore) CreateSigningKey(arg0 context.Context, arg1 db.CreateSigningKeyParams) (db.SigningKey, error)
- func (m *MockStore) CreateUser(arg0 context.Context, arg1 db.CreateUserParams) (db.User, error)
- func (m *MockStore) DeleteAccessToken(arg0 context.Context, arg1 db.DeleteAccessTokenParams) error
- func (m *MockStore) DeleteArtifact(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockStore) DeleteArtifactVersion(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockStore) DeleteExpiredSessionStates(arg0 context.Context) error
- func (m *MockStore) DeleteOldArtifactVersions(arg0 context.Context, arg1 db.DeleteOldArtifactVersionsParams) error
- func (m *MockStore) DeleteOrganization(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockStore) DeleteProfile(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockStore) DeleteProfileForEntity(arg0 context.Context, arg1 db.DeleteProfileForEntityParams) error
- func (m *MockStore) DeleteProject(arg0 context.Context, arg1 uuid.UUID) ([]db.DeleteProjectRow, error)
- func (m *MockStore) DeleteProvider(arg0 context.Context, arg1 db.DeleteProviderParams) error
- func (m *MockStore) DeletePullRequest(arg0 context.Context, arg1 db.DeletePullRequestParams) error
- func (m *MockStore) DeleteRepository(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockStore) DeleteRole(arg0 context.Context, arg1 int32) error
- func (m *MockStore) DeleteRuleInstantiation(arg0 context.Context, arg1 db.DeleteRuleInstantiationParams) error
- func (m *MockStore) DeleteRuleStatusesForProfileAndRuleType(arg0 context.Context, arg1 db.DeleteRuleStatusesForProfileAndRuleTypeParams) error
- func (m *MockStore) DeleteRuleType(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockStore) DeleteSessionState(arg0 context.Context, arg1 int32) error
- func (m *MockStore) DeleteSessionStateByProjectID(arg0 context.Context, arg1 db.DeleteSessionStateByProjectIDParams) error
- func (m *MockStore) DeleteSigningKey(arg0 context.Context, arg1 db.DeleteSigningKeyParams) error
- func (m *MockStore) DeleteUser(arg0 context.Context, arg1 int32) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) EnqueueFlush(arg0 context.Context, arg1 db.EnqueueFlushParams) (db.FlushCache, error)
- func (m *MockStore) FlushCache(arg0 context.Context, arg1 db.FlushCacheParams) (db.FlushCache, error)
- func (m *MockStore) GetAccessTokenByProjectID(arg0 context.Context, arg1 db.GetAccessTokenByProjectIDParams) (db.ProviderAccessToken, error)
- func (m *MockStore) GetAccessTokenByProvider(arg0 context.Context, arg1 string) ([]db.ProviderAccessToken, error)
- func (m *MockStore) GetAccessTokenSinceDate(arg0 context.Context, arg1 db.GetAccessTokenSinceDateParams) (db.ProviderAccessToken, error)
- func (m *MockStore) GetArtifactByID(arg0 context.Context, arg1 uuid.UUID) (db.GetArtifactByIDRow, error)
- func (m *MockStore) GetArtifactVersionByID(arg0 context.Context, arg1 uuid.UUID) (db.ArtifactVersion, error)
- func (m *MockStore) GetArtifactVersionBySha(arg0 context.Context, arg1 string) (db.ArtifactVersion, error)
- func (m *MockStore) GetChildrenProjects(arg0 context.Context, arg1 uuid.UUID) ([]db.GetChildrenProjectsRow, error)
- func (m *MockStore) GetEntityProfileByProjectAndName(arg0 context.Context, arg1 db.GetEntityProfileByProjectAndNameParams) ([]db.GetEntityProfileByProjectAndNameRow, error)
- func (m *MockStore) GetFeatureInProject(arg0 context.Context, arg1 db.GetFeatureInProjectParams) (json.RawMessage, error)
- func (m *MockStore) GetOrganization(arg0 context.Context, arg1 uuid.UUID) (db.Project, error)
- func (m *MockStore) GetOrganizationByName(arg0 context.Context, arg1 string) (db.Project, error)
- func (m *MockStore) GetOrganizationForUpdate(arg0 context.Context, arg1 string) (db.Project, error)
- func (m *MockStore) GetParentProjects(arg0 context.Context, arg1 uuid.UUID) ([]uuid.UUID, error)
- func (m *MockStore) GetParentProjectsUntil(arg0 context.Context, arg1 db.GetParentProjectsUntilParams) ([]uuid.UUID, error)
- func (m *MockStore) GetProfileByID(arg0 context.Context, arg1 uuid.UUID) (db.Profile, error)
- func (m *MockStore) GetProfileByIDAndLock(arg0 context.Context, arg1 uuid.UUID) (db.Profile, error)
- func (m *MockStore) GetProfileByNameAndLock(arg0 context.Context, arg1 db.GetProfileByNameAndLockParams) (db.Profile, error)
- func (m *MockStore) GetProfileByProjectAndID(arg0 context.Context, arg1 db.GetProfileByProjectAndIDParams) ([]db.GetProfileByProjectAndIDRow, error)
- func (m *MockStore) GetProfileForEntity(arg0 context.Context, arg1 db.GetProfileForEntityParams) (db.EntityProfile, error)
- func (m *MockStore) GetProfileStatusByIdAndProject(arg0 context.Context, arg1 db.GetProfileStatusByIdAndProjectParams) (db.GetProfileStatusByIdAndProjectRow, error)
- func (m *MockStore) GetProfileStatusByNameAndProject(arg0 context.Context, arg1 db.GetProfileStatusByNameAndProjectParams) (db.GetProfileStatusByNameAndProjectRow, error)
- func (m *MockStore) GetProfileStatusByProject(arg0 context.Context, arg1 uuid.UUID) ([]db.GetProfileStatusByProjectRow, error)
- func (m *MockStore) GetProjectByID(arg0 context.Context, arg1 uuid.UUID) (db.Project, error)
- func (m *MockStore) GetProjectByName(arg0 context.Context, arg1 string) (db.Project, error)
- func (m *MockStore) GetProjectIDPortBySessionState(arg0 context.Context, arg1 string) (db.GetProjectIDPortBySessionStateRow, error)
- func (m *MockStore) GetProviderByID(arg0 context.Context, arg1 db.GetProviderByIDParams) (db.Provider, error)
- func (m *MockStore) GetProviderByName(arg0 context.Context, arg1 db.GetProviderByNameParams) (db.Provider, error)
- func (m *MockStore) GetPullRequest(arg0 context.Context, arg1 db.GetPullRequestParams) (db.PullRequest, error)
- func (m *MockStore) GetPullRequestByID(arg0 context.Context, arg1 uuid.UUID) (db.PullRequest, error)
- func (m *MockStore) GetQuerierWithTransaction(arg0 *sql.Tx) db.ExtendQuerier
- func (m *MockStore) GetRepositoryByID(arg0 context.Context, arg1 uuid.UUID) (db.Repository, error)
- func (m *MockStore) GetRepositoryByIDAndProject(arg0 context.Context, arg1 db.GetRepositoryByIDAndProjectParams) (db.Repository, error)
- func (m *MockStore) GetRepositoryByRepoID(arg0 context.Context, arg1 int32) (db.Repository, error)
- func (m *MockStore) GetRepositoryByRepoName(arg0 context.Context, arg1 db.GetRepositoryByRepoNameParams) (db.Repository, error)
- func (m *MockStore) GetRoleByID(arg0 context.Context, arg1 int32) (db.Role, error)
- func (m *MockStore) GetRoleByName(arg0 context.Context, arg1 db.GetRoleByNameParams) (db.Role, error)
- func (m *MockStore) GetRootProjects(arg0 context.Context) ([]db.Project, error)
- func (m *MockStore) GetRuleEvaluationByProfileIdAndRuleType(arg0 context.Context, arg1 uuid.UUID, arg2 db.NullEntities, arg3 uuid.NullUUID, ...) (db.ListRuleEvaluationsByProfileIdRow, error)
- func (m *MockStore) GetRuleTypeByID(arg0 context.Context, arg1 uuid.UUID) (db.RuleType, error)
- func (m *MockStore) GetRuleTypeByName(arg0 context.Context, arg1 db.GetRuleTypeByNameParams) (db.RuleType, error)
- func (m *MockStore) GetSessionState(arg0 context.Context, arg1 int32) (db.SessionStore, error)
- func (m *MockStore) GetSessionStateByProjectID(arg0 context.Context, arg1 uuid.UUID) (db.SessionStore, error)
- func (m *MockStore) GetSigningKeyByIdentifier(arg0 context.Context, arg1 string) (db.SigningKey, error)
- func (m *MockStore) GetSigningKeyByProjectID(arg0 context.Context, arg1 uuid.UUID) (db.SigningKey, error)
- func (m *MockStore) GetUserByID(arg0 context.Context, arg1 int32) (db.User, error)
- func (m *MockStore) GetUserBySubject(arg0 context.Context, arg1 string) (db.User, error)
- func (m *MockStore) GetUserProjects(arg0 context.Context, arg1 int32) ([]db.GetUserProjectsRow, error)
- func (m *MockStore) GetUserRoles(arg0 context.Context, arg1 int32) ([]db.GetUserRolesRow, error)
- func (m *MockStore) GlobalListProviders(arg0 context.Context) ([]db.Provider, error)
- func (m *MockStore) ListAllRepositories(arg0 context.Context, arg1 string) ([]db.Repository, error)
- func (m *MockStore) ListArtifactVersionsByArtifactID(arg0 context.Context, arg1 db.ListArtifactVersionsByArtifactIDParams) ([]db.ArtifactVersion, error)
- func (m *MockStore) ListArtifactVersionsByArtifactIDAndTag(arg0 context.Context, arg1 db.ListArtifactVersionsByArtifactIDAndTagParams) ([]db.ArtifactVersion, error)
- func (m *MockStore) ListArtifactsByRepoID(arg0 context.Context, arg1 uuid.UUID) ([]db.Artifact, error)
- func (m *MockStore) ListFlushCache(arg0 context.Context) ([]db.FlushCache, error)
- func (m *MockStore) ListOrganizations(arg0 context.Context, arg1 db.ListOrganizationsParams) ([]db.Project, error)
- func (m *MockStore) ListProfilesByProjectID(arg0 context.Context, arg1 uuid.UUID) ([]db.ListProfilesByProjectIDRow, error)
- func (m *MockStore) ListProfilesInstantiatingRuleType(arg0 context.Context, arg1 uuid.UUID) ([]db.ListProfilesInstantiatingRuleTypeRow, error)
- func (m *MockStore) ListProvidersByProjectID(arg0 context.Context, arg1 uuid.UUID) ([]db.Provider, error)
- func (m *MockStore) ListRegisteredRepositoriesByProjectIDAndProvider(arg0 context.Context, ...) ([]db.Repository, error)
- func (m *MockStore) ListRepositoriesByOwner(arg0 context.Context, arg1 db.ListRepositoriesByOwnerParams) ([]db.Repository, error)
- func (m *MockStore) ListRepositoriesByProjectID(arg0 context.Context, arg1 db.ListRepositoriesByProjectIDParams) ([]db.Repository, error)
- func (m *MockStore) ListRoles(arg0 context.Context, arg1 db.ListRolesParams) ([]db.Role, error)
- func (m *MockStore) ListRolesByProjectID(arg0 context.Context, arg1 db.ListRolesByProjectIDParams) ([]db.Role, error)
- func (m *MockStore) ListRuleEvaluationsByProfileId(arg0 context.Context, arg1 db.ListRuleEvaluationsByProfileIdParams) ([]db.ListRuleEvaluationsByProfileIdRow, error)
- func (m *MockStore) ListRuleTypesByProviderAndProject(arg0 context.Context, arg1 db.ListRuleTypesByProviderAndProjectParams) ([]db.RuleType, error)
- func (m *MockStore) ListUsers(arg0 context.Context, arg1 db.ListUsersParams) ([]db.User, error)
- func (m *MockStore) ListUsersByOrganization(arg0 context.Context, arg1 db.ListUsersByOrganizationParams) ([]db.User, error)
- func (m *MockStore) ListUsersByProject(arg0 context.Context, arg1 db.ListUsersByProjectParams) ([]db.User, error)
- func (m *MockStore) ListUsersByRoleId(arg0 context.Context, arg1 int32) ([]int32, error)
- func (m *MockStore) LockIfThresholdNotExceeded(arg0 context.Context, arg1 db.LockIfThresholdNotExceededParams) (db.EntityExecutionLock, error)
- func (m *MockStore) ReleaseLock(arg0 context.Context, arg1 db.ReleaseLockParams) error
- func (m *MockStore) Rollback(arg0 *sql.Tx) error
- func (m *MockStore) UpdateAccessToken(arg0 context.Context, arg1 db.UpdateAccessTokenParams) (db.ProviderAccessToken, error)
- func (m *MockStore) UpdateLease(arg0 context.Context, arg1 db.UpdateLeaseParams) error
- func (m *MockStore) UpdateOrganization(arg0 context.Context, arg1 db.UpdateOrganizationParams) (db.Project, error)
- func (m *MockStore) UpdateProfile(arg0 context.Context, arg1 db.UpdateProfileParams) (db.Profile, error)
- func (m *MockStore) UpdateRepository(arg0 context.Context, arg1 db.UpdateRepositoryParams) (db.Repository, error)
- func (m *MockStore) UpdateRepositoryByID(arg0 context.Context, arg1 db.UpdateRepositoryByIDParams) (db.Repository, error)
- func (m *MockStore) UpdateRole(arg0 context.Context, arg1 db.UpdateRoleParams) (db.Role, error)
- func (m *MockStore) UpdateRuleType(arg0 context.Context, arg1 db.UpdateRuleTypeParams) error
- func (m *MockStore) UpsertArtifact(arg0 context.Context, arg1 db.UpsertArtifactParams) (db.Artifact, error)
- func (m *MockStore) UpsertArtifactVersion(arg0 context.Context, arg1 db.UpsertArtifactVersionParams) (db.ArtifactVersion, error)
- func (m *MockStore) UpsertProfileForEntity(arg0 context.Context, arg1 db.UpsertProfileForEntityParams) (db.EntityProfile, error)
- func (m *MockStore) UpsertPullRequest(arg0 context.Context, arg1 db.UpsertPullRequestParams) (db.PullRequest, error)
- func (m *MockStore) UpsertRuleDetailsAlert(arg0 context.Context, arg1 db.UpsertRuleDetailsAlertParams) (uuid.UUID, error)
- func (m *MockStore) UpsertRuleDetailsEval(arg0 context.Context, arg1 db.UpsertRuleDetailsEvalParams) (uuid.UUID, error)
- func (m *MockStore) UpsertRuleDetailsRemediate(arg0 context.Context, arg1 db.UpsertRuleDetailsRemediateParams) (uuid.UUID, error)
- func (m *MockStore) UpsertRuleEvaluations(arg0 context.Context, arg1 db.UpsertRuleEvaluationsParams) (uuid.UUID, error)
- func (m *MockStore) UpsertRuleInstantiation(arg0 context.Context, arg1 db.UpsertRuleInstantiationParams) (db.EntityProfileRule, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AddUserProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddUserRole(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) BeginTransaction() *gomock.Call
- func (mr *MockStoreMockRecorder) CheckHealth() *gomock.Call
- func (mr *MockStoreMockRecorder) Commit(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CountProfilesByEntityType(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CountProfilesByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CountRepositories(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CountUsers(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateAccessToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateArtifact(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateArtifactVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateOrganization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateProfile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateProfileForEntity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateProvider(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreatePullRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateRepository(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateRole(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateRuleType(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateSessionState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateSigningKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteAccessToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteArtifact(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteArtifactVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteExpiredSessionStates(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteOldArtifactVersions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteOrganization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteProfile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteProfileForEntity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteProvider(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeletePullRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteRepository(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteRole(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteRuleInstantiation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteRuleStatusesForProfileAndRuleType(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteRuleType(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteSessionState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteSessionStateByProjectID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteSigningKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) EnqueueFlush(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) FlushCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAccessTokenByProjectID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAccessTokenByProvider(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAccessTokenSinceDate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetArtifactByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetArtifactVersionByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetArtifactVersionBySha(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetChildrenProjects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetEntityProfileByProjectAndName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetFeatureInProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetOrganization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetOrganizationByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetOrganizationForUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetParentProjects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetParentProjectsUntil(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProfileByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProfileByIDAndLock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProfileByNameAndLock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProfileByProjectAndID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProfileForEntity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProfileStatusByIdAndProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProfileStatusByNameAndProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProfileStatusByProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProjectByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProjectByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProjectIDPortBySessionState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProviderByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetProviderByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPullRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPullRequestByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetQuerierWithTransaction(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRepositoryByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRepositoryByIDAndProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRepositoryByRepoID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRepositoryByRepoName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRoleByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRoleByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRootProjects(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRuleEvaluationByProfileIdAndRuleType(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRuleTypeByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRuleTypeByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSessionState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSessionStateByProjectID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSigningKeyByIdentifier(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSigningKeyByProjectID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUserByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUserBySubject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUserProjects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUserRoles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GlobalListProviders(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListAllRepositories(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListArtifactVersionsByArtifactID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListArtifactVersionsByArtifactIDAndTag(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListArtifactsByRepoID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListFlushCache(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListOrganizations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListProfilesByProjectID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListProfilesInstantiatingRuleType(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListProvidersByProjectID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListRegisteredRepositoriesByProjectIDAndProvider(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListRepositoriesByOwner(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListRepositoriesByProjectID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListRoles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListRolesByProjectID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListRuleEvaluationsByProfileId(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListRuleTypesByProviderAndProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListUsers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListUsersByOrganization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListUsersByProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListUsersByRoleId(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LockIfThresholdNotExceeded(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ReleaseLock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Rollback(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateAccessToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateLease(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateOrganization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateProfile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateRepository(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateRepositoryByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateRole(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateRuleType(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertArtifact(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertArtifactVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertProfileForEntity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertPullRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertRuleDetailsAlert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertRuleDetailsEval(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertRuleDetailsRemediate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertRuleEvaluations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertRuleInstantiation(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) AddUserProject ¶
func (m *MockStore) AddUserProject(arg0 context.Context, arg1 db.AddUserProjectParams) (db.UserProject, error)
AddUserProject mocks base method.
func (*MockStore) AddUserRole ¶
func (m *MockStore) AddUserRole(arg0 context.Context, arg1 db.AddUserRoleParams) (db.UserRole, error)
AddUserRole mocks base method.
func (*MockStore) BeginTransaction ¶
BeginTransaction mocks base method.
func (*MockStore) CheckHealth ¶
CheckHealth mocks base method.
func (*MockStore) CountProfilesByEntityType ¶
func (m *MockStore) CountProfilesByEntityType(arg0 context.Context) ([]db.CountProfilesByEntityTypeRow, error)
CountProfilesByEntityType mocks base method.
func (*MockStore) CountProfilesByName ¶ added in v0.0.20
CountProfilesByName mocks base method.
func (*MockStore) CountRepositories ¶ added in v0.0.16
CountRepositories mocks base method.
func (*MockStore) CountUsers ¶
CountUsers mocks base method.
func (*MockStore) CreateAccessToken ¶
func (m *MockStore) CreateAccessToken(arg0 context.Context, arg1 db.CreateAccessTokenParams) (db.ProviderAccessToken, error)
CreateAccessToken mocks base method.
func (*MockStore) CreateArtifact ¶
func (m *MockStore) CreateArtifact(arg0 context.Context, arg1 db.CreateArtifactParams) (db.Artifact, error)
CreateArtifact mocks base method.
func (*MockStore) CreateArtifactVersion ¶
func (m *MockStore) CreateArtifactVersion(arg0 context.Context, arg1 db.CreateArtifactVersionParams) (db.ArtifactVersion, error)
CreateArtifactVersion mocks base method.
func (*MockStore) CreateOrganization ¶
func (m *MockStore) CreateOrganization(arg0 context.Context, arg1 db.CreateOrganizationParams) (db.Project, error)
CreateOrganization mocks base method.
func (*MockStore) CreateProfile ¶
func (m *MockStore) CreateProfile(arg0 context.Context, arg1 db.CreateProfileParams) (db.Profile, error)
CreateProfile mocks base method.
func (*MockStore) CreateProfileForEntity ¶
func (m *MockStore) CreateProfileForEntity(arg0 context.Context, arg1 db.CreateProfileForEntityParams) (db.EntityProfile, error)
CreateProfileForEntity mocks base method.
func (*MockStore) CreateProject ¶
func (m *MockStore) CreateProject(arg0 context.Context, arg1 db.CreateProjectParams) (db.Project, error)
CreateProject mocks base method.
func (*MockStore) CreateProvider ¶
func (m *MockStore) CreateProvider(arg0 context.Context, arg1 db.CreateProviderParams) (db.Provider, error)
CreateProvider mocks base method.
func (*MockStore) CreatePullRequest ¶
func (m *MockStore) CreatePullRequest(arg0 context.Context, arg1 db.CreatePullRequestParams) (db.PullRequest, error)
CreatePullRequest mocks base method.
func (*MockStore) CreateRepository ¶
func (m *MockStore) CreateRepository(arg0 context.Context, arg1 db.CreateRepositoryParams) (db.Repository, error)
CreateRepository mocks base method.
func (*MockStore) CreateRole ¶
CreateRole mocks base method.
func (*MockStore) CreateRuleType ¶
func (m *MockStore) CreateRuleType(arg0 context.Context, arg1 db.CreateRuleTypeParams) (db.RuleType, error)
CreateRuleType mocks base method.
func (*MockStore) CreateSessionState ¶
func (m *MockStore) CreateSessionState(arg0 context.Context, arg1 db.CreateSessionStateParams) (db.SessionStore, error)
CreateSessionState mocks base method.
func (*MockStore) CreateSigningKey ¶
func (m *MockStore) CreateSigningKey(arg0 context.Context, arg1 db.CreateSigningKeyParams) (db.SigningKey, error)
CreateSigningKey mocks base method.
func (*MockStore) CreateUser ¶
CreateUser mocks base method.
func (*MockStore) DeleteAccessToken ¶
DeleteAccessToken mocks base method.
func (*MockStore) DeleteArtifact ¶
DeleteArtifact mocks base method.
func (*MockStore) DeleteArtifactVersion ¶
DeleteArtifactVersion mocks base method.
func (*MockStore) DeleteExpiredSessionStates ¶
DeleteExpiredSessionStates mocks base method.
func (*MockStore) DeleteOldArtifactVersions ¶
func (m *MockStore) DeleteOldArtifactVersions(arg0 context.Context, arg1 db.DeleteOldArtifactVersionsParams) error
DeleteOldArtifactVersions mocks base method.
func (*MockStore) DeleteOrganization ¶
DeleteOrganization mocks base method.
func (*MockStore) DeleteProfile ¶
DeleteProfile mocks base method.
func (*MockStore) DeleteProfileForEntity ¶ added in v0.0.16
func (m *MockStore) DeleteProfileForEntity(arg0 context.Context, arg1 db.DeleteProfileForEntityParams) error
DeleteProfileForEntity mocks base method.
func (*MockStore) DeleteProject ¶
func (m *MockStore) DeleteProject(arg0 context.Context, arg1 uuid.UUID) ([]db.DeleteProjectRow, error)
DeleteProject mocks base method.
func (*MockStore) DeleteProvider ¶
DeleteProvider mocks base method.
func (*MockStore) DeletePullRequest ¶
DeletePullRequest mocks base method.
func (*MockStore) DeleteRepository ¶
DeleteRepository mocks base method.
func (*MockStore) DeleteRole ¶
DeleteRole mocks base method.
func (*MockStore) DeleteRuleInstantiation ¶ added in v0.0.16
func (m *MockStore) DeleteRuleInstantiation(arg0 context.Context, arg1 db.DeleteRuleInstantiationParams) error
DeleteRuleInstantiation mocks base method.
func (*MockStore) DeleteRuleStatusesForProfileAndRuleType ¶ added in v0.0.16
func (m *MockStore) DeleteRuleStatusesForProfileAndRuleType(arg0 context.Context, arg1 db.DeleteRuleStatusesForProfileAndRuleTypeParams) error
DeleteRuleStatusesForProfileAndRuleType mocks base method.
func (*MockStore) DeleteRuleType ¶
DeleteRuleType mocks base method.
func (*MockStore) DeleteSessionState ¶
DeleteSessionState mocks base method.
func (*MockStore) DeleteSessionStateByProjectID ¶
func (m *MockStore) DeleteSessionStateByProjectID(arg0 context.Context, arg1 db.DeleteSessionStateByProjectIDParams) error
DeleteSessionStateByProjectID mocks base method.
func (*MockStore) DeleteSigningKey ¶
DeleteSigningKey mocks base method.
func (*MockStore) DeleteUser ¶
DeleteUser mocks base method.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) EnqueueFlush ¶ added in v0.0.17
func (m *MockStore) EnqueueFlush(arg0 context.Context, arg1 db.EnqueueFlushParams) (db.FlushCache, error)
EnqueueFlush mocks base method.
func (*MockStore) FlushCache ¶ added in v0.0.17
func (m *MockStore) FlushCache(arg0 context.Context, arg1 db.FlushCacheParams) (db.FlushCache, error)
FlushCache mocks base method.
func (*MockStore) GetAccessTokenByProjectID ¶
func (m *MockStore) GetAccessTokenByProjectID(arg0 context.Context, arg1 db.GetAccessTokenByProjectIDParams) (db.ProviderAccessToken, error)
GetAccessTokenByProjectID mocks base method.
func (*MockStore) GetAccessTokenByProvider ¶
func (m *MockStore) GetAccessTokenByProvider(arg0 context.Context, arg1 string) ([]db.ProviderAccessToken, error)
GetAccessTokenByProvider mocks base method.
func (*MockStore) GetAccessTokenSinceDate ¶
func (m *MockStore) GetAccessTokenSinceDate(arg0 context.Context, arg1 db.GetAccessTokenSinceDateParams) (db.ProviderAccessToken, error)
GetAccessTokenSinceDate mocks base method.
func (*MockStore) GetArtifactByID ¶
func (m *MockStore) GetArtifactByID(arg0 context.Context, arg1 uuid.UUID) (db.GetArtifactByIDRow, error)
GetArtifactByID mocks base method.
func (*MockStore) GetArtifactVersionByID ¶
func (m *MockStore) GetArtifactVersionByID(arg0 context.Context, arg1 uuid.UUID) (db.ArtifactVersion, error)
GetArtifactVersionByID mocks base method.
func (*MockStore) GetArtifactVersionBySha ¶
func (m *MockStore) GetArtifactVersionBySha(arg0 context.Context, arg1 string) (db.ArtifactVersion, error)
GetArtifactVersionBySha mocks base method.
func (*MockStore) GetChildrenProjects ¶
func (m *MockStore) GetChildrenProjects(arg0 context.Context, arg1 uuid.UUID) ([]db.GetChildrenProjectsRow, error)
GetChildrenProjects mocks base method.
func (*MockStore) GetEntityProfileByProjectAndName ¶ added in v0.0.16
func (m *MockStore) GetEntityProfileByProjectAndName(arg0 context.Context, arg1 db.GetEntityProfileByProjectAndNameParams) ([]db.GetEntityProfileByProjectAndNameRow, error)
GetEntityProfileByProjectAndName mocks base method.
func (*MockStore) GetFeatureInProject ¶
func (m *MockStore) GetFeatureInProject(arg0 context.Context, arg1 db.GetFeatureInProjectParams) (json.RawMessage, error)
GetFeatureInProject mocks base method.
func (*MockStore) GetOrganization ¶
GetOrganization mocks base method.
func (*MockStore) GetOrganizationByName ¶
GetOrganizationByName mocks base method.
func (*MockStore) GetOrganizationForUpdate ¶
GetOrganizationForUpdate mocks base method.
func (*MockStore) GetParentProjects ¶
GetParentProjects mocks base method.
func (*MockStore) GetParentProjectsUntil ¶
func (m *MockStore) GetParentProjectsUntil(arg0 context.Context, arg1 db.GetParentProjectsUntilParams) ([]uuid.UUID, error)
GetParentProjectsUntil mocks base method.
func (*MockStore) GetProfileByID ¶
GetProfileByID mocks base method.
func (*MockStore) GetProfileByIDAndLock ¶ added in v0.0.16
GetProfileByIDAndLock mocks base method.
func (*MockStore) GetProfileByNameAndLock ¶ added in v0.0.16
func (m *MockStore) GetProfileByNameAndLock(arg0 context.Context, arg1 db.GetProfileByNameAndLockParams) (db.Profile, error)
GetProfileByNameAndLock mocks base method.
func (*MockStore) GetProfileByProjectAndID ¶
func (m *MockStore) GetProfileByProjectAndID(arg0 context.Context, arg1 db.GetProfileByProjectAndIDParams) ([]db.GetProfileByProjectAndIDRow, error)
GetProfileByProjectAndID mocks base method.
func (*MockStore) GetProfileForEntity ¶ added in v0.0.16
func (m *MockStore) GetProfileForEntity(arg0 context.Context, arg1 db.GetProfileForEntityParams) (db.EntityProfile, error)
GetProfileForEntity mocks base method.
func (*MockStore) GetProfileStatusByIdAndProject ¶
func (m *MockStore) GetProfileStatusByIdAndProject(arg0 context.Context, arg1 db.GetProfileStatusByIdAndProjectParams) (db.GetProfileStatusByIdAndProjectRow, error)
GetProfileStatusByIdAndProject mocks base method.
func (*MockStore) GetProfileStatusByNameAndProject ¶
func (m *MockStore) GetProfileStatusByNameAndProject(arg0 context.Context, arg1 db.GetProfileStatusByNameAndProjectParams) (db.GetProfileStatusByNameAndProjectRow, error)
GetProfileStatusByNameAndProject mocks base method.
func (*MockStore) GetProfileStatusByProject ¶
func (m *MockStore) GetProfileStatusByProject(arg0 context.Context, arg1 uuid.UUID) ([]db.GetProfileStatusByProjectRow, error)
GetProfileStatusByProject mocks base method.
func (*MockStore) GetProjectByID ¶
GetProjectByID mocks base method.
func (*MockStore) GetProjectByName ¶
GetProjectByName mocks base method.
func (*MockStore) GetProjectIDPortBySessionState ¶
func (m *MockStore) GetProjectIDPortBySessionState(arg0 context.Context, arg1 string) (db.GetProjectIDPortBySessionStateRow, error)
GetProjectIDPortBySessionState mocks base method.
func (*MockStore) GetProviderByID ¶
func (m *MockStore) GetProviderByID(arg0 context.Context, arg1 db.GetProviderByIDParams) (db.Provider, error)
GetProviderByID mocks base method.
func (*MockStore) GetProviderByName ¶
func (m *MockStore) GetProviderByName(arg0 context.Context, arg1 db.GetProviderByNameParams) (db.Provider, error)
GetProviderByName mocks base method.
func (*MockStore) GetPullRequest ¶
func (m *MockStore) GetPullRequest(arg0 context.Context, arg1 db.GetPullRequestParams) (db.PullRequest, error)
GetPullRequest mocks base method.
func (*MockStore) GetPullRequestByID ¶ added in v0.0.17
func (m *MockStore) GetPullRequestByID(arg0 context.Context, arg1 uuid.UUID) (db.PullRequest, error)
GetPullRequestByID mocks base method.
func (*MockStore) GetQuerierWithTransaction ¶
func (m *MockStore) GetQuerierWithTransaction(arg0 *sql.Tx) db.ExtendQuerier
GetQuerierWithTransaction mocks base method.
func (*MockStore) GetRepositoryByID ¶
GetRepositoryByID mocks base method.
func (*MockStore) GetRepositoryByIDAndProject ¶
func (m *MockStore) GetRepositoryByIDAndProject(arg0 context.Context, arg1 db.GetRepositoryByIDAndProjectParams) (db.Repository, error)
GetRepositoryByIDAndProject mocks base method.
func (*MockStore) GetRepositoryByRepoID ¶
GetRepositoryByRepoID mocks base method.
func (*MockStore) GetRepositoryByRepoName ¶
func (m *MockStore) GetRepositoryByRepoName(arg0 context.Context, arg1 db.GetRepositoryByRepoNameParams) (db.Repository, error)
GetRepositoryByRepoName mocks base method.
func (*MockStore) GetRoleByID ¶
GetRoleByID mocks base method.
func (*MockStore) GetRoleByName ¶
func (m *MockStore) GetRoleByName(arg0 context.Context, arg1 db.GetRoleByNameParams) (db.Role, error)
GetRoleByName mocks base method.
func (*MockStore) GetRootProjects ¶
GetRootProjects mocks base method.
func (*MockStore) GetRuleEvaluationByProfileIdAndRuleType ¶
func (m *MockStore) GetRuleEvaluationByProfileIdAndRuleType(arg0 context.Context, arg1 uuid.UUID, arg2 db.NullEntities, arg3 uuid.NullUUID, arg4 sql.NullString) (db.ListRuleEvaluationsByProfileIdRow, error)
GetRuleEvaluationByProfileIdAndRuleType mocks base method.
func (*MockStore) GetRuleTypeByID ¶
GetRuleTypeByID mocks base method.
func (*MockStore) GetRuleTypeByName ¶
func (m *MockStore) GetRuleTypeByName(arg0 context.Context, arg1 db.GetRuleTypeByNameParams) (db.RuleType, error)
GetRuleTypeByName mocks base method.
func (*MockStore) GetSessionState ¶
GetSessionState mocks base method.
func (*MockStore) GetSessionStateByProjectID ¶
func (m *MockStore) GetSessionStateByProjectID(arg0 context.Context, arg1 uuid.UUID) (db.SessionStore, error)
GetSessionStateByProjectID mocks base method.
func (*MockStore) GetSigningKeyByIdentifier ¶
func (m *MockStore) GetSigningKeyByIdentifier(arg0 context.Context, arg1 string) (db.SigningKey, error)
GetSigningKeyByIdentifier mocks base method.
func (*MockStore) GetSigningKeyByProjectID ¶
func (m *MockStore) GetSigningKeyByProjectID(arg0 context.Context, arg1 uuid.UUID) (db.SigningKey, error)
GetSigningKeyByProjectID mocks base method.
func (*MockStore) GetUserByID ¶
GetUserByID mocks base method.
func (*MockStore) GetUserBySubject ¶
GetUserBySubject mocks base method.
func (*MockStore) GetUserProjects ¶
func (m *MockStore) GetUserProjects(arg0 context.Context, arg1 int32) ([]db.GetUserProjectsRow, error)
GetUserProjects mocks base method.
func (*MockStore) GetUserRoles ¶
GetUserRoles mocks base method.
func (*MockStore) GlobalListProviders ¶
GlobalListProviders mocks base method.
func (*MockStore) ListAllRepositories ¶
ListAllRepositories mocks base method.
func (*MockStore) ListArtifactVersionsByArtifactID ¶
func (m *MockStore) ListArtifactVersionsByArtifactID(arg0 context.Context, arg1 db.ListArtifactVersionsByArtifactIDParams) ([]db.ArtifactVersion, error)
ListArtifactVersionsByArtifactID mocks base method.
func (*MockStore) ListArtifactVersionsByArtifactIDAndTag ¶
func (m *MockStore) ListArtifactVersionsByArtifactIDAndTag(arg0 context.Context, arg1 db.ListArtifactVersionsByArtifactIDAndTagParams) ([]db.ArtifactVersion, error)
ListArtifactVersionsByArtifactIDAndTag mocks base method.
func (*MockStore) ListArtifactsByRepoID ¶
func (m *MockStore) ListArtifactsByRepoID(arg0 context.Context, arg1 uuid.UUID) ([]db.Artifact, error)
ListArtifactsByRepoID mocks base method.
func (*MockStore) ListFlushCache ¶ added in v0.0.17
ListFlushCache mocks base method.
func (*MockStore) ListOrganizations ¶
func (m *MockStore) ListOrganizations(arg0 context.Context, arg1 db.ListOrganizationsParams) ([]db.Project, error)
ListOrganizations mocks base method.
func (*MockStore) ListProfilesByProjectID ¶
func (m *MockStore) ListProfilesByProjectID(arg0 context.Context, arg1 uuid.UUID) ([]db.ListProfilesByProjectIDRow, error)
ListProfilesByProjectID mocks base method.
func (*MockStore) ListProfilesInstantiatingRuleType ¶
func (m *MockStore) ListProfilesInstantiatingRuleType(arg0 context.Context, arg1 uuid.UUID) ([]db.ListProfilesInstantiatingRuleTypeRow, error)
ListProfilesInstantiatingRuleType mocks base method.
func (*MockStore) ListProvidersByProjectID ¶
func (m *MockStore) ListProvidersByProjectID(arg0 context.Context, arg1 uuid.UUID) ([]db.Provider, error)
ListProvidersByProjectID mocks base method.
func (*MockStore) ListRegisteredRepositoriesByProjectIDAndProvider ¶
func (m *MockStore) ListRegisteredRepositoriesByProjectIDAndProvider(arg0 context.Context, arg1 db.ListRegisteredRepositoriesByProjectIDAndProviderParams) ([]db.Repository, error)
ListRegisteredRepositoriesByProjectIDAndProvider mocks base method.
func (*MockStore) ListRepositoriesByOwner ¶
func (m *MockStore) ListRepositoriesByOwner(arg0 context.Context, arg1 db.ListRepositoriesByOwnerParams) ([]db.Repository, error)
ListRepositoriesByOwner mocks base method.
func (*MockStore) ListRepositoriesByProjectID ¶
func (m *MockStore) ListRepositoriesByProjectID(arg0 context.Context, arg1 db.ListRepositoriesByProjectIDParams) ([]db.Repository, error)
ListRepositoriesByProjectID mocks base method.
func (*MockStore) ListRolesByProjectID ¶
func (m *MockStore) ListRolesByProjectID(arg0 context.Context, arg1 db.ListRolesByProjectIDParams) ([]db.Role, error)
ListRolesByProjectID mocks base method.
func (*MockStore) ListRuleEvaluationsByProfileId ¶
func (m *MockStore) ListRuleEvaluationsByProfileId(arg0 context.Context, arg1 db.ListRuleEvaluationsByProfileIdParams) ([]db.ListRuleEvaluationsByProfileIdRow, error)
ListRuleEvaluationsByProfileId mocks base method.
func (*MockStore) ListRuleTypesByProviderAndProject ¶
func (m *MockStore) ListRuleTypesByProviderAndProject(arg0 context.Context, arg1 db.ListRuleTypesByProviderAndProjectParams) ([]db.RuleType, error)
ListRuleTypesByProviderAndProject mocks base method.
func (*MockStore) ListUsersByOrganization ¶
func (m *MockStore) ListUsersByOrganization(arg0 context.Context, arg1 db.ListUsersByOrganizationParams) ([]db.User, error)
ListUsersByOrganization mocks base method.
func (*MockStore) ListUsersByProject ¶
func (m *MockStore) ListUsersByProject(arg0 context.Context, arg1 db.ListUsersByProjectParams) ([]db.User, error)
ListUsersByProject mocks base method.
func (*MockStore) ListUsersByRoleId ¶
ListUsersByRoleId mocks base method.
func (*MockStore) LockIfThresholdNotExceeded ¶ added in v0.0.17
func (m *MockStore) LockIfThresholdNotExceeded(arg0 context.Context, arg1 db.LockIfThresholdNotExceededParams) (db.EntityExecutionLock, error)
LockIfThresholdNotExceeded mocks base method.
func (*MockStore) ReleaseLock ¶ added in v0.0.17
ReleaseLock mocks base method.
func (*MockStore) UpdateAccessToken ¶
func (m *MockStore) UpdateAccessToken(arg0 context.Context, arg1 db.UpdateAccessTokenParams) (db.ProviderAccessToken, error)
UpdateAccessToken mocks base method.
func (*MockStore) UpdateLease ¶ added in v0.0.17
UpdateLease mocks base method.
func (*MockStore) UpdateOrganization ¶
func (m *MockStore) UpdateOrganization(arg0 context.Context, arg1 db.UpdateOrganizationParams) (db.Project, error)
UpdateOrganization mocks base method.
func (*MockStore) UpdateProfile ¶ added in v0.0.16
func (m *MockStore) UpdateProfile(arg0 context.Context, arg1 db.UpdateProfileParams) (db.Profile, error)
UpdateProfile mocks base method.
func (*MockStore) UpdateRepository ¶
func (m *MockStore) UpdateRepository(arg0 context.Context, arg1 db.UpdateRepositoryParams) (db.Repository, error)
UpdateRepository mocks base method.
func (*MockStore) UpdateRepositoryByID ¶
func (m *MockStore) UpdateRepositoryByID(arg0 context.Context, arg1 db.UpdateRepositoryByIDParams) (db.Repository, error)
UpdateRepositoryByID mocks base method.
func (*MockStore) UpdateRole ¶
UpdateRole mocks base method.
func (*MockStore) UpdateRuleType ¶
UpdateRuleType mocks base method.
func (*MockStore) UpsertArtifact ¶
func (m *MockStore) UpsertArtifact(arg0 context.Context, arg1 db.UpsertArtifactParams) (db.Artifact, error)
UpsertArtifact mocks base method.
func (*MockStore) UpsertArtifactVersion ¶
func (m *MockStore) UpsertArtifactVersion(arg0 context.Context, arg1 db.UpsertArtifactVersionParams) (db.ArtifactVersion, error)
UpsertArtifactVersion mocks base method.
func (*MockStore) UpsertProfileForEntity ¶ added in v0.0.16
func (m *MockStore) UpsertProfileForEntity(arg0 context.Context, arg1 db.UpsertProfileForEntityParams) (db.EntityProfile, error)
UpsertProfileForEntity mocks base method.
func (*MockStore) UpsertPullRequest ¶
func (m *MockStore) UpsertPullRequest(arg0 context.Context, arg1 db.UpsertPullRequestParams) (db.PullRequest, error)
UpsertPullRequest mocks base method.
func (*MockStore) UpsertRuleDetailsAlert ¶
func (m *MockStore) UpsertRuleDetailsAlert(arg0 context.Context, arg1 db.UpsertRuleDetailsAlertParams) (uuid.UUID, error)
UpsertRuleDetailsAlert mocks base method.
func (*MockStore) UpsertRuleDetailsEval ¶
func (m *MockStore) UpsertRuleDetailsEval(arg0 context.Context, arg1 db.UpsertRuleDetailsEvalParams) (uuid.UUID, error)
UpsertRuleDetailsEval mocks base method.
func (*MockStore) UpsertRuleDetailsRemediate ¶
func (m *MockStore) UpsertRuleDetailsRemediate(arg0 context.Context, arg1 db.UpsertRuleDetailsRemediateParams) (uuid.UUID, error)
UpsertRuleDetailsRemediate mocks base method.
func (*MockStore) UpsertRuleEvaluations ¶
func (m *MockStore) UpsertRuleEvaluations(arg0 context.Context, arg1 db.UpsertRuleEvaluationsParams) (uuid.UUID, error)
UpsertRuleEvaluations mocks base method.
func (*MockStore) UpsertRuleInstantiation ¶
func (m *MockStore) UpsertRuleInstantiation(arg0 context.Context, arg1 db.UpsertRuleInstantiationParams) (db.EntityProfileRule, error)
UpsertRuleInstantiation mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) AddUserProject ¶
func (mr *MockStoreMockRecorder) AddUserProject(arg0, arg1 interface{}) *gomock.Call
AddUserProject indicates an expected call of AddUserProject.
func (*MockStoreMockRecorder) AddUserRole ¶
func (mr *MockStoreMockRecorder) AddUserRole(arg0, arg1 interface{}) *gomock.Call
AddUserRole indicates an expected call of AddUserRole.
func (*MockStoreMockRecorder) BeginTransaction ¶
func (mr *MockStoreMockRecorder) BeginTransaction() *gomock.Call
BeginTransaction indicates an expected call of BeginTransaction.
func (*MockStoreMockRecorder) CheckHealth ¶
func (mr *MockStoreMockRecorder) CheckHealth() *gomock.Call
CheckHealth indicates an expected call of CheckHealth.
func (*MockStoreMockRecorder) Commit ¶
func (mr *MockStoreMockRecorder) Commit(arg0 interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockStoreMockRecorder) CountProfilesByEntityType ¶
func (mr *MockStoreMockRecorder) CountProfilesByEntityType(arg0 interface{}) *gomock.Call
CountProfilesByEntityType indicates an expected call of CountProfilesByEntityType.
func (*MockStoreMockRecorder) CountProfilesByName ¶ added in v0.0.20
func (mr *MockStoreMockRecorder) CountProfilesByName(arg0, arg1 interface{}) *gomock.Call
CountProfilesByName indicates an expected call of CountProfilesByName.
func (*MockStoreMockRecorder) CountRepositories ¶ added in v0.0.16
func (mr *MockStoreMockRecorder) CountRepositories(arg0 interface{}) *gomock.Call
CountRepositories indicates an expected call of CountRepositories.
func (*MockStoreMockRecorder) CountUsers ¶
func (mr *MockStoreMockRecorder) CountUsers(arg0 interface{}) *gomock.Call
CountUsers indicates an expected call of CountUsers.
func (*MockStoreMockRecorder) CreateAccessToken ¶
func (mr *MockStoreMockRecorder) CreateAccessToken(arg0, arg1 interface{}) *gomock.Call
CreateAccessToken indicates an expected call of CreateAccessToken.
func (*MockStoreMockRecorder) CreateArtifact ¶
func (mr *MockStoreMockRecorder) CreateArtifact(arg0, arg1 interface{}) *gomock.Call
CreateArtifact indicates an expected call of CreateArtifact.
func (*MockStoreMockRecorder) CreateArtifactVersion ¶
func (mr *MockStoreMockRecorder) CreateArtifactVersion(arg0, arg1 interface{}) *gomock.Call
CreateArtifactVersion indicates an expected call of CreateArtifactVersion.
func (*MockStoreMockRecorder) CreateOrganization ¶
func (mr *MockStoreMockRecorder) CreateOrganization(arg0, arg1 interface{}) *gomock.Call
CreateOrganization indicates an expected call of CreateOrganization.
func (*MockStoreMockRecorder) CreateProfile ¶
func (mr *MockStoreMockRecorder) CreateProfile(arg0, arg1 interface{}) *gomock.Call
CreateProfile indicates an expected call of CreateProfile.
func (*MockStoreMockRecorder) CreateProfileForEntity ¶
func (mr *MockStoreMockRecorder) CreateProfileForEntity(arg0, arg1 interface{}) *gomock.Call
CreateProfileForEntity indicates an expected call of CreateProfileForEntity.
func (*MockStoreMockRecorder) CreateProject ¶
func (mr *MockStoreMockRecorder) CreateProject(arg0, arg1 interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject.
func (*MockStoreMockRecorder) CreateProvider ¶
func (mr *MockStoreMockRecorder) CreateProvider(arg0, arg1 interface{}) *gomock.Call
CreateProvider indicates an expected call of CreateProvider.
func (*MockStoreMockRecorder) CreatePullRequest ¶
func (mr *MockStoreMockRecorder) CreatePullRequest(arg0, arg1 interface{}) *gomock.Call
CreatePullRequest indicates an expected call of CreatePullRequest.
func (*MockStoreMockRecorder) CreateRepository ¶
func (mr *MockStoreMockRecorder) CreateRepository(arg0, arg1 interface{}) *gomock.Call
CreateRepository indicates an expected call of CreateRepository.
func (*MockStoreMockRecorder) CreateRole ¶
func (mr *MockStoreMockRecorder) CreateRole(arg0, arg1 interface{}) *gomock.Call
CreateRole indicates an expected call of CreateRole.
func (*MockStoreMockRecorder) CreateRuleType ¶
func (mr *MockStoreMockRecorder) CreateRuleType(arg0, arg1 interface{}) *gomock.Call
CreateRuleType indicates an expected call of CreateRuleType.
func (*MockStoreMockRecorder) CreateSessionState ¶
func (mr *MockStoreMockRecorder) CreateSessionState(arg0, arg1 interface{}) *gomock.Call
CreateSessionState indicates an expected call of CreateSessionState.
func (*MockStoreMockRecorder) CreateSigningKey ¶
func (mr *MockStoreMockRecorder) CreateSigningKey(arg0, arg1 interface{}) *gomock.Call
CreateSigningKey indicates an expected call of CreateSigningKey.
func (*MockStoreMockRecorder) CreateUser ¶
func (mr *MockStoreMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockStoreMockRecorder) DeleteAccessToken ¶
func (mr *MockStoreMockRecorder) DeleteAccessToken(arg0, arg1 interface{}) *gomock.Call
DeleteAccessToken indicates an expected call of DeleteAccessToken.
func (*MockStoreMockRecorder) DeleteArtifact ¶
func (mr *MockStoreMockRecorder) DeleteArtifact(arg0, arg1 interface{}) *gomock.Call
DeleteArtifact indicates an expected call of DeleteArtifact.
func (*MockStoreMockRecorder) DeleteArtifactVersion ¶
func (mr *MockStoreMockRecorder) DeleteArtifactVersion(arg0, arg1 interface{}) *gomock.Call
DeleteArtifactVersion indicates an expected call of DeleteArtifactVersion.
func (*MockStoreMockRecorder) DeleteExpiredSessionStates ¶
func (mr *MockStoreMockRecorder) DeleteExpiredSessionStates(arg0 interface{}) *gomock.Call
DeleteExpiredSessionStates indicates an expected call of DeleteExpiredSessionStates.
func (*MockStoreMockRecorder) DeleteOldArtifactVersions ¶
func (mr *MockStoreMockRecorder) DeleteOldArtifactVersions(arg0, arg1 interface{}) *gomock.Call
DeleteOldArtifactVersions indicates an expected call of DeleteOldArtifactVersions.
func (*MockStoreMockRecorder) DeleteOrganization ¶
func (mr *MockStoreMockRecorder) DeleteOrganization(arg0, arg1 interface{}) *gomock.Call
DeleteOrganization indicates an expected call of DeleteOrganization.
func (*MockStoreMockRecorder) DeleteProfile ¶
func (mr *MockStoreMockRecorder) DeleteProfile(arg0, arg1 interface{}) *gomock.Call
DeleteProfile indicates an expected call of DeleteProfile.
func (*MockStoreMockRecorder) DeleteProfileForEntity ¶ added in v0.0.16
func (mr *MockStoreMockRecorder) DeleteProfileForEntity(arg0, arg1 interface{}) *gomock.Call
DeleteProfileForEntity indicates an expected call of DeleteProfileForEntity.
func (*MockStoreMockRecorder) DeleteProject ¶
func (mr *MockStoreMockRecorder) DeleteProject(arg0, arg1 interface{}) *gomock.Call
DeleteProject indicates an expected call of DeleteProject.
func (*MockStoreMockRecorder) DeleteProvider ¶
func (mr *MockStoreMockRecorder) DeleteProvider(arg0, arg1 interface{}) *gomock.Call
DeleteProvider indicates an expected call of DeleteProvider.
func (*MockStoreMockRecorder) DeletePullRequest ¶
func (mr *MockStoreMockRecorder) DeletePullRequest(arg0, arg1 interface{}) *gomock.Call
DeletePullRequest indicates an expected call of DeletePullRequest.
func (*MockStoreMockRecorder) DeleteRepository ¶
func (mr *MockStoreMockRecorder) DeleteRepository(arg0, arg1 interface{}) *gomock.Call
DeleteRepository indicates an expected call of DeleteRepository.
func (*MockStoreMockRecorder) DeleteRole ¶
func (mr *MockStoreMockRecorder) DeleteRole(arg0, arg1 interface{}) *gomock.Call
DeleteRole indicates an expected call of DeleteRole.
func (*MockStoreMockRecorder) DeleteRuleInstantiation ¶ added in v0.0.16
func (mr *MockStoreMockRecorder) DeleteRuleInstantiation(arg0, arg1 interface{}) *gomock.Call
DeleteRuleInstantiation indicates an expected call of DeleteRuleInstantiation.
func (*MockStoreMockRecorder) DeleteRuleStatusesForProfileAndRuleType ¶ added in v0.0.16
func (mr *MockStoreMockRecorder) DeleteRuleStatusesForProfileAndRuleType(arg0, arg1 interface{}) *gomock.Call
DeleteRuleStatusesForProfileAndRuleType indicates an expected call of DeleteRuleStatusesForProfileAndRuleType.
func (*MockStoreMockRecorder) DeleteRuleType ¶
func (mr *MockStoreMockRecorder) DeleteRuleType(arg0, arg1 interface{}) *gomock.Call
DeleteRuleType indicates an expected call of DeleteRuleType.
func (*MockStoreMockRecorder) DeleteSessionState ¶
func (mr *MockStoreMockRecorder) DeleteSessionState(arg0, arg1 interface{}) *gomock.Call
DeleteSessionState indicates an expected call of DeleteSessionState.
func (*MockStoreMockRecorder) DeleteSessionStateByProjectID ¶
func (mr *MockStoreMockRecorder) DeleteSessionStateByProjectID(arg0, arg1 interface{}) *gomock.Call
DeleteSessionStateByProjectID indicates an expected call of DeleteSessionStateByProjectID.
func (*MockStoreMockRecorder) DeleteSigningKey ¶
func (mr *MockStoreMockRecorder) DeleteSigningKey(arg0, arg1 interface{}) *gomock.Call
DeleteSigningKey indicates an expected call of DeleteSigningKey.
func (*MockStoreMockRecorder) DeleteUser ¶
func (mr *MockStoreMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockStoreMockRecorder) EnqueueFlush ¶ added in v0.0.17
func (mr *MockStoreMockRecorder) EnqueueFlush(arg0, arg1 interface{}) *gomock.Call
EnqueueFlush indicates an expected call of EnqueueFlush.
func (*MockStoreMockRecorder) FlushCache ¶ added in v0.0.17
func (mr *MockStoreMockRecorder) FlushCache(arg0, arg1 interface{}) *gomock.Call
FlushCache indicates an expected call of FlushCache.
func (*MockStoreMockRecorder) GetAccessTokenByProjectID ¶
func (mr *MockStoreMockRecorder) GetAccessTokenByProjectID(arg0, arg1 interface{}) *gomock.Call
GetAccessTokenByProjectID indicates an expected call of GetAccessTokenByProjectID.
func (*MockStoreMockRecorder) GetAccessTokenByProvider ¶
func (mr *MockStoreMockRecorder) GetAccessTokenByProvider(arg0, arg1 interface{}) *gomock.Call
GetAccessTokenByProvider indicates an expected call of GetAccessTokenByProvider.
func (*MockStoreMockRecorder) GetAccessTokenSinceDate ¶
func (mr *MockStoreMockRecorder) GetAccessTokenSinceDate(arg0, arg1 interface{}) *gomock.Call
GetAccessTokenSinceDate indicates an expected call of GetAccessTokenSinceDate.
func (*MockStoreMockRecorder) GetArtifactByID ¶
func (mr *MockStoreMockRecorder) GetArtifactByID(arg0, arg1 interface{}) *gomock.Call
GetArtifactByID indicates an expected call of GetArtifactByID.
func (*MockStoreMockRecorder) GetArtifactVersionByID ¶
func (mr *MockStoreMockRecorder) GetArtifactVersionByID(arg0, arg1 interface{}) *gomock.Call
GetArtifactVersionByID indicates an expected call of GetArtifactVersionByID.
func (*MockStoreMockRecorder) GetArtifactVersionBySha ¶
func (mr *MockStoreMockRecorder) GetArtifactVersionBySha(arg0, arg1 interface{}) *gomock.Call
GetArtifactVersionBySha indicates an expected call of GetArtifactVersionBySha.
func (*MockStoreMockRecorder) GetChildrenProjects ¶
func (mr *MockStoreMockRecorder) GetChildrenProjects(arg0, arg1 interface{}) *gomock.Call
GetChildrenProjects indicates an expected call of GetChildrenProjects.
func (*MockStoreMockRecorder) GetEntityProfileByProjectAndName ¶ added in v0.0.16
func (mr *MockStoreMockRecorder) GetEntityProfileByProjectAndName(arg0, arg1 interface{}) *gomock.Call
GetEntityProfileByProjectAndName indicates an expected call of GetEntityProfileByProjectAndName.
func (*MockStoreMockRecorder) GetFeatureInProject ¶
func (mr *MockStoreMockRecorder) GetFeatureInProject(arg0, arg1 interface{}) *gomock.Call
GetFeatureInProject indicates an expected call of GetFeatureInProject.
func (*MockStoreMockRecorder) GetOrganization ¶
func (mr *MockStoreMockRecorder) GetOrganization(arg0, arg1 interface{}) *gomock.Call
GetOrganization indicates an expected call of GetOrganization.
func (*MockStoreMockRecorder) GetOrganizationByName ¶
func (mr *MockStoreMockRecorder) GetOrganizationByName(arg0, arg1 interface{}) *gomock.Call
GetOrganizationByName indicates an expected call of GetOrganizationByName.
func (*MockStoreMockRecorder) GetOrganizationForUpdate ¶
func (mr *MockStoreMockRecorder) GetOrganizationForUpdate(arg0, arg1 interface{}) *gomock.Call
GetOrganizationForUpdate indicates an expected call of GetOrganizationForUpdate.
func (*MockStoreMockRecorder) GetParentProjects ¶
func (mr *MockStoreMockRecorder) GetParentProjects(arg0, arg1 interface{}) *gomock.Call
GetParentProjects indicates an expected call of GetParentProjects.
func (*MockStoreMockRecorder) GetParentProjectsUntil ¶
func (mr *MockStoreMockRecorder) GetParentProjectsUntil(arg0, arg1 interface{}) *gomock.Call
GetParentProjectsUntil indicates an expected call of GetParentProjectsUntil.
func (*MockStoreMockRecorder) GetProfileByID ¶
func (mr *MockStoreMockRecorder) GetProfileByID(arg0, arg1 interface{}) *gomock.Call
GetProfileByID indicates an expected call of GetProfileByID.
func (*MockStoreMockRecorder) GetProfileByIDAndLock ¶ added in v0.0.16
func (mr *MockStoreMockRecorder) GetProfileByIDAndLock(arg0, arg1 interface{}) *gomock.Call
GetProfileByIDAndLock indicates an expected call of GetProfileByIDAndLock.
func (*MockStoreMockRecorder) GetProfileByNameAndLock ¶ added in v0.0.16
func (mr *MockStoreMockRecorder) GetProfileByNameAndLock(arg0, arg1 interface{}) *gomock.Call
GetProfileByNameAndLock indicates an expected call of GetProfileByNameAndLock.
func (*MockStoreMockRecorder) GetProfileByProjectAndID ¶
func (mr *MockStoreMockRecorder) GetProfileByProjectAndID(arg0, arg1 interface{}) *gomock.Call
GetProfileByProjectAndID indicates an expected call of GetProfileByProjectAndID.
func (*MockStoreMockRecorder) GetProfileForEntity ¶ added in v0.0.16
func (mr *MockStoreMockRecorder) GetProfileForEntity(arg0, arg1 interface{}) *gomock.Call
GetProfileForEntity indicates an expected call of GetProfileForEntity.
func (*MockStoreMockRecorder) GetProfileStatusByIdAndProject ¶
func (mr *MockStoreMockRecorder) GetProfileStatusByIdAndProject(arg0, arg1 interface{}) *gomock.Call
GetProfileStatusByIdAndProject indicates an expected call of GetProfileStatusByIdAndProject.
func (*MockStoreMockRecorder) GetProfileStatusByNameAndProject ¶
func (mr *MockStoreMockRecorder) GetProfileStatusByNameAndProject(arg0, arg1 interface{}) *gomock.Call
GetProfileStatusByNameAndProject indicates an expected call of GetProfileStatusByNameAndProject.
func (*MockStoreMockRecorder) GetProfileStatusByProject ¶
func (mr *MockStoreMockRecorder) GetProfileStatusByProject(arg0, arg1 interface{}) *gomock.Call
GetProfileStatusByProject indicates an expected call of GetProfileStatusByProject.
func (*MockStoreMockRecorder) GetProjectByID ¶
func (mr *MockStoreMockRecorder) GetProjectByID(arg0, arg1 interface{}) *gomock.Call
GetProjectByID indicates an expected call of GetProjectByID.
func (*MockStoreMockRecorder) GetProjectByName ¶
func (mr *MockStoreMockRecorder) GetProjectByName(arg0, arg1 interface{}) *gomock.Call
GetProjectByName indicates an expected call of GetProjectByName.
func (*MockStoreMockRecorder) GetProjectIDPortBySessionState ¶
func (mr *MockStoreMockRecorder) GetProjectIDPortBySessionState(arg0, arg1 interface{}) *gomock.Call
GetProjectIDPortBySessionState indicates an expected call of GetProjectIDPortBySessionState.
func (*MockStoreMockRecorder) GetProviderByID ¶
func (mr *MockStoreMockRecorder) GetProviderByID(arg0, arg1 interface{}) *gomock.Call
GetProviderByID indicates an expected call of GetProviderByID.
func (*MockStoreMockRecorder) GetProviderByName ¶
func (mr *MockStoreMockRecorder) GetProviderByName(arg0, arg1 interface{}) *gomock.Call
GetProviderByName indicates an expected call of GetProviderByName.
func (*MockStoreMockRecorder) GetPullRequest ¶
func (mr *MockStoreMockRecorder) GetPullRequest(arg0, arg1 interface{}) *gomock.Call
GetPullRequest indicates an expected call of GetPullRequest.
func (*MockStoreMockRecorder) GetPullRequestByID ¶ added in v0.0.17
func (mr *MockStoreMockRecorder) GetPullRequestByID(arg0, arg1 interface{}) *gomock.Call
GetPullRequestByID indicates an expected call of GetPullRequestByID.
func (*MockStoreMockRecorder) GetQuerierWithTransaction ¶
func (mr *MockStoreMockRecorder) GetQuerierWithTransaction(arg0 interface{}) *gomock.Call
GetQuerierWithTransaction indicates an expected call of GetQuerierWithTransaction.
func (*MockStoreMockRecorder) GetRepositoryByID ¶
func (mr *MockStoreMockRecorder) GetRepositoryByID(arg0, arg1 interface{}) *gomock.Call
GetRepositoryByID indicates an expected call of GetRepositoryByID.
func (*MockStoreMockRecorder) GetRepositoryByIDAndProject ¶
func (mr *MockStoreMockRecorder) GetRepositoryByIDAndProject(arg0, arg1 interface{}) *gomock.Call
GetRepositoryByIDAndProject indicates an expected call of GetRepositoryByIDAndProject.
func (*MockStoreMockRecorder) GetRepositoryByRepoID ¶
func (mr *MockStoreMockRecorder) GetRepositoryByRepoID(arg0, arg1 interface{}) *gomock.Call
GetRepositoryByRepoID indicates an expected call of GetRepositoryByRepoID.
func (*MockStoreMockRecorder) GetRepositoryByRepoName ¶
func (mr *MockStoreMockRecorder) GetRepositoryByRepoName(arg0, arg1 interface{}) *gomock.Call
GetRepositoryByRepoName indicates an expected call of GetRepositoryByRepoName.
func (*MockStoreMockRecorder) GetRoleByID ¶
func (mr *MockStoreMockRecorder) GetRoleByID(arg0, arg1 interface{}) *gomock.Call
GetRoleByID indicates an expected call of GetRoleByID.
func (*MockStoreMockRecorder) GetRoleByName ¶
func (mr *MockStoreMockRecorder) GetRoleByName(arg0, arg1 interface{}) *gomock.Call
GetRoleByName indicates an expected call of GetRoleByName.
func (*MockStoreMockRecorder) GetRootProjects ¶
func (mr *MockStoreMockRecorder) GetRootProjects(arg0 interface{}) *gomock.Call
GetRootProjects indicates an expected call of GetRootProjects.
func (*MockStoreMockRecorder) GetRuleEvaluationByProfileIdAndRuleType ¶
func (mr *MockStoreMockRecorder) GetRuleEvaluationByProfileIdAndRuleType(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetRuleEvaluationByProfileIdAndRuleType indicates an expected call of GetRuleEvaluationByProfileIdAndRuleType.
func (*MockStoreMockRecorder) GetRuleTypeByID ¶
func (mr *MockStoreMockRecorder) GetRuleTypeByID(arg0, arg1 interface{}) *gomock.Call
GetRuleTypeByID indicates an expected call of GetRuleTypeByID.
func (*MockStoreMockRecorder) GetRuleTypeByName ¶
func (mr *MockStoreMockRecorder) GetRuleTypeByName(arg0, arg1 interface{}) *gomock.Call
GetRuleTypeByName indicates an expected call of GetRuleTypeByName.
func (*MockStoreMockRecorder) GetSessionState ¶
func (mr *MockStoreMockRecorder) GetSessionState(arg0, arg1 interface{}) *gomock.Call
GetSessionState indicates an expected call of GetSessionState.
func (*MockStoreMockRecorder) GetSessionStateByProjectID ¶
func (mr *MockStoreMockRecorder) GetSessionStateByProjectID(arg0, arg1 interface{}) *gomock.Call
GetSessionStateByProjectID indicates an expected call of GetSessionStateByProjectID.
func (*MockStoreMockRecorder) GetSigningKeyByIdentifier ¶
func (mr *MockStoreMockRecorder) GetSigningKeyByIdentifier(arg0, arg1 interface{}) *gomock.Call
GetSigningKeyByIdentifier indicates an expected call of GetSigningKeyByIdentifier.
func (*MockStoreMockRecorder) GetSigningKeyByProjectID ¶
func (mr *MockStoreMockRecorder) GetSigningKeyByProjectID(arg0, arg1 interface{}) *gomock.Call
GetSigningKeyByProjectID indicates an expected call of GetSigningKeyByProjectID.
func (*MockStoreMockRecorder) GetUserByID ¶
func (mr *MockStoreMockRecorder) GetUserByID(arg0, arg1 interface{}) *gomock.Call
GetUserByID indicates an expected call of GetUserByID.
func (*MockStoreMockRecorder) GetUserBySubject ¶
func (mr *MockStoreMockRecorder) GetUserBySubject(arg0, arg1 interface{}) *gomock.Call
GetUserBySubject indicates an expected call of GetUserBySubject.
func (*MockStoreMockRecorder) GetUserProjects ¶
func (mr *MockStoreMockRecorder) GetUserProjects(arg0, arg1 interface{}) *gomock.Call
GetUserProjects indicates an expected call of GetUserProjects.
func (*MockStoreMockRecorder) GetUserRoles ¶
func (mr *MockStoreMockRecorder) GetUserRoles(arg0, arg1 interface{}) *gomock.Call
GetUserRoles indicates an expected call of GetUserRoles.
func (*MockStoreMockRecorder) GlobalListProviders ¶
func (mr *MockStoreMockRecorder) GlobalListProviders(arg0 interface{}) *gomock.Call
GlobalListProviders indicates an expected call of GlobalListProviders.
func (*MockStoreMockRecorder) ListAllRepositories ¶
func (mr *MockStoreMockRecorder) ListAllRepositories(arg0, arg1 interface{}) *gomock.Call
ListAllRepositories indicates an expected call of ListAllRepositories.
func (*MockStoreMockRecorder) ListArtifactVersionsByArtifactID ¶
func (mr *MockStoreMockRecorder) ListArtifactVersionsByArtifactID(arg0, arg1 interface{}) *gomock.Call
ListArtifactVersionsByArtifactID indicates an expected call of ListArtifactVersionsByArtifactID.
func (*MockStoreMockRecorder) ListArtifactVersionsByArtifactIDAndTag ¶
func (mr *MockStoreMockRecorder) ListArtifactVersionsByArtifactIDAndTag(arg0, arg1 interface{}) *gomock.Call
ListArtifactVersionsByArtifactIDAndTag indicates an expected call of ListArtifactVersionsByArtifactIDAndTag.
func (*MockStoreMockRecorder) ListArtifactsByRepoID ¶
func (mr *MockStoreMockRecorder) ListArtifactsByRepoID(arg0, arg1 interface{}) *gomock.Call
ListArtifactsByRepoID indicates an expected call of ListArtifactsByRepoID.
func (*MockStoreMockRecorder) ListFlushCache ¶ added in v0.0.17
func (mr *MockStoreMockRecorder) ListFlushCache(arg0 interface{}) *gomock.Call
ListFlushCache indicates an expected call of ListFlushCache.
func (*MockStoreMockRecorder) ListOrganizations ¶
func (mr *MockStoreMockRecorder) ListOrganizations(arg0, arg1 interface{}) *gomock.Call
ListOrganizations indicates an expected call of ListOrganizations.
func (*MockStoreMockRecorder) ListProfilesByProjectID ¶
func (mr *MockStoreMockRecorder) ListProfilesByProjectID(arg0, arg1 interface{}) *gomock.Call
ListProfilesByProjectID indicates an expected call of ListProfilesByProjectID.
func (*MockStoreMockRecorder) ListProfilesInstantiatingRuleType ¶
func (mr *MockStoreMockRecorder) ListProfilesInstantiatingRuleType(arg0, arg1 interface{}) *gomock.Call
ListProfilesInstantiatingRuleType indicates an expected call of ListProfilesInstantiatingRuleType.
func (*MockStoreMockRecorder) ListProvidersByProjectID ¶
func (mr *MockStoreMockRecorder) ListProvidersByProjectID(arg0, arg1 interface{}) *gomock.Call
ListProvidersByProjectID indicates an expected call of ListProvidersByProjectID.
func (*MockStoreMockRecorder) ListRegisteredRepositoriesByProjectIDAndProvider ¶
func (mr *MockStoreMockRecorder) ListRegisteredRepositoriesByProjectIDAndProvider(arg0, arg1 interface{}) *gomock.Call
ListRegisteredRepositoriesByProjectIDAndProvider indicates an expected call of ListRegisteredRepositoriesByProjectIDAndProvider.
func (*MockStoreMockRecorder) ListRepositoriesByOwner ¶
func (mr *MockStoreMockRecorder) ListRepositoriesByOwner(arg0, arg1 interface{}) *gomock.Call
ListRepositoriesByOwner indicates an expected call of ListRepositoriesByOwner.
func (*MockStoreMockRecorder) ListRepositoriesByProjectID ¶
func (mr *MockStoreMockRecorder) ListRepositoriesByProjectID(arg0, arg1 interface{}) *gomock.Call
ListRepositoriesByProjectID indicates an expected call of ListRepositoriesByProjectID.
func (*MockStoreMockRecorder) ListRoles ¶
func (mr *MockStoreMockRecorder) ListRoles(arg0, arg1 interface{}) *gomock.Call
ListRoles indicates an expected call of ListRoles.
func (*MockStoreMockRecorder) ListRolesByProjectID ¶
func (mr *MockStoreMockRecorder) ListRolesByProjectID(arg0, arg1 interface{}) *gomock.Call
ListRolesByProjectID indicates an expected call of ListRolesByProjectID.
func (*MockStoreMockRecorder) ListRuleEvaluationsByProfileId ¶
func (mr *MockStoreMockRecorder) ListRuleEvaluationsByProfileId(arg0, arg1 interface{}) *gomock.Call
ListRuleEvaluationsByProfileId indicates an expected call of ListRuleEvaluationsByProfileId.
func (*MockStoreMockRecorder) ListRuleTypesByProviderAndProject ¶
func (mr *MockStoreMockRecorder) ListRuleTypesByProviderAndProject(arg0, arg1 interface{}) *gomock.Call
ListRuleTypesByProviderAndProject indicates an expected call of ListRuleTypesByProviderAndProject.
func (*MockStoreMockRecorder) ListUsers ¶
func (mr *MockStoreMockRecorder) ListUsers(arg0, arg1 interface{}) *gomock.Call
ListUsers indicates an expected call of ListUsers.
func (*MockStoreMockRecorder) ListUsersByOrganization ¶
func (mr *MockStoreMockRecorder) ListUsersByOrganization(arg0, arg1 interface{}) *gomock.Call
ListUsersByOrganization indicates an expected call of ListUsersByOrganization.
func (*MockStoreMockRecorder) ListUsersByProject ¶
func (mr *MockStoreMockRecorder) ListUsersByProject(arg0, arg1 interface{}) *gomock.Call
ListUsersByProject indicates an expected call of ListUsersByProject.
func (*MockStoreMockRecorder) ListUsersByRoleId ¶
func (mr *MockStoreMockRecorder) ListUsersByRoleId(arg0, arg1 interface{}) *gomock.Call
ListUsersByRoleId indicates an expected call of ListUsersByRoleId.
func (*MockStoreMockRecorder) LockIfThresholdNotExceeded ¶ added in v0.0.17
func (mr *MockStoreMockRecorder) LockIfThresholdNotExceeded(arg0, arg1 interface{}) *gomock.Call
LockIfThresholdNotExceeded indicates an expected call of LockIfThresholdNotExceeded.
func (*MockStoreMockRecorder) ReleaseLock ¶ added in v0.0.17
func (mr *MockStoreMockRecorder) ReleaseLock(arg0, arg1 interface{}) *gomock.Call
ReleaseLock indicates an expected call of ReleaseLock.
func (*MockStoreMockRecorder) Rollback ¶
func (mr *MockStoreMockRecorder) Rollback(arg0 interface{}) *gomock.Call
Rollback indicates an expected call of Rollback.
func (*MockStoreMockRecorder) UpdateAccessToken ¶
func (mr *MockStoreMockRecorder) UpdateAccessToken(arg0, arg1 interface{}) *gomock.Call
UpdateAccessToken indicates an expected call of UpdateAccessToken.
func (*MockStoreMockRecorder) UpdateLease ¶ added in v0.0.17
func (mr *MockStoreMockRecorder) UpdateLease(arg0, arg1 interface{}) *gomock.Call
UpdateLease indicates an expected call of UpdateLease.
func (*MockStoreMockRecorder) UpdateOrganization ¶
func (mr *MockStoreMockRecorder) UpdateOrganization(arg0, arg1 interface{}) *gomock.Call
UpdateOrganization indicates an expected call of UpdateOrganization.
func (*MockStoreMockRecorder) UpdateProfile ¶ added in v0.0.16
func (mr *MockStoreMockRecorder) UpdateProfile(arg0, arg1 interface{}) *gomock.Call
UpdateProfile indicates an expected call of UpdateProfile.
func (*MockStoreMockRecorder) UpdateRepository ¶
func (mr *MockStoreMockRecorder) UpdateRepository(arg0, arg1 interface{}) *gomock.Call
UpdateRepository indicates an expected call of UpdateRepository.
func (*MockStoreMockRecorder) UpdateRepositoryByID ¶
func (mr *MockStoreMockRecorder) UpdateRepositoryByID(arg0, arg1 interface{}) *gomock.Call
UpdateRepositoryByID indicates an expected call of UpdateRepositoryByID.
func (*MockStoreMockRecorder) UpdateRole ¶
func (mr *MockStoreMockRecorder) UpdateRole(arg0, arg1 interface{}) *gomock.Call
UpdateRole indicates an expected call of UpdateRole.
func (*MockStoreMockRecorder) UpdateRuleType ¶
func (mr *MockStoreMockRecorder) UpdateRuleType(arg0, arg1 interface{}) *gomock.Call
UpdateRuleType indicates an expected call of UpdateRuleType.
func (*MockStoreMockRecorder) UpsertArtifact ¶
func (mr *MockStoreMockRecorder) UpsertArtifact(arg0, arg1 interface{}) *gomock.Call
UpsertArtifact indicates an expected call of UpsertArtifact.
func (*MockStoreMockRecorder) UpsertArtifactVersion ¶
func (mr *MockStoreMockRecorder) UpsertArtifactVersion(arg0, arg1 interface{}) *gomock.Call
UpsertArtifactVersion indicates an expected call of UpsertArtifactVersion.
func (*MockStoreMockRecorder) UpsertProfileForEntity ¶ added in v0.0.16
func (mr *MockStoreMockRecorder) UpsertProfileForEntity(arg0, arg1 interface{}) *gomock.Call
UpsertProfileForEntity indicates an expected call of UpsertProfileForEntity.
func (*MockStoreMockRecorder) UpsertPullRequest ¶
func (mr *MockStoreMockRecorder) UpsertPullRequest(arg0, arg1 interface{}) *gomock.Call
UpsertPullRequest indicates an expected call of UpsertPullRequest.
func (*MockStoreMockRecorder) UpsertRuleDetailsAlert ¶
func (mr *MockStoreMockRecorder) UpsertRuleDetailsAlert(arg0, arg1 interface{}) *gomock.Call
UpsertRuleDetailsAlert indicates an expected call of UpsertRuleDetailsAlert.
func (*MockStoreMockRecorder) UpsertRuleDetailsEval ¶
func (mr *MockStoreMockRecorder) UpsertRuleDetailsEval(arg0, arg1 interface{}) *gomock.Call
UpsertRuleDetailsEval indicates an expected call of UpsertRuleDetailsEval.
func (*MockStoreMockRecorder) UpsertRuleDetailsRemediate ¶
func (mr *MockStoreMockRecorder) UpsertRuleDetailsRemediate(arg0, arg1 interface{}) *gomock.Call
UpsertRuleDetailsRemediate indicates an expected call of UpsertRuleDetailsRemediate.
func (*MockStoreMockRecorder) UpsertRuleEvaluations ¶
func (mr *MockStoreMockRecorder) UpsertRuleEvaluations(arg0, arg1 interface{}) *gomock.Call
UpsertRuleEvaluations indicates an expected call of UpsertRuleEvaluations.
func (*MockStoreMockRecorder) UpsertRuleInstantiation ¶
func (mr *MockStoreMockRecorder) UpsertRuleInstantiation(arg0, arg1 interface{}) *gomock.Call
UpsertRuleInstantiation indicates an expected call of UpsertRuleInstantiation.