Example #1
0
func TestNewEmitter(t *testing.T) {
	c := listener.GetDefaultClient()
	l := listener.NewDockerListener(c)

	NewEmitter(l)
}
Example #2
0
File: agent.go Project: ainoya/fune
// configure activates actions enabled
func (a *FuneAgent) configureComponents() {
	a.listener = listener.NewDockerListener(listener.GetTLSClient())
	a.emitter = emitter.NewEmitter(a.listener)
}