Documentation ¶
Index ¶
- func CreateImageIoDefaultInventory(f *framework.Framework)
- func CreateImageIoInventory(f *framework.Framework, responseSequences []imageIoMockResponseSequence)
- func CreateImageIoInventoryNoExtents(f *framework.Framework)
- func CreateImageIoWarmImportInventory(f *framework.Framework, diskID string, storageDomainID string, ...)
- func ResetImageIoInventory(f *framework.Framework, configurators ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateImageIoDefaultInventory ¶ added in v1.41.0
CreateImageIoDefaultInventory resets ImageIO inventory to the defaults, and adds a response for the base /ovirt-engine/api URL.
func CreateImageIoInventory ¶ added in v1.43.0
func CreateImageIoInventory(f *framework.Framework, responseSequences []imageIoMockResponseSequence)
CreateImageIoInventory encodes a sequence of mock responses for fakeovirt to return during the test.
func CreateImageIoInventoryNoExtents ¶ added in v1.43.0
CreateImageIoInventoryNoExtents creates fakeovirt response sequences for an image transfer that does not support the extents API. The default response configuration does return "extents" in the features list, so the existing test already tests the extents feature. Unfortunately it's the response from imageiotest's transfer URL that matters, and imageiotest does not support fakeovirt's response sequences, so the extents feature cannot be easily turned off. Work around this by creating an image transfer that points to the fakeovirt URL, and set it up to return a small amount of data with no extents.
func CreateImageIoWarmImportInventory ¶ added in v1.39.0
func CreateImageIoWarmImportInventory(f *framework.Framework, diskID string, storageDomainID string, snapshots []string)
CreateImageIoWarmImportInventory constructs ImageIO inventory updates for a multi-stage import
func ResetImageIoInventory ¶ added in v1.39.0
ResetImageIoInventory resets the fakeovirt inventory to the defaults. Accepts a list of configurators (see fakeovirt documentation): static-sso, static-vms, static-namespace, static-transfers
Types ¶
This section is empty.