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

package counterclient

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

Index

Package Files

counterclient.go interfaces.go

type CounterClient Uses

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

CounterClient interface provides a start function. the client is used to post counter collected

back to the master enforcer

func NewCounterClient Uses

func NewCounterClient(cr statscollector.Collector) (CounterClient, error)

NewCounterClient returns an interface CounterClient

Directories

PathSynopsis
mockcounterclientPackage mockcounterclient is a generated GoMock package.

Package counterclient imports 9 packages (graph) and is imported by 2 packages. Updated 2019-08-22. Refresh now. Tools for package owners.