Versions in this module Expand all Collapse all v2 v2.0.0 Jun 18, 2023 Changes in this version + type NodeAPI struct + func New(ctx context.Context, logger *zap.Logger, storage storageTY.Plugin, ...) *NodeAPI + func (n *NodeAPI) Delete(IDs []string) (int64, error) + func (n *NodeAPI) Get(filters []storageTY.Filter) (nodeTY.Node, error) + func (n *NodeAPI) GetByGatewayAndNodeID(gatewayID, nodeID string) (*nodeTY.Node, error) + func (n *NodeAPI) GetByID(id string) (*nodeTY.Node, error) + func (n *NodeAPI) GetByIDs(ids []string) ([]nodeTY.Node, error) + func (n *NodeAPI) GetEntityInterface() interface{} + func (n *NodeAPI) Import(data interface{}) error + func (n *NodeAPI) List(filters []storageTY.Filter, pagination *storageTY.Pagination) (*storageTY.Result, error) + func (n *NodeAPI) Save(node *nodeTY.Node, publishEvent bool) error + func (n *NodeAPI) UpdateFirmwareState(id string, data map[string]interface{}) error + func (n *NodeAPI) VerifyNodeUpStatus(inactiveDuration time.Duration)