github.com/axw/juju@v0.0.0-20161005053422-4bd6544d08d4/worker/machineactions/shim.go (about) 1 // Copyright 2016 Canonical Ltd. 2 // Copyright 2016 Cloudbase Solutions SRL 3 // Licensed under the AGPLv3, see LICENCE file for details. 4 5 package machineactions 6 7 import ( 8 "github.com/juju/juju/api/base" 9 "github.com/juju/juju/api/machineactions" 10 ) 11 12 // NewFacade creates a Facade from a base.APICaller. 13 // It's a sensible value for ManifoldConfig.NewFacade. 14 func NewFacade(apiCaller base.APICaller) Facade { 15 return machineactions.NewClient(apiCaller) 16 }