treecluster

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTreeClusterService

func NewTreeClusterService(
	treeClusterRepo storage.TreeClusterRepository,
	treeRepo storage.TreeRepository,
	regionRepo storage.RegionRepository,
	eventManager *worker.EventManager,
) service.TreeClusterService

Types

type TreeClusterService

type TreeClusterService struct {
	// contains filtered or unexported fields
}

func (*TreeClusterService) Create

func (*TreeClusterService) Delete

func (s *TreeClusterService) Delete(ctx context.Context, id int32) error

func (*TreeClusterService) GetAll

func (*TreeClusterService) GetByID

func (*TreeClusterService) HandleCreateTree added in v1.1.0

func (s *TreeClusterService) HandleCreateTree(ctx context.Context, event *entities.EventCreateTree) error

func (*TreeClusterService) HandleDeleteTree added in v1.1.0

func (s *TreeClusterService) HandleDeleteTree(ctx context.Context, event *entities.EventDeleteTree) error

func (*TreeClusterService) HandleNewSensorData added in v1.1.0

func (s *TreeClusterService) HandleNewSensorData(ctx context.Context, event *entities.EventNewSensorData) error

func (*TreeClusterService) HandleUpdateTree added in v1.1.0

func (s *TreeClusterService) HandleUpdateTree(ctx context.Context, event *entities.EventUpdateTree) error

func (*TreeClusterService) HandleUpdateWateringPlan added in v1.1.0

func (s *TreeClusterService) HandleUpdateWateringPlan(ctx context.Context, event *entities.EventUpdateWateringPlan) error

func (*TreeClusterService) Ready

func (s *TreeClusterService) Ready() bool

func (*TreeClusterService) Update

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL