Documentation ¶
Index ¶
- func CreateHierarchyEventRepository(sess *session.Session, store eventsource.Store) eventsource.Repository
- func CreateHierarchyEventSerializer() eventsource.Serializer
- type CopyComponentEvent
- type CopyNodeEvent
- type CreateComponentEvent
- type CreateNodeEvent
- type CreateRelationEvent
- type DeleteComponentEvent
- type DeleteNodeEvent
- type DeleteOriginEvent
- type DeleteRelationEvent
- type UpdateComponentEvent
- type UpdateNodeEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHierarchyEventRepository ¶
func CreateHierarchyEventRepository(sess *session.Session, store eventsource.Store) eventsource.Repository
func CreateHierarchyEventSerializer ¶
func CreateHierarchyEventSerializer() eventsource.Serializer
Types ¶
type CopyComponentEvent ¶ added in v2.7.0
type CopyNodeEvent ¶
type CopyNodeEvent struct { *eventsource.BaseEvent models.BaseNode *models.AssetNode *models.MeasurementPoint *models.InspectionPoint *models.LubricationPoint SrcNodeID uuid.UUID `json:"srcNodeId"` }
type CreateComponentEvent ¶ added in v2.7.0
type CreateNodeEvent ¶
type CreateNodeEvent struct { *eventsource.BaseEvent models.BaseNode *models.AssetNode *models.MeasurementPoint *models.InspectionPoint *models.LubricationPoint }
type CreateRelationEvent ¶
CreateRelationEvent this struct used to create node relation-event
type DeleteComponentEvent ¶ added in v2.7.0
type DeleteComponentEvent struct { *eventsource.BaseEvent AssetID uuid.UUID }
type DeleteNodeEvent ¶
type DeleteNodeEvent struct {
*eventsource.BaseEvent
}
type DeleteOriginEvent ¶
type DeleteOriginEvent struct {
*eventsource.BaseEvent
}
type DeleteRelationEvent ¶
type DeleteRelationEvent struct {
*eventsource.BaseEvent
}
DeleteRelationEvent this struct used to delate node relation-event
type UpdateComponentEvent ¶ added in v2.7.0
type UpdateNodeEvent ¶
type UpdateNodeEvent struct { *eventsource.BaseEvent models.BaseNode *models.AssetNode *models.MeasurementPoint *models.InspectionPoint *models.LubricationPoint }
Click to show internal directories.
Click to hide internal directories.