Documentation
¶
Index ¶
- Constants
- type Generator
- type ScaleConfig
- type ScaleScenario
- func (s *ScaleScenario) EdgeCount() int
- func (s *ScaleScenario) EdgeMutationReport(at time.Time, sequence int64) domain.ReportEnvelope
- func (s *ScaleScenario) HelloReports(at time.Time) []domain.ReportEnvelope
- func (s *ScaleScenario) Load(ctx context.Context, application *app.App, at time.Time) error
- func (s *ScaleScenario) NodeCount() int
- func (s *ScaleScenario) RefreshRuntime(aggregator *aggregate.Aggregator, at time.Time, sequence int64) error
- func (s *ScaleScenario) Reports(at time.Time) []TimedReport
- func (s *ScaleScenario) SteadyReports(at time.Time, sequence int64) []domain.ReportEnvelope
- type TimedReport
Constants ¶
View Source
const ( DefaultScaleSeed int64 = 0x7461696c70617468 DefaultScaleNodeCount = 250 DefaultScaleEdgeCount = 1000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScaleConfig ¶
func DefaultScaleConfig ¶
func DefaultScaleConfig() ScaleConfig
type ScaleScenario ¶
type ScaleScenario struct {
// contains filtered or unexported fields
}
func NewScaleScenario ¶
func NewScaleScenario(config ScaleConfig) (*ScaleScenario, error)
func (*ScaleScenario) EdgeCount ¶
func (s *ScaleScenario) EdgeCount() int
func (*ScaleScenario) EdgeMutationReport ¶
func (s *ScaleScenario) EdgeMutationReport(at time.Time, sequence int64) domain.ReportEnvelope
func (*ScaleScenario) HelloReports ¶
func (s *ScaleScenario) HelloReports(at time.Time) []domain.ReportEnvelope
func (*ScaleScenario) NodeCount ¶
func (s *ScaleScenario) NodeCount() int
func (*ScaleScenario) RefreshRuntime ¶
func (s *ScaleScenario) RefreshRuntime(aggregator *aggregate.Aggregator, at time.Time, sequence int64) error
RefreshRuntime keeps the test-only browser fixture inside the ten-second active window after the intentionally unoptimized persistent load finishes.
func (*ScaleScenario) Reports ¶
func (s *ScaleScenario) Reports(at time.Time) []TimedReport
func (*ScaleScenario) SteadyReports ¶
func (s *ScaleScenario) SteadyReports(at time.Time, sequence int64) []domain.ReportEnvelope
type TimedReport ¶
type TimedReport struct {
Report domain.ReportEnvelope
ReceivedAt time.Time
}
Click to show internal directories.
Click to hide internal directories.