github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/worker/uniter/charm/converter.go (about) 1 // Copyright 2014 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package charm 5 6 // NewDeployer returns a manifest deployer. It is a var so that it can be 7 // patched for uniter tests. 8 var NewDeployer = newDeployer 9 10 func newDeployer(charmPath, dataPath string, bundles BundleReader) (Deployer, error) { 11 return NewManifestDeployer(charmPath, dataPath, bundles), nil 12 }