statsclient

package
v10.174.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatsClient

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

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

NewStatsClient initializes a new stats client

Directories

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

Jump to

Keyboard shortcuts

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