Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
GetDB gets DB for passed data source name
View Source
var GetPersistenceService = func(db mysql.CceDB) cce.PersistenceService { return &mysql.PersistenceService{DB: db} }
Functions ¶
This section is empty.
Types ¶
type NodeFeatureNFD ¶
type NodeFeatureNFD struct { ID string `json:"id"` NodeID string `json:"node_id"` NfdID string `json:"nfd_id"` NfdValue string `json:"nfd_value"` }
NodeFeatureNFD is a representation of NFD feature on the node
func (*NodeFeatureNFD) FilterFields ¶
func (nf *NodeFeatureNFD) FilterFields() []string
FilterFields returns the filterable fields of NodeFeatureNFD
func (*NodeFeatureNFD) GetID ¶
func (nf *NodeFeatureNFD) GetID() string
GetID returns ID of NodeFeatureNFD entity
func (*NodeFeatureNFD) GetTableName ¶
func (*NodeFeatureNFD) GetTableName() string
GetTableName returns persistence table name for NodeFeatureNFD entities
func (*NodeFeatureNFD) SetID ¶
func (nf *NodeFeatureNFD) SetID(id string)
SetID sets ID for NodeFeatureNFD entity
func (*NodeFeatureNFD) String ¶
func (nf *NodeFeatureNFD) String() string
String reutrns string representation of NodeFeatureNFD entity
Click to show internal directories.
Click to hide internal directories.