Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 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
Click to show internal directories.
Click to hide internal directories.