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) 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
Click to show internal directories.
Click to hide internal directories.