Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockVolumeDriver
- func (m *MockVolumeDriver) Attach(arg0 string, arg1 map[string]string) (string, error)
- func (m *MockVolumeDriver) Backup(arg0 *api.BackupRequest) error
- func (m *MockVolumeDriver) BackupCatalogue(arg0 *api.BackupCatalogueRequest) *api.BackupCatalogueResponse
- func (m *MockVolumeDriver) BackupDelete(arg0 *api.BackupDeleteRequest) error
- func (m *MockVolumeDriver) BackupEnumerate(arg0 *api.BackupEnumerateRequest) *api.BackupEnumerateResponse
- func (m *MockVolumeDriver) BackupHistory(arg0 *api.BackupHistoryRequest) *api.BackupHistoryResponse
- func (m *MockVolumeDriver) BackupRestore(arg0 *api.BackupRestoreRequest) *api.BackupRestoreResponse
- func (m *MockVolumeDriver) BackupSchedCreate(arg0 *api.BackupScheduleInfo) *api.BackupSchedResponse
- func (m *MockVolumeDriver) BackupSchedDelete(arg0 *api.BackupSchedDeleteRequest) error
- func (m *MockVolumeDriver) BackupSchedEnumerate() *api.BackupSchedEnumerateResponse
- func (m *MockVolumeDriver) BackupStateChange(arg0 *api.BackupStateChangeRequest) error
- func (m *MockVolumeDriver) BackupStatus(arg0 *api.BackupStsRequest) *api.BackupStsResponse
- func (m *MockVolumeDriver) Create(arg0 *api.VolumeLocator, arg1 *api.Source, arg2 *api.VolumeSpec) (string, error)
- func (m *MockVolumeDriver) CredsCreate(arg0 map[string]string) (string, error)
- func (m *MockVolumeDriver) CredsDelete(arg0 string) error
- func (m *MockVolumeDriver) CredsEnumerate() (map[string]interface{}, error)
- func (m *MockVolumeDriver) CredsValidate(arg0 string) error
- func (m *MockVolumeDriver) Delete(arg0 string) error
- func (m *MockVolumeDriver) Detach(arg0 string, arg1 map[string]string) error
- func (m *MockVolumeDriver) EXPECT() *MockVolumeDriverMockRecorder
- func (m *MockVolumeDriver) Enumerate(arg0 *api.VolumeLocator, arg1 map[string]string) ([]*api.Volume, error)
- func (m *MockVolumeDriver) Flush(arg0 string) error
- func (m *MockVolumeDriver) GetActiveRequests() (*api.ActiveRequests, error)
- func (m *MockVolumeDriver) Inspect(arg0 []string) ([]*api.Volume, error)
- func (m *MockVolumeDriver) Mount(arg0, arg1 string, arg2 map[string]string) error
- func (m *MockVolumeDriver) MountedAt(arg0 string) string
- func (m *MockVolumeDriver) Name() string
- func (m *MockVolumeDriver) Quiesce(arg0 string, arg1 uint64, arg2 string) error
- func (m *MockVolumeDriver) Read(arg0 string, arg1 []byte, arg2 uint64, arg3 int64) (int64, error)
- func (m *MockVolumeDriver) Restore(arg0, arg1 string) error
- func (m *MockVolumeDriver) Set(arg0 string, arg1 *api.VolumeLocator, arg2 *api.VolumeSpec) error
- func (m *MockVolumeDriver) Shutdown()
- func (m *MockVolumeDriver) SnapEnumerate(arg0 []string, arg1 map[string]string) ([]*api.Volume, error)
- func (m *MockVolumeDriver) Snapshot(arg0 string, arg1 bool, arg2 *api.VolumeLocator) (string, error)
- func (m *MockVolumeDriver) Stats(arg0 string, arg1 bool) (*api.Stats, error)
- func (m *MockVolumeDriver) Status() [][2]string
- func (m *MockVolumeDriver) Type() api.DriverType
- func (m *MockVolumeDriver) Unmount(arg0, arg1 string, arg2 map[string]string) error
- func (m *MockVolumeDriver) Unquiesce(arg0 string) error
- func (m *MockVolumeDriver) UsedSize(arg0 string) (uint64, error)
- func (m *MockVolumeDriver) Write(arg0 string, arg1 []byte, arg2 uint64, arg3 int64) (int64, error)
- type MockVolumeDriverMockRecorder
- func (mr *MockVolumeDriverMockRecorder) Attach(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Backup(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) BackupCatalogue(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) BackupDelete(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) BackupEnumerate(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) BackupHistory(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) BackupRestore(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) BackupSchedCreate(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) BackupSchedDelete(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) BackupSchedEnumerate() *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) BackupStateChange(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) BackupStatus(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) CredsCreate(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) CredsDelete(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) CredsEnumerate() *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) CredsValidate(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Detach(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Enumerate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Flush(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) GetActiveRequests() *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Inspect(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Mount(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) MountedAt(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Name() *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Quiesce(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Read(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Restore(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Shutdown() *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) SnapEnumerate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Snapshot(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Stats(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Status() *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Type() *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Unmount(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Unquiesce(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) UsedSize(arg0 interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Write(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVolumeDriver ¶
type MockVolumeDriver struct {
// contains filtered or unexported fields
}
MockVolumeDriver is a mock of VolumeDriver interface
func NewMockVolumeDriver ¶
func NewMockVolumeDriver(ctrl *gomock.Controller) *MockVolumeDriver
NewMockVolumeDriver creates a new mock instance
func (*MockVolumeDriver) Backup ¶
func (m *MockVolumeDriver) Backup(arg0 *api.BackupRequest) error
Backup mocks base method
func (*MockVolumeDriver) BackupCatalogue ¶
func (m *MockVolumeDriver) BackupCatalogue(arg0 *api.BackupCatalogueRequest) *api.BackupCatalogueResponse
BackupCatalogue mocks base method
func (*MockVolumeDriver) BackupDelete ¶
func (m *MockVolumeDriver) BackupDelete(arg0 *api.BackupDeleteRequest) error
BackupDelete mocks base method
func (*MockVolumeDriver) BackupEnumerate ¶
func (m *MockVolumeDriver) BackupEnumerate(arg0 *api.BackupEnumerateRequest) *api.BackupEnumerateResponse
BackupEnumerate mocks base method
func (*MockVolumeDriver) BackupHistory ¶
func (m *MockVolumeDriver) BackupHistory(arg0 *api.BackupHistoryRequest) *api.BackupHistoryResponse
BackupHistory mocks base method
func (*MockVolumeDriver) BackupRestore ¶
func (m *MockVolumeDriver) BackupRestore(arg0 *api.BackupRestoreRequest) *api.BackupRestoreResponse
BackupRestore mocks base method
func (*MockVolumeDriver) BackupSchedCreate ¶
func (m *MockVolumeDriver) BackupSchedCreate(arg0 *api.BackupScheduleInfo) *api.BackupSchedResponse
BackupSchedCreate mocks base method
func (*MockVolumeDriver) BackupSchedDelete ¶
func (m *MockVolumeDriver) BackupSchedDelete(arg0 *api.BackupSchedDeleteRequest) error
BackupSchedDelete mocks base method
func (*MockVolumeDriver) BackupSchedEnumerate ¶
func (m *MockVolumeDriver) BackupSchedEnumerate() *api.BackupSchedEnumerateResponse
BackupSchedEnumerate mocks base method
func (*MockVolumeDriver) BackupStateChange ¶
func (m *MockVolumeDriver) BackupStateChange(arg0 *api.BackupStateChangeRequest) error
BackupStateChange mocks base method
func (*MockVolumeDriver) BackupStatus ¶
func (m *MockVolumeDriver) BackupStatus(arg0 *api.BackupStsRequest) *api.BackupStsResponse
BackupStatus mocks base method
func (*MockVolumeDriver) Create ¶
func (m *MockVolumeDriver) Create(arg0 *api.VolumeLocator, arg1 *api.Source, arg2 *api.VolumeSpec) (string, error)
Create mocks base method
func (*MockVolumeDriver) CredsCreate ¶
func (m *MockVolumeDriver) CredsCreate(arg0 map[string]string) (string, error)
CredsCreate mocks base method
func (*MockVolumeDriver) CredsDelete ¶
func (m *MockVolumeDriver) CredsDelete(arg0 string) error
CredsDelete mocks base method
func (*MockVolumeDriver) CredsEnumerate ¶
func (m *MockVolumeDriver) CredsEnumerate() (map[string]interface{}, error)
CredsEnumerate mocks base method
func (*MockVolumeDriver) CredsValidate ¶
func (m *MockVolumeDriver) CredsValidate(arg0 string) error
CredsValidate mocks base method
func (*MockVolumeDriver) Delete ¶
func (m *MockVolumeDriver) Delete(arg0 string) error
Delete mocks base method
func (*MockVolumeDriver) Detach ¶
func (m *MockVolumeDriver) Detach(arg0 string, arg1 map[string]string) error
Detach mocks base method
func (*MockVolumeDriver) EXPECT ¶
func (m *MockVolumeDriver) EXPECT() *MockVolumeDriverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVolumeDriver) Enumerate ¶
func (m *MockVolumeDriver) Enumerate(arg0 *api.VolumeLocator, arg1 map[string]string) ([]*api.Volume, error)
Enumerate mocks base method
func (*MockVolumeDriver) Flush ¶
func (m *MockVolumeDriver) Flush(arg0 string) error
Flush mocks base method
func (*MockVolumeDriver) GetActiveRequests ¶
func (m *MockVolumeDriver) GetActiveRequests() (*api.ActiveRequests, error)
GetActiveRequests mocks base method
func (*MockVolumeDriver) Inspect ¶
func (m *MockVolumeDriver) Inspect(arg0 []string) ([]*api.Volume, error)
Inspect mocks base method
func (*MockVolumeDriver) Mount ¶
func (m *MockVolumeDriver) Mount(arg0, arg1 string, arg2 map[string]string) error
Mount mocks base method
func (*MockVolumeDriver) MountedAt ¶
func (m *MockVolumeDriver) MountedAt(arg0 string) string
MountedAt mocks base method
func (*MockVolumeDriver) Quiesce ¶
func (m *MockVolumeDriver) Quiesce(arg0 string, arg1 uint64, arg2 string) error
Quiesce mocks base method
func (*MockVolumeDriver) Restore ¶
func (m *MockVolumeDriver) Restore(arg0, arg1 string) error
Restore mocks base method
func (*MockVolumeDriver) Set ¶
func (m *MockVolumeDriver) Set(arg0 string, arg1 *api.VolumeLocator, arg2 *api.VolumeSpec) error
Set mocks base method
func (*MockVolumeDriver) Shutdown ¶
func (m *MockVolumeDriver) Shutdown()
Shutdown mocks base method
func (*MockVolumeDriver) SnapEnumerate ¶
func (m *MockVolumeDriver) SnapEnumerate(arg0 []string, arg1 map[string]string) ([]*api.Volume, error)
SnapEnumerate mocks base method
func (*MockVolumeDriver) Snapshot ¶
func (m *MockVolumeDriver) Snapshot(arg0 string, arg1 bool, arg2 *api.VolumeLocator) (string, error)
Snapshot mocks base method
func (*MockVolumeDriver) Status ¶
func (m *MockVolumeDriver) Status() [][2]string
Status mocks base method
func (*MockVolumeDriver) Type ¶
func (m *MockVolumeDriver) Type() api.DriverType
Type mocks base method
func (*MockVolumeDriver) Unmount ¶
func (m *MockVolumeDriver) Unmount(arg0, arg1 string, arg2 map[string]string) error
Unmount mocks base method
func (*MockVolumeDriver) Unquiesce ¶
func (m *MockVolumeDriver) Unquiesce(arg0 string) error
Unquiesce mocks base method
type MockVolumeDriverMockRecorder ¶
type MockVolumeDriverMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeDriverMockRecorder is the mock recorder for MockVolumeDriver
func (*MockVolumeDriverMockRecorder) Attach ¶
func (mr *MockVolumeDriverMockRecorder) Attach(arg0, arg1 interface{}) *gomock.Call
Attach indicates an expected call of Attach
func (*MockVolumeDriverMockRecorder) Backup ¶
func (mr *MockVolumeDriverMockRecorder) Backup(arg0 interface{}) *gomock.Call
Backup indicates an expected call of Backup
func (*MockVolumeDriverMockRecorder) BackupCatalogue ¶
func (mr *MockVolumeDriverMockRecorder) BackupCatalogue(arg0 interface{}) *gomock.Call
BackupCatalogue indicates an expected call of BackupCatalogue
func (*MockVolumeDriverMockRecorder) BackupDelete ¶
func (mr *MockVolumeDriverMockRecorder) BackupDelete(arg0 interface{}) *gomock.Call
BackupDelete indicates an expected call of BackupDelete
func (*MockVolumeDriverMockRecorder) BackupEnumerate ¶
func (mr *MockVolumeDriverMockRecorder) BackupEnumerate(arg0 interface{}) *gomock.Call
BackupEnumerate indicates an expected call of BackupEnumerate
func (*MockVolumeDriverMockRecorder) BackupHistory ¶
func (mr *MockVolumeDriverMockRecorder) BackupHistory(arg0 interface{}) *gomock.Call
BackupHistory indicates an expected call of BackupHistory
func (*MockVolumeDriverMockRecorder) BackupRestore ¶
func (mr *MockVolumeDriverMockRecorder) BackupRestore(arg0 interface{}) *gomock.Call
BackupRestore indicates an expected call of BackupRestore
func (*MockVolumeDriverMockRecorder) BackupSchedCreate ¶
func (mr *MockVolumeDriverMockRecorder) BackupSchedCreate(arg0 interface{}) *gomock.Call
BackupSchedCreate indicates an expected call of BackupSchedCreate
func (*MockVolumeDriverMockRecorder) BackupSchedDelete ¶
func (mr *MockVolumeDriverMockRecorder) BackupSchedDelete(arg0 interface{}) *gomock.Call
BackupSchedDelete indicates an expected call of BackupSchedDelete
func (*MockVolumeDriverMockRecorder) BackupSchedEnumerate ¶
func (mr *MockVolumeDriverMockRecorder) BackupSchedEnumerate() *gomock.Call
BackupSchedEnumerate indicates an expected call of BackupSchedEnumerate
func (*MockVolumeDriverMockRecorder) BackupStateChange ¶
func (mr *MockVolumeDriverMockRecorder) BackupStateChange(arg0 interface{}) *gomock.Call
BackupStateChange indicates an expected call of BackupStateChange
func (*MockVolumeDriverMockRecorder) BackupStatus ¶
func (mr *MockVolumeDriverMockRecorder) BackupStatus(arg0 interface{}) *gomock.Call
BackupStatus indicates an expected call of BackupStatus
func (*MockVolumeDriverMockRecorder) Create ¶
func (mr *MockVolumeDriverMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockVolumeDriverMockRecorder) CredsCreate ¶
func (mr *MockVolumeDriverMockRecorder) CredsCreate(arg0 interface{}) *gomock.Call
CredsCreate indicates an expected call of CredsCreate
func (*MockVolumeDriverMockRecorder) CredsDelete ¶
func (mr *MockVolumeDriverMockRecorder) CredsDelete(arg0 interface{}) *gomock.Call
CredsDelete indicates an expected call of CredsDelete
func (*MockVolumeDriverMockRecorder) CredsEnumerate ¶
func (mr *MockVolumeDriverMockRecorder) CredsEnumerate() *gomock.Call
CredsEnumerate indicates an expected call of CredsEnumerate
func (*MockVolumeDriverMockRecorder) CredsValidate ¶
func (mr *MockVolumeDriverMockRecorder) CredsValidate(arg0 interface{}) *gomock.Call
CredsValidate indicates an expected call of CredsValidate
func (*MockVolumeDriverMockRecorder) Delete ¶
func (mr *MockVolumeDriverMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockVolumeDriverMockRecorder) Detach ¶
func (mr *MockVolumeDriverMockRecorder) Detach(arg0, arg1 interface{}) *gomock.Call
Detach indicates an expected call of Detach
func (*MockVolumeDriverMockRecorder) Enumerate ¶
func (mr *MockVolumeDriverMockRecorder) Enumerate(arg0, arg1 interface{}) *gomock.Call
Enumerate indicates an expected call of Enumerate
func (*MockVolumeDriverMockRecorder) Flush ¶
func (mr *MockVolumeDriverMockRecorder) Flush(arg0 interface{}) *gomock.Call
Flush indicates an expected call of Flush
func (*MockVolumeDriverMockRecorder) GetActiveRequests ¶
func (mr *MockVolumeDriverMockRecorder) GetActiveRequests() *gomock.Call
GetActiveRequests indicates an expected call of GetActiveRequests
func (*MockVolumeDriverMockRecorder) Inspect ¶
func (mr *MockVolumeDriverMockRecorder) Inspect(arg0 interface{}) *gomock.Call
Inspect indicates an expected call of Inspect
func (*MockVolumeDriverMockRecorder) Mount ¶
func (mr *MockVolumeDriverMockRecorder) Mount(arg0, arg1, arg2 interface{}) *gomock.Call
Mount indicates an expected call of Mount
func (*MockVolumeDriverMockRecorder) MountedAt ¶
func (mr *MockVolumeDriverMockRecorder) MountedAt(arg0 interface{}) *gomock.Call
MountedAt indicates an expected call of MountedAt
func (*MockVolumeDriverMockRecorder) Name ¶
func (mr *MockVolumeDriverMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockVolumeDriverMockRecorder) Quiesce ¶
func (mr *MockVolumeDriverMockRecorder) Quiesce(arg0, arg1, arg2 interface{}) *gomock.Call
Quiesce indicates an expected call of Quiesce
func (*MockVolumeDriverMockRecorder) Read ¶
func (mr *MockVolumeDriverMockRecorder) Read(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockVolumeDriverMockRecorder) Restore ¶
func (mr *MockVolumeDriverMockRecorder) Restore(arg0, arg1 interface{}) *gomock.Call
Restore indicates an expected call of Restore
func (*MockVolumeDriverMockRecorder) Set ¶
func (mr *MockVolumeDriverMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
Set indicates an expected call of Set
func (*MockVolumeDriverMockRecorder) Shutdown ¶
func (mr *MockVolumeDriverMockRecorder) Shutdown() *gomock.Call
Shutdown indicates an expected call of Shutdown
func (*MockVolumeDriverMockRecorder) SnapEnumerate ¶
func (mr *MockVolumeDriverMockRecorder) SnapEnumerate(arg0, arg1 interface{}) *gomock.Call
SnapEnumerate indicates an expected call of SnapEnumerate
func (*MockVolumeDriverMockRecorder) Snapshot ¶
func (mr *MockVolumeDriverMockRecorder) Snapshot(arg0, arg1, arg2 interface{}) *gomock.Call
Snapshot indicates an expected call of Snapshot
func (*MockVolumeDriverMockRecorder) Stats ¶
func (mr *MockVolumeDriverMockRecorder) Stats(arg0, arg1 interface{}) *gomock.Call
Stats indicates an expected call of Stats
func (*MockVolumeDriverMockRecorder) Status ¶
func (mr *MockVolumeDriverMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status
func (*MockVolumeDriverMockRecorder) Type ¶
func (mr *MockVolumeDriverMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type
func (*MockVolumeDriverMockRecorder) Unmount ¶
func (mr *MockVolumeDriverMockRecorder) Unmount(arg0, arg1, arg2 interface{}) *gomock.Call
Unmount indicates an expected call of Unmount
func (*MockVolumeDriverMockRecorder) Unquiesce ¶
func (mr *MockVolumeDriverMockRecorder) Unquiesce(arg0 interface{}) *gomock.Call
Unquiesce indicates an expected call of Unquiesce
func (*MockVolumeDriverMockRecorder) UsedSize ¶
func (mr *MockVolumeDriverMockRecorder) UsedSize(arg0 interface{}) *gomock.Call
UsedSize indicates an expected call of UsedSize
func (*MockVolumeDriverMockRecorder) Write ¶
func (mr *MockVolumeDriverMockRecorder) Write(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Write indicates an expected call of Write