controller

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: Apache-2.0 Imports: 16 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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