github.com/makyo/juju@v0.0.0-20160425123129-2608902037e9/provider/common/policies.go (about) 1 // Copyright 2014 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package common 5 6 // SupportsUnitPlacementPolicy provides an 7 // implementation of SupportsUnitPlacement 8 // that never returns an error, and is 9 // intended for embedding in environs.Environ 10 // implementations. 11 type SupportsUnitPlacementPolicy struct{} 12 13 func (*SupportsUnitPlacementPolicy) SupportsUnitPlacement() error { 14 return nil 15 }