Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultT = 24 DefaultSlotLength = 60 //second DefaultRevisitTime = 1000000000 * 60 //nano second DefaultCarbonIntensity = 475 DefaultRunTime = 1 )
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { Name string GeoLocation string Carbon []float64 CPU float64 GPU float64 PowerSlope float64 }
Each Cluster instance represents a clusterinfo object in hub.
type Weights ¶
type Weights map[v1.ResourceName]*inf.Dec
type Weights2 ¶
type Weights2 map[v1.ResourceName]float64
Click to show internal directories.
Click to hide internal directories.