Documentation ¶
Index ¶
- Variables
- func Free(d *DataFrame)
- func IsETARecord(d map[string]interface{}) bool
- func IsFW(d map[string]interface{}) bool
- func IsNATRecord(d map[string]interface{}) bool
- func IsOptionTemplate(d map[string]interface{}) bool
- func IsSampleRecord(d map[string]interface{}) bool
- type DataFrame
- type FieldValue
Constants ¶
This section is empty.
Variables ¶
View Source
var DATAFRAME_SYNC_POOL *sync.Pool
View Source
var RecordTypeList = []string{"nat", "security", "queuedrop", "nimbleflow", "urlstats", "art", "conn", "rtp", "flow", "wireless", "viptela", "viptelabfd", "zbfw"}
Functions ¶
func IsETARecord ¶
func IsNATRecord ¶
func IsOptionTemplate ¶
func IsSampleRecord ¶
Types ¶
type DataFrame ¶
type DataFrame struct { AgentID string DomainID uint32 ExportTime uint32 SetID uint16 Type string Record []map[string]interface{} //use hashmap could be easily add new record. }
func NewDataFrame ¶
func NewDataFrame() *DataFrame
func (*DataFrame) RecordList ¶
RecordList : generate record list for bulk output
func (*DataFrame) TypeAssertion ¶
func (d *DataFrame) TypeAssertion()
type FieldValue ¶
type FieldValue struct { //Key iedb.ElementKey //Name string Type string Value interface{} }
FieldValue : define a common struct 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Set ID = Template ID | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Record 1 - Field Value 1 | Record 1 - Field Value 2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Click to show internal directories.
Click to hide internal directories.