package
4.5.1+incompatible
Repository: https://github.com/sourcegraph/sourcegraph.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
New returns a new Store backed by the given Postgres db.
NewDashboardStore returns a new DBDashboardStore backed by the given Postgres db.
No description provided by the author
NewInsightStore returns a new InsightStore backed by the given Postgres db.
NewInsightStoreWith returns a new InsightStore backed by the given Postgres db.
NewMockDataSeriesStore creates a new mock of the DataSeriesStore interface.
NewMockDataSeriesStoreFrom creates a new mock of the MockDataSeriesStore interface.
NewMockInsightMetadataStore creates a new mock of the InsightMetadataStore interface.
NewMockInsightMetadataStoreFrom creates a new mock of the MockInsightMetadataStore interface.
NewMockInterface creates a new mock of the Interface interface.
NewMockInterfaceFrom creates a new mock of the MockInterface interface.
No description provided by the author
No description provided by the author
NewStrictMockDataSeriesStore creates a new mock of the DataSeriesStore interface.
NewStrictMockInsightMetadataStore creates a new mock of the InsightMetadataStore interface.
NewStrictMockInterface creates a new mock of the Interface interface.
NewWithClock returns a new Store backed by the given db and clock for timestamps.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
This is a singleton dashboard that facilitates users having global access to their insights in Limited Access Mode.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DataSeriesStoreCompleteJustInTimeConversionAttemptFunc describes the behavior when the CompleteJustInTimeConversionAttempt method of the parent MockDataSeriesStore instance is invoked.
DataSeriesStoreCompleteJustInTimeConversionAttemptFuncCall is an object that describes an invocation of method CompleteJustInTimeConversionAttempt on an instance of MockDataSeriesStore.
DataSeriesStoreGetDataSeriesFunc describes the behavior when the GetDataSeries method of the parent MockDataSeriesStore instance is invoked.
DataSeriesStoreGetDataSeriesFuncCall is an object that describes an invocation of method GetDataSeries on an instance of MockDataSeriesStore.
DataSeriesStoreGetScopedSearchSeriesNeedBackfillFunc describes the behavior when the GetScopedSearchSeriesNeedBackfill method of the parent MockDataSeriesStore instance is invoked.
DataSeriesStoreGetScopedSearchSeriesNeedBackfillFuncCall is an object that describes an invocation of method GetScopedSearchSeriesNeedBackfill on an instance of MockDataSeriesStore.
DataSeriesStoreIncrementBackfillAttemptsFunc describes the behavior when the IncrementBackfillAttempts method of the parent MockDataSeriesStore instance is invoked.
DataSeriesStoreIncrementBackfillAttemptsFuncCall is an object that describes an invocation of method IncrementBackfillAttempts on an instance of MockDataSeriesStore.
DataSeriesStoreSetSeriesEnabledFunc describes the behavior when the SetSeriesEnabled method of the parent MockDataSeriesStore instance is invoked.
DataSeriesStoreSetSeriesEnabledFuncCall is an object that describes an invocation of method SetSeriesEnabled on an instance of MockDataSeriesStore.
DataSeriesStoreStampBackfillFunc describes the behavior when the StampBackfill method of the parent MockDataSeriesStore instance is invoked.
DataSeriesStoreStampBackfillFuncCall is an object that describes an invocation of method StampBackfill on an instance of MockDataSeriesStore.
DataSeriesStoreStampRecordingFunc describes the behavior when the StampRecording method of the parent MockDataSeriesStore instance is invoked.
DataSeriesStoreStampRecordingFuncCall is an object that describes an invocation of method StampRecording on an instance of MockDataSeriesStore.
DataSeriesStoreStampSnapshotFunc describes the behavior when the StampSnapshot method of the parent MockDataSeriesStore instance is invoked.
DataSeriesStoreStampSnapshotFuncCall is an object that describes an invocation of method StampSnapshot on an instance of MockDataSeriesStore.
DataSeriesStoreStartJustInTimeConversionAttemptFunc describes the behavior when the StartJustInTimeConversionAttempt method of the parent MockDataSeriesStore instance is invoked.
DataSeriesStoreStartJustInTimeConversionAttemptFuncCall is an object that describes an invocation of method StartJustInTimeConversionAttempt on an instance of MockDataSeriesStore.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InsightMetadataStoreGetMappedFunc describes the behavior when the GetMapped method of the parent MockInsightMetadataStore instance is invoked.
InsightMetadataStoreGetMappedFuncCall is an object that describes an invocation of method GetMapped on an instance of MockInsightMetadataStore.
No description provided by the author
InsightQueryArgs contains query predicates for fetching viewable insight series.
No description provided by the author
No description provided by the author
No description provided by the author
InterfaceAddIncompleteDatapointFunc describes the behavior when the AddIncompleteDatapoint method of the parent MockInterface instance is invoked.
InterfaceAddIncompleteDatapointFuncCall is an object that describes an invocation of method AddIncompleteDatapoint on an instance of MockInterface.
InterfaceCountDataFunc describes the behavior when the CountData method of the parent MockInterface instance is invoked.
InterfaceCountDataFuncCall is an object that describes an invocation of method CountData on an instance of MockInterface.
InterfaceGetAllDataForInsightViewIDFunc describes the behavior when the GetAllDataForInsightViewID method of the parent MockInterface instance is invoked.
InterfaceGetAllDataForInsightViewIDFuncCall is an object that describes an invocation of method GetAllDataForInsightViewID on an instance of MockInterface.
InterfaceGetInsightSeriesRecordingTimesFunc describes the behavior when the GetInsightSeriesRecordingTimes method of the parent MockInterface instance is invoked.
InterfaceGetInsightSeriesRecordingTimesFuncCall is an object that describes an invocation of method GetInsightSeriesRecordingTimes on an instance of MockInterface.
InterfaceLoadAggregatedIncompleteDatapointsFunc describes the behavior when the LoadAggregatedIncompleteDatapoints method of the parent MockInterface instance is invoked.
InterfaceLoadAggregatedIncompleteDatapointsFuncCall is an object that describes an invocation of method LoadAggregatedIncompleteDatapoints on an instance of MockInterface.
InterfaceRecordSeriesPointsAndRecordingTimesFunc describes the behavior when the RecordSeriesPointsAndRecordingTimes method of the parent MockInterface instance is invoked.
InterfaceRecordSeriesPointsAndRecordingTimesFuncCall is an object that describes an invocation of method RecordSeriesPointsAndRecordingTimes on an instance of MockInterface.
InterfaceRecordSeriesPointsFunc describes the behavior when the RecordSeriesPoints method of the parent MockInterface instance is invoked.
InterfaceRecordSeriesPointsFuncCall is an object that describes an invocation of method RecordSeriesPoints on an instance of MockInterface.
InterfaceSeriesPointsFunc describes the behavior when the SeriesPoints method of the parent MockInterface instance is invoked.
InterfaceSeriesPointsFuncCall is an object that describes an invocation of method SeriesPoints on an instance of MockInterface.
InterfaceSetInsightSeriesRecordingTimesFunc describes the behavior when the SetInsightSeriesRecordingTimes method of the parent MockInterface instance is invoked.
InterfaceSetInsightSeriesRecordingTimesFuncCall is an object that describes an invocation of method SetInsightSeriesRecordingTimes on an instance of MockInterface.
InterfaceWithOtherFunc describes the behavior when the WithOther method of the parent MockInterface instance is invoked.
InterfaceWithOtherFuncCall is an object that describes an invocation of method WithOther on an instance of MockInterface.
No description provided by the author
MockDataSeriesStore is a mock implementation of the DataSeriesStore interface (from the package github.com/sourcegraph/sourcegraph/enterprise/internal/insights/store) used for unit testing.
MockInsightMetadataStore is a mock implementation of the InsightMetadataStore interface (from the package github.com/sourcegraph/sourcegraph/enterprise/internal/insights/store) used for unit testing.
MockInterface is a mock implementation of the Interface interface (from the package github.com/sourcegraph/sourcegraph/enterprise/internal/insights/store) used for unit testing.
RecordSeriesPointArgs describes arguments for the RecordSeriesPoint method.
No description provided by the author
SeriesPoint describes a single insights' series data point.
SeriesPointForExport contains series points data that has additional metadata, like insight view title.
SeriesPointsOpts describes options for querying insights' series data points.
No description provided by the author
Store exposes methods to read and write code insights domain models from persistent storage.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Interface is the interface describing a code insights store.
SearchContextLoader loads search contexts just from the full name of the context.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author