github.com/axw/juju@v0.0.0-20161005053422-4bd6544d08d4/provider/joyent/storage.go (about) 1 // Copyright 2016 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package joyent 5 6 import ( 7 "github.com/juju/errors" 8 9 "github.com/juju/juju/storage" 10 ) 11 12 // StorageProviderTypes implements storage.ProviderRegistry. 13 func (*joyentEnviron) StorageProviderTypes() ([]storage.ProviderType, error) { 14 return nil, nil 15 } 16 17 // StorageProvider implements storage.ProviderRegistry. 18 func (*joyentEnviron) StorageProvider(t storage.ProviderType) (storage.Provider, error) { 19 return nil, errors.NotFoundf("storage provider %q", t) 20 }