mocks

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

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

CreateVolumeGroup provides a mock function with given fields: opt, vg

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

DeleteVolumeGroup provides a mock function with given fields: opt, vg, volumes

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.CreateAttachmentOpts) (*model.ConnectionInfo, error)

InitializeConnection 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.DeleteAttachmentOpts) error

TerminateConnection 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, vg *model.VolumeGroupSpec, addVolumesRef []*model.VolumeSpec, removeVolumesRef []*model.VolumeSpec) (*model.VolumeGroupSpec, []*model.VolumeSpec, []*model.VolumeSpec, error)

UpdateVolumeGroup provides a mock function with given fields: opt, vg, addVolumesRef, removeVolumesRef

Jump to

Keyboard shortcuts

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