Documentation
¶
Overview ¶
Package controller provides a mock insights controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInsightsController ¶
type MockInsightsController struct { CollectorEndpoint string // endpoint to send metrics to APIKey string // api key to use as auth for the collector TotalHours int // number of hours calculated as time.Now() - (time.Hour * `env.TOTAL_HOURS`) NumNodes int // total number of nodes PodsPerNode int // number of pods to generate data per node CPUPerNode int64 // number of CPUs to use for each node MemPerNode int64 // number of memory in bytes for each node NumBatches int // number of times to send the data ChunkSize int // size to break the metrics into when sending to the collector }
func (*MockInsightsController) Run ¶
func (c *MockInsightsController) Run() error
Click to show internal directories.
Click to hide internal directories.