mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReplicationDriver

type ReplicationDriver struct {
	mock.Mock
}

ReplicationDriver is an autogenerated mock type for the ReplicationDriver type

func (*ReplicationDriver) CreateReplication

func (_m *ReplicationDriver) CreateReplication(opt *proto.CreateReplicationOpts) (*model.ReplicationSpec, error)

CreateReplication provides a mock function with given fields: opt

func (*ReplicationDriver) DeleteReplication

func (_m *ReplicationDriver) DeleteReplication(opt *proto.DeleteReplicationOpts) error

DeleteReplication provides a mock function with given fields: opt

func (*ReplicationDriver) DisableReplication

func (_m *ReplicationDriver) DisableReplication(opt *proto.DisableReplicationOpts) error

DisableReplication provides a mock function with given fields: opt

func (*ReplicationDriver) EnableReplication

func (_m *ReplicationDriver) EnableReplication(opt *proto.EnableReplicationOpts) error

EnableReplication provides a mock function with given fields: opt

func (*ReplicationDriver) FailoverReplication

func (_m *ReplicationDriver) FailoverReplication(opt *proto.FailoverReplicationOpts) error

FailoverReplication provides a mock function with given fields: opt

func (*ReplicationDriver) Setup

func (_m *ReplicationDriver) Setup() error

Setup provides a mock function with given fields:

func (*ReplicationDriver) Unset

func (_m *ReplicationDriver) Unset() error

Unset provides a mock function with given fields:

type VolumeDriver

type VolumeDriver struct {
	mock.Mock
}

VolumeDriver is an autogenerated mock type for the VolumeDriver type

func (*VolumeDriver) CreateSnapshot

CreateSnapshot provides a mock function with given fields: opt

func (*VolumeDriver) CreateVolume

func (_m *VolumeDriver) CreateVolume(opt *proto.CreateVolumeOpts) (*model.VolumeSpec, error)

CreateVolume provides a mock function with given fields: opt

func (*VolumeDriver) CreateVolumeGroup

func (_m *VolumeDriver) CreateVolumeGroup(opt *proto.CreateVolumeGroupOpts) (*model.VolumeGroupSpec, error)

CreateVolumeGroup provides a mock function with given fields: opt

func (*VolumeDriver) DeleteSnapshot

func (_m *VolumeDriver) DeleteSnapshot(opt *proto.DeleteVolumeSnapshotOpts) error

DeleteSnapshot provides a mock function with given fields: opt

func (*VolumeDriver) DeleteVolume

func (_m *VolumeDriver) DeleteVolume(opt *proto.DeleteVolumeOpts) error

DeleteVolume provides a mock function with given fields: opt

func (*VolumeDriver) DeleteVolumeGroup

func (_m *VolumeDriver) DeleteVolumeGroup(opt *proto.DeleteVolumeGroupOpts) error

DeleteVolumeGroup provides a mock function with given fields: opt

func (*VolumeDriver) ExtendVolume

func (_m *VolumeDriver) ExtendVolume(opt *proto.ExtendVolumeOpts) (*model.VolumeSpec, error)

ExtendVolume provides a mock function with given fields: opt

func (*VolumeDriver) InitializeConnection

func (_m *VolumeDriver) InitializeConnection(opt *proto.CreateVolumeAttachmentOpts) (*model.ConnectionInfo, error)

InitializeConnection provides a mock function with given fields: opt

func (*VolumeDriver) InitializeSnapshotConnection added in v0.5.1

func (_m *VolumeDriver) InitializeSnapshotConnection(opt *proto.CreateSnapshotAttachmentOpts) (*model.ConnectionInfo, error)

InitializeSnapshotConnection provides a mock function with given fields: opt

func (*VolumeDriver) ListPools

func (_m *VolumeDriver) ListPools() ([]*model.StoragePoolSpec, error)

ListPools provides a mock function with given fields:

func (*VolumeDriver) PullSnapshot

func (_m *VolumeDriver) PullSnapshot(snapIdentifier string) (*model.VolumeSnapshotSpec, error)

PullSnapshot provides a mock function with given fields: snapIdentifier

func (*VolumeDriver) PullVolume

func (_m *VolumeDriver) PullVolume(volIdentifier string) (*model.VolumeSpec, error)

PullVolume provides a mock function with given fields: volIdentifier

func (*VolumeDriver) Setup

func (_m *VolumeDriver) Setup() error

Setup provides a mock function with given fields:

func (*VolumeDriver) TerminateConnection

func (_m *VolumeDriver) TerminateConnection(opt *proto.DeleteVolumeAttachmentOpts) error

TerminateConnection provides a mock function with given fields: opt

func (*VolumeDriver) TerminateSnapshotConnection added in v0.5.1

func (_m *VolumeDriver) TerminateSnapshotConnection(opt *proto.DeleteSnapshotAttachmentOpts) error

TerminateSnapshotConnection provides a mock function with given fields: opt

func (*VolumeDriver) Unset

func (_m *VolumeDriver) Unset() error

Unset provides a mock function with given fields:

func (*VolumeDriver) UpdateVolumeGroup

func (_m *VolumeDriver) UpdateVolumeGroup(opt *proto.UpdateVolumeGroupOpts) (*model.VolumeGroupSpec, error)

UpdateVolumeGroup provides a mock function with given fields: opt

Jump to

Keyboard shortcuts

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