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

package statsclient

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

Index

Package Files

client.go interfaces.go

type StatsClient Uses

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

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

Directories

PathSynopsis
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.