Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABFMetadata ¶
type ABFMetadata struct { Index uint32 Attached []*abf.ABF_AttachedInterface }
ABFMetadata represents metadata for ABF.
func (*ABFMetadata) GetIndex ¶
func (m *ABFMetadata) GetIndex() uint32
GetIndex returns index of the ABF.
type ABFMetadataDto ¶
type ABFMetadataDto struct { idxmap.NamedMappingEvent Metadata *ABFMetadata }
ABFMetadataDto represents an item sent through watch channel in abfIndex.
type ABFMetadataIndex ¶
type ABFMetadataIndex interface { // LookupIdx looks up previously stored item identified by index in the mapping. LookupByName(name string) (metadata *ABFMetadata, exists bool) // LookupName looks up previously stored item identified by name in the mapping. LookupByIndex(idx uint32) (name string, metadata *ABFMetadata, exists bool) }
ABFMetadataIndex provides read-only access to mapping between ABF indexes (generated in the ABF plugin) and ABF names.
type ABFMetadataIndexRW ¶
type ABFMetadataIndexRW interface { ABFMetadataIndex idxmap.NamedMappingRW }
ABFMetadataIndexRW is mapping between ABF indexes (generated in the ABF plugin) and ABF names.
func NewABFIndex ¶
func NewABFIndex(logger logging.Logger, title string) ABFMetadataIndexRW
NewABFIndex creates new instance of abfMetadataIndex.
Click to show internal directories.
Click to hide internal directories.