testing

package
Version: v0.0.0-...-ae37572 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL