predictor

package
v1.29.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

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)
}

Directories

Path Synopsis
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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