statscollector

package
v11.0.0-rc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	CollectorReader
	collector.EventCollector
}

Collector interface implements

func NewCollector

func NewCollector() Collector

NewCollector provides a new collector interface

type CollectorReader

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
	GetPingReports() chan *collector.PingReport
}

CollectorReader interface which provides functions to query pending stats

Directories

Path Synopsis
Package mockstatscollector is a generated GoMock package.
Package mockstatscollector is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL