Documentation ¶
Index ¶
- func ExecCmds(t *testing.T, cmds ...Cmd)
- func InitConfig(t *testing.T, conf string, params ...HelperParams)
- func NewAgent() *agent.Agent
- func NewAnalyzerStorage(t *testing.T, s storage.Storage) *analyzer.Server
- func NewGraph(t *testing.T) *graph.Graph
- func SFlowSetup(t *testing.T) (*net.UDPConn, error)
- func StartAgentWithConfig(t *testing.T, conf string, params ...HelperParams) *agent.Agent
- func StartAnalyzerWithConfig(t *testing.T, conf string, s storage.Storage, params ...HelperParams) *analyzer.Server
- func WaitApi(t *testing.T, analyzer *analyzer.Server)
- type Cmd
- type HelperAgentAnalyzer
- type HelperParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig(t *testing.T, conf string, params ...HelperParams)
func NewAnalyzerStorage ¶ added in v0.3.0
func StartAgentWithConfig ¶ added in v0.2.0
func StartAnalyzerWithConfig ¶ added in v0.4.0
Types ¶
type HelperAgentAnalyzer ¶ added in v0.3.0
type HelperAgentAnalyzer struct { Agent *agent.Agent Analyzer *analyzer.Server // contains filtered or unexported fields }
func NewAgentAnalyzerWithConfig ¶ added in v0.3.0
func NewAgentAnalyzerWithConfig(t *testing.T, conf string, s storage.Storage, params ...HelperParams) *HelperAgentAnalyzer
func (*HelperAgentAnalyzer) Flush ¶ added in v0.3.0
func (h *HelperAgentAnalyzer) Flush()
func (*HelperAgentAnalyzer) Start ¶ added in v0.3.0
func (h *HelperAgentAnalyzer) Start()
func (*HelperAgentAnalyzer) Stop ¶ added in v0.3.0
func (h *HelperAgentAnalyzer) Stop()
type HelperParams ¶ added in v0.4.0
type HelperParams map[string]interface{}
Click to show internal directories.
Click to hide internal directories.