github.com/makyo/juju@v0.0.0-20160425123129-2608902037e9/apiserver/uniter/export_test.go (about) 1 // Copyright 2014 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package uniter 5 6 import ( 7 "github.com/juju/juju/apiserver/common" 8 "github.com/juju/juju/apiserver/meterstatus" 9 ) 10 11 var ( 12 GetZone = &getZone 13 14 _ meterstatus.MeterStatus = (*UniterAPIV3)(nil) 15 ) 16 17 type StorageStateInterface storageStateInterface 18 19 func NewStorageAPI( 20 st StorageStateInterface, 21 resources *common.Resources, 22 accessUnit common.GetAuthFunc, 23 ) (*StorageAPI, error) { 24 return newStorageAPI(storageStateInterface(st), resources, accessUnit) 25 }