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 StartAgentWithConfig ¶
func StartAnalyzerWithConfig ¶
Types ¶
type HelperAgentAnalyzer ¶
type HelperAgentAnalyzer struct {
Agent *agent.Agent
Analyzer *analyzer.Server
// contains filtered or unexported fields
}
func NewAgentAnalyzerWithConfig ¶
func NewAgentAnalyzerWithConfig(t *testing.T, conf string, s storage.Storage, params ...HelperParams) *HelperAgentAnalyzer
func (*HelperAgentAnalyzer) Flush ¶
func (h *HelperAgentAnalyzer) Flush()
func (*HelperAgentAnalyzer) Start ¶
func (h *HelperAgentAnalyzer) Start()
func (*HelperAgentAnalyzer) Stop ¶
func (h *HelperAgentAnalyzer) Stop()
Source Files
¶
- helper.go
Click to show internal directories.
Click to hide internal directories.