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