Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointProvider ¶
type EndpointProvider interface {
Endpoint() (string, error)
Get(ctx context.Context, predictorType PredictorType) (*waov1beta1.EndpointTerm, error)
}
type PowerConsumptionPredictor ¶
type PowerConsumptionPredictor interface {
Endpoint() (string, error)
Predict(ctx context.Context, cpuUsage, inletTemp, deltaP float64) (watt float64, err error)
}
type PredictorType ¶
type PredictorType string
const (
TypePowerConsumption PredictorType = "PowerConsumption"
TypeResponseTime PredictorType = "ResponseTime"
)
type ResponseTimePredictor ¶
type ResponseTimePredictor interface {
Endpoint() (string, error)
}
Click to show internal directories.
Click to hide internal directories.