sflow

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProbePathGetter

type ProbePathGetter interface {
	GetProbePath(index int64) string
}

type SFlowAgent

type SFlowAgent struct {
	Addr                string
	Port                int
	Graph               *graph.Graph
	AnalyzerClient      *analyzer.Client
	FlowMappingPipeline *mappings.FlowMappingPipeline
	ProbePathGetter     ProbePathGetter
	// contains filtered or unexported fields
}

func NewSFlowAgent

func NewSFlowAgent(a string, p int, g *graph.Graph) (*SFlowAgent, error)

func NewSFlowAgentFromConfig

func NewSFlowAgentFromConfig(g *graph.Graph) (*SFlowAgent, error)

func (*SFlowAgent) GetTarget

func (sfa *SFlowAgent) GetTarget() string

func (*SFlowAgent) SetAnalyzerClient

func (sfa *SFlowAgent) SetAnalyzerClient(a *analyzer.Client)

func (*SFlowAgent) SetMappingPipeline

func (sfa *SFlowAgent) SetMappingPipeline(p *mappings.FlowMappingPipeline)

func (*SFlowAgent) SetProbePathGetter

func (sfa *SFlowAgent) SetProbePathGetter(p ProbePathGetter)

func (*SFlowAgent) Start

func (sfa *SFlowAgent) Start()

func (*SFlowAgent) Stop

func (sfa *SFlowAgent) Stop()

Source Files

  • agent.go

Jump to

Keyboard shortcuts

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