impl

package
v4.2.452+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGpuWithConfig

func NewGpuWithConfig(config InternalInflux.Config) DaoGpu.GpuDAO

func NewMetricWithConfig

func NewMetricWithConfig(config InternalInflux.Config) DaoGpu.MetricsDAO

func NewPredictionWithConfig

func NewPredictionWithConfig(config InternalInflux.Config) DaoGpu.PredictionsDAO

Types

type Gpu

type Gpu struct {
	InfluxDBConfig InternalInflux.Config
}

func (Gpu) ListGpus

func (p Gpu) ListGpus(host, minorNumber string, condition *DBCommon.QueryCondition) ([]*DaoGpu.Gpu, error)

type Metric

type Metric struct {
	InfluxDBConfig InternalInflux.Config
}

func (Metric) ListMetrics

func (p Metric) ListMetrics(host, minorNumber string, condition *DBCommon.QueryCondition) (DaoGpu.GpuMetricMap, error)

type Prediction

type Prediction struct {
	InfluxDBConfig InternalInflux.Config
}

func (Prediction) CreatePredictions

func (p Prediction) CreatePredictions(predictions DaoGpu.GpuPredictionMap) error

func (Prediction) ListPredictions

func (p Prediction) ListPredictions(host, minorNumber, granularity string, condition *DBCommon.QueryCondition) (DaoGpu.GpuPredictionMap, error)

Jump to

Keyboard shortcuts

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