Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SimulatedSchedulingScore Measurement name of simulated scheduling score in influxdb SimulatedSchedulingScore InternalInflux.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 InternalInflux.Config) SimulatedSchedulingScoreRepository
NewRepositoryWithConfig New SimulatedSchedulingScoreRepository with influxdb configuration
func (SimulatedSchedulingScoreRepository) CreateScores ¶
func (r SimulatedSchedulingScoreRepository) CreateScores(scores []*DaoScore.SimulatedSchedulingScore) error
CreateScores Create simulated_scheduling_score data points into influxdb
func (SimulatedSchedulingScoreRepository) ListScoresByRequest ¶ added in v0.3.0
func (r SimulatedSchedulingScoreRepository) ListScoresByRequest(request DaoScore.ListRequest) ([]*EntityInfluxScore.SimulatedSchedulingScoreEntity, error)
ListScoresByRequest List scores from influxDB
Click to show internal directories.
Click to hide internal directories.