// Deployer returns access to the Deployer API func (st *State) Deployer() (*deployer.State, error) { return deployer.NewState(st), nil }
// Note: This is really meant as a unit-test, this isn't a test that // should need all of the setup we have for this test suite func (s *deployerSuite) TestNew(c *gc.C) { deployer := deployer.NewState(s.stateAPI) c.Assert(deployer, gc.NotNil) }
// Deployer returns access to the Deployer API func (st *State) Deployer() *deployer.State { return deployer.NewState(st) }