trireme-lib: go.aporeto.io/trireme-lib/controller/pkg/remoteenforcer/internal/statscollector Index | Files | Directories

package statscollector

import "go.aporeto.io/trireme-lib/controller/pkg/remoteenforcer/internal/statscollector"

Index

Package Files

collector.go collector_reader.go collector_trireme.go interfaces.go

type Collector Uses

type Collector interface {
    CollectorReader
    collector.EventCollector
}

Collector interface implements

func NewCollector Uses

func NewCollector() Collector

NewCollector provides a new collector interface

type CollectorReader Uses

type CollectorReader interface {
    Count() int
    GetAllRecords() map[string]*collector.FlowRecord
    GetUserRecords() map[string]*collector.UserRecord
    FlushUserCache()
    GetAllDataPathPacketRecords() []*collector.PacketReport
    GetAllCounterReports() []*collector.CounterReport
    GetDNSReports() chan *collector.DNSRequestReport
}

CollectorReader interface which provides functions to query pending stats

Directories

PathSynopsis
mockstatscollectorPackage mockstatscollector is a generated GoMock package.

Package statscollector imports 3 packages (graph) and is imported by 9 packages. Updated 2019-09-21. Refresh now. Tools for package owners.