Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StatCaller ¶
func StatCaller(t *testing.T, baseTime time.Time, numCalls, numPartitions int, jitter float32, interval common.Interval) iter.Seq2[int, time.Time]
StatCaller returns an iterator that spreads numCalls over the period of time of numPartitions*interval with jitter (typically 0.1 or 10%) jitter. The times will always be monotonically incrementing.
Types ¶
type AdminSubject ¶
type AdminSubject struct{}
func (*AdminSubject) GetName ¶
func (*AdminSubject) GetName() string
func (*AdminSubject) GetRoles ¶
func (*AdminSubject) GetRoles() []string
func (*AdminSubject) String ¶
func (*AdminSubject) String() string
type DB ¶
type DBOpt ¶
type DBOpt func(*dbOpts)
func WithPartConfig ¶
func WithPartConfig(pc PartConfig) DBOpt
type PartConfig ¶
func CustomPartConfig ¶
func CustomPartConfig(cfg config.Partition) PartConfig
func DailyPartConfig ¶
func DailyPartConfig() PartConfig
Click to show internal directories.
Click to hide internal directories.