Documentation
¶
Index ¶
Constants ¶
View Source
const CachePropertyType model.PropertyType = "CacheProperty"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheProperty ¶ added in v0.21.0
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 ¶ added in v0.21.0
func (p CacheProperty) JSON() ([]byte, error)
JSON implements the Property interface.
func (CacheProperty) Name ¶ added in v0.21.0
func (p CacheProperty) Name() string
Name implements the Property interface.
func (CacheProperty) PropertyType ¶ added in v0.21.0
func (p CacheProperty) PropertyType() model.PropertyType
PropertyType implements the Property interface.
func (CacheProperty) Value ¶ added in v0.21.0
func (p CacheProperty) Value() string
Value implements the Property interface.
type Edge ¶ added in v0.10.0
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 ¶ added in v0.10.0
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.