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 ¶
func (r SimulatedSchedulingScoreRepository) CreateScores(scores []*score_dao.SimulatedSchedulingScore) error
CreateScores Create simulated_scheduling_score data points into influxdb
func (SimulatedSchedulingScoreRepository) ListScoresByRequest ¶ added in v0.3.0
func (r SimulatedSchedulingScoreRepository) ListScoresByRequest(request score_dao.ListRequest) ([]*influxdb_entity_score.SimulatedSchedulingScoreEntity, error)
ListScoresByRequest List scores from influxDB
Click to show internal directories.
Click to hide internal directories.