Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SimulatedSchedulingScoreTime is the time simulatedSchedulingScore information is inserted to databse SimulatedSchedulingScoreTime simulatedSchedulingScoreTag = "time" // SimulatedSchedulingScoreScoreBefore Represents the field name in influxdb SimulatedSchedulingScoreScoreBefore simulatedSchedulingScoreField = "score_before" // SimulatedSchedulingScoreScoreAfter Represents the field name in influxdb SimulatedSchedulingScoreScoreAfter simulatedSchedulingScoreField = "score_after" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimulatedSchedulingScoreEntity ¶
type SimulatedSchedulingScoreEntity struct { Time time.Time ScoreBefore *float64 ScoreAfter *float64 }
SimulatedSchedulingScoreEntity Represents a record in influxdb
func NewSimulatedSchedulingScoreEntityFromMap ¶
func NewSimulatedSchedulingScoreEntityFromMap(data map[string]string) SimulatedSchedulingScoreEntity
NewSimulatedSchedulingScoreEntityFromMap Build entity from map
func (SimulatedSchedulingScoreEntity) InfluxDBPoint ¶
func (e SimulatedSchedulingScoreEntity) InfluxDBPoint(measurementName string) (*influxdb_client.Point, error)
InfluxDBPoint Build influxdb point base on current entity's properties
Click to show internal directories.
Click to hide internal directories.