Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAuthContextInitializer
- type MockAuthContextInitializerMockRecorder
- type MockDatabase
- func (m *MockDatabase) AppendAuditLog(ctx context.Context, entry model.AuditEntry) error
- func (m *MockDatabase) CancelAllIngestJobs(ctx context.Context) error
- func (m *MockDatabase) Close(ctx context.Context)
- func (m *MockDatabase) CountAllIngestTasks(ctx context.Context) (int64, error)
- func (m *MockDatabase) CreateADDataQualityAggregation(ctx context.Context, aggregation model.ADDataQualityAggregation) (model.ADDataQualityAggregation, error)
- func (m *MockDatabase) CreateADDataQualityStats(ctx context.Context, stats model.ADDataQualityStats) (model.ADDataQualityStats, error)
- func (m *MockDatabase) CreateAssetGroup(ctx context.Context, name, tag string, systemGroup bool) (model.AssetGroup, error)
- func (m *MockDatabase) CreateAssetGroupCollection(ctx context.Context, collection model.AssetGroupCollection, ...) error
- func (m *MockDatabase) CreateAssetGroupHistoryRecord(ctx context.Context, actorId, email, target string, ...) error
- func (m *MockDatabase) CreateAssetGroupTag(ctx context.Context, tagType model.AssetGroupTagType, user model.User, ...) (model.AssetGroupTag, error)
- func (m *MockDatabase) CreateAssetGroupTagSelector(ctx context.Context, assetGroupTagId int, user model.User, ...) (model.AssetGroupTagSelector, error)
- func (m *MockDatabase) CreateAuditLog(ctx context.Context, auditLog model.AuditLog) error
- func (m *MockDatabase) CreateAuthSecret(ctx context.Context, authSecret model.AuthSecret) (model.AuthSecret, error)
- func (m *MockDatabase) CreateAuthToken(ctx context.Context, authToken model.AuthToken) (model.AuthToken, error)
- func (m *MockDatabase) CreateAzureDataQualityAggregation(ctx context.Context, aggregation model.AzureDataQualityAggregation) (model.AzureDataQualityAggregation, error)
- func (m *MockDatabase) CreateAzureDataQualityStats(ctx context.Context, stats model.AzureDataQualityStats) (model.AzureDataQualityStats, error)
- func (m *MockDatabase) CreateCompletedTask(ctx context.Context, task model.CompletedTask) (model.CompletedTask, error)
- func (m *MockDatabase) CreateCompositionInfo(ctx context.Context, nodes model.EdgeCompositionNodes, ...) (model.EdgeCompositionNodes, model.EdgeCompositionEdges, error)
- func (m *MockDatabase) CreateCustomNodeKinds(ctx context.Context, customNodeKind model.CustomNodeKinds) (model.CustomNodeKinds, error)
- func (m *MockDatabase) CreateEnvironment(ctx context.Context, extensionId, environmentKindId, sourceKindId int32) (model.SchemaEnvironment, error)
- func (m *MockDatabase) CreateGraphSchemaExtension(ctx context.Context, name, displayName, version, namespace string) (model.GraphSchemaExtension, error)
- func (m *MockDatabase) CreateGraphSchemaNodeKind(ctx context.Context, name string, extensionId int32, ...) (model.GraphSchemaNodeKind, error)
- func (m *MockDatabase) CreateGraphSchemaProperty(ctx context.Context, extensionId int32, ...) (model.GraphSchemaProperty, error)
- func (m *MockDatabase) CreateGraphSchemaRelationshipKind(ctx context.Context, name string, schemaExtensionId int32, description string, ...) (model.GraphSchemaRelationshipKind, error)
- func (m *MockDatabase) CreateIngestJob(ctx context.Context, job model.IngestJob) (model.IngestJob, error)
- func (m *MockDatabase) CreateIngestTask(ctx context.Context, task model.IngestTask) (model.IngestTask, error)
- func (m *MockDatabase) CreateInstallation(ctx context.Context) (model.Installation, error)
- func (m *MockDatabase) CreateOIDCProvider(ctx context.Context, name, issuer, clientID string, ...) (model.OIDCProvider, error)
- func (m *MockDatabase) CreatePrincipalKind(ctx context.Context, environmentId, principalKind int32) (model.SchemaEnvironmentPrincipalKind, error)
- func (m *MockDatabase) CreateRemediation(ctx context.Context, findingId int32, ...) (model.Remediation, error)
- func (m *MockDatabase) CreateSAMLIdentityProvider(ctx context.Context, samlProvider model.SAMLProvider, ...) (model.SAMLProvider, error)
- func (m *MockDatabase) CreateSSOProvider(ctx context.Context, name string, authProvider model.SessionAuthProvider, ...) (model.SSOProvider, error)
- func (m *MockDatabase) CreateSavedQueries(ctx context.Context, savedQueries model.SavedQueries) error
- func (m *MockDatabase) CreateSavedQuery(ctx context.Context, userID uuid.UUID, name, query, description string) (model.SavedQuery, error)
- func (m *MockDatabase) CreateSavedQueryPermissionToPublic(ctx context.Context, queryID int64) (model.SavedQueriesPermissions, error)
- func (m *MockDatabase) CreateSavedQueryPermissionsToUsers(ctx context.Context, queryID int64, userIDs ...uuid.UUID) ([]model.SavedQueriesPermissions, error)
- func (m *MockDatabase) CreateSchemaRelationshipFinding(ctx context.Context, extensionId, relationshipKindId, environmentId int32, ...) (model.SchemaRelationshipFinding, error)
- func (m *MockDatabase) CreateUser(ctx context.Context, user model.User) (model.User, error)
- func (m *MockDatabase) CreateUserSession(ctx context.Context, userSession model.UserSession) (model.UserSession, error)
- func (m *MockDatabase) DeactivateSourceKindsByName(ctx context.Context, kinds graph.Kinds) error
- func (m *MockDatabase) DeleteAllAuthTokens(ctx context.Context) error
- func (m *MockDatabase) DeleteAllDataQuality(ctx context.Context) error
- func (m *MockDatabase) DeleteAllIngestJobs(ctx context.Context) error
- func (m *MockDatabase) DeleteAllIngestTasks(ctx context.Context) error
- func (m *MockDatabase) DeleteAnalysisRequest(ctx context.Context) error
- func (m *MockDatabase) DeleteAssetGroup(ctx context.Context, assetGroup model.AssetGroup) error
- func (m *MockDatabase) DeleteAssetGroupHistoryRecordsByCreatedDate(ctx context.Context, createdAt time.Time) (int64, error)
- func (m *MockDatabase) DeleteAssetGroupSelector(ctx context.Context, selector model.AssetGroupSelector) error
- func (m *MockDatabase) DeleteAssetGroupSelectorsForAssetGroups(ctx context.Context, assetGroupIds []int) error
- func (m *MockDatabase) DeleteAssetGroupTag(ctx context.Context, user model.User, assetGroupTag model.AssetGroupTag) error
- func (m *MockDatabase) DeleteAssetGroupTagSelector(ctx context.Context, user model.User, selector model.AssetGroupTagSelector) error
- func (m *MockDatabase) DeleteAuthSecret(ctx context.Context, authSecret model.AuthSecret) error
- func (m *MockDatabase) DeleteAuthToken(ctx context.Context, authToken model.AuthToken) error
- func (m *MockDatabase) DeleteCustomNodeKind(ctx context.Context, kindName string) error
- func (m *MockDatabase) DeleteEnvironment(ctx context.Context, environmentId int32) error
- func (m *MockDatabase) DeleteEnvironmentTargetedAccessControlForUser(ctx context.Context, user model.User) error
- func (m *MockDatabase) DeleteGraphSchemaExtension(ctx context.Context, extensionId int32) error
- func (m *MockDatabase) DeleteGraphSchemaNodeKind(ctx context.Context, schemaNodeKindId int32) error
- func (m *MockDatabase) DeleteGraphSchemaProperty(ctx context.Context, propertyID int32) error
- func (m *MockDatabase) DeleteGraphSchemaRelationshipKind(ctx context.Context, schemaRelationshipKindId int32) error
- func (m *MockDatabase) DeleteIngestTask(ctx context.Context, ingestTask model.IngestTask) error
- func (m *MockDatabase) DeletePrincipalKind(ctx context.Context, environmentId, principalKind int32) error
- func (m *MockDatabase) DeleteRemediation(ctx context.Context, findingId int32) error
- func (m *MockDatabase) DeleteSSOProvider(ctx context.Context, id int) error
- func (m *MockDatabase) DeleteSavedQuery(ctx context.Context, savedQueryID int64) error
- func (m *MockDatabase) DeleteSavedQueryPermissionsForUsers(ctx context.Context, queryID int64, userIDs ...uuid.UUID) error
- func (m *MockDatabase) DeleteSchemaRelationshipFinding(ctx context.Context, findingId int32) error
- func (m *MockDatabase) DeleteSelectorNodesByNodeId(ctx context.Context, selectorId int, nodeId graph.ID) error
- func (m *MockDatabase) DeleteSelectorNodesBySelectorIds(ctx context.Context, selectorId ...int) error
- func (m *MockDatabase) DeleteUser(ctx context.Context, user model.User) error
- func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
- func (m *MockDatabase) EndUserSession(ctx context.Context, userSession model.UserSession)
- func (m *MockDatabase) GetADDataQualityAggregations(ctx context.Context, start, end time.Time, sort_by string, limit, skip int) (model.ADDataQualityAggregations, int, error)
- func (m *MockDatabase) GetADDataQualityStats(ctx context.Context, domainSid string, start, end time.Time, sort_by string, ...) (model.ADDataQualityStats, int, error)
- func (m *MockDatabase) GetAggregateADDataQualityStats(ctx context.Context, domainSIDs []string, start, end time.Time) (model.ADDataQualityStats, error)
- func (m *MockDatabase) GetAggregatedSelectorNodesCertification(ctx context.Context, sqlFilter model.SQLFilter, skip, limit int) ([]model.AssetGroupSelectorNodeExpanded, int, error)
- func (m *MockDatabase) GetAllAssetGroups(ctx context.Context, order string, filter model.SQLFilter) (model.AssetGroups, error)
- func (m *MockDatabase) GetAllAuthTokens(ctx context.Context, order string, filter model.SQLFilter) (model.AuthTokens, error)
- func (m *MockDatabase) GetAllConfigurationParameters(ctx context.Context) (appcfg.Parameters, error)
- func (m *MockDatabase) GetAllFlags(ctx context.Context) ([]appcfg.FeatureFlag, error)
- func (m *MockDatabase) GetAllIngestJobs(ctx context.Context, skip, limit int, order string, filter model.SQLFilter) ([]model.IngestJob, int, error)
- func (m *MockDatabase) GetAllIngestTasks(ctx context.Context) (model.IngestTasks, error)
- func (m *MockDatabase) GetAllPermissions(ctx context.Context, order string, filter model.SQLFilter) (model.Permissions, error)
- func (m *MockDatabase) GetAllRoles(ctx context.Context, order string, filter model.SQLFilter) (model.Roles, error)
- func (m *MockDatabase) GetAllSAMLProviders(ctx context.Context) (model.SAMLProviders, error)
- func (m *MockDatabase) GetAllSSOProviders(ctx context.Context, order string, sqlFilter model.SQLFilter) ([]model.SSOProvider, error)
- func (m *MockDatabase) GetAllSavedQueriesByUser(ctx context.Context, userID uuid.UUID) (model.SavedQueries, error)
- func (m *MockDatabase) GetAllUsers(ctx context.Context, order string, filter model.SQLFilter) (model.Users, error)
- func (m *MockDatabase) GetAnalysisRequest(ctx context.Context) (model.AnalysisRequest, error)
- func (m *MockDatabase) GetAssetGroup(ctx context.Context, id int32) (model.AssetGroup, error)
- func (m *MockDatabase) GetAssetGroupCollections(ctx context.Context, assetGroupID int32, order string, filter model.SQLFilter) (model.AssetGroupCollections, error)
- func (m *MockDatabase) GetAssetGroupHistoryRecords(ctx context.Context, sqlFilter model.SQLFilter, sortItems model.Sort, ...) ([]model.AssetGroupHistory, int, error)
- func (m *MockDatabase) GetAssetGroupSelector(ctx context.Context, id int32) (model.AssetGroupSelector, error)
- func (m *MockDatabase) GetAssetGroupSelectorNodeExpandedOrderedByIdAndPosition(ctx context.Context, nodeIds ...int) ([]model.AssetGroupSelectorNodeExpanded, error)
- func (m *MockDatabase) GetAssetGroupTag(ctx context.Context, assetGroupTagId int) (model.AssetGroupTag, error)
- func (m *MockDatabase) GetAssetGroupTagForSelection(ctx context.Context) ([]model.AssetGroupTag, error)
- func (m *MockDatabase) GetAssetGroupTagSelectorBySelectorId(ctx context.Context, assetGroupTagSelectorId int) (model.AssetGroupTagSelector, error)
- func (m *MockDatabase) GetAssetGroupTagSelectorCounts(ctx context.Context, tagIds []int) (model.AssetGroupTagCountsMap, error)
- func (m *MockDatabase) GetAssetGroupTagSelectors(ctx context.Context, sqlFilter model.SQLFilter, limit int) (model.AssetGroupTagSelectors, error)
- func (m *MockDatabase) GetAssetGroupTagSelectorsByTagId(ctx context.Context, assetGroupTagId int) (model.AssetGroupTagSelectors, int, error)
- func (m *MockDatabase) GetAssetGroupTagSelectorsByTagIdFilteredAndPaginated(ctx context.Context, assetGroupTagId int, ...) (model.AssetGroupTagSelectors, int, error)
- func (m *MockDatabase) GetAssetGroupTags(ctx context.Context, sqlFilter model.SQLFilter) (model.AssetGroupTags, error)
- func (m *MockDatabase) GetAuthSecret(ctx context.Context, id int32) (model.AuthSecret, error)
- func (m *MockDatabase) GetAuthToken(ctx context.Context, id uuid.UUID) (model.AuthToken, error)
- func (m *MockDatabase) GetAzureDataQualityAggregations(ctx context.Context, start, end time.Time, sort_by string, limit, skip int) (model.AzureDataQualityAggregations, int, error)
- func (m *MockDatabase) GetAzureDataQualityStats(ctx context.Context, tenantId string, start, end time.Time, sort_by string, ...) (model.AzureDataQualityStats, int, error)
- func (m *MockDatabase) GetCompletedTasks(ctx context.Context, ingestJobId int64) ([]model.CompletedTask, error)
- func (m *MockDatabase) GetConfigurationParameter(ctx context.Context, parameterKey appcfg.ParameterKey) (appcfg.Parameter, error)
- func (m *MockDatabase) GetCustomAssetGroupTagSelectorsToMigrate(ctx context.Context) (model.AssetGroupTagSelectors, error)
- func (m *MockDatabase) GetCustomNodeKind(ctx context.Context, kindName string) (model.CustomNodeKind, error)
- func (m *MockDatabase) GetCustomNodeKinds(ctx context.Context) ([]model.CustomNodeKind, error)
- func (m *MockDatabase) GetDatapipeStatus(ctx context.Context) (model.DatapipeStatusWrapper, error)
- func (m *MockDatabase) GetEnvironmentByEnvironmentKindId(ctx context.Context, environmentKindId int32) (model.SchemaEnvironment, error)
- func (m *MockDatabase) GetEnvironmentById(ctx context.Context, environmentId int32) (model.SchemaEnvironment, error)
- func (m *MockDatabase) GetEnvironmentTargetedAccessControlForUser(ctx context.Context, user model.User) ([]model.EnvironmentTargetedAccessControl, error)
- func (m *MockDatabase) GetEnvironments(ctx context.Context) ([]model.SchemaEnvironment, error)
- func (m *MockDatabase) GetEnvironmentsByExtensionId(ctx context.Context, extensionId int32) ([]model.SchemaEnvironment, error)
- func (m *MockDatabase) GetEnvironmentsFiltered(ctx context.Context, filters model.Filters) ([]model.SchemaEnvironment, error)
- func (m *MockDatabase) GetFlag(ctx context.Context, id int32) (appcfg.FeatureFlag, error)
- func (m *MockDatabase) GetFlagByKey(arg0 context.Context, arg1 string) (appcfg.FeatureFlag, error)
- func (m *MockDatabase) GetGraphSchemaExtensionById(ctx context.Context, extensionId int32) (model.GraphSchemaExtension, error)
- func (m *MockDatabase) GetGraphSchemaExtensions(ctx context.Context, extensionFilters model.Filters, sort model.Sort, ...) (model.GraphSchemaExtensions, int, error)
- func (m *MockDatabase) GetGraphSchemaNodeKindById(ctx context.Context, schemaNodeKindID int32) (model.GraphSchemaNodeKind, error)
- func (m *MockDatabase) GetGraphSchemaNodeKinds(ctx context.Context, nodeKindFilters model.Filters, sort model.Sort, ...) (model.GraphSchemaNodeKinds, int, error)
- func (m *MockDatabase) GetGraphSchemaProperties(ctx context.Context, filters model.Filters, sort model.Sort, skip, limit int) (model.GraphSchemaProperties, int, error)
- func (m *MockDatabase) GetGraphSchemaPropertyById(ctx context.Context, extensionPropertyId int32) (model.GraphSchemaProperty, error)
- func (m *MockDatabase) GetGraphSchemaRelationshipKindById(ctx context.Context, schemaRelationshipKindId int32) (model.GraphSchemaRelationshipKind, error)
- func (m *MockDatabase) GetGraphSchemaRelationshipKinds(ctx context.Context, filters model.Filters, sort model.Sort, skip, limit int) (model.GraphSchemaRelationshipKinds, int, error)
- func (m *MockDatabase) GetGraphSchemaRelationshipKindsWithSchemaName(ctx context.Context, filters model.Filters, sort model.Sort, skip, limit int) (model.GraphSchemaRelationshipKindsWithNamedSchema, int, error)
- func (m *MockDatabase) GetIngestJob(ctx context.Context, id int64) (model.IngestJob, error)
- func (m *MockDatabase) GetIngestJobsWithStatus(ctx context.Context, status model.JobStatus) ([]model.IngestJob, error)
- func (m *MockDatabase) GetIngestTasksForJob(ctx context.Context, jobID int64) (model.IngestTasks, error)
- func (m *MockDatabase) GetInstallation(ctx context.Context) (model.Installation, error)
- func (m *MockDatabase) GetKindByName(ctx context.Context, name string) (model.Kind, error)
- func (m *MockDatabase) GetKindsByIDs(ctx context.Context, ids ...int32) ([]model.Kind, error)
- func (m *MockDatabase) GetLatestAssetGroupCollection(ctx context.Context, assetGroupID int32) (model.AssetGroupCollection, error)
- func (m *MockDatabase) GetOrderedAssetGroupTagTiers(ctx context.Context) ([]model.AssetGroupTag, error)
- func (m *MockDatabase) GetPermission(ctx context.Context, id int) (model.Permission, error)
- func (m *MockDatabase) GetPrincipalKindsByEnvironmentId(ctx context.Context, environmentId int32) (model.SchemaEnvironmentPrincipalKinds, error)
- func (m *MockDatabase) GetPublicSavedQueries(ctx context.Context) (model.SavedQueries, error)
- func (m *MockDatabase) GetRemediationByFindingId(ctx context.Context, findingId int32) (model.Remediation, error)
- func (m *MockDatabase) GetRemediationByFindingName(ctx context.Context, findingName string) (model.Remediation, error)
- func (m *MockDatabase) GetRole(ctx context.Context, id int32) (model.Role, error)
- func (m *MockDatabase) GetRoles(ctx context.Context, ids []int32) (model.Roles, error)
- func (m *MockDatabase) GetSAMLProvider(ctx context.Context, id int32) (model.SAMLProvider, error)
- func (m *MockDatabase) GetSAMLProviderUsers(ctx context.Context, id int32) (model.Users, error)
- func (m *MockDatabase) GetSSOProviderById(ctx context.Context, id int32) (model.SSOProvider, error)
- func (m *MockDatabase) GetSSOProviderBySlug(ctx context.Context, slug string) (model.SSOProvider, error)
- func (m *MockDatabase) GetSSOProviderUsers(ctx context.Context, id int) (model.Users, error)
- func (m *MockDatabase) GetSavedQueriesOwnedBy(ctx context.Context, userID uuid.UUID) (model.SavedQueries, error)
- func (m *MockDatabase) GetSavedQuery(ctx context.Context, savedQueryID int64) (model.SavedQuery, error)
- func (m *MockDatabase) GetSavedQueryPermissions(ctx context.Context, queryID int64) ([]model.SavedQueriesPermissions, error)
- func (m *MockDatabase) GetSchemaRelationshipFindingById(ctx context.Context, findingId int32) (model.SchemaRelationshipFinding, error)
- func (m *MockDatabase) GetSchemaRelationshipFindingByName(ctx context.Context, name string) (model.SchemaRelationshipFinding, error)
- func (m *MockDatabase) GetScopeForSavedQuery(ctx context.Context, queryID int64, userID uuid.UUID) (database.SavedQueryScopeMap, error)
- func (m *MockDatabase) GetSelectorNodesBySelectorIds(ctx context.Context, selectorIds ...int) ([]model.AssetGroupSelectorNode, error)
- func (m *MockDatabase) GetSelectorNodesBySelectorIdsFilteredAndPaginated(ctx context.Context, sqlFilter model.SQLFilter, sort model.Sort, ...) ([]model.AssetGroupSelectorNode, int, error)
- func (m *MockDatabase) GetSelectorsByMemberId(ctx context.Context, memberId, assetGroupTagId int) (model.AssetGroupTagSelectors, error)
- func (m *MockDatabase) GetSharedSavedQueries(ctx context.Context, userID uuid.UUID) (model.SavedQueries, error)
- func (m *MockDatabase) GetSourceKindByName(ctx context.Context, name string) (database.SourceKind, error)
- func (m *MockDatabase) GetSourceKinds(ctx context.Context) ([]database.SourceKind, error)
- func (m *MockDatabase) GetSourceKindsByIDs(ctx context.Context, ids ...int32) ([]database.SourceKind, error)
- func (m *MockDatabase) GetTimeRangedAssetGroupCollections(ctx context.Context, assetGroupID int32, from, to int64, order string) (model.AssetGroupCollections, error)
- func (m *MockDatabase) GetTraversableRelationshipKindsByExtensionID(ctx context.Context, extensionID int32) (model.GraphSchemaRelationshipKinds, error)
- func (m *MockDatabase) GetUser(ctx context.Context, id uuid.UUID) (model.User, error)
- func (m *MockDatabase) GetUserSession(ctx context.Context, id int64) (model.UserSession, error)
- func (m *MockDatabase) GetUserToken(ctx context.Context, userId, tokenId uuid.UUID) (model.AuthToken, error)
- func (m *MockDatabase) HasAnalysisRequest(ctx context.Context) bool
- func (m *MockDatabase) HasCollectedGraphDataDeletionRequest(ctx context.Context) (model.AnalysisRequest, bool)
- func (m *MockDatabase) HasInstallation(ctx context.Context) (bool, error)
- func (m *MockDatabase) InitializeSecretAuth(ctx context.Context, adminUser model.User, authSecret model.AuthSecret) (model.Installation, error)
- func (m *MockDatabase) InsertSelectorNode(ctx context.Context, assetGroupTagId, selectorId int, nodeId graph.ID, ...) error
- func (m *MockDatabase) IsSavedQueryPublic(ctx context.Context, savedQueryID int64) (bool, error)
- func (m *MockDatabase) IsSavedQuerySharedToUser(ctx context.Context, queryID int64, userID uuid.UUID) (bool, error)
- func (m *MockDatabase) IsSavedQuerySharedToUserOrPublic(ctx context.Context, queryID int64, userID uuid.UUID) (bool, error)
- func (m *MockDatabase) ListAuditLogs(ctx context.Context, before, after time.Time, offset, limit int, order string, ...) (model.AuditLogs, int, error)
- func (m *MockDatabase) ListSavedQueries(ctx context.Context, scope string, userID uuid.UUID, order string, ...) ([]model.ScopedSavedQuery, int, error)
- func (m *MockDatabase) LookupActiveSessionsByUser(ctx context.Context, user model.User) ([]model.UserSession, error)
- func (m *MockDatabase) LookupUser(ctx context.Context, principalName string) (model.User, error)
- func (m *MockDatabase) Migrate(ctx context.Context) error
- func (m *MockDatabase) PopulateExtensionData(ctx context.Context) error
- func (m *MockDatabase) RegisterSourceKind(ctx context.Context) func(graph.Kind) error
- func (m *MockDatabase) RequestAnalysis(ctx context.Context, requester string) error
- func (m *MockDatabase) RequestCollectedGraphDataDeletion(ctx context.Context, request model.AnalysisRequest) error
- func (m *MockDatabase) SanitizeUpdateAssetGroupTagRequireCertify(tag *model.AssetGroupTag)
- func (m *MockDatabase) SavedQueryBelongsToUser(ctx context.Context, userID uuid.UUID, savedQueryID int64) (bool, error)
- func (m *MockDatabase) SetConfigurationParameter(ctx context.Context, configurationParameter appcfg.Parameter) error
- func (m *MockDatabase) SetDatapipeStatus(ctx context.Context, status model.DatapipeStatus) error
- func (m *MockDatabase) SetFlag(ctx context.Context, value appcfg.FeatureFlag) error
- func (m *MockDatabase) SetUserSessionFlag(ctx context.Context, userSession *model.UserSession, key model.SessionFlagKey, ...) error
- func (m *MockDatabase) SweepAssetGroupCollections(ctx context.Context)
- func (m *MockDatabase) SweepSessions(ctx context.Context)
- func (m *MockDatabase) TerminateUserSessionsBySSOProvider(ctx context.Context, ssoProvider model.SSOProvider) error
- func (m *MockDatabase) UpdateAssetGroup(ctx context.Context, assetGroup model.AssetGroup) error
- func (m *MockDatabase) UpdateAssetGroupSelectors(ctx context.Context, assetGroup model.AssetGroup, ...) (model.UpdatedAssetGroupSelectors, error)
- func (m *MockDatabase) UpdateAssetGroupTag(ctx context.Context, user model.User, tag model.AssetGroupTag) (model.AssetGroupTag, error)
- func (m *MockDatabase) UpdateAssetGroupTagSelector(ctx context.Context, actorId, email string, ...) (model.AssetGroupTagSelector, error)
- func (m *MockDatabase) UpdateAuthSecret(ctx context.Context, authSecret model.AuthSecret) error
- func (m *MockDatabase) UpdateAuthToken(ctx context.Context, authToken model.AuthToken) error
- func (m *MockDatabase) UpdateCertificationBySelectorNode(ctx context.Context, input []database.UpdateCertificationBySelectorNodeInput) error
- func (m *MockDatabase) UpdateCustomNodeKind(ctx context.Context, customNodeKind model.CustomNodeKind) (model.CustomNodeKind, error)
- func (m *MockDatabase) UpdateGraphSchemaExtension(ctx context.Context, extension model.GraphSchemaExtension) (model.GraphSchemaExtension, error)
- func (m *MockDatabase) UpdateGraphSchemaNodeKind(ctx context.Context, schemaNodeKind model.GraphSchemaNodeKind) (model.GraphSchemaNodeKind, error)
- func (m *MockDatabase) UpdateGraphSchemaProperty(ctx context.Context, property model.GraphSchemaProperty) (model.GraphSchemaProperty, error)
- func (m *MockDatabase) UpdateGraphSchemaRelationshipKind(ctx context.Context, schemaRelationshipKind model.GraphSchemaRelationshipKind) (model.GraphSchemaRelationshipKind, error)
- func (m *MockDatabase) UpdateIngestJob(ctx context.Context, job model.IngestJob) error
- func (m *MockDatabase) UpdateLastAnalysisCompleteTime(ctx context.Context) error
- func (m *MockDatabase) UpdateOIDCProvider(ctx context.Context, ssoProvider model.SSOProvider) (model.OIDCProvider, error)
- func (m *MockDatabase) UpdateRemediation(ctx context.Context, findingId int32, ...) (model.Remediation, error)
- func (m *MockDatabase) UpdateSAMLIdentityProvider(ctx context.Context, ssoProvider model.SSOProvider) (model.SAMLProvider, error)
- func (m *MockDatabase) UpdateSSOProvider(ctx context.Context, ssoProvider model.SSOProvider) (model.SSOProvider, error)
- func (m *MockDatabase) UpdateSavedQuery(ctx context.Context, savedQuery model.SavedQuery) (model.SavedQuery, error)
- func (m *MockDatabase) UpdateSelectorNodesByNodeId(ctx context.Context, assetGroupTagId, selectorId int, nodeId graph.ID, ...) error
- func (m *MockDatabase) UpdateUser(ctx context.Context, user model.User) error
- func (m *MockDatabase) Wipe(ctx context.Context) error
- type MockDatabaseMockRecorder
- func (mr *MockDatabaseMockRecorder) AppendAuditLog(ctx, entry any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CancelAllIngestJobs(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) Close(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CountAllIngestTasks(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateADDataQualityAggregation(ctx, aggregation any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateADDataQualityStats(ctx, stats any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateAssetGroup(ctx, name, tag, systemGroup any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateAssetGroupCollection(ctx, collection, entries any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateAssetGroupHistoryRecord(ctx, actorId, email, target, action, assetGroupTagId, environmentId, note any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateAssetGroupTag(ctx, tagType, user, name, description, position, requireCertify, glyph any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateAssetGroupTagSelector(...) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateAuditLog(ctx, auditLog any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateAuthSecret(ctx, authSecret any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateAuthToken(ctx, authToken any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateAzureDataQualityAggregation(ctx, aggregation any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateAzureDataQualityStats(ctx, stats any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateCompletedTask(ctx, task any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateCompositionInfo(ctx, nodes, edges any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateCustomNodeKinds(ctx, customNodeKind any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateEnvironment(ctx, extensionId, environmentKindId, sourceKindId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateGraphSchemaExtension(ctx, name, displayName, version, namespace any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateGraphSchemaNodeKind(ctx, name, extensionId, displayName, description, isDisplayKind, icon, ... any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateGraphSchemaProperty(ctx, extensionId, name, displayName, dataType, description any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateGraphSchemaRelationshipKind(ctx, name, schemaExtensionId, description, isTraversable any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateIngestJob(ctx, job any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateIngestTask(ctx, task any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateInstallation(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateOIDCProvider(ctx, name, issuer, clientID, config any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreatePrincipalKind(ctx, environmentId, principalKind any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateRemediation(ctx, findingId, shortDescription, longDescription, shortRemediation, ... any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateSAMLIdentityProvider(ctx, samlProvider, config any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateSSOProvider(ctx, name, authProvider, config any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateSavedQueries(ctx, savedQueries any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateSavedQuery(ctx, userID, name, query, description any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateSavedQueryPermissionToPublic(ctx, queryID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateSavedQueryPermissionsToUsers(ctx, queryID any, userIDs ...any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateSchemaRelationshipFinding(ctx, extensionId, relationshipKindId, environmentId, name, displayName any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateUser(ctx, user any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) CreateUserSession(ctx, userSession any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeactivateSourceKindsByName(ctx, kinds any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAllAuthTokens(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAllDataQuality(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAllIngestJobs(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAllIngestTasks(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAnalysisRequest(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAssetGroup(ctx, assetGroup any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAssetGroupHistoryRecordsByCreatedDate(ctx, createdAt any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAssetGroupSelector(ctx, selector any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAssetGroupSelectorsForAssetGroups(ctx, assetGroupIds any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAssetGroupTag(ctx, user, assetGroupTag any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAssetGroupTagSelector(ctx, user, selector any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAuthSecret(ctx, authSecret any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteAuthToken(ctx, authToken any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteCustomNodeKind(ctx, kindName any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteEnvironment(ctx, environmentId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteEnvironmentTargetedAccessControlForUser(ctx, user any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteGraphSchemaExtension(ctx, extensionId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteGraphSchemaNodeKind(ctx, schemaNodeKindId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteGraphSchemaProperty(ctx, propertyID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteGraphSchemaRelationshipKind(ctx, schemaRelationshipKindId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteIngestTask(ctx, ingestTask any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeletePrincipalKind(ctx, environmentId, principalKind any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteRemediation(ctx, findingId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteSSOProvider(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteSavedQuery(ctx, savedQueryID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteSavedQueryPermissionsForUsers(ctx, queryID any, userIDs ...any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteSchemaRelationshipFinding(ctx, findingId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteSelectorNodesByNodeId(ctx, selectorId, nodeId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteSelectorNodesBySelectorIds(ctx any, selectorId ...any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) DeleteUser(ctx, user any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) EndUserSession(ctx, userSession any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetADDataQualityAggregations(ctx, start, end, sort_by, limit, skip any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetADDataQualityStats(ctx, domainSid, start, end, sort_by, limit, skip any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAggregateADDataQualityStats(ctx, domainSIDs, start, end any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAggregatedSelectorNodesCertification(ctx, sqlFilter, skip, limit any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllAssetGroups(ctx, order, filter any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllAuthTokens(ctx, order, filter any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllConfigurationParameters(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllFlags(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllIngestJobs(ctx, skip, limit, order, filter any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllIngestTasks(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllPermissions(ctx, order, filter any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllRoles(ctx, order, filter any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllSAMLProviders(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllSSOProviders(ctx, order, sqlFilter any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllSavedQueriesByUser(ctx, userID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAllUsers(ctx, order, filter any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAnalysisRequest(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroup(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupCollections(ctx, assetGroupID, order, filter any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupHistoryRecords(ctx, sqlFilter, sortItems, skip, limit any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupSelector(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupSelectorNodeExpandedOrderedByIdAndPosition(ctx any, nodeIds ...any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupTag(ctx, assetGroupTagId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupTagForSelection(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupTagSelectorBySelectorId(ctx, assetGroupTagSelectorId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupTagSelectorCounts(ctx, tagIds any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupTagSelectors(ctx, sqlFilter, limit any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupTagSelectorsByTagId(ctx, assetGroupTagId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupTagSelectorsByTagIdFilteredAndPaginated(...) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAssetGroupTags(ctx, sqlFilter any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAuthSecret(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAuthToken(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAzureDataQualityAggregations(ctx, start, end, sort_by, limit, skip any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAzureDataQualityStats(ctx, tenantId, start, end, sort_by, limit, skip any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetCompletedTasks(ctx, ingestJobId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetConfigurationParameter(ctx, parameterKey any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetCustomAssetGroupTagSelectorsToMigrate(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetCustomNodeKind(ctx, kindName any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetCustomNodeKinds(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetDatapipeStatus(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetEnvironmentByEnvironmentKindId(ctx, environmentKindId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetEnvironmentById(ctx, environmentId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetEnvironmentTargetedAccessControlForUser(ctx, user any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetEnvironments(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetEnvironmentsByExtensionId(ctx, extensionId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetEnvironmentsFiltered(ctx, filters any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetFlag(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetFlagByKey(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetGraphSchemaExtensionById(ctx, extensionId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetGraphSchemaExtensions(ctx, extensionFilters, sort, skip, limit any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetGraphSchemaNodeKindById(ctx, schemaNodeKindID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetGraphSchemaNodeKinds(ctx, nodeKindFilters, sort, skip, limit any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetGraphSchemaProperties(ctx, filters, sort, skip, limit any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetGraphSchemaPropertyById(ctx, extensionPropertyId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetGraphSchemaRelationshipKindById(ctx, schemaRelationshipKindId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetGraphSchemaRelationshipKinds(ctx, filters, sort, skip, limit any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetGraphSchemaRelationshipKindsWithSchemaName(ctx, filters, sort, skip, limit any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetIngestJob(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetIngestJobsWithStatus(ctx, status any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetIngestTasksForJob(ctx, jobID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetInstallation(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetKindByName(ctx, name any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetKindsByIDs(ctx any, ids ...any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetLatestAssetGroupCollection(ctx, assetGroupID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetOrderedAssetGroupTagTiers(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetPermission(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetPrincipalKindsByEnvironmentId(ctx, environmentId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetPublicSavedQueries(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetRemediationByFindingId(ctx, findingId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetRemediationByFindingName(ctx, findingName any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetRole(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetRoles(ctx, ids any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSAMLProvider(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSAMLProviderUsers(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSSOProviderById(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSSOProviderBySlug(ctx, slug any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSSOProviderUsers(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSavedQueriesOwnedBy(ctx, userID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSavedQuery(ctx, savedQueryID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSavedQueryPermissions(ctx, queryID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSchemaRelationshipFindingById(ctx, findingId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSchemaRelationshipFindingByName(ctx, name any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetScopeForSavedQuery(ctx, queryID, userID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSelectorNodesBySelectorIds(ctx any, selectorIds ...any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSelectorNodesBySelectorIdsFilteredAndPaginated(ctx, sqlFilter, sort, skip, limit any, selectorIds ...any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSelectorsByMemberId(ctx, memberId, assetGroupTagId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSharedSavedQueries(ctx, userID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSourceKindByName(ctx, name any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSourceKinds(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetSourceKindsByIDs(ctx any, ids ...any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetTimeRangedAssetGroupCollections(ctx, assetGroupID, from, to, order any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetTraversableRelationshipKindsByExtensionID(ctx, extensionID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetUser(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetUserSession(ctx, id any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetUserToken(ctx, userId, tokenId any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) HasAnalysisRequest(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) HasCollectedGraphDataDeletionRequest(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) HasInstallation(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) InitializeSecretAuth(ctx, adminUser, authSecret any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) InsertSelectorNode(...) *gomock.Call
- func (mr *MockDatabaseMockRecorder) IsSavedQueryPublic(ctx, savedQueryID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) IsSavedQuerySharedToUser(ctx, queryID, userID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) IsSavedQuerySharedToUserOrPublic(ctx, queryID, userID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) ListAuditLogs(ctx, before, after, offset, limit, order, filter any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) ListSavedQueries(ctx, scope, userID, order, filter, skip, limit any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) LookupActiveSessionsByUser(ctx, user any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) LookupUser(ctx, principalName any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) Migrate(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) PopulateExtensionData(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) RegisterSourceKind(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) RequestAnalysis(ctx, requester any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) RequestCollectedGraphDataDeletion(ctx, request any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) SanitizeUpdateAssetGroupTagRequireCertify(tag any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) SavedQueryBelongsToUser(ctx, userID, savedQueryID any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) SetConfigurationParameter(ctx, configurationParameter any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) SetDatapipeStatus(ctx, status any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) SetFlag(ctx, value any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) SetUserSessionFlag(ctx, userSession, key, state any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) SweepAssetGroupCollections(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) SweepSessions(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) TerminateUserSessionsBySSOProvider(ctx, ssoProvider any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateAssetGroup(ctx, assetGroup any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateAssetGroupSelectors(ctx, assetGroup, selectorSpecs, systemSelector any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateAssetGroupTag(ctx, user, tag any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateAssetGroupTagSelector(ctx, actorId, email, selector any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateAuthSecret(ctx, authSecret any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateAuthToken(ctx, authToken any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateCertificationBySelectorNode(ctx, input any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateCustomNodeKind(ctx, customNodeKind any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateGraphSchemaExtension(ctx, extension any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateGraphSchemaNodeKind(ctx, schemaNodeKind any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateGraphSchemaProperty(ctx, property any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateGraphSchemaRelationshipKind(ctx, schemaRelationshipKind any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateIngestJob(ctx, job any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateLastAnalysisCompleteTime(ctx any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateOIDCProvider(ctx, ssoProvider any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateRemediation(ctx, findingId, shortDescription, longDescription, shortRemediation, ... any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateSAMLIdentityProvider(ctx, ssoProvider any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateSSOProvider(ctx, ssoProvider any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateSavedQuery(ctx, savedQuery any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateSelectorNodesByNodeId(...) *gomock.Call
- func (mr *MockDatabaseMockRecorder) UpdateUser(ctx, user any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) Wipe(ctx any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthContextInitializer ¶
type MockAuthContextInitializer struct {
// contains filtered or unexported fields
}
MockAuthContextInitializer is a mock of AuthContextInitializer interface.
func NewMockAuthContextInitializer ¶
func NewMockAuthContextInitializer(ctrl *gomock.Controller) *MockAuthContextInitializer
NewMockAuthContextInitializer creates a new mock instance.
func (*MockAuthContextInitializer) EXPECT ¶
func (m *MockAuthContextInitializer) EXPECT() *MockAuthContextInitializerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthContextInitializer) InitContextFromToken ¶
func (m *MockAuthContextInitializer) InitContextFromToken(ctx context.Context, authToken model.AuthToken) (auth.Context, error)
InitContextFromToken mocks base method.
type MockAuthContextInitializerMockRecorder ¶
type MockAuthContextInitializerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthContextInitializerMockRecorder is the mock recorder for MockAuthContextInitializer.
func (*MockAuthContextInitializerMockRecorder) InitContextFromToken ¶
func (mr *MockAuthContextInitializerMockRecorder) InitContextFromToken(ctx, authToken any) *gomock.Call
InitContextFromToken indicates an expected call of InitContextFromToken.
type MockDatabase ¶
type MockDatabase struct {
// contains filtered or unexported fields
}
MockDatabase is a mock of Database interface.
func NewMockDatabase ¶
func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase
NewMockDatabase creates a new mock instance.
func (*MockDatabase) AppendAuditLog ¶
func (m *MockDatabase) AppendAuditLog(ctx context.Context, entry model.AuditEntry) error
AppendAuditLog mocks base method.
func (*MockDatabase) CancelAllIngestJobs ¶
func (m *MockDatabase) CancelAllIngestJobs(ctx context.Context) error
CancelAllIngestJobs mocks base method.
func (*MockDatabase) Close ¶
func (m *MockDatabase) Close(ctx context.Context)
Close mocks base method.
func (*MockDatabase) CountAllIngestTasks ¶
func (m *MockDatabase) CountAllIngestTasks(ctx context.Context) (int64, error)
CountAllIngestTasks mocks base method.
func (*MockDatabase) CreateADDataQualityAggregation ¶
func (m *MockDatabase) CreateADDataQualityAggregation(ctx context.Context, aggregation model.ADDataQualityAggregation) (model.ADDataQualityAggregation, error)
CreateADDataQualityAggregation mocks base method.
func (*MockDatabase) CreateADDataQualityStats ¶
func (m *MockDatabase) CreateADDataQualityStats(ctx context.Context, stats model.ADDataQualityStats) (model.ADDataQualityStats, error)
CreateADDataQualityStats mocks base method.
func (*MockDatabase) CreateAssetGroup ¶
func (m *MockDatabase) CreateAssetGroup(ctx context.Context, name, tag string, systemGroup bool) (model.AssetGroup, error)
CreateAssetGroup mocks base method.
func (*MockDatabase) CreateAssetGroupCollection ¶
func (m *MockDatabase) CreateAssetGroupCollection(ctx context.Context, collection model.AssetGroupCollection, entries model.AssetGroupCollectionEntries) error
CreateAssetGroupCollection mocks base method.
func (*MockDatabase) CreateAssetGroupHistoryRecord ¶
func (m *MockDatabase) CreateAssetGroupHistoryRecord(ctx context.Context, actorId, email, target string, action model.AssetGroupHistoryAction, assetGroupTagId int, environmentId, note null.String) error
CreateAssetGroupHistoryRecord mocks base method.
func (*MockDatabase) CreateAssetGroupTag ¶
func (m *MockDatabase) CreateAssetGroupTag(ctx context.Context, tagType model.AssetGroupTagType, user model.User, name, description string, position null.Int32, requireCertify null.Bool, glyph null.String) (model.AssetGroupTag, error)
CreateAssetGroupTag mocks base method.
func (*MockDatabase) CreateAssetGroupTagSelector ¶
func (m *MockDatabase) CreateAssetGroupTagSelector(ctx context.Context, assetGroupTagId int, user model.User, name, description string, isDefault, allowDisable bool, autoCertify model.SelectorAutoCertifyMethod, seeds []model.SelectorSeed) (model.AssetGroupTagSelector, error)
CreateAssetGroupTagSelector mocks base method.
func (*MockDatabase) CreateAuditLog ¶
CreateAuditLog mocks base method.
func (*MockDatabase) CreateAuthSecret ¶
func (m *MockDatabase) CreateAuthSecret(ctx context.Context, authSecret model.AuthSecret) (model.AuthSecret, error)
CreateAuthSecret mocks base method.
func (*MockDatabase) CreateAuthToken ¶
func (m *MockDatabase) CreateAuthToken(ctx context.Context, authToken model.AuthToken) (model.AuthToken, error)
CreateAuthToken mocks base method.
func (*MockDatabase) CreateAzureDataQualityAggregation ¶
func (m *MockDatabase) CreateAzureDataQualityAggregation(ctx context.Context, aggregation model.AzureDataQualityAggregation) (model.AzureDataQualityAggregation, error)
CreateAzureDataQualityAggregation mocks base method.
func (*MockDatabase) CreateAzureDataQualityStats ¶
func (m *MockDatabase) CreateAzureDataQualityStats(ctx context.Context, stats model.AzureDataQualityStats) (model.AzureDataQualityStats, error)
CreateAzureDataQualityStats mocks base method.
func (*MockDatabase) CreateCompletedTask ¶
func (m *MockDatabase) CreateCompletedTask(ctx context.Context, task model.CompletedTask) (model.CompletedTask, error)
CreateCompletedTask mocks base method.
func (*MockDatabase) CreateCompositionInfo ¶
func (m *MockDatabase) CreateCompositionInfo(ctx context.Context, nodes model.EdgeCompositionNodes, edges model.EdgeCompositionEdges) (model.EdgeCompositionNodes, model.EdgeCompositionEdges, error)
CreateCompositionInfo mocks base method.
func (*MockDatabase) CreateCustomNodeKinds ¶
func (m *MockDatabase) CreateCustomNodeKinds(ctx context.Context, customNodeKind model.CustomNodeKinds) (model.CustomNodeKinds, error)
CreateCustomNodeKinds mocks base method.
func (*MockDatabase) CreateEnvironment ¶
func (m *MockDatabase) CreateEnvironment(ctx context.Context, extensionId, environmentKindId, sourceKindId int32) (model.SchemaEnvironment, error)
CreateEnvironment mocks base method.
func (*MockDatabase) CreateGraphSchemaExtension ¶
func (m *MockDatabase) CreateGraphSchemaExtension(ctx context.Context, name, displayName, version, namespace string) (model.GraphSchemaExtension, error)
CreateGraphSchemaExtension mocks base method.
func (*MockDatabase) CreateGraphSchemaNodeKind ¶
func (m *MockDatabase) CreateGraphSchemaNodeKind(ctx context.Context, name string, extensionId int32, displayName, description string, isDisplayKind bool, icon, iconColor string) (model.GraphSchemaNodeKind, error)
CreateGraphSchemaNodeKind mocks base method.
func (*MockDatabase) CreateGraphSchemaProperty ¶
func (m *MockDatabase) CreateGraphSchemaProperty(ctx context.Context, extensionId int32, name, displayName, dataType, description string) (model.GraphSchemaProperty, error)
CreateGraphSchemaProperty mocks base method.
func (*MockDatabase) CreateGraphSchemaRelationshipKind ¶
func (m *MockDatabase) CreateGraphSchemaRelationshipKind(ctx context.Context, name string, schemaExtensionId int32, description string, isTraversable bool) (model.GraphSchemaRelationshipKind, error)
CreateGraphSchemaRelationshipKind mocks base method.
func (*MockDatabase) CreateIngestJob ¶
func (m *MockDatabase) CreateIngestJob(ctx context.Context, job model.IngestJob) (model.IngestJob, error)
CreateIngestJob mocks base method.
func (*MockDatabase) CreateIngestTask ¶
func (m *MockDatabase) CreateIngestTask(ctx context.Context, task model.IngestTask) (model.IngestTask, error)
CreateIngestTask mocks base method.
func (*MockDatabase) CreateInstallation ¶
func (m *MockDatabase) CreateInstallation(ctx context.Context) (model.Installation, error)
CreateInstallation mocks base method.
func (*MockDatabase) CreateOIDCProvider ¶
func (m *MockDatabase) CreateOIDCProvider(ctx context.Context, name, issuer, clientID string, config model.SSOProviderConfig) (model.OIDCProvider, error)
CreateOIDCProvider mocks base method.
func (*MockDatabase) CreatePrincipalKind ¶
func (m *MockDatabase) CreatePrincipalKind(ctx context.Context, environmentId, principalKind int32) (model.SchemaEnvironmentPrincipalKind, error)
CreatePrincipalKind mocks base method.
func (*MockDatabase) CreateRemediation ¶
func (m *MockDatabase) CreateRemediation(ctx context.Context, findingId int32, shortDescription, longDescription, shortRemediation, longRemediation string) (model.Remediation, error)
CreateRemediation mocks base method.
func (*MockDatabase) CreateSAMLIdentityProvider ¶
func (m *MockDatabase) CreateSAMLIdentityProvider(ctx context.Context, samlProvider model.SAMLProvider, config model.SSOProviderConfig) (model.SAMLProvider, error)
CreateSAMLIdentityProvider mocks base method.
func (*MockDatabase) CreateSSOProvider ¶
func (m *MockDatabase) CreateSSOProvider(ctx context.Context, name string, authProvider model.SessionAuthProvider, config model.SSOProviderConfig) (model.SSOProvider, error)
CreateSSOProvider mocks base method.
func (*MockDatabase) CreateSavedQueries ¶
func (m *MockDatabase) CreateSavedQueries(ctx context.Context, savedQueries model.SavedQueries) error
CreateSavedQueries mocks base method.
func (*MockDatabase) CreateSavedQuery ¶
func (m *MockDatabase) CreateSavedQuery(ctx context.Context, userID uuid.UUID, name, query, description string) (model.SavedQuery, error)
CreateSavedQuery mocks base method.
func (*MockDatabase) CreateSavedQueryPermissionToPublic ¶
func (m *MockDatabase) CreateSavedQueryPermissionToPublic(ctx context.Context, queryID int64) (model.SavedQueriesPermissions, error)
CreateSavedQueryPermissionToPublic mocks base method.
func (*MockDatabase) CreateSavedQueryPermissionsToUsers ¶
func (m *MockDatabase) CreateSavedQueryPermissionsToUsers(ctx context.Context, queryID int64, userIDs ...uuid.UUID) ([]model.SavedQueriesPermissions, error)
CreateSavedQueryPermissionsToUsers mocks base method.
func (*MockDatabase) CreateSchemaRelationshipFinding ¶
func (m *MockDatabase) CreateSchemaRelationshipFinding(ctx context.Context, extensionId, relationshipKindId, environmentId int32, name, displayName string) (model.SchemaRelationshipFinding, error)
CreateSchemaRelationshipFinding mocks base method.
func (*MockDatabase) CreateUser ¶
CreateUser mocks base method.
func (*MockDatabase) CreateUserSession ¶
func (m *MockDatabase) CreateUserSession(ctx context.Context, userSession model.UserSession) (model.UserSession, error)
CreateUserSession mocks base method.
func (*MockDatabase) DeactivateSourceKindsByName ¶
DeactivateSourceKindsByName mocks base method.
func (*MockDatabase) DeleteAllAuthTokens ¶
func (m *MockDatabase) DeleteAllAuthTokens(ctx context.Context) error
DeleteAllAuthTokens mocks base method.
func (*MockDatabase) DeleteAllDataQuality ¶
func (m *MockDatabase) DeleteAllDataQuality(ctx context.Context) error
DeleteAllDataQuality mocks base method.
func (*MockDatabase) DeleteAllIngestJobs ¶
func (m *MockDatabase) DeleteAllIngestJobs(ctx context.Context) error
DeleteAllIngestJobs mocks base method.
func (*MockDatabase) DeleteAllIngestTasks ¶
func (m *MockDatabase) DeleteAllIngestTasks(ctx context.Context) error
DeleteAllIngestTasks mocks base method.
func (*MockDatabase) DeleteAnalysisRequest ¶
func (m *MockDatabase) DeleteAnalysisRequest(ctx context.Context) error
DeleteAnalysisRequest mocks base method.
func (*MockDatabase) DeleteAssetGroup ¶
func (m *MockDatabase) DeleteAssetGroup(ctx context.Context, assetGroup model.AssetGroup) error
DeleteAssetGroup mocks base method.
func (*MockDatabase) DeleteAssetGroupHistoryRecordsByCreatedDate ¶
func (m *MockDatabase) DeleteAssetGroupHistoryRecordsByCreatedDate(ctx context.Context, createdAt time.Time) (int64, error)
DeleteAssetGroupHistoryRecordsByCreatedDate mocks base method.
func (*MockDatabase) DeleteAssetGroupSelector ¶
func (m *MockDatabase) DeleteAssetGroupSelector(ctx context.Context, selector model.AssetGroupSelector) error
DeleteAssetGroupSelector mocks base method.
func (*MockDatabase) DeleteAssetGroupSelectorsForAssetGroups ¶
func (m *MockDatabase) DeleteAssetGroupSelectorsForAssetGroups(ctx context.Context, assetGroupIds []int) error
DeleteAssetGroupSelectorsForAssetGroups mocks base method.
func (*MockDatabase) DeleteAssetGroupTag ¶
func (m *MockDatabase) DeleteAssetGroupTag(ctx context.Context, user model.User, assetGroupTag model.AssetGroupTag) error
DeleteAssetGroupTag mocks base method.
func (*MockDatabase) DeleteAssetGroupTagSelector ¶
func (m *MockDatabase) DeleteAssetGroupTagSelector(ctx context.Context, user model.User, selector model.AssetGroupTagSelector) error
DeleteAssetGroupTagSelector mocks base method.
func (*MockDatabase) DeleteAuthSecret ¶
func (m *MockDatabase) DeleteAuthSecret(ctx context.Context, authSecret model.AuthSecret) error
DeleteAuthSecret mocks base method.
func (*MockDatabase) DeleteAuthToken ¶
DeleteAuthToken mocks base method.
func (*MockDatabase) DeleteCustomNodeKind ¶
func (m *MockDatabase) DeleteCustomNodeKind(ctx context.Context, kindName string) error
DeleteCustomNodeKind mocks base method.
func (*MockDatabase) DeleteEnvironment ¶
func (m *MockDatabase) DeleteEnvironment(ctx context.Context, environmentId int32) error
DeleteEnvironment mocks base method.
func (*MockDatabase) DeleteEnvironmentTargetedAccessControlForUser ¶
func (m *MockDatabase) DeleteEnvironmentTargetedAccessControlForUser(ctx context.Context, user model.User) error
DeleteEnvironmentTargetedAccessControlForUser mocks base method.
func (*MockDatabase) DeleteGraphSchemaExtension ¶
func (m *MockDatabase) DeleteGraphSchemaExtension(ctx context.Context, extensionId int32) error
DeleteGraphSchemaExtension mocks base method.
func (*MockDatabase) DeleteGraphSchemaNodeKind ¶
func (m *MockDatabase) DeleteGraphSchemaNodeKind(ctx context.Context, schemaNodeKindId int32) error
DeleteGraphSchemaNodeKind mocks base method.
func (*MockDatabase) DeleteGraphSchemaProperty ¶
func (m *MockDatabase) DeleteGraphSchemaProperty(ctx context.Context, propertyID int32) error
DeleteGraphSchemaProperty mocks base method.
func (*MockDatabase) DeleteGraphSchemaRelationshipKind ¶
func (m *MockDatabase) DeleteGraphSchemaRelationshipKind(ctx context.Context, schemaRelationshipKindId int32) error
DeleteGraphSchemaRelationshipKind mocks base method.
func (*MockDatabase) DeleteIngestTask ¶
func (m *MockDatabase) DeleteIngestTask(ctx context.Context, ingestTask model.IngestTask) error
DeleteIngestTask mocks base method.
func (*MockDatabase) DeletePrincipalKind ¶
func (m *MockDatabase) DeletePrincipalKind(ctx context.Context, environmentId, principalKind int32) error
DeletePrincipalKind mocks base method.
func (*MockDatabase) DeleteRemediation ¶
func (m *MockDatabase) DeleteRemediation(ctx context.Context, findingId int32) error
DeleteRemediation mocks base method.
func (*MockDatabase) DeleteSSOProvider ¶
func (m *MockDatabase) DeleteSSOProvider(ctx context.Context, id int) error
DeleteSSOProvider mocks base method.
func (*MockDatabase) DeleteSavedQuery ¶
func (m *MockDatabase) DeleteSavedQuery(ctx context.Context, savedQueryID int64) error
DeleteSavedQuery mocks base method.
func (*MockDatabase) DeleteSavedQueryPermissionsForUsers ¶
func (m *MockDatabase) DeleteSavedQueryPermissionsForUsers(ctx context.Context, queryID int64, userIDs ...uuid.UUID) error
DeleteSavedQueryPermissionsForUsers mocks base method.
func (*MockDatabase) DeleteSchemaRelationshipFinding ¶
func (m *MockDatabase) DeleteSchemaRelationshipFinding(ctx context.Context, findingId int32) error
DeleteSchemaRelationshipFinding mocks base method.
func (*MockDatabase) DeleteSelectorNodesByNodeId ¶
func (m *MockDatabase) DeleteSelectorNodesByNodeId(ctx context.Context, selectorId int, nodeId graph.ID) error
DeleteSelectorNodesByNodeId mocks base method.
func (*MockDatabase) DeleteSelectorNodesBySelectorIds ¶
func (m *MockDatabase) DeleteSelectorNodesBySelectorIds(ctx context.Context, selectorId ...int) error
DeleteSelectorNodesBySelectorIds mocks base method.
func (*MockDatabase) DeleteUser ¶
DeleteUser mocks base method.
func (*MockDatabase) EXPECT ¶
func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDatabase) EndUserSession ¶
func (m *MockDatabase) EndUserSession(ctx context.Context, userSession model.UserSession)
EndUserSession mocks base method.
func (*MockDatabase) GetADDataQualityAggregations ¶
func (m *MockDatabase) GetADDataQualityAggregations(ctx context.Context, start, end time.Time, sort_by string, limit, skip int) (model.ADDataQualityAggregations, int, error)
GetADDataQualityAggregations mocks base method.
func (*MockDatabase) GetADDataQualityStats ¶
func (m *MockDatabase) GetADDataQualityStats(ctx context.Context, domainSid string, start, end time.Time, sort_by string, limit, skip int) (model.ADDataQualityStats, int, error)
GetADDataQualityStats mocks base method.
func (*MockDatabase) GetAggregateADDataQualityStats ¶
func (m *MockDatabase) GetAggregateADDataQualityStats(ctx context.Context, domainSIDs []string, start, end time.Time) (model.ADDataQualityStats, error)
GetAggregateADDataQualityStats mocks base method.
func (*MockDatabase) GetAggregatedSelectorNodesCertification ¶
func (m *MockDatabase) GetAggregatedSelectorNodesCertification(ctx context.Context, sqlFilter model.SQLFilter, skip, limit int) ([]model.AssetGroupSelectorNodeExpanded, int, error)
GetAggregatedSelectorNodesCertification mocks base method.
func (*MockDatabase) GetAllAssetGroups ¶
func (m *MockDatabase) GetAllAssetGroups(ctx context.Context, order string, filter model.SQLFilter) (model.AssetGroups, error)
GetAllAssetGroups mocks base method.
func (*MockDatabase) GetAllAuthTokens ¶
func (m *MockDatabase) GetAllAuthTokens(ctx context.Context, order string, filter model.SQLFilter) (model.AuthTokens, error)
GetAllAuthTokens mocks base method.
func (*MockDatabase) GetAllConfigurationParameters ¶
func (m *MockDatabase) GetAllConfigurationParameters(ctx context.Context) (appcfg.Parameters, error)
GetAllConfigurationParameters mocks base method.
func (*MockDatabase) GetAllFlags ¶
func (m *MockDatabase) GetAllFlags(ctx context.Context) ([]appcfg.FeatureFlag, error)
GetAllFlags mocks base method.
func (*MockDatabase) GetAllIngestJobs ¶
func (m *MockDatabase) GetAllIngestJobs(ctx context.Context, skip, limit int, order string, filter model.SQLFilter) ([]model.IngestJob, int, error)
GetAllIngestJobs mocks base method.
func (*MockDatabase) GetAllIngestTasks ¶
func (m *MockDatabase) GetAllIngestTasks(ctx context.Context) (model.IngestTasks, error)
GetAllIngestTasks mocks base method.
func (*MockDatabase) GetAllPermissions ¶
func (m *MockDatabase) GetAllPermissions(ctx context.Context, order string, filter model.SQLFilter) (model.Permissions, error)
GetAllPermissions mocks base method.
func (*MockDatabase) GetAllRoles ¶
func (m *MockDatabase) GetAllRoles(ctx context.Context, order string, filter model.SQLFilter) (model.Roles, error)
GetAllRoles mocks base method.
func (*MockDatabase) GetAllSAMLProviders ¶
func (m *MockDatabase) GetAllSAMLProviders(ctx context.Context) (model.SAMLProviders, error)
GetAllSAMLProviders mocks base method.
func (*MockDatabase) GetAllSSOProviders ¶
func (m *MockDatabase) GetAllSSOProviders(ctx context.Context, order string, sqlFilter model.SQLFilter) ([]model.SSOProvider, error)
GetAllSSOProviders mocks base method.
func (*MockDatabase) GetAllSavedQueriesByUser ¶
func (m *MockDatabase) GetAllSavedQueriesByUser(ctx context.Context, userID uuid.UUID) (model.SavedQueries, error)
GetAllSavedQueriesByUser mocks base method.
func (*MockDatabase) GetAllUsers ¶
func (m *MockDatabase) GetAllUsers(ctx context.Context, order string, filter model.SQLFilter) (model.Users, error)
GetAllUsers mocks base method.
func (*MockDatabase) GetAnalysisRequest ¶
func (m *MockDatabase) GetAnalysisRequest(ctx context.Context) (model.AnalysisRequest, error)
GetAnalysisRequest mocks base method.
func (*MockDatabase) GetAssetGroup ¶
func (m *MockDatabase) GetAssetGroup(ctx context.Context, id int32) (model.AssetGroup, error)
GetAssetGroup mocks base method.
func (*MockDatabase) GetAssetGroupCollections ¶
func (m *MockDatabase) GetAssetGroupCollections(ctx context.Context, assetGroupID int32, order string, filter model.SQLFilter) (model.AssetGroupCollections, error)
GetAssetGroupCollections mocks base method.
func (*MockDatabase) GetAssetGroupHistoryRecords ¶
func (m *MockDatabase) GetAssetGroupHistoryRecords(ctx context.Context, sqlFilter model.SQLFilter, sortItems model.Sort, skip, limit int) ([]model.AssetGroupHistory, int, error)
GetAssetGroupHistoryRecords mocks base method.
func (*MockDatabase) GetAssetGroupSelector ¶
func (m *MockDatabase) GetAssetGroupSelector(ctx context.Context, id int32) (model.AssetGroupSelector, error)
GetAssetGroupSelector mocks base method.
func (*MockDatabase) GetAssetGroupSelectorNodeExpandedOrderedByIdAndPosition ¶
func (m *MockDatabase) GetAssetGroupSelectorNodeExpandedOrderedByIdAndPosition(ctx context.Context, nodeIds ...int) ([]model.AssetGroupSelectorNodeExpanded, error)
GetAssetGroupSelectorNodeExpandedOrderedByIdAndPosition mocks base method.
func (*MockDatabase) GetAssetGroupTag ¶
func (m *MockDatabase) GetAssetGroupTag(ctx context.Context, assetGroupTagId int) (model.AssetGroupTag, error)
GetAssetGroupTag mocks base method.
func (*MockDatabase) GetAssetGroupTagForSelection ¶
func (m *MockDatabase) GetAssetGroupTagForSelection(ctx context.Context) ([]model.AssetGroupTag, error)
GetAssetGroupTagForSelection mocks base method.
func (*MockDatabase) GetAssetGroupTagSelectorBySelectorId ¶
func (m *MockDatabase) GetAssetGroupTagSelectorBySelectorId(ctx context.Context, assetGroupTagSelectorId int) (model.AssetGroupTagSelector, error)
GetAssetGroupTagSelectorBySelectorId mocks base method.
func (*MockDatabase) GetAssetGroupTagSelectorCounts ¶
func (m *MockDatabase) GetAssetGroupTagSelectorCounts(ctx context.Context, tagIds []int) (model.AssetGroupTagCountsMap, error)
GetAssetGroupTagSelectorCounts mocks base method.
func (*MockDatabase) GetAssetGroupTagSelectors ¶
func (m *MockDatabase) GetAssetGroupTagSelectors(ctx context.Context, sqlFilter model.SQLFilter, limit int) (model.AssetGroupTagSelectors, error)
GetAssetGroupTagSelectors mocks base method.
func (*MockDatabase) GetAssetGroupTagSelectorsByTagId ¶
func (m *MockDatabase) GetAssetGroupTagSelectorsByTagId(ctx context.Context, assetGroupTagId int) (model.AssetGroupTagSelectors, int, error)
GetAssetGroupTagSelectorsByTagId mocks base method.
func (*MockDatabase) GetAssetGroupTagSelectorsByTagIdFilteredAndPaginated ¶
func (m *MockDatabase) GetAssetGroupTagSelectorsByTagIdFilteredAndPaginated(ctx context.Context, assetGroupTagId int, selectorSqlFilter, selectorSeedSqlFilter model.SQLFilter, sort model.Sort, skip, limit int) (model.AssetGroupTagSelectors, int, error)
GetAssetGroupTagSelectorsByTagIdFilteredAndPaginated mocks base method.
func (*MockDatabase) GetAssetGroupTags ¶
func (m *MockDatabase) GetAssetGroupTags(ctx context.Context, sqlFilter model.SQLFilter) (model.AssetGroupTags, error)
GetAssetGroupTags mocks base method.
func (*MockDatabase) GetAuthSecret ¶
func (m *MockDatabase) GetAuthSecret(ctx context.Context, id int32) (model.AuthSecret, error)
GetAuthSecret mocks base method.
func (*MockDatabase) GetAuthToken ¶
GetAuthToken mocks base method.
func (*MockDatabase) GetAzureDataQualityAggregations ¶
func (m *MockDatabase) GetAzureDataQualityAggregations(ctx context.Context, start, end time.Time, sort_by string, limit, skip int) (model.AzureDataQualityAggregations, int, error)
GetAzureDataQualityAggregations mocks base method.
func (*MockDatabase) GetAzureDataQualityStats ¶
func (m *MockDatabase) GetAzureDataQualityStats(ctx context.Context, tenantId string, start, end time.Time, sort_by string, limit, skip int) (model.AzureDataQualityStats, int, error)
GetAzureDataQualityStats mocks base method.
func (*MockDatabase) GetCompletedTasks ¶
func (m *MockDatabase) GetCompletedTasks(ctx context.Context, ingestJobId int64) ([]model.CompletedTask, error)
GetCompletedTasks mocks base method.
func (*MockDatabase) GetConfigurationParameter ¶
func (m *MockDatabase) GetConfigurationParameter(ctx context.Context, parameterKey appcfg.ParameterKey) (appcfg.Parameter, error)
GetConfigurationParameter mocks base method.
func (*MockDatabase) GetCustomAssetGroupTagSelectorsToMigrate ¶
func (m *MockDatabase) GetCustomAssetGroupTagSelectorsToMigrate(ctx context.Context) (model.AssetGroupTagSelectors, error)
GetCustomAssetGroupTagSelectorsToMigrate mocks base method.
func (*MockDatabase) GetCustomNodeKind ¶
func (m *MockDatabase) GetCustomNodeKind(ctx context.Context, kindName string) (model.CustomNodeKind, error)
GetCustomNodeKind mocks base method.
func (*MockDatabase) GetCustomNodeKinds ¶
func (m *MockDatabase) GetCustomNodeKinds(ctx context.Context) ([]model.CustomNodeKind, error)
GetCustomNodeKinds mocks base method.
func (*MockDatabase) GetDatapipeStatus ¶
func (m *MockDatabase) GetDatapipeStatus(ctx context.Context) (model.DatapipeStatusWrapper, error)
GetDatapipeStatus mocks base method.
func (*MockDatabase) GetEnvironmentByEnvironmentKindId ¶
func (m *MockDatabase) GetEnvironmentByEnvironmentKindId(ctx context.Context, environmentKindId int32) (model.SchemaEnvironment, error)
GetEnvironmentByEnvironmentKindId mocks base method.
func (*MockDatabase) GetEnvironmentById ¶
func (m *MockDatabase) GetEnvironmentById(ctx context.Context, environmentId int32) (model.SchemaEnvironment, error)
GetEnvironmentById mocks base method.
func (*MockDatabase) GetEnvironmentTargetedAccessControlForUser ¶
func (m *MockDatabase) GetEnvironmentTargetedAccessControlForUser(ctx context.Context, user model.User) ([]model.EnvironmentTargetedAccessControl, error)
GetEnvironmentTargetedAccessControlForUser mocks base method.
func (*MockDatabase) GetEnvironments ¶
func (m *MockDatabase) GetEnvironments(ctx context.Context) ([]model.SchemaEnvironment, error)
GetEnvironments mocks base method.
func (*MockDatabase) GetEnvironmentsByExtensionId ¶
func (m *MockDatabase) GetEnvironmentsByExtensionId(ctx context.Context, extensionId int32) ([]model.SchemaEnvironment, error)
GetEnvironmentsByExtensionId mocks base method.
func (*MockDatabase) GetEnvironmentsFiltered ¶
func (m *MockDatabase) GetEnvironmentsFiltered(ctx context.Context, filters model.Filters) ([]model.SchemaEnvironment, error)
GetEnvironmentsFiltered mocks base method.
func (*MockDatabase) GetFlag ¶
func (m *MockDatabase) GetFlag(ctx context.Context, id int32) (appcfg.FeatureFlag, error)
GetFlag mocks base method.
func (*MockDatabase) GetFlagByKey ¶
func (m *MockDatabase) GetFlagByKey(arg0 context.Context, arg1 string) (appcfg.FeatureFlag, error)
GetFlagByKey mocks base method.
func (*MockDatabase) GetGraphSchemaExtensionById ¶
func (m *MockDatabase) GetGraphSchemaExtensionById(ctx context.Context, extensionId int32) (model.GraphSchemaExtension, error)
GetGraphSchemaExtensionById mocks base method.
func (*MockDatabase) GetGraphSchemaExtensions ¶
func (m *MockDatabase) GetGraphSchemaExtensions(ctx context.Context, extensionFilters model.Filters, sort model.Sort, skip, limit int) (model.GraphSchemaExtensions, int, error)
GetGraphSchemaExtensions mocks base method.
func (*MockDatabase) GetGraphSchemaNodeKindById ¶
func (m *MockDatabase) GetGraphSchemaNodeKindById(ctx context.Context, schemaNodeKindID int32) (model.GraphSchemaNodeKind, error)
GetGraphSchemaNodeKindById mocks base method.
func (*MockDatabase) GetGraphSchemaNodeKinds ¶
func (m *MockDatabase) GetGraphSchemaNodeKinds(ctx context.Context, nodeKindFilters model.Filters, sort model.Sort, skip, limit int) (model.GraphSchemaNodeKinds, int, error)
GetGraphSchemaNodeKinds mocks base method.
func (*MockDatabase) GetGraphSchemaProperties ¶
func (m *MockDatabase) GetGraphSchemaProperties(ctx context.Context, filters model.Filters, sort model.Sort, skip, limit int) (model.GraphSchemaProperties, int, error)
GetGraphSchemaProperties mocks base method.
func (*MockDatabase) GetGraphSchemaPropertyById ¶
func (m *MockDatabase) GetGraphSchemaPropertyById(ctx context.Context, extensionPropertyId int32) (model.GraphSchemaProperty, error)
GetGraphSchemaPropertyById mocks base method.
func (*MockDatabase) GetGraphSchemaRelationshipKindById ¶
func (m *MockDatabase) GetGraphSchemaRelationshipKindById(ctx context.Context, schemaRelationshipKindId int32) (model.GraphSchemaRelationshipKind, error)
GetGraphSchemaRelationshipKindById mocks base method.
func (*MockDatabase) GetGraphSchemaRelationshipKinds ¶
func (m *MockDatabase) GetGraphSchemaRelationshipKinds(ctx context.Context, filters model.Filters, sort model.Sort, skip, limit int) (model.GraphSchemaRelationshipKinds, int, error)
GetGraphSchemaRelationshipKinds mocks base method.
func (*MockDatabase) GetGraphSchemaRelationshipKindsWithSchemaName ¶
func (m *MockDatabase) GetGraphSchemaRelationshipKindsWithSchemaName(ctx context.Context, filters model.Filters, sort model.Sort, skip, limit int) (model.GraphSchemaRelationshipKindsWithNamedSchema, int, error)
GetGraphSchemaRelationshipKindsWithSchemaName mocks base method.
func (*MockDatabase) GetIngestJob ¶
GetIngestJob mocks base method.
func (*MockDatabase) GetIngestJobsWithStatus ¶
func (m *MockDatabase) GetIngestJobsWithStatus(ctx context.Context, status model.JobStatus) ([]model.IngestJob, error)
GetIngestJobsWithStatus mocks base method.
func (*MockDatabase) GetIngestTasksForJob ¶
func (m *MockDatabase) GetIngestTasksForJob(ctx context.Context, jobID int64) (model.IngestTasks, error)
GetIngestTasksForJob mocks base method.
func (*MockDatabase) GetInstallation ¶
func (m *MockDatabase) GetInstallation(ctx context.Context) (model.Installation, error)
GetInstallation mocks base method.
func (*MockDatabase) GetKindByName ¶
GetKindByName mocks base method.
func (*MockDatabase) GetKindsByIDs ¶
GetKindsByIDs mocks base method.
func (*MockDatabase) GetLatestAssetGroupCollection ¶
func (m *MockDatabase) GetLatestAssetGroupCollection(ctx context.Context, assetGroupID int32) (model.AssetGroupCollection, error)
GetLatestAssetGroupCollection mocks base method.
func (*MockDatabase) GetOrderedAssetGroupTagTiers ¶
func (m *MockDatabase) GetOrderedAssetGroupTagTiers(ctx context.Context) ([]model.AssetGroupTag, error)
GetOrderedAssetGroupTagTiers mocks base method.
func (*MockDatabase) GetPermission ¶
func (m *MockDatabase) GetPermission(ctx context.Context, id int) (model.Permission, error)
GetPermission mocks base method.
func (*MockDatabase) GetPrincipalKindsByEnvironmentId ¶
func (m *MockDatabase) GetPrincipalKindsByEnvironmentId(ctx context.Context, environmentId int32) (model.SchemaEnvironmentPrincipalKinds, error)
GetPrincipalKindsByEnvironmentId mocks base method.
func (*MockDatabase) GetPublicSavedQueries ¶
func (m *MockDatabase) GetPublicSavedQueries(ctx context.Context) (model.SavedQueries, error)
GetPublicSavedQueries mocks base method.
func (*MockDatabase) GetRemediationByFindingId ¶
func (m *MockDatabase) GetRemediationByFindingId(ctx context.Context, findingId int32) (model.Remediation, error)
GetRemediationByFindingId mocks base method.
func (*MockDatabase) GetRemediationByFindingName ¶
func (m *MockDatabase) GetRemediationByFindingName(ctx context.Context, findingName string) (model.Remediation, error)
GetRemediationByFindingName mocks base method.
func (*MockDatabase) GetSAMLProvider ¶
func (m *MockDatabase) GetSAMLProvider(ctx context.Context, id int32) (model.SAMLProvider, error)
GetSAMLProvider mocks base method.
func (*MockDatabase) GetSAMLProviderUsers ¶
GetSAMLProviderUsers mocks base method.
func (*MockDatabase) GetSSOProviderById ¶
func (m *MockDatabase) GetSSOProviderById(ctx context.Context, id int32) (model.SSOProvider, error)
GetSSOProviderById mocks base method.
func (*MockDatabase) GetSSOProviderBySlug ¶
func (m *MockDatabase) GetSSOProviderBySlug(ctx context.Context, slug string) (model.SSOProvider, error)
GetSSOProviderBySlug mocks base method.
func (*MockDatabase) GetSSOProviderUsers ¶
GetSSOProviderUsers mocks base method.
func (*MockDatabase) GetSavedQueriesOwnedBy ¶
func (m *MockDatabase) GetSavedQueriesOwnedBy(ctx context.Context, userID uuid.UUID) (model.SavedQueries, error)
GetSavedQueriesOwnedBy mocks base method.
func (*MockDatabase) GetSavedQuery ¶
func (m *MockDatabase) GetSavedQuery(ctx context.Context, savedQueryID int64) (model.SavedQuery, error)
GetSavedQuery mocks base method.
func (*MockDatabase) GetSavedQueryPermissions ¶
func (m *MockDatabase) GetSavedQueryPermissions(ctx context.Context, queryID int64) ([]model.SavedQueriesPermissions, error)
GetSavedQueryPermissions mocks base method.
func (*MockDatabase) GetSchemaRelationshipFindingById ¶
func (m *MockDatabase) GetSchemaRelationshipFindingById(ctx context.Context, findingId int32) (model.SchemaRelationshipFinding, error)
GetSchemaRelationshipFindingById mocks base method.
func (*MockDatabase) GetSchemaRelationshipFindingByName ¶
func (m *MockDatabase) GetSchemaRelationshipFindingByName(ctx context.Context, name string) (model.SchemaRelationshipFinding, error)
GetSchemaRelationshipFindingByName mocks base method.
func (*MockDatabase) GetScopeForSavedQuery ¶
func (m *MockDatabase) GetScopeForSavedQuery(ctx context.Context, queryID int64, userID uuid.UUID) (database.SavedQueryScopeMap, error)
GetScopeForSavedQuery mocks base method.
func (*MockDatabase) GetSelectorNodesBySelectorIds ¶
func (m *MockDatabase) GetSelectorNodesBySelectorIds(ctx context.Context, selectorIds ...int) ([]model.AssetGroupSelectorNode, error)
GetSelectorNodesBySelectorIds mocks base method.
func (*MockDatabase) GetSelectorNodesBySelectorIdsFilteredAndPaginated ¶
func (m *MockDatabase) GetSelectorNodesBySelectorIdsFilteredAndPaginated(ctx context.Context, sqlFilter model.SQLFilter, sort model.Sort, skip, limit int, selectorIds ...int) ([]model.AssetGroupSelectorNode, int, error)
GetSelectorNodesBySelectorIdsFilteredAndPaginated mocks base method.
func (*MockDatabase) GetSelectorsByMemberId ¶
func (m *MockDatabase) GetSelectorsByMemberId(ctx context.Context, memberId, assetGroupTagId int) (model.AssetGroupTagSelectors, error)
GetSelectorsByMemberId mocks base method.
func (*MockDatabase) GetSharedSavedQueries ¶
func (m *MockDatabase) GetSharedSavedQueries(ctx context.Context, userID uuid.UUID) (model.SavedQueries, error)
GetSharedSavedQueries mocks base method.
func (*MockDatabase) GetSourceKindByName ¶
func (m *MockDatabase) GetSourceKindByName(ctx context.Context, name string) (database.SourceKind, error)
GetSourceKindByName mocks base method.
func (*MockDatabase) GetSourceKinds ¶
func (m *MockDatabase) GetSourceKinds(ctx context.Context) ([]database.SourceKind, error)
GetSourceKinds mocks base method.
func (*MockDatabase) GetSourceKindsByIDs ¶
func (m *MockDatabase) GetSourceKindsByIDs(ctx context.Context, ids ...int32) ([]database.SourceKind, error)
GetSourceKindsByIDs mocks base method.
func (*MockDatabase) GetTimeRangedAssetGroupCollections ¶
func (m *MockDatabase) GetTimeRangedAssetGroupCollections(ctx context.Context, assetGroupID int32, from, to int64, order string) (model.AssetGroupCollections, error)
GetTimeRangedAssetGroupCollections mocks base method.
func (*MockDatabase) GetTraversableRelationshipKindsByExtensionID ¶
func (m *MockDatabase) GetTraversableRelationshipKindsByExtensionID(ctx context.Context, extensionID int32) (model.GraphSchemaRelationshipKinds, error)
GetTraversableRelationshipKindsByExtensionID mocks base method.
func (*MockDatabase) GetUserSession ¶
func (m *MockDatabase) GetUserSession(ctx context.Context, id int64) (model.UserSession, error)
GetUserSession mocks base method.
func (*MockDatabase) GetUserToken ¶
func (m *MockDatabase) GetUserToken(ctx context.Context, userId, tokenId uuid.UUID) (model.AuthToken, error)
GetUserToken mocks base method.
func (*MockDatabase) HasAnalysisRequest ¶
func (m *MockDatabase) HasAnalysisRequest(ctx context.Context) bool
HasAnalysisRequest mocks base method.
func (*MockDatabase) HasCollectedGraphDataDeletionRequest ¶
func (m *MockDatabase) HasCollectedGraphDataDeletionRequest(ctx context.Context) (model.AnalysisRequest, bool)
HasCollectedGraphDataDeletionRequest mocks base method.
func (*MockDatabase) HasInstallation ¶
func (m *MockDatabase) HasInstallation(ctx context.Context) (bool, error)
HasInstallation mocks base method.
func (*MockDatabase) InitializeSecretAuth ¶
func (m *MockDatabase) InitializeSecretAuth(ctx context.Context, adminUser model.User, authSecret model.AuthSecret) (model.Installation, error)
InitializeSecretAuth mocks base method.
func (*MockDatabase) InsertSelectorNode ¶
func (m *MockDatabase) InsertSelectorNode(ctx context.Context, assetGroupTagId, selectorId int, nodeId graph.ID, certified model.AssetGroupCertification, certifiedBy null.String, source model.AssetGroupSelectorNodeSource, primaryKind, environmentId, objectId, name string) error
InsertSelectorNode mocks base method.
func (*MockDatabase) IsSavedQueryPublic ¶
IsSavedQueryPublic mocks base method.
func (*MockDatabase) IsSavedQuerySharedToUser ¶
func (m *MockDatabase) IsSavedQuerySharedToUser(ctx context.Context, queryID int64, userID uuid.UUID) (bool, error)
IsSavedQuerySharedToUser mocks base method.
func (*MockDatabase) IsSavedQuerySharedToUserOrPublic ¶
func (m *MockDatabase) IsSavedQuerySharedToUserOrPublic(ctx context.Context, queryID int64, userID uuid.UUID) (bool, error)
IsSavedQuerySharedToUserOrPublic mocks base method.
func (*MockDatabase) ListAuditLogs ¶
func (m *MockDatabase) ListAuditLogs(ctx context.Context, before, after time.Time, offset, limit int, order string, filter model.SQLFilter) (model.AuditLogs, int, error)
ListAuditLogs mocks base method.
func (*MockDatabase) ListSavedQueries ¶
func (m *MockDatabase) ListSavedQueries(ctx context.Context, scope string, userID uuid.UUID, order string, filter model.SQLFilter, skip, limit int) ([]model.ScopedSavedQuery, int, error)
ListSavedQueries mocks base method.
func (*MockDatabase) LookupActiveSessionsByUser ¶
func (m *MockDatabase) LookupActiveSessionsByUser(ctx context.Context, user model.User) ([]model.UserSession, error)
LookupActiveSessionsByUser mocks base method.
func (*MockDatabase) LookupUser ¶
LookupUser mocks base method.
func (*MockDatabase) Migrate ¶
func (m *MockDatabase) Migrate(ctx context.Context) error
Migrate mocks base method.
func (*MockDatabase) PopulateExtensionData ¶
func (m *MockDatabase) PopulateExtensionData(ctx context.Context) error
PopulateExtensionData mocks base method.
func (*MockDatabase) RegisterSourceKind ¶
RegisterSourceKind mocks base method.
func (*MockDatabase) RequestAnalysis ¶
func (m *MockDatabase) RequestAnalysis(ctx context.Context, requester string) error
RequestAnalysis mocks base method.
func (*MockDatabase) RequestCollectedGraphDataDeletion ¶
func (m *MockDatabase) RequestCollectedGraphDataDeletion(ctx context.Context, request model.AnalysisRequest) error
RequestCollectedGraphDataDeletion mocks base method.
func (*MockDatabase) SanitizeUpdateAssetGroupTagRequireCertify ¶
func (m *MockDatabase) SanitizeUpdateAssetGroupTagRequireCertify(tag *model.AssetGroupTag)
SanitizeUpdateAssetGroupTagRequireCertify mocks base method.
func (*MockDatabase) SavedQueryBelongsToUser ¶
func (m *MockDatabase) SavedQueryBelongsToUser(ctx context.Context, userID uuid.UUID, savedQueryID int64) (bool, error)
SavedQueryBelongsToUser mocks base method.
func (*MockDatabase) SetConfigurationParameter ¶
func (m *MockDatabase) SetConfigurationParameter(ctx context.Context, configurationParameter appcfg.Parameter) error
SetConfigurationParameter mocks base method.
func (*MockDatabase) SetDatapipeStatus ¶
func (m *MockDatabase) SetDatapipeStatus(ctx context.Context, status model.DatapipeStatus) error
SetDatapipeStatus mocks base method.
func (*MockDatabase) SetFlag ¶
func (m *MockDatabase) SetFlag(ctx context.Context, value appcfg.FeatureFlag) error
SetFlag mocks base method.
func (*MockDatabase) SetUserSessionFlag ¶
func (m *MockDatabase) SetUserSessionFlag(ctx context.Context, userSession *model.UserSession, key model.SessionFlagKey, state bool) error
SetUserSessionFlag mocks base method.
func (*MockDatabase) SweepAssetGroupCollections ¶
func (m *MockDatabase) SweepAssetGroupCollections(ctx context.Context)
SweepAssetGroupCollections mocks base method.
func (*MockDatabase) SweepSessions ¶
func (m *MockDatabase) SweepSessions(ctx context.Context)
SweepSessions mocks base method.
func (*MockDatabase) TerminateUserSessionsBySSOProvider ¶
func (m *MockDatabase) TerminateUserSessionsBySSOProvider(ctx context.Context, ssoProvider model.SSOProvider) error
TerminateUserSessionsBySSOProvider mocks base method.
func (*MockDatabase) UpdateAssetGroup ¶
func (m *MockDatabase) UpdateAssetGroup(ctx context.Context, assetGroup model.AssetGroup) error
UpdateAssetGroup mocks base method.
func (*MockDatabase) UpdateAssetGroupSelectors ¶
func (m *MockDatabase) UpdateAssetGroupSelectors(ctx context.Context, assetGroup model.AssetGroup, selectorSpecs []model.AssetGroupSelectorSpec, systemSelector bool) (model.UpdatedAssetGroupSelectors, error)
UpdateAssetGroupSelectors mocks base method.
func (*MockDatabase) UpdateAssetGroupTag ¶
func (m *MockDatabase) UpdateAssetGroupTag(ctx context.Context, user model.User, tag model.AssetGroupTag) (model.AssetGroupTag, error)
UpdateAssetGroupTag mocks base method.
func (*MockDatabase) UpdateAssetGroupTagSelector ¶
func (m *MockDatabase) UpdateAssetGroupTagSelector(ctx context.Context, actorId, email string, selector model.AssetGroupTagSelector) (model.AssetGroupTagSelector, error)
UpdateAssetGroupTagSelector mocks base method.
func (*MockDatabase) UpdateAuthSecret ¶
func (m *MockDatabase) UpdateAuthSecret(ctx context.Context, authSecret model.AuthSecret) error
UpdateAuthSecret mocks base method.
func (*MockDatabase) UpdateAuthToken ¶
UpdateAuthToken mocks base method.
func (*MockDatabase) UpdateCertificationBySelectorNode ¶
func (m *MockDatabase) UpdateCertificationBySelectorNode(ctx context.Context, input []database.UpdateCertificationBySelectorNodeInput) error
UpdateCertificationBySelectorNode mocks base method.
func (*MockDatabase) UpdateCustomNodeKind ¶
func (m *MockDatabase) UpdateCustomNodeKind(ctx context.Context, customNodeKind model.CustomNodeKind) (model.CustomNodeKind, error)
UpdateCustomNodeKind mocks base method.
func (*MockDatabase) UpdateGraphSchemaExtension ¶
func (m *MockDatabase) UpdateGraphSchemaExtension(ctx context.Context, extension model.GraphSchemaExtension) (model.GraphSchemaExtension, error)
UpdateGraphSchemaExtension mocks base method.
func (*MockDatabase) UpdateGraphSchemaNodeKind ¶
func (m *MockDatabase) UpdateGraphSchemaNodeKind(ctx context.Context, schemaNodeKind model.GraphSchemaNodeKind) (model.GraphSchemaNodeKind, error)
UpdateGraphSchemaNodeKind mocks base method.
func (*MockDatabase) UpdateGraphSchemaProperty ¶
func (m *MockDatabase) UpdateGraphSchemaProperty(ctx context.Context, property model.GraphSchemaProperty) (model.GraphSchemaProperty, error)
UpdateGraphSchemaProperty mocks base method.
func (*MockDatabase) UpdateGraphSchemaRelationshipKind ¶
func (m *MockDatabase) UpdateGraphSchemaRelationshipKind(ctx context.Context, schemaRelationshipKind model.GraphSchemaRelationshipKind) (model.GraphSchemaRelationshipKind, error)
UpdateGraphSchemaRelationshipKind mocks base method.
func (*MockDatabase) UpdateIngestJob ¶
UpdateIngestJob mocks base method.
func (*MockDatabase) UpdateLastAnalysisCompleteTime ¶
func (m *MockDatabase) UpdateLastAnalysisCompleteTime(ctx context.Context) error
UpdateLastAnalysisCompleteTime mocks base method.
func (*MockDatabase) UpdateOIDCProvider ¶
func (m *MockDatabase) UpdateOIDCProvider(ctx context.Context, ssoProvider model.SSOProvider) (model.OIDCProvider, error)
UpdateOIDCProvider mocks base method.
func (*MockDatabase) UpdateRemediation ¶
func (m *MockDatabase) UpdateRemediation(ctx context.Context, findingId int32, shortDescription, longDescription, shortRemediation, longRemediation string) (model.Remediation, error)
UpdateRemediation mocks base method.
func (*MockDatabase) UpdateSAMLIdentityProvider ¶
func (m *MockDatabase) UpdateSAMLIdentityProvider(ctx context.Context, ssoProvider model.SSOProvider) (model.SAMLProvider, error)
UpdateSAMLIdentityProvider mocks base method.
func (*MockDatabase) UpdateSSOProvider ¶
func (m *MockDatabase) UpdateSSOProvider(ctx context.Context, ssoProvider model.SSOProvider) (model.SSOProvider, error)
UpdateSSOProvider mocks base method.
func (*MockDatabase) UpdateSavedQuery ¶
func (m *MockDatabase) UpdateSavedQuery(ctx context.Context, savedQuery model.SavedQuery) (model.SavedQuery, error)
UpdateSavedQuery mocks base method.
func (*MockDatabase) UpdateSelectorNodesByNodeId ¶
func (m *MockDatabase) UpdateSelectorNodesByNodeId(ctx context.Context, assetGroupTagId, selectorId int, nodeId graph.ID, certified model.AssetGroupCertification, certifiedBy null.String, primaryKind, environmentId, objectId, name string) error
UpdateSelectorNodesByNodeId mocks base method.
func (*MockDatabase) UpdateUser ¶
UpdateUser mocks base method.
type MockDatabaseMockRecorder ¶
type MockDatabaseMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseMockRecorder is the mock recorder for MockDatabase.
func (*MockDatabaseMockRecorder) AppendAuditLog ¶
func (mr *MockDatabaseMockRecorder) AppendAuditLog(ctx, entry any) *gomock.Call
AppendAuditLog indicates an expected call of AppendAuditLog.
func (*MockDatabaseMockRecorder) CancelAllIngestJobs ¶
func (mr *MockDatabaseMockRecorder) CancelAllIngestJobs(ctx any) *gomock.Call
CancelAllIngestJobs indicates an expected call of CancelAllIngestJobs.
func (*MockDatabaseMockRecorder) Close ¶
func (mr *MockDatabaseMockRecorder) Close(ctx any) *gomock.Call
Close indicates an expected call of Close.
func (*MockDatabaseMockRecorder) CountAllIngestTasks ¶
func (mr *MockDatabaseMockRecorder) CountAllIngestTasks(ctx any) *gomock.Call
CountAllIngestTasks indicates an expected call of CountAllIngestTasks.
func (*MockDatabaseMockRecorder) CreateADDataQualityAggregation ¶
func (mr *MockDatabaseMockRecorder) CreateADDataQualityAggregation(ctx, aggregation any) *gomock.Call
CreateADDataQualityAggregation indicates an expected call of CreateADDataQualityAggregation.
func (*MockDatabaseMockRecorder) CreateADDataQualityStats ¶
func (mr *MockDatabaseMockRecorder) CreateADDataQualityStats(ctx, stats any) *gomock.Call
CreateADDataQualityStats indicates an expected call of CreateADDataQualityStats.
func (*MockDatabaseMockRecorder) CreateAssetGroup ¶
func (mr *MockDatabaseMockRecorder) CreateAssetGroup(ctx, name, tag, systemGroup any) *gomock.Call
CreateAssetGroup indicates an expected call of CreateAssetGroup.
func (*MockDatabaseMockRecorder) CreateAssetGroupCollection ¶
func (mr *MockDatabaseMockRecorder) CreateAssetGroupCollection(ctx, collection, entries any) *gomock.Call
CreateAssetGroupCollection indicates an expected call of CreateAssetGroupCollection.
func (*MockDatabaseMockRecorder) CreateAssetGroupHistoryRecord ¶
func (mr *MockDatabaseMockRecorder) CreateAssetGroupHistoryRecord(ctx, actorId, email, target, action, assetGroupTagId, environmentId, note any) *gomock.Call
CreateAssetGroupHistoryRecord indicates an expected call of CreateAssetGroupHistoryRecord.
func (*MockDatabaseMockRecorder) CreateAssetGroupTag ¶
func (mr *MockDatabaseMockRecorder) CreateAssetGroupTag(ctx, tagType, user, name, description, position, requireCertify, glyph any) *gomock.Call
CreateAssetGroupTag indicates an expected call of CreateAssetGroupTag.
func (*MockDatabaseMockRecorder) CreateAssetGroupTagSelector ¶
func (mr *MockDatabaseMockRecorder) CreateAssetGroupTagSelector(ctx, assetGroupTagId, user, name, description, isDefault, allowDisable, autoCertify, seeds any) *gomock.Call
CreateAssetGroupTagSelector indicates an expected call of CreateAssetGroupTagSelector.
func (*MockDatabaseMockRecorder) CreateAuditLog ¶
func (mr *MockDatabaseMockRecorder) CreateAuditLog(ctx, auditLog any) *gomock.Call
CreateAuditLog indicates an expected call of CreateAuditLog.
func (*MockDatabaseMockRecorder) CreateAuthSecret ¶
func (mr *MockDatabaseMockRecorder) CreateAuthSecret(ctx, authSecret any) *gomock.Call
CreateAuthSecret indicates an expected call of CreateAuthSecret.
func (*MockDatabaseMockRecorder) CreateAuthToken ¶
func (mr *MockDatabaseMockRecorder) CreateAuthToken(ctx, authToken any) *gomock.Call
CreateAuthToken indicates an expected call of CreateAuthToken.
func (*MockDatabaseMockRecorder) CreateAzureDataQualityAggregation ¶
func (mr *MockDatabaseMockRecorder) CreateAzureDataQualityAggregation(ctx, aggregation any) *gomock.Call
CreateAzureDataQualityAggregation indicates an expected call of CreateAzureDataQualityAggregation.
func (*MockDatabaseMockRecorder) CreateAzureDataQualityStats ¶
func (mr *MockDatabaseMockRecorder) CreateAzureDataQualityStats(ctx, stats any) *gomock.Call
CreateAzureDataQualityStats indicates an expected call of CreateAzureDataQualityStats.
func (*MockDatabaseMockRecorder) CreateCompletedTask ¶
func (mr *MockDatabaseMockRecorder) CreateCompletedTask(ctx, task any) *gomock.Call
CreateCompletedTask indicates an expected call of CreateCompletedTask.
func (*MockDatabaseMockRecorder) CreateCompositionInfo ¶
func (mr *MockDatabaseMockRecorder) CreateCompositionInfo(ctx, nodes, edges any) *gomock.Call
CreateCompositionInfo indicates an expected call of CreateCompositionInfo.
func (*MockDatabaseMockRecorder) CreateCustomNodeKinds ¶
func (mr *MockDatabaseMockRecorder) CreateCustomNodeKinds(ctx, customNodeKind any) *gomock.Call
CreateCustomNodeKinds indicates an expected call of CreateCustomNodeKinds.
func (*MockDatabaseMockRecorder) CreateEnvironment ¶
func (mr *MockDatabaseMockRecorder) CreateEnvironment(ctx, extensionId, environmentKindId, sourceKindId any) *gomock.Call
CreateEnvironment indicates an expected call of CreateEnvironment.
func (*MockDatabaseMockRecorder) CreateGraphSchemaExtension ¶
func (mr *MockDatabaseMockRecorder) CreateGraphSchemaExtension(ctx, name, displayName, version, namespace any) *gomock.Call
CreateGraphSchemaExtension indicates an expected call of CreateGraphSchemaExtension.
func (*MockDatabaseMockRecorder) CreateGraphSchemaNodeKind ¶
func (mr *MockDatabaseMockRecorder) CreateGraphSchemaNodeKind(ctx, name, extensionId, displayName, description, isDisplayKind, icon, iconColor any) *gomock.Call
CreateGraphSchemaNodeKind indicates an expected call of CreateGraphSchemaNodeKind.
func (*MockDatabaseMockRecorder) CreateGraphSchemaProperty ¶
func (mr *MockDatabaseMockRecorder) CreateGraphSchemaProperty(ctx, extensionId, name, displayName, dataType, description any) *gomock.Call
CreateGraphSchemaProperty indicates an expected call of CreateGraphSchemaProperty.
func (*MockDatabaseMockRecorder) CreateGraphSchemaRelationshipKind ¶
func (mr *MockDatabaseMockRecorder) CreateGraphSchemaRelationshipKind(ctx, name, schemaExtensionId, description, isTraversable any) *gomock.Call
CreateGraphSchemaRelationshipKind indicates an expected call of CreateGraphSchemaRelationshipKind.
func (*MockDatabaseMockRecorder) CreateIngestJob ¶
func (mr *MockDatabaseMockRecorder) CreateIngestJob(ctx, job any) *gomock.Call
CreateIngestJob indicates an expected call of CreateIngestJob.
func (*MockDatabaseMockRecorder) CreateIngestTask ¶
func (mr *MockDatabaseMockRecorder) CreateIngestTask(ctx, task any) *gomock.Call
CreateIngestTask indicates an expected call of CreateIngestTask.
func (*MockDatabaseMockRecorder) CreateInstallation ¶
func (mr *MockDatabaseMockRecorder) CreateInstallation(ctx any) *gomock.Call
CreateInstallation indicates an expected call of CreateInstallation.
func (*MockDatabaseMockRecorder) CreateOIDCProvider ¶
func (mr *MockDatabaseMockRecorder) CreateOIDCProvider(ctx, name, issuer, clientID, config any) *gomock.Call
CreateOIDCProvider indicates an expected call of CreateOIDCProvider.
func (*MockDatabaseMockRecorder) CreatePrincipalKind ¶
func (mr *MockDatabaseMockRecorder) CreatePrincipalKind(ctx, environmentId, principalKind any) *gomock.Call
CreatePrincipalKind indicates an expected call of CreatePrincipalKind.
func (*MockDatabaseMockRecorder) CreateRemediation ¶
func (mr *MockDatabaseMockRecorder) CreateRemediation(ctx, findingId, shortDescription, longDescription, shortRemediation, longRemediation any) *gomock.Call
CreateRemediation indicates an expected call of CreateRemediation.
func (*MockDatabaseMockRecorder) CreateSAMLIdentityProvider ¶
func (mr *MockDatabaseMockRecorder) CreateSAMLIdentityProvider(ctx, samlProvider, config any) *gomock.Call
CreateSAMLIdentityProvider indicates an expected call of CreateSAMLIdentityProvider.
func (*MockDatabaseMockRecorder) CreateSSOProvider ¶
func (mr *MockDatabaseMockRecorder) CreateSSOProvider(ctx, name, authProvider, config any) *gomock.Call
CreateSSOProvider indicates an expected call of CreateSSOProvider.
func (*MockDatabaseMockRecorder) CreateSavedQueries ¶
func (mr *MockDatabaseMockRecorder) CreateSavedQueries(ctx, savedQueries any) *gomock.Call
CreateSavedQueries indicates an expected call of CreateSavedQueries.
func (*MockDatabaseMockRecorder) CreateSavedQuery ¶
func (mr *MockDatabaseMockRecorder) CreateSavedQuery(ctx, userID, name, query, description any) *gomock.Call
CreateSavedQuery indicates an expected call of CreateSavedQuery.
func (*MockDatabaseMockRecorder) CreateSavedQueryPermissionToPublic ¶
func (mr *MockDatabaseMockRecorder) CreateSavedQueryPermissionToPublic(ctx, queryID any) *gomock.Call
CreateSavedQueryPermissionToPublic indicates an expected call of CreateSavedQueryPermissionToPublic.
func (*MockDatabaseMockRecorder) CreateSavedQueryPermissionsToUsers ¶
func (mr *MockDatabaseMockRecorder) CreateSavedQueryPermissionsToUsers(ctx, queryID any, userIDs ...any) *gomock.Call
CreateSavedQueryPermissionsToUsers indicates an expected call of CreateSavedQueryPermissionsToUsers.
func (*MockDatabaseMockRecorder) CreateSchemaRelationshipFinding ¶
func (mr *MockDatabaseMockRecorder) CreateSchemaRelationshipFinding(ctx, extensionId, relationshipKindId, environmentId, name, displayName any) *gomock.Call
CreateSchemaRelationshipFinding indicates an expected call of CreateSchemaRelationshipFinding.
func (*MockDatabaseMockRecorder) CreateUser ¶
func (mr *MockDatabaseMockRecorder) CreateUser(ctx, user any) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockDatabaseMockRecorder) CreateUserSession ¶
func (mr *MockDatabaseMockRecorder) CreateUserSession(ctx, userSession any) *gomock.Call
CreateUserSession indicates an expected call of CreateUserSession.
func (*MockDatabaseMockRecorder) DeactivateSourceKindsByName ¶
func (mr *MockDatabaseMockRecorder) DeactivateSourceKindsByName(ctx, kinds any) *gomock.Call
DeactivateSourceKindsByName indicates an expected call of DeactivateSourceKindsByName.
func (*MockDatabaseMockRecorder) DeleteAllAuthTokens ¶
func (mr *MockDatabaseMockRecorder) DeleteAllAuthTokens(ctx any) *gomock.Call
DeleteAllAuthTokens indicates an expected call of DeleteAllAuthTokens.
func (*MockDatabaseMockRecorder) DeleteAllDataQuality ¶
func (mr *MockDatabaseMockRecorder) DeleteAllDataQuality(ctx any) *gomock.Call
DeleteAllDataQuality indicates an expected call of DeleteAllDataQuality.
func (*MockDatabaseMockRecorder) DeleteAllIngestJobs ¶
func (mr *MockDatabaseMockRecorder) DeleteAllIngestJobs(ctx any) *gomock.Call
DeleteAllIngestJobs indicates an expected call of DeleteAllIngestJobs.
func (*MockDatabaseMockRecorder) DeleteAllIngestTasks ¶
func (mr *MockDatabaseMockRecorder) DeleteAllIngestTasks(ctx any) *gomock.Call
DeleteAllIngestTasks indicates an expected call of DeleteAllIngestTasks.
func (*MockDatabaseMockRecorder) DeleteAnalysisRequest ¶
func (mr *MockDatabaseMockRecorder) DeleteAnalysisRequest(ctx any) *gomock.Call
DeleteAnalysisRequest indicates an expected call of DeleteAnalysisRequest.
func (*MockDatabaseMockRecorder) DeleteAssetGroup ¶
func (mr *MockDatabaseMockRecorder) DeleteAssetGroup(ctx, assetGroup any) *gomock.Call
DeleteAssetGroup indicates an expected call of DeleteAssetGroup.
func (*MockDatabaseMockRecorder) DeleteAssetGroupHistoryRecordsByCreatedDate ¶
func (mr *MockDatabaseMockRecorder) DeleteAssetGroupHistoryRecordsByCreatedDate(ctx, createdAt any) *gomock.Call
DeleteAssetGroupHistoryRecordsByCreatedDate indicates an expected call of DeleteAssetGroupHistoryRecordsByCreatedDate.
func (*MockDatabaseMockRecorder) DeleteAssetGroupSelector ¶
func (mr *MockDatabaseMockRecorder) DeleteAssetGroupSelector(ctx, selector any) *gomock.Call
DeleteAssetGroupSelector indicates an expected call of DeleteAssetGroupSelector.
func (*MockDatabaseMockRecorder) DeleteAssetGroupSelectorsForAssetGroups ¶
func (mr *MockDatabaseMockRecorder) DeleteAssetGroupSelectorsForAssetGroups(ctx, assetGroupIds any) *gomock.Call
DeleteAssetGroupSelectorsForAssetGroups indicates an expected call of DeleteAssetGroupSelectorsForAssetGroups.
func (*MockDatabaseMockRecorder) DeleteAssetGroupTag ¶
func (mr *MockDatabaseMockRecorder) DeleteAssetGroupTag(ctx, user, assetGroupTag any) *gomock.Call
DeleteAssetGroupTag indicates an expected call of DeleteAssetGroupTag.
func (*MockDatabaseMockRecorder) DeleteAssetGroupTagSelector ¶
func (mr *MockDatabaseMockRecorder) DeleteAssetGroupTagSelector(ctx, user, selector any) *gomock.Call
DeleteAssetGroupTagSelector indicates an expected call of DeleteAssetGroupTagSelector.
func (*MockDatabaseMockRecorder) DeleteAuthSecret ¶
func (mr *MockDatabaseMockRecorder) DeleteAuthSecret(ctx, authSecret any) *gomock.Call
DeleteAuthSecret indicates an expected call of DeleteAuthSecret.
func (*MockDatabaseMockRecorder) DeleteAuthToken ¶
func (mr *MockDatabaseMockRecorder) DeleteAuthToken(ctx, authToken any) *gomock.Call
DeleteAuthToken indicates an expected call of DeleteAuthToken.
func (*MockDatabaseMockRecorder) DeleteCustomNodeKind ¶
func (mr *MockDatabaseMockRecorder) DeleteCustomNodeKind(ctx, kindName any) *gomock.Call
DeleteCustomNodeKind indicates an expected call of DeleteCustomNodeKind.
func (*MockDatabaseMockRecorder) DeleteEnvironment ¶
func (mr *MockDatabaseMockRecorder) DeleteEnvironment(ctx, environmentId any) *gomock.Call
DeleteEnvironment indicates an expected call of DeleteEnvironment.
func (*MockDatabaseMockRecorder) DeleteEnvironmentTargetedAccessControlForUser ¶
func (mr *MockDatabaseMockRecorder) DeleteEnvironmentTargetedAccessControlForUser(ctx, user any) *gomock.Call
DeleteEnvironmentTargetedAccessControlForUser indicates an expected call of DeleteEnvironmentTargetedAccessControlForUser.
func (*MockDatabaseMockRecorder) DeleteGraphSchemaExtension ¶
func (mr *MockDatabaseMockRecorder) DeleteGraphSchemaExtension(ctx, extensionId any) *gomock.Call
DeleteGraphSchemaExtension indicates an expected call of DeleteGraphSchemaExtension.
func (*MockDatabaseMockRecorder) DeleteGraphSchemaNodeKind ¶
func (mr *MockDatabaseMockRecorder) DeleteGraphSchemaNodeKind(ctx, schemaNodeKindId any) *gomock.Call
DeleteGraphSchemaNodeKind indicates an expected call of DeleteGraphSchemaNodeKind.
func (*MockDatabaseMockRecorder) DeleteGraphSchemaProperty ¶
func (mr *MockDatabaseMockRecorder) DeleteGraphSchemaProperty(ctx, propertyID any) *gomock.Call
DeleteGraphSchemaProperty indicates an expected call of DeleteGraphSchemaProperty.
func (*MockDatabaseMockRecorder) DeleteGraphSchemaRelationshipKind ¶
func (mr *MockDatabaseMockRecorder) DeleteGraphSchemaRelationshipKind(ctx, schemaRelationshipKindId any) *gomock.Call
DeleteGraphSchemaRelationshipKind indicates an expected call of DeleteGraphSchemaRelationshipKind.
func (*MockDatabaseMockRecorder) DeleteIngestTask ¶
func (mr *MockDatabaseMockRecorder) DeleteIngestTask(ctx, ingestTask any) *gomock.Call
DeleteIngestTask indicates an expected call of DeleteIngestTask.
func (*MockDatabaseMockRecorder) DeletePrincipalKind ¶
func (mr *MockDatabaseMockRecorder) DeletePrincipalKind(ctx, environmentId, principalKind any) *gomock.Call
DeletePrincipalKind indicates an expected call of DeletePrincipalKind.
func (*MockDatabaseMockRecorder) DeleteRemediation ¶
func (mr *MockDatabaseMockRecorder) DeleteRemediation(ctx, findingId any) *gomock.Call
DeleteRemediation indicates an expected call of DeleteRemediation.
func (*MockDatabaseMockRecorder) DeleteSSOProvider ¶
func (mr *MockDatabaseMockRecorder) DeleteSSOProvider(ctx, id any) *gomock.Call
DeleteSSOProvider indicates an expected call of DeleteSSOProvider.
func (*MockDatabaseMockRecorder) DeleteSavedQuery ¶
func (mr *MockDatabaseMockRecorder) DeleteSavedQuery(ctx, savedQueryID any) *gomock.Call
DeleteSavedQuery indicates an expected call of DeleteSavedQuery.
func (*MockDatabaseMockRecorder) DeleteSavedQueryPermissionsForUsers ¶
func (mr *MockDatabaseMockRecorder) DeleteSavedQueryPermissionsForUsers(ctx, queryID any, userIDs ...any) *gomock.Call
DeleteSavedQueryPermissionsForUsers indicates an expected call of DeleteSavedQueryPermissionsForUsers.
func (*MockDatabaseMockRecorder) DeleteSchemaRelationshipFinding ¶
func (mr *MockDatabaseMockRecorder) DeleteSchemaRelationshipFinding(ctx, findingId any) *gomock.Call
DeleteSchemaRelationshipFinding indicates an expected call of DeleteSchemaRelationshipFinding.
func (*MockDatabaseMockRecorder) DeleteSelectorNodesByNodeId ¶
func (mr *MockDatabaseMockRecorder) DeleteSelectorNodesByNodeId(ctx, selectorId, nodeId any) *gomock.Call
DeleteSelectorNodesByNodeId indicates an expected call of DeleteSelectorNodesByNodeId.
func (*MockDatabaseMockRecorder) DeleteSelectorNodesBySelectorIds ¶
func (mr *MockDatabaseMockRecorder) DeleteSelectorNodesBySelectorIds(ctx any, selectorId ...any) *gomock.Call
DeleteSelectorNodesBySelectorIds indicates an expected call of DeleteSelectorNodesBySelectorIds.
func (*MockDatabaseMockRecorder) DeleteUser ¶
func (mr *MockDatabaseMockRecorder) DeleteUser(ctx, user any) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockDatabaseMockRecorder) EndUserSession ¶
func (mr *MockDatabaseMockRecorder) EndUserSession(ctx, userSession any) *gomock.Call
EndUserSession indicates an expected call of EndUserSession.
func (*MockDatabaseMockRecorder) GetADDataQualityAggregations ¶
func (mr *MockDatabaseMockRecorder) GetADDataQualityAggregations(ctx, start, end, sort_by, limit, skip any) *gomock.Call
GetADDataQualityAggregations indicates an expected call of GetADDataQualityAggregations.
func (*MockDatabaseMockRecorder) GetADDataQualityStats ¶
func (mr *MockDatabaseMockRecorder) GetADDataQualityStats(ctx, domainSid, start, end, sort_by, limit, skip any) *gomock.Call
GetADDataQualityStats indicates an expected call of GetADDataQualityStats.
func (*MockDatabaseMockRecorder) GetAggregateADDataQualityStats ¶
func (mr *MockDatabaseMockRecorder) GetAggregateADDataQualityStats(ctx, domainSIDs, start, end any) *gomock.Call
GetAggregateADDataQualityStats indicates an expected call of GetAggregateADDataQualityStats.
func (*MockDatabaseMockRecorder) GetAggregatedSelectorNodesCertification ¶
func (mr *MockDatabaseMockRecorder) GetAggregatedSelectorNodesCertification(ctx, sqlFilter, skip, limit any) *gomock.Call
GetAggregatedSelectorNodesCertification indicates an expected call of GetAggregatedSelectorNodesCertification.
func (*MockDatabaseMockRecorder) GetAllAssetGroups ¶
func (mr *MockDatabaseMockRecorder) GetAllAssetGroups(ctx, order, filter any) *gomock.Call
GetAllAssetGroups indicates an expected call of GetAllAssetGroups.
func (*MockDatabaseMockRecorder) GetAllAuthTokens ¶
func (mr *MockDatabaseMockRecorder) GetAllAuthTokens(ctx, order, filter any) *gomock.Call
GetAllAuthTokens indicates an expected call of GetAllAuthTokens.
func (*MockDatabaseMockRecorder) GetAllConfigurationParameters ¶
func (mr *MockDatabaseMockRecorder) GetAllConfigurationParameters(ctx any) *gomock.Call
GetAllConfigurationParameters indicates an expected call of GetAllConfigurationParameters.
func (*MockDatabaseMockRecorder) GetAllFlags ¶
func (mr *MockDatabaseMockRecorder) GetAllFlags(ctx any) *gomock.Call
GetAllFlags indicates an expected call of GetAllFlags.
func (*MockDatabaseMockRecorder) GetAllIngestJobs ¶
func (mr *MockDatabaseMockRecorder) GetAllIngestJobs(ctx, skip, limit, order, filter any) *gomock.Call
GetAllIngestJobs indicates an expected call of GetAllIngestJobs.
func (*MockDatabaseMockRecorder) GetAllIngestTasks ¶
func (mr *MockDatabaseMockRecorder) GetAllIngestTasks(ctx any) *gomock.Call
GetAllIngestTasks indicates an expected call of GetAllIngestTasks.
func (*MockDatabaseMockRecorder) GetAllPermissions ¶
func (mr *MockDatabaseMockRecorder) GetAllPermissions(ctx, order, filter any) *gomock.Call
GetAllPermissions indicates an expected call of GetAllPermissions.
func (*MockDatabaseMockRecorder) GetAllRoles ¶
func (mr *MockDatabaseMockRecorder) GetAllRoles(ctx, order, filter any) *gomock.Call
GetAllRoles indicates an expected call of GetAllRoles.
func (*MockDatabaseMockRecorder) GetAllSAMLProviders ¶
func (mr *MockDatabaseMockRecorder) GetAllSAMLProviders(ctx any) *gomock.Call
GetAllSAMLProviders indicates an expected call of GetAllSAMLProviders.
func (*MockDatabaseMockRecorder) GetAllSSOProviders ¶
func (mr *MockDatabaseMockRecorder) GetAllSSOProviders(ctx, order, sqlFilter any) *gomock.Call
GetAllSSOProviders indicates an expected call of GetAllSSOProviders.
func (*MockDatabaseMockRecorder) GetAllSavedQueriesByUser ¶
func (mr *MockDatabaseMockRecorder) GetAllSavedQueriesByUser(ctx, userID any) *gomock.Call
GetAllSavedQueriesByUser indicates an expected call of GetAllSavedQueriesByUser.
func (*MockDatabaseMockRecorder) GetAllUsers ¶
func (mr *MockDatabaseMockRecorder) GetAllUsers(ctx, order, filter any) *gomock.Call
GetAllUsers indicates an expected call of GetAllUsers.
func (*MockDatabaseMockRecorder) GetAnalysisRequest ¶
func (mr *MockDatabaseMockRecorder) GetAnalysisRequest(ctx any) *gomock.Call
GetAnalysisRequest indicates an expected call of GetAnalysisRequest.
func (*MockDatabaseMockRecorder) GetAssetGroup ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroup(ctx, id any) *gomock.Call
GetAssetGroup indicates an expected call of GetAssetGroup.
func (*MockDatabaseMockRecorder) GetAssetGroupCollections ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupCollections(ctx, assetGroupID, order, filter any) *gomock.Call
GetAssetGroupCollections indicates an expected call of GetAssetGroupCollections.
func (*MockDatabaseMockRecorder) GetAssetGroupHistoryRecords ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupHistoryRecords(ctx, sqlFilter, sortItems, skip, limit any) *gomock.Call
GetAssetGroupHistoryRecords indicates an expected call of GetAssetGroupHistoryRecords.
func (*MockDatabaseMockRecorder) GetAssetGroupSelector ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupSelector(ctx, id any) *gomock.Call
GetAssetGroupSelector indicates an expected call of GetAssetGroupSelector.
func (*MockDatabaseMockRecorder) GetAssetGroupSelectorNodeExpandedOrderedByIdAndPosition ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupSelectorNodeExpandedOrderedByIdAndPosition(ctx any, nodeIds ...any) *gomock.Call
GetAssetGroupSelectorNodeExpandedOrderedByIdAndPosition indicates an expected call of GetAssetGroupSelectorNodeExpandedOrderedByIdAndPosition.
func (*MockDatabaseMockRecorder) GetAssetGroupTag ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupTag(ctx, assetGroupTagId any) *gomock.Call
GetAssetGroupTag indicates an expected call of GetAssetGroupTag.
func (*MockDatabaseMockRecorder) GetAssetGroupTagForSelection ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupTagForSelection(ctx any) *gomock.Call
GetAssetGroupTagForSelection indicates an expected call of GetAssetGroupTagForSelection.
func (*MockDatabaseMockRecorder) GetAssetGroupTagSelectorBySelectorId ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupTagSelectorBySelectorId(ctx, assetGroupTagSelectorId any) *gomock.Call
GetAssetGroupTagSelectorBySelectorId indicates an expected call of GetAssetGroupTagSelectorBySelectorId.
func (*MockDatabaseMockRecorder) GetAssetGroupTagSelectorCounts ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupTagSelectorCounts(ctx, tagIds any) *gomock.Call
GetAssetGroupTagSelectorCounts indicates an expected call of GetAssetGroupTagSelectorCounts.
func (*MockDatabaseMockRecorder) GetAssetGroupTagSelectors ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupTagSelectors(ctx, sqlFilter, limit any) *gomock.Call
GetAssetGroupTagSelectors indicates an expected call of GetAssetGroupTagSelectors.
func (*MockDatabaseMockRecorder) GetAssetGroupTagSelectorsByTagId ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupTagSelectorsByTagId(ctx, assetGroupTagId any) *gomock.Call
GetAssetGroupTagSelectorsByTagId indicates an expected call of GetAssetGroupTagSelectorsByTagId.
func (*MockDatabaseMockRecorder) GetAssetGroupTagSelectorsByTagIdFilteredAndPaginated ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupTagSelectorsByTagIdFilteredAndPaginated(ctx, assetGroupTagId, selectorSqlFilter, selectorSeedSqlFilter, sort, skip, limit any) *gomock.Call
GetAssetGroupTagSelectorsByTagIdFilteredAndPaginated indicates an expected call of GetAssetGroupTagSelectorsByTagIdFilteredAndPaginated.
func (*MockDatabaseMockRecorder) GetAssetGroupTags ¶
func (mr *MockDatabaseMockRecorder) GetAssetGroupTags(ctx, sqlFilter any) *gomock.Call
GetAssetGroupTags indicates an expected call of GetAssetGroupTags.
func (*MockDatabaseMockRecorder) GetAuthSecret ¶
func (mr *MockDatabaseMockRecorder) GetAuthSecret(ctx, id any) *gomock.Call
GetAuthSecret indicates an expected call of GetAuthSecret.
func (*MockDatabaseMockRecorder) GetAuthToken ¶
func (mr *MockDatabaseMockRecorder) GetAuthToken(ctx, id any) *gomock.Call
GetAuthToken indicates an expected call of GetAuthToken.
func (*MockDatabaseMockRecorder) GetAzureDataQualityAggregations ¶
func (mr *MockDatabaseMockRecorder) GetAzureDataQualityAggregations(ctx, start, end, sort_by, limit, skip any) *gomock.Call
GetAzureDataQualityAggregations indicates an expected call of GetAzureDataQualityAggregations.
func (*MockDatabaseMockRecorder) GetAzureDataQualityStats ¶
func (mr *MockDatabaseMockRecorder) GetAzureDataQualityStats(ctx, tenantId, start, end, sort_by, limit, skip any) *gomock.Call
GetAzureDataQualityStats indicates an expected call of GetAzureDataQualityStats.
func (*MockDatabaseMockRecorder) GetCompletedTasks ¶
func (mr *MockDatabaseMockRecorder) GetCompletedTasks(ctx, ingestJobId any) *gomock.Call
GetCompletedTasks indicates an expected call of GetCompletedTasks.
func (*MockDatabaseMockRecorder) GetConfigurationParameter ¶
func (mr *MockDatabaseMockRecorder) GetConfigurationParameter(ctx, parameterKey any) *gomock.Call
GetConfigurationParameter indicates an expected call of GetConfigurationParameter.
func (*MockDatabaseMockRecorder) GetCustomAssetGroupTagSelectorsToMigrate ¶
func (mr *MockDatabaseMockRecorder) GetCustomAssetGroupTagSelectorsToMigrate(ctx any) *gomock.Call
GetCustomAssetGroupTagSelectorsToMigrate indicates an expected call of GetCustomAssetGroupTagSelectorsToMigrate.
func (*MockDatabaseMockRecorder) GetCustomNodeKind ¶
func (mr *MockDatabaseMockRecorder) GetCustomNodeKind(ctx, kindName any) *gomock.Call
GetCustomNodeKind indicates an expected call of GetCustomNodeKind.
func (*MockDatabaseMockRecorder) GetCustomNodeKinds ¶
func (mr *MockDatabaseMockRecorder) GetCustomNodeKinds(ctx any) *gomock.Call
GetCustomNodeKinds indicates an expected call of GetCustomNodeKinds.
func (*MockDatabaseMockRecorder) GetDatapipeStatus ¶
func (mr *MockDatabaseMockRecorder) GetDatapipeStatus(ctx any) *gomock.Call
GetDatapipeStatus indicates an expected call of GetDatapipeStatus.
func (*MockDatabaseMockRecorder) GetEnvironmentByEnvironmentKindId ¶
func (mr *MockDatabaseMockRecorder) GetEnvironmentByEnvironmentKindId(ctx, environmentKindId any) *gomock.Call
GetEnvironmentByEnvironmentKindId indicates an expected call of GetEnvironmentByEnvironmentKindId.
func (*MockDatabaseMockRecorder) GetEnvironmentById ¶
func (mr *MockDatabaseMockRecorder) GetEnvironmentById(ctx, environmentId any) *gomock.Call
GetEnvironmentById indicates an expected call of GetEnvironmentById.
func (*MockDatabaseMockRecorder) GetEnvironmentTargetedAccessControlForUser ¶
func (mr *MockDatabaseMockRecorder) GetEnvironmentTargetedAccessControlForUser(ctx, user any) *gomock.Call
GetEnvironmentTargetedAccessControlForUser indicates an expected call of GetEnvironmentTargetedAccessControlForUser.
func (*MockDatabaseMockRecorder) GetEnvironments ¶
func (mr *MockDatabaseMockRecorder) GetEnvironments(ctx any) *gomock.Call
GetEnvironments indicates an expected call of GetEnvironments.
func (*MockDatabaseMockRecorder) GetEnvironmentsByExtensionId ¶
func (mr *MockDatabaseMockRecorder) GetEnvironmentsByExtensionId(ctx, extensionId any) *gomock.Call
GetEnvironmentsByExtensionId indicates an expected call of GetEnvironmentsByExtensionId.
func (*MockDatabaseMockRecorder) GetEnvironmentsFiltered ¶
func (mr *MockDatabaseMockRecorder) GetEnvironmentsFiltered(ctx, filters any) *gomock.Call
GetEnvironmentsFiltered indicates an expected call of GetEnvironmentsFiltered.
func (*MockDatabaseMockRecorder) GetFlag ¶
func (mr *MockDatabaseMockRecorder) GetFlag(ctx, id any) *gomock.Call
GetFlag indicates an expected call of GetFlag.
func (*MockDatabaseMockRecorder) GetFlagByKey ¶
func (mr *MockDatabaseMockRecorder) GetFlagByKey(arg0, arg1 any) *gomock.Call
GetFlagByKey indicates an expected call of GetFlagByKey.
func (*MockDatabaseMockRecorder) GetGraphSchemaExtensionById ¶
func (mr *MockDatabaseMockRecorder) GetGraphSchemaExtensionById(ctx, extensionId any) *gomock.Call
GetGraphSchemaExtensionById indicates an expected call of GetGraphSchemaExtensionById.
func (*MockDatabaseMockRecorder) GetGraphSchemaExtensions ¶
func (mr *MockDatabaseMockRecorder) GetGraphSchemaExtensions(ctx, extensionFilters, sort, skip, limit any) *gomock.Call
GetGraphSchemaExtensions indicates an expected call of GetGraphSchemaExtensions.
func (*MockDatabaseMockRecorder) GetGraphSchemaNodeKindById ¶
func (mr *MockDatabaseMockRecorder) GetGraphSchemaNodeKindById(ctx, schemaNodeKindID any) *gomock.Call
GetGraphSchemaNodeKindById indicates an expected call of GetGraphSchemaNodeKindById.
func (*MockDatabaseMockRecorder) GetGraphSchemaNodeKinds ¶
func (mr *MockDatabaseMockRecorder) GetGraphSchemaNodeKinds(ctx, nodeKindFilters, sort, skip, limit any) *gomock.Call
GetGraphSchemaNodeKinds indicates an expected call of GetGraphSchemaNodeKinds.
func (*MockDatabaseMockRecorder) GetGraphSchemaProperties ¶
func (mr *MockDatabaseMockRecorder) GetGraphSchemaProperties(ctx, filters, sort, skip, limit any) *gomock.Call
GetGraphSchemaProperties indicates an expected call of GetGraphSchemaProperties.
func (*MockDatabaseMockRecorder) GetGraphSchemaPropertyById ¶
func (mr *MockDatabaseMockRecorder) GetGraphSchemaPropertyById(ctx, extensionPropertyId any) *gomock.Call
GetGraphSchemaPropertyById indicates an expected call of GetGraphSchemaPropertyById.
func (*MockDatabaseMockRecorder) GetGraphSchemaRelationshipKindById ¶
func (mr *MockDatabaseMockRecorder) GetGraphSchemaRelationshipKindById(ctx, schemaRelationshipKindId any) *gomock.Call
GetGraphSchemaRelationshipKindById indicates an expected call of GetGraphSchemaRelationshipKindById.
func (*MockDatabaseMockRecorder) GetGraphSchemaRelationshipKinds ¶
func (mr *MockDatabaseMockRecorder) GetGraphSchemaRelationshipKinds(ctx, filters, sort, skip, limit any) *gomock.Call
GetGraphSchemaRelationshipKinds indicates an expected call of GetGraphSchemaRelationshipKinds.
func (*MockDatabaseMockRecorder) GetGraphSchemaRelationshipKindsWithSchemaName ¶
func (mr *MockDatabaseMockRecorder) GetGraphSchemaRelationshipKindsWithSchemaName(ctx, filters, sort, skip, limit any) *gomock.Call
GetGraphSchemaRelationshipKindsWithSchemaName indicates an expected call of GetGraphSchemaRelationshipKindsWithSchemaName.
func (*MockDatabaseMockRecorder) GetIngestJob ¶
func (mr *MockDatabaseMockRecorder) GetIngestJob(ctx, id any) *gomock.Call
GetIngestJob indicates an expected call of GetIngestJob.
func (*MockDatabaseMockRecorder) GetIngestJobsWithStatus ¶
func (mr *MockDatabaseMockRecorder) GetIngestJobsWithStatus(ctx, status any) *gomock.Call
GetIngestJobsWithStatus indicates an expected call of GetIngestJobsWithStatus.
func (*MockDatabaseMockRecorder) GetIngestTasksForJob ¶
func (mr *MockDatabaseMockRecorder) GetIngestTasksForJob(ctx, jobID any) *gomock.Call
GetIngestTasksForJob indicates an expected call of GetIngestTasksForJob.
func (*MockDatabaseMockRecorder) GetInstallation ¶
func (mr *MockDatabaseMockRecorder) GetInstallation(ctx any) *gomock.Call
GetInstallation indicates an expected call of GetInstallation.
func (*MockDatabaseMockRecorder) GetKindByName ¶
func (mr *MockDatabaseMockRecorder) GetKindByName(ctx, name any) *gomock.Call
GetKindByName indicates an expected call of GetKindByName.
func (*MockDatabaseMockRecorder) GetKindsByIDs ¶
func (mr *MockDatabaseMockRecorder) GetKindsByIDs(ctx any, ids ...any) *gomock.Call
GetKindsByIDs indicates an expected call of GetKindsByIDs.
func (*MockDatabaseMockRecorder) GetLatestAssetGroupCollection ¶
func (mr *MockDatabaseMockRecorder) GetLatestAssetGroupCollection(ctx, assetGroupID any) *gomock.Call
GetLatestAssetGroupCollection indicates an expected call of GetLatestAssetGroupCollection.
func (*MockDatabaseMockRecorder) GetOrderedAssetGroupTagTiers ¶
func (mr *MockDatabaseMockRecorder) GetOrderedAssetGroupTagTiers(ctx any) *gomock.Call
GetOrderedAssetGroupTagTiers indicates an expected call of GetOrderedAssetGroupTagTiers.
func (*MockDatabaseMockRecorder) GetPermission ¶
func (mr *MockDatabaseMockRecorder) GetPermission(ctx, id any) *gomock.Call
GetPermission indicates an expected call of GetPermission.
func (*MockDatabaseMockRecorder) GetPrincipalKindsByEnvironmentId ¶
func (mr *MockDatabaseMockRecorder) GetPrincipalKindsByEnvironmentId(ctx, environmentId any) *gomock.Call
GetPrincipalKindsByEnvironmentId indicates an expected call of GetPrincipalKindsByEnvironmentId.
func (*MockDatabaseMockRecorder) GetPublicSavedQueries ¶
func (mr *MockDatabaseMockRecorder) GetPublicSavedQueries(ctx any) *gomock.Call
GetPublicSavedQueries indicates an expected call of GetPublicSavedQueries.
func (*MockDatabaseMockRecorder) GetRemediationByFindingId ¶
func (mr *MockDatabaseMockRecorder) GetRemediationByFindingId(ctx, findingId any) *gomock.Call
GetRemediationByFindingId indicates an expected call of GetRemediationByFindingId.
func (*MockDatabaseMockRecorder) GetRemediationByFindingName ¶
func (mr *MockDatabaseMockRecorder) GetRemediationByFindingName(ctx, findingName any) *gomock.Call
GetRemediationByFindingName indicates an expected call of GetRemediationByFindingName.
func (*MockDatabaseMockRecorder) GetRole ¶
func (mr *MockDatabaseMockRecorder) GetRole(ctx, id any) *gomock.Call
GetRole indicates an expected call of GetRole.
func (*MockDatabaseMockRecorder) GetRoles ¶
func (mr *MockDatabaseMockRecorder) GetRoles(ctx, ids any) *gomock.Call
GetRoles indicates an expected call of GetRoles.
func (*MockDatabaseMockRecorder) GetSAMLProvider ¶
func (mr *MockDatabaseMockRecorder) GetSAMLProvider(ctx, id any) *gomock.Call
GetSAMLProvider indicates an expected call of GetSAMLProvider.
func (*MockDatabaseMockRecorder) GetSAMLProviderUsers ¶
func (mr *MockDatabaseMockRecorder) GetSAMLProviderUsers(ctx, id any) *gomock.Call
GetSAMLProviderUsers indicates an expected call of GetSAMLProviderUsers.
func (*MockDatabaseMockRecorder) GetSSOProviderById ¶
func (mr *MockDatabaseMockRecorder) GetSSOProviderById(ctx, id any) *gomock.Call
GetSSOProviderById indicates an expected call of GetSSOProviderById.
func (*MockDatabaseMockRecorder) GetSSOProviderBySlug ¶
func (mr *MockDatabaseMockRecorder) GetSSOProviderBySlug(ctx, slug any) *gomock.Call
GetSSOProviderBySlug indicates an expected call of GetSSOProviderBySlug.
func (*MockDatabaseMockRecorder) GetSSOProviderUsers ¶
func (mr *MockDatabaseMockRecorder) GetSSOProviderUsers(ctx, id any) *gomock.Call
GetSSOProviderUsers indicates an expected call of GetSSOProviderUsers.
func (*MockDatabaseMockRecorder) GetSavedQueriesOwnedBy ¶
func (mr *MockDatabaseMockRecorder) GetSavedQueriesOwnedBy(ctx, userID any) *gomock.Call
GetSavedQueriesOwnedBy indicates an expected call of GetSavedQueriesOwnedBy.
func (*MockDatabaseMockRecorder) GetSavedQuery ¶
func (mr *MockDatabaseMockRecorder) GetSavedQuery(ctx, savedQueryID any) *gomock.Call
GetSavedQuery indicates an expected call of GetSavedQuery.
func (*MockDatabaseMockRecorder) GetSavedQueryPermissions ¶
func (mr *MockDatabaseMockRecorder) GetSavedQueryPermissions(ctx, queryID any) *gomock.Call
GetSavedQueryPermissions indicates an expected call of GetSavedQueryPermissions.
func (*MockDatabaseMockRecorder) GetSchemaRelationshipFindingById ¶
func (mr *MockDatabaseMockRecorder) GetSchemaRelationshipFindingById(ctx, findingId any) *gomock.Call
GetSchemaRelationshipFindingById indicates an expected call of GetSchemaRelationshipFindingById.
func (*MockDatabaseMockRecorder) GetSchemaRelationshipFindingByName ¶
func (mr *MockDatabaseMockRecorder) GetSchemaRelationshipFindingByName(ctx, name any) *gomock.Call
GetSchemaRelationshipFindingByName indicates an expected call of GetSchemaRelationshipFindingByName.
func (*MockDatabaseMockRecorder) GetScopeForSavedQuery ¶
func (mr *MockDatabaseMockRecorder) GetScopeForSavedQuery(ctx, queryID, userID any) *gomock.Call
GetScopeForSavedQuery indicates an expected call of GetScopeForSavedQuery.
func (*MockDatabaseMockRecorder) GetSelectorNodesBySelectorIds ¶
func (mr *MockDatabaseMockRecorder) GetSelectorNodesBySelectorIds(ctx any, selectorIds ...any) *gomock.Call
GetSelectorNodesBySelectorIds indicates an expected call of GetSelectorNodesBySelectorIds.
func (*MockDatabaseMockRecorder) GetSelectorNodesBySelectorIdsFilteredAndPaginated ¶
func (mr *MockDatabaseMockRecorder) GetSelectorNodesBySelectorIdsFilteredAndPaginated(ctx, sqlFilter, sort, skip, limit any, selectorIds ...any) *gomock.Call
GetSelectorNodesBySelectorIdsFilteredAndPaginated indicates an expected call of GetSelectorNodesBySelectorIdsFilteredAndPaginated.
func (*MockDatabaseMockRecorder) GetSelectorsByMemberId ¶
func (mr *MockDatabaseMockRecorder) GetSelectorsByMemberId(ctx, memberId, assetGroupTagId any) *gomock.Call
GetSelectorsByMemberId indicates an expected call of GetSelectorsByMemberId.
func (*MockDatabaseMockRecorder) GetSharedSavedQueries ¶
func (mr *MockDatabaseMockRecorder) GetSharedSavedQueries(ctx, userID any) *gomock.Call
GetSharedSavedQueries indicates an expected call of GetSharedSavedQueries.
func (*MockDatabaseMockRecorder) GetSourceKindByName ¶
func (mr *MockDatabaseMockRecorder) GetSourceKindByName(ctx, name any) *gomock.Call
GetSourceKindByName indicates an expected call of GetSourceKindByName.
func (*MockDatabaseMockRecorder) GetSourceKinds ¶
func (mr *MockDatabaseMockRecorder) GetSourceKinds(ctx any) *gomock.Call
GetSourceKinds indicates an expected call of GetSourceKinds.
func (*MockDatabaseMockRecorder) GetSourceKindsByIDs ¶
func (mr *MockDatabaseMockRecorder) GetSourceKindsByIDs(ctx any, ids ...any) *gomock.Call
GetSourceKindsByIDs indicates an expected call of GetSourceKindsByIDs.
func (*MockDatabaseMockRecorder) GetTimeRangedAssetGroupCollections ¶
func (mr *MockDatabaseMockRecorder) GetTimeRangedAssetGroupCollections(ctx, assetGroupID, from, to, order any) *gomock.Call
GetTimeRangedAssetGroupCollections indicates an expected call of GetTimeRangedAssetGroupCollections.
func (*MockDatabaseMockRecorder) GetTraversableRelationshipKindsByExtensionID ¶
func (mr *MockDatabaseMockRecorder) GetTraversableRelationshipKindsByExtensionID(ctx, extensionID any) *gomock.Call
GetTraversableRelationshipKindsByExtensionID indicates an expected call of GetTraversableRelationshipKindsByExtensionID.
func (*MockDatabaseMockRecorder) GetUser ¶
func (mr *MockDatabaseMockRecorder) GetUser(ctx, id any) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockDatabaseMockRecorder) GetUserSession ¶
func (mr *MockDatabaseMockRecorder) GetUserSession(ctx, id any) *gomock.Call
GetUserSession indicates an expected call of GetUserSession.
func (*MockDatabaseMockRecorder) GetUserToken ¶
func (mr *MockDatabaseMockRecorder) GetUserToken(ctx, userId, tokenId any) *gomock.Call
GetUserToken indicates an expected call of GetUserToken.
func (*MockDatabaseMockRecorder) HasAnalysisRequest ¶
func (mr *MockDatabaseMockRecorder) HasAnalysisRequest(ctx any) *gomock.Call
HasAnalysisRequest indicates an expected call of HasAnalysisRequest.
func (*MockDatabaseMockRecorder) HasCollectedGraphDataDeletionRequest ¶
func (mr *MockDatabaseMockRecorder) HasCollectedGraphDataDeletionRequest(ctx any) *gomock.Call
HasCollectedGraphDataDeletionRequest indicates an expected call of HasCollectedGraphDataDeletionRequest.
func (*MockDatabaseMockRecorder) HasInstallation ¶
func (mr *MockDatabaseMockRecorder) HasInstallation(ctx any) *gomock.Call
HasInstallation indicates an expected call of HasInstallation.
func (*MockDatabaseMockRecorder) InitializeSecretAuth ¶
func (mr *MockDatabaseMockRecorder) InitializeSecretAuth(ctx, adminUser, authSecret any) *gomock.Call
InitializeSecretAuth indicates an expected call of InitializeSecretAuth.
func (*MockDatabaseMockRecorder) InsertSelectorNode ¶
func (mr *MockDatabaseMockRecorder) InsertSelectorNode(ctx, assetGroupTagId, selectorId, nodeId, certified, certifiedBy, source, primaryKind, environmentId, objectId, name any) *gomock.Call
InsertSelectorNode indicates an expected call of InsertSelectorNode.
func (*MockDatabaseMockRecorder) IsSavedQueryPublic ¶
func (mr *MockDatabaseMockRecorder) IsSavedQueryPublic(ctx, savedQueryID any) *gomock.Call
IsSavedQueryPublic indicates an expected call of IsSavedQueryPublic.
func (*MockDatabaseMockRecorder) IsSavedQuerySharedToUser ¶
func (mr *MockDatabaseMockRecorder) IsSavedQuerySharedToUser(ctx, queryID, userID any) *gomock.Call
IsSavedQuerySharedToUser indicates an expected call of IsSavedQuerySharedToUser.
func (*MockDatabaseMockRecorder) IsSavedQuerySharedToUserOrPublic ¶
func (mr *MockDatabaseMockRecorder) IsSavedQuerySharedToUserOrPublic(ctx, queryID, userID any) *gomock.Call
IsSavedQuerySharedToUserOrPublic indicates an expected call of IsSavedQuerySharedToUserOrPublic.
func (*MockDatabaseMockRecorder) ListAuditLogs ¶
func (mr *MockDatabaseMockRecorder) ListAuditLogs(ctx, before, after, offset, limit, order, filter any) *gomock.Call
ListAuditLogs indicates an expected call of ListAuditLogs.
func (*MockDatabaseMockRecorder) ListSavedQueries ¶
func (mr *MockDatabaseMockRecorder) ListSavedQueries(ctx, scope, userID, order, filter, skip, limit any) *gomock.Call
ListSavedQueries indicates an expected call of ListSavedQueries.
func (*MockDatabaseMockRecorder) LookupActiveSessionsByUser ¶
func (mr *MockDatabaseMockRecorder) LookupActiveSessionsByUser(ctx, user any) *gomock.Call
LookupActiveSessionsByUser indicates an expected call of LookupActiveSessionsByUser.
func (*MockDatabaseMockRecorder) LookupUser ¶
func (mr *MockDatabaseMockRecorder) LookupUser(ctx, principalName any) *gomock.Call
LookupUser indicates an expected call of LookupUser.
func (*MockDatabaseMockRecorder) Migrate ¶
func (mr *MockDatabaseMockRecorder) Migrate(ctx any) *gomock.Call
Migrate indicates an expected call of Migrate.
func (*MockDatabaseMockRecorder) PopulateExtensionData ¶
func (mr *MockDatabaseMockRecorder) PopulateExtensionData(ctx any) *gomock.Call
PopulateExtensionData indicates an expected call of PopulateExtensionData.
func (*MockDatabaseMockRecorder) RegisterSourceKind ¶
func (mr *MockDatabaseMockRecorder) RegisterSourceKind(ctx any) *gomock.Call
RegisterSourceKind indicates an expected call of RegisterSourceKind.
func (*MockDatabaseMockRecorder) RequestAnalysis ¶
func (mr *MockDatabaseMockRecorder) RequestAnalysis(ctx, requester any) *gomock.Call
RequestAnalysis indicates an expected call of RequestAnalysis.
func (*MockDatabaseMockRecorder) RequestCollectedGraphDataDeletion ¶
func (mr *MockDatabaseMockRecorder) RequestCollectedGraphDataDeletion(ctx, request any) *gomock.Call
RequestCollectedGraphDataDeletion indicates an expected call of RequestCollectedGraphDataDeletion.
func (*MockDatabaseMockRecorder) SanitizeUpdateAssetGroupTagRequireCertify ¶
func (mr *MockDatabaseMockRecorder) SanitizeUpdateAssetGroupTagRequireCertify(tag any) *gomock.Call
SanitizeUpdateAssetGroupTagRequireCertify indicates an expected call of SanitizeUpdateAssetGroupTagRequireCertify.
func (*MockDatabaseMockRecorder) SavedQueryBelongsToUser ¶
func (mr *MockDatabaseMockRecorder) SavedQueryBelongsToUser(ctx, userID, savedQueryID any) *gomock.Call
SavedQueryBelongsToUser indicates an expected call of SavedQueryBelongsToUser.
func (*MockDatabaseMockRecorder) SetConfigurationParameter ¶
func (mr *MockDatabaseMockRecorder) SetConfigurationParameter(ctx, configurationParameter any) *gomock.Call
SetConfigurationParameter indicates an expected call of SetConfigurationParameter.
func (*MockDatabaseMockRecorder) SetDatapipeStatus ¶
func (mr *MockDatabaseMockRecorder) SetDatapipeStatus(ctx, status any) *gomock.Call
SetDatapipeStatus indicates an expected call of SetDatapipeStatus.
func (*MockDatabaseMockRecorder) SetFlag ¶
func (mr *MockDatabaseMockRecorder) SetFlag(ctx, value any) *gomock.Call
SetFlag indicates an expected call of SetFlag.
func (*MockDatabaseMockRecorder) SetUserSessionFlag ¶
func (mr *MockDatabaseMockRecorder) SetUserSessionFlag(ctx, userSession, key, state any) *gomock.Call
SetUserSessionFlag indicates an expected call of SetUserSessionFlag.
func (*MockDatabaseMockRecorder) SweepAssetGroupCollections ¶
func (mr *MockDatabaseMockRecorder) SweepAssetGroupCollections(ctx any) *gomock.Call
SweepAssetGroupCollections indicates an expected call of SweepAssetGroupCollections.
func (*MockDatabaseMockRecorder) SweepSessions ¶
func (mr *MockDatabaseMockRecorder) SweepSessions(ctx any) *gomock.Call
SweepSessions indicates an expected call of SweepSessions.
func (*MockDatabaseMockRecorder) TerminateUserSessionsBySSOProvider ¶
func (mr *MockDatabaseMockRecorder) TerminateUserSessionsBySSOProvider(ctx, ssoProvider any) *gomock.Call
TerminateUserSessionsBySSOProvider indicates an expected call of TerminateUserSessionsBySSOProvider.
func (*MockDatabaseMockRecorder) UpdateAssetGroup ¶
func (mr *MockDatabaseMockRecorder) UpdateAssetGroup(ctx, assetGroup any) *gomock.Call
UpdateAssetGroup indicates an expected call of UpdateAssetGroup.
func (*MockDatabaseMockRecorder) UpdateAssetGroupSelectors ¶
func (mr *MockDatabaseMockRecorder) UpdateAssetGroupSelectors(ctx, assetGroup, selectorSpecs, systemSelector any) *gomock.Call
UpdateAssetGroupSelectors indicates an expected call of UpdateAssetGroupSelectors.
func (*MockDatabaseMockRecorder) UpdateAssetGroupTag ¶
func (mr *MockDatabaseMockRecorder) UpdateAssetGroupTag(ctx, user, tag any) *gomock.Call
UpdateAssetGroupTag indicates an expected call of UpdateAssetGroupTag.
func (*MockDatabaseMockRecorder) UpdateAssetGroupTagSelector ¶
func (mr *MockDatabaseMockRecorder) UpdateAssetGroupTagSelector(ctx, actorId, email, selector any) *gomock.Call
UpdateAssetGroupTagSelector indicates an expected call of UpdateAssetGroupTagSelector.
func (*MockDatabaseMockRecorder) UpdateAuthSecret ¶
func (mr *MockDatabaseMockRecorder) UpdateAuthSecret(ctx, authSecret any) *gomock.Call
UpdateAuthSecret indicates an expected call of UpdateAuthSecret.
func (*MockDatabaseMockRecorder) UpdateAuthToken ¶
func (mr *MockDatabaseMockRecorder) UpdateAuthToken(ctx, authToken any) *gomock.Call
UpdateAuthToken indicates an expected call of UpdateAuthToken.
func (*MockDatabaseMockRecorder) UpdateCertificationBySelectorNode ¶
func (mr *MockDatabaseMockRecorder) UpdateCertificationBySelectorNode(ctx, input any) *gomock.Call
UpdateCertificationBySelectorNode indicates an expected call of UpdateCertificationBySelectorNode.
func (*MockDatabaseMockRecorder) UpdateCustomNodeKind ¶
func (mr *MockDatabaseMockRecorder) UpdateCustomNodeKind(ctx, customNodeKind any) *gomock.Call
UpdateCustomNodeKind indicates an expected call of UpdateCustomNodeKind.
func (*MockDatabaseMockRecorder) UpdateGraphSchemaExtension ¶
func (mr *MockDatabaseMockRecorder) UpdateGraphSchemaExtension(ctx, extension any) *gomock.Call
UpdateGraphSchemaExtension indicates an expected call of UpdateGraphSchemaExtension.
func (*MockDatabaseMockRecorder) UpdateGraphSchemaNodeKind ¶
func (mr *MockDatabaseMockRecorder) UpdateGraphSchemaNodeKind(ctx, schemaNodeKind any) *gomock.Call
UpdateGraphSchemaNodeKind indicates an expected call of UpdateGraphSchemaNodeKind.
func (*MockDatabaseMockRecorder) UpdateGraphSchemaProperty ¶
func (mr *MockDatabaseMockRecorder) UpdateGraphSchemaProperty(ctx, property any) *gomock.Call
UpdateGraphSchemaProperty indicates an expected call of UpdateGraphSchemaProperty.
func (*MockDatabaseMockRecorder) UpdateGraphSchemaRelationshipKind ¶
func (mr *MockDatabaseMockRecorder) UpdateGraphSchemaRelationshipKind(ctx, schemaRelationshipKind any) *gomock.Call
UpdateGraphSchemaRelationshipKind indicates an expected call of UpdateGraphSchemaRelationshipKind.
func (*MockDatabaseMockRecorder) UpdateIngestJob ¶
func (mr *MockDatabaseMockRecorder) UpdateIngestJob(ctx, job any) *gomock.Call
UpdateIngestJob indicates an expected call of UpdateIngestJob.
func (*MockDatabaseMockRecorder) UpdateLastAnalysisCompleteTime ¶
func (mr *MockDatabaseMockRecorder) UpdateLastAnalysisCompleteTime(ctx any) *gomock.Call
UpdateLastAnalysisCompleteTime indicates an expected call of UpdateLastAnalysisCompleteTime.
func (*MockDatabaseMockRecorder) UpdateOIDCProvider ¶
func (mr *MockDatabaseMockRecorder) UpdateOIDCProvider(ctx, ssoProvider any) *gomock.Call
UpdateOIDCProvider indicates an expected call of UpdateOIDCProvider.
func (*MockDatabaseMockRecorder) UpdateRemediation ¶
func (mr *MockDatabaseMockRecorder) UpdateRemediation(ctx, findingId, shortDescription, longDescription, shortRemediation, longRemediation any) *gomock.Call
UpdateRemediation indicates an expected call of UpdateRemediation.
func (*MockDatabaseMockRecorder) UpdateSAMLIdentityProvider ¶
func (mr *MockDatabaseMockRecorder) UpdateSAMLIdentityProvider(ctx, ssoProvider any) *gomock.Call
UpdateSAMLIdentityProvider indicates an expected call of UpdateSAMLIdentityProvider.
func (*MockDatabaseMockRecorder) UpdateSSOProvider ¶
func (mr *MockDatabaseMockRecorder) UpdateSSOProvider(ctx, ssoProvider any) *gomock.Call
UpdateSSOProvider indicates an expected call of UpdateSSOProvider.
func (*MockDatabaseMockRecorder) UpdateSavedQuery ¶
func (mr *MockDatabaseMockRecorder) UpdateSavedQuery(ctx, savedQuery any) *gomock.Call
UpdateSavedQuery indicates an expected call of UpdateSavedQuery.
func (*MockDatabaseMockRecorder) UpdateSelectorNodesByNodeId ¶
func (mr *MockDatabaseMockRecorder) UpdateSelectorNodesByNodeId(ctx, assetGroupTagId, selectorId, nodeId, certified, certifiedBy, primaryKind, environmentId, objectId, name any) *gomock.Call
UpdateSelectorNodesByNodeId indicates an expected call of UpdateSelectorNodesByNodeId.
func (*MockDatabaseMockRecorder) UpdateUser ¶
func (mr *MockDatabaseMockRecorder) UpdateUser(ctx, user any) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.