trireme-lib: Index | Files | Directories

package statsclient

import ""


Package Files

client.go interfaces.go

type StatsClient Uses

type StatsClient interface {
    Run(ctx context.Context) error

StatsClient interface provides functions to start/stop a stats client A stats client is an active component which is responsible for collecting stats events stored by datapath and ship them to the master enforcer.

func NewStatsClient Uses

func NewStatsClient(cr statscollector.Collector) (StatsClient, error)

NewStatsClient initializes a new stats client


mockstatsclientPackage mockstatsclient is a generated GoMock package.

Package statsclient imports 9 packages (graph) and is imported by 2 packages. Updated 2019-11-15. Refresh now. Tools for package owners.