helper

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecCmds added in v0.2.0

func ExecCmds(t *testing.T, cmds ...Cmd)

func InitConfig

func InitConfig(t *testing.T, conf string)

func ReplayTraceHelper

func ReplayTraceHelper(t *testing.T, trace string, target string)

func SFlowSetup

func SFlowSetup(t *testing.T) (*net.UDPConn, error)

func StartAgent

func StartAgent() *agent.Agent

func StartAgentAndAnalyzerWithConfig added in v0.2.0

func StartAgentAndAnalyzerWithConfig(t *testing.T, conf string, s storage.Storage) (*agent.Agent, *analyzer.Server)

func StartAgentWithConfig added in v0.2.0

func StartAgentWithConfig(t *testing.T, conf string) *agent.Agent

Types

type Cmd added in v0.2.0

type Cmd struct {
	Cmd   string
	Check bool
}

Jump to

Keyboard shortcuts

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