lxd/db/storage_pools.go
func (c *Cluster) StoragePoolNodeVolumeGetType(volumeName string, volumeType int, poolID int64) (int64, *api.StorageVolume, error) {
	return c.StoragePoolNodeVolumeGetTypeByProject("default", volumeName, volumeType, poolID)
}
func (c *Cluster) StoragePoolNodeVolumeGetType(volumeName string, volumeType int, poolID int64) (int64, *api.StorageVolume, error) {
	return c.StoragePoolNodeVolumeGetTypeByProject("default", volumeName, volumeType, poolID)
}
// StoragePoolNodeVolumeGetType gets a single storage volume attached to a
// given storage pool of a given type, on the current node.