Documentation
¶
Index ¶
- func MakeAggregation(bucketCount int, opts *MakeAggOpts) *seqapi.Aggregation
- func MakeAggregations(aggCount, bucketCount int, opts *MakeAggOpts) []*seqapi.Aggregation
- func MakeEvent(id string, countData int, t time.Time) *seqapi.Event
- func MakeEvents(count int, t time.Time) []*seqapi.Event
- func MakeHistogram(bucketCount int) *seqapi.Histogram
- func SetCfgDefaults(cfg config.SeqAPI) config.SeqAPI
- type APITestData
- type CacheMockArgs
- type MakeAggOpts
- type Mocks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAggregation ¶
func MakeAggregation(bucketCount int, opts *MakeAggOpts) *seqapi.Aggregation
func MakeAggregations ¶
func MakeAggregations(aggCount, bucketCount int, opts *MakeAggOpts) []*seqapi.Aggregation
func MakeHistogram ¶
Types ¶
type APITestData ¶
type CacheMockArgs ¶
type MakeAggOpts ¶
type MakeAggOpts struct {
NotExists int64
Quantiles []float64
Ts []*timestamppb.Timestamp
}
type Mocks ¶
type Mocks struct {
SeqDB *mock_seqdb.MockClient
Cache *mock_cache.MockCache
AsyncSearchesRepo *mock_repo.MockAsyncSearches
ProfilesRepo *mock_repo.MockUserProfiles
}
Click to show internal directories.
Click to hide internal directories.