github.com/wallyworld/juju@v0.0.0-20161013125918-6cf1bc9d917a/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