testing

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const StoragePoolsListBody = `` /* 229-byte string literal not displayed */
View Source
const StoragePoolsListBodyDetail = `` /* 1342-byte string literal not displayed */

Variables

View Source
var (
	StoragePoolFake1 = schedulerstats.StoragePool{
		Name: "rbd:cinder.volumes.ssd@cinder.volumes.ssd#cinder.volumes.ssd",
		Capabilities: schedulerstats.Capabilities{
			DriverVersion:     "1.2.0",
			FreeCapacityGB:    64765,
			StorageProtocol:   "ceph",
			TotalCapacityGB:   787947.93,
			VendorName:        "Open Source",
			VolumeBackendName: "cinder.volumes.ssd",
		},
	}

	StoragePoolFake2 = schedulerstats.StoragePool{
		Name: "rbd:cinder.volumes.hdd@cinder.volumes.hdd#cinder.volumes.hdd",
		Capabilities: schedulerstats.Capabilities{
			DriverVersion:     "1.2.0",
			FreeCapacityGB:    0.0,
			StorageProtocol:   "ceph",
			TotalCapacityGB:   math.Inf(1),
			VendorName:        "Open Source",
			VolumeBackendName: "cinder.volumes.hdd",
		},
	}
)

Functions

func HandleStoragePoolsListSuccessfully

func HandleStoragePoolsListSuccessfully(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL