mockblockstorage

package
v1.22.3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	openstack.MockOpenstackServer
	// contains filtered or unexported fields
}

MockClient represents a mocked blockstorage (cinderv3) client

func CreateClient

func CreateClient() *MockClient

CreateClient will create a new mock blockstorage client

func (*MockClient) Reset

func (m *MockClient) Reset()

Reset will empty the state of the mock data

Jump to

Keyboard shortcuts

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