github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/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 "gopkg.in/juju/names.v2" 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