score

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SimulatedSchedulingScore Measurement name of simulated scheduling score in influxdb
	SimulatedSchedulingScore influxdb.Measurement = "simulated_scheduling_score"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SimulatedSchedulingScoreRepository

type SimulatedSchedulingScoreRepository struct {
	// contains filtered or unexported fields
}

SimulatedSchedulingScoreRepository Repository of simulated_scheduling_score data

func NewRepositoryWithConfig

func NewRepositoryWithConfig(cfg influxdb.Config) SimulatedSchedulingScoreRepository

NewRepositoryWithConfig New SimulatedSchedulingScoreRepository with influxdb configuration

func (SimulatedSchedulingScoreRepository) CreateScores

CreateScores Create simulated_scheduling_score data points into influxdb

func (SimulatedSchedulingScoreRepository) ListScoresBetweenTimes

func (r SimulatedSchedulingScoreRepository) ListScoresBetweenTimes(startTime, endTime *time.Time) ([]*influxdb_entity_score.SimulatedSchedulingScoreEntity, error)

ListScoresBetweenTimes List simulated_scheduling_score data points that it's timestamp is between startTime and endTime in influxdb

Jump to

Keyboard shortcuts

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