Documentation
¶
Index ¶
Constants ¶
View Source
const CachePropertyType model.PropertyType = "CacheProperty"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheProperty ¶
type CacheProperty struct {
ID string `json:"cache_id"`
RefID string `json:"ref_id"`
Timestamp string `json:"timestamp"`
}
CacheProperty represents a cache property in the cached graph.
func (CacheProperty) JSON ¶
func (p CacheProperty) JSON() ([]byte, error)
JSON implements the Property interface.
func (CacheProperty) Name ¶
func (p CacheProperty) Name() string
Name implements the Property interface.
func (CacheProperty) PropertyType ¶
func (p CacheProperty) PropertyType() model.PropertyType
PropertyType implements the Property interface.
func (CacheProperty) Value ¶
func (p CacheProperty) Value() string
Value implements the Property interface.
type Edge ¶
type Edge struct {
ID string
CreatedAt time.Time
LastSeen time.Time
Relation oam.Relation
FromEntity *Entity
ToEntity *Entity
}
Edge represents a relationship between two entities in the asset database.
type EdgeTag ¶
type EdgeTag struct {
ID string
CreatedAt time.Time
LastSeen time.Time
Property oam.Property
Edge *Edge
}
EdgeTag represents additional metadata added to an edge in the asset database.
Click to show internal directories.
Click to hide internal directories.