github.com/makyo/juju@v0.0.0-20160425123129-2608902037e9/api/instancepoller/export_test.go (about) 1 // Copyright 2015 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package instancepoller 5 6 import ( 7 "github.com/juju/names" 8 9 "github.com/juju/juju/api/base" 10 "github.com/juju/juju/apiserver/params" 11 ) 12 13 func NewMachine(caller base.APICaller, tag names.MachineTag, life params.Life) *Machine { 14 facade := base.NewFacadeCaller(caller, instancePollerFacade) 15 return &Machine{facade, tag, life} 16 } 17 18 var NewStringsWatcher = &newStringsWatcher