controller

package
v1.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL