Documentation
¶
Index ¶
- type InternalRegionRepoMapperImpl
- type InternalSensorRepoMapperImpl
- func (c *InternalSensorRepoMapperImpl) FromDomainSensorData(source *entities.MqttPayload) *entities1.MqttPayload
- func (c *InternalSensorRepoMapperImpl) FromSql(source *sqlc.Sensor) (*entities.Sensor, error)
- func (c *InternalSensorRepoMapperImpl) FromSqlList(source []*sqlc.Sensor) ([]*entities.Sensor, error)
- func (c *InternalSensorRepoMapperImpl) FromSqlSensorData(source *sqlc.SensorDatum) (*entities.SensorData, error)
- func (c *InternalSensorRepoMapperImpl) FromSqlSensorDataList(source []*sqlc.SensorDatum) ([]*entities.SensorData, error)
- type InternalTreeClusterRepoMapperImpl
- func (c *InternalTreeClusterRepoMapperImpl) FromSql(source *sqlc.TreeCluster) (*entities.TreeCluster, error)
- func (c *InternalTreeClusterRepoMapperImpl) FromSqlList(source []*sqlc.TreeCluster) ([]*entities.TreeCluster, error)
- func (c *InternalTreeClusterRepoMapperImpl) FromSqlRegionListWithCount(source []*sqlc.GetAllTreeClusterRegionsWithWateringPlanCountRow) ([]*entities.RegionEvaluation, error)
- func (c *InternalTreeClusterRepoMapperImpl) FromSqlRegionWithCount(source *sqlc.GetAllTreeClusterRegionsWithWateringPlanCountRow) (*entities.RegionEvaluation, error)
- type InternalTreeRepoMapperImpl
- type InternalVehicleRepoMapperImpl
- func (c *InternalVehicleRepoMapperImpl) FromSql(source *sqlc.Vehicle) (*entities.Vehicle, error)
- func (c *InternalVehicleRepoMapperImpl) FromSqlList(source []*sqlc.Vehicle) ([]*entities.Vehicle, error)
- func (c *InternalVehicleRepoMapperImpl) FromSqlListVehicleWithCount(source []*sqlc.GetAllVehiclesWithWateringPlanCountRow) ([]*entities.VehicleEvaluation, error)
- func (c *InternalVehicleRepoMapperImpl) FromSqlVehicleWithCount(source *sqlc.GetAllVehiclesWithWateringPlanCountRow) (*entities.VehicleEvaluation, error)
- type InternalWateringPlanRepoMapperImpl
- func (c *InternalWateringPlanRepoMapperImpl) EvaluationFromSqlList(source []*sqlc.TreeClusterWateringPlan) []*entities.EvaluationValue
- func (c *InternalWateringPlanRepoMapperImpl) FromSql(source *sqlc.WateringPlan) (*entities.WateringPlan, error)
- func (c *InternalWateringPlanRepoMapperImpl) FromSqlList(source []*sqlc.WateringPlan) ([]*entities.WateringPlan, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternalRegionRepoMapperImpl ¶
type InternalRegionRepoMapperImpl struct{}
func (*InternalRegionRepoMapperImpl) FromSql ¶
func (c *InternalRegionRepoMapperImpl) FromSql(source *sqlc.Region) *entities.Region
func (*InternalRegionRepoMapperImpl) FromSqlList ¶
func (c *InternalRegionRepoMapperImpl) FromSqlList(source []*sqlc.Region) []*entities.Region
type InternalSensorRepoMapperImpl ¶
type InternalSensorRepoMapperImpl struct{}
func (*InternalSensorRepoMapperImpl) FromDomainSensorData ¶
func (c *InternalSensorRepoMapperImpl) FromDomainSensorData(source *entities.MqttPayload) *entities1.MqttPayload
func (*InternalSensorRepoMapperImpl) FromSqlList ¶
func (*InternalSensorRepoMapperImpl) FromSqlSensorData ¶
func (c *InternalSensorRepoMapperImpl) FromSqlSensorData(source *sqlc.SensorDatum) (*entities.SensorData, error)
func (*InternalSensorRepoMapperImpl) FromSqlSensorDataList ¶
func (c *InternalSensorRepoMapperImpl) FromSqlSensorDataList(source []*sqlc.SensorDatum) ([]*entities.SensorData, error)
type InternalTreeClusterRepoMapperImpl ¶
type InternalTreeClusterRepoMapperImpl struct{}
func (*InternalTreeClusterRepoMapperImpl) FromSql ¶
func (c *InternalTreeClusterRepoMapperImpl) FromSql(source *sqlc.TreeCluster) (*entities.TreeCluster, error)
func (*InternalTreeClusterRepoMapperImpl) FromSqlList ¶
func (c *InternalTreeClusterRepoMapperImpl) FromSqlList(source []*sqlc.TreeCluster) ([]*entities.TreeCluster, error)
func (*InternalTreeClusterRepoMapperImpl) FromSqlRegionListWithCount ¶
func (c *InternalTreeClusterRepoMapperImpl) FromSqlRegionListWithCount(source []*sqlc.GetAllTreeClusterRegionsWithWateringPlanCountRow) ([]*entities.RegionEvaluation, error)
func (*InternalTreeClusterRepoMapperImpl) FromSqlRegionWithCount ¶
func (c *InternalTreeClusterRepoMapperImpl) FromSqlRegionWithCount(source *sqlc.GetAllTreeClusterRegionsWithWateringPlanCountRow) (*entities.RegionEvaluation, error)
type InternalTreeRepoMapperImpl ¶
type InternalTreeRepoMapperImpl struct{}
func (*InternalTreeRepoMapperImpl) FromSqlList ¶
type InternalVehicleRepoMapperImpl ¶
type InternalVehicleRepoMapperImpl struct{}
func (*InternalVehicleRepoMapperImpl) FromSqlList ¶
func (*InternalVehicleRepoMapperImpl) FromSqlListVehicleWithCount ¶
func (c *InternalVehicleRepoMapperImpl) FromSqlListVehicleWithCount(source []*sqlc.GetAllVehiclesWithWateringPlanCountRow) ([]*entities.VehicleEvaluation, error)
func (*InternalVehicleRepoMapperImpl) FromSqlVehicleWithCount ¶
func (c *InternalVehicleRepoMapperImpl) FromSqlVehicleWithCount(source *sqlc.GetAllVehiclesWithWateringPlanCountRow) (*entities.VehicleEvaluation, error)
type InternalWateringPlanRepoMapperImpl ¶
type InternalWateringPlanRepoMapperImpl struct{}
func (*InternalWateringPlanRepoMapperImpl) EvaluationFromSqlList ¶
func (c *InternalWateringPlanRepoMapperImpl) EvaluationFromSqlList(source []*sqlc.TreeClusterWateringPlan) []*entities.EvaluationValue
func (*InternalWateringPlanRepoMapperImpl) FromSql ¶
func (c *InternalWateringPlanRepoMapperImpl) FromSql(source *sqlc.WateringPlan) (*entities.WateringPlan, error)
func (*InternalWateringPlanRepoMapperImpl) FromSqlList ¶
func (c *InternalWateringPlanRepoMapperImpl) FromSqlList(source []*sqlc.WateringPlan) ([]*entities.WateringPlan, error)
Click to show internal directories.
Click to hide internal directories.