mocks

package
v0.0.0-...-1c5d739 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageDriver

type StorageDriver struct {
	mock.Mock
}

func (*StorageDriver) AddVolume

func (_m *StorageDriver) AddVolume(path string) error

func (*StorageDriver) ExportNamePath

func (_m *StorageDriver) ExportNamePath() string

func (*StorageDriver) ExportPath

func (_m *StorageDriver) ExportPath() string

func (*StorageDriver) GetDevice

func (_m *StorageDriver) GetDevice(path string) (uint64, error)

func (*StorageDriver) RemoveVolume

func (_m *StorageDriver) RemoveVolume(path string) error

func (*StorageDriver) Restart

func (_m *StorageDriver) Restart() error

func (*StorageDriver) SetClients

func (_m *StorageDriver) SetClients(clients ...string)

func (*StorageDriver) Stop

func (_m *StorageDriver) Stop() error

func (*StorageDriver) Sync

func (_m *StorageDriver) Sync() error

Jump to

Keyboard shortcuts

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