Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT. *
- Copyright 2017 IBM Corp. *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
This file was generated by counterfeiter
Index ¶
- type FakeBlockDeviceMounterUtils
- func (fake *FakeBlockDeviceMounterUtils) Discover(volumeWwn string, deepDiscovery bool) (string, error)
- func (fake *FakeBlockDeviceMounterUtils) DiscoverArgsForCall(i int) (string, bool)
- func (fake *FakeBlockDeviceMounterUtils) DiscoverCallCount() int
- func (fake *FakeBlockDeviceMounterUtils) DiscoverReturns(result1 string, result2 error)
- func (fake *FakeBlockDeviceMounterUtils) DiscoverReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeBlockDeviceMounterUtils) Invocations() map[string][][]interface{}
- func (fake *FakeBlockDeviceMounterUtils) MountDeviceFlow(devicePath string, fsType string, mountPoint string) error
- func (fake *FakeBlockDeviceMounterUtils) MountDeviceFlowArgsForCall(i int) (string, string, string)
- func (fake *FakeBlockDeviceMounterUtils) MountDeviceFlowCallCount() int
- func (fake *FakeBlockDeviceMounterUtils) MountDeviceFlowReturns(result1 error)
- func (fake *FakeBlockDeviceMounterUtils) MountDeviceFlowReturnsOnCall(i int, result1 error)
- func (fake *FakeBlockDeviceMounterUtils) RescanAll(withISCSI bool, wwn string, rescanForCleanUp bool) error
- func (fake *FakeBlockDeviceMounterUtils) RescanAllArgsForCall(i int) (bool, string, bool)
- func (fake *FakeBlockDeviceMounterUtils) RescanAllCallCount() int
- func (fake *FakeBlockDeviceMounterUtils) RescanAllReturns(result1 error)
- func (fake *FakeBlockDeviceMounterUtils) RescanAllReturnsOnCall(i int, result1 error)
- func (fake *FakeBlockDeviceMounterUtils) UnmountDeviceFlow(devicePath string) error
- func (fake *FakeBlockDeviceMounterUtils) UnmountDeviceFlowArgsForCall(i int) string
- func (fake *FakeBlockDeviceMounterUtils) UnmountDeviceFlowCallCount() int
- func (fake *FakeBlockDeviceMounterUtils) UnmountDeviceFlowReturns(result1 error)
- func (fake *FakeBlockDeviceMounterUtils) UnmountDeviceFlowReturnsOnCall(i int, result1 error)
- type FakeBlockDeviceUtils
- func (fake *FakeBlockDeviceUtils) CheckFs(mpath string) (bool, error)
- func (fake *FakeBlockDeviceUtils) CheckFsArgsForCall(i int) string
- func (fake *FakeBlockDeviceUtils) CheckFsCallCount() int
- func (fake *FakeBlockDeviceUtils) CheckFsReturns(result1 bool, result2 error)
- func (fake *FakeBlockDeviceUtils) CheckFsReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBlockDeviceUtils) Cleanup(mpath string) error
- func (fake *FakeBlockDeviceUtils) CleanupArgsForCall(i int) string
- func (fake *FakeBlockDeviceUtils) CleanupCallCount() int
- func (fake *FakeBlockDeviceUtils) CleanupReturns(result1 error)
- func (fake *FakeBlockDeviceUtils) CleanupReturnsOnCall(i int, result1 error)
- func (fake *FakeBlockDeviceUtils) Discover(volumeWwn string, deepDiscovery bool) (string, error)
- func (fake *FakeBlockDeviceUtils) DiscoverArgsForCall(i int) (string, bool)
- func (fake *FakeBlockDeviceUtils) DiscoverBySgInq(mpathOutput string, volumeWwn string) (string, error)
- func (fake *FakeBlockDeviceUtils) DiscoverBySgInqArgsForCall(i int) (string, string)
- func (fake *FakeBlockDeviceUtils) DiscoverBySgInqCallCount() int
- func (fake *FakeBlockDeviceUtils) DiscoverBySgInqReturns(result1 string, result2 error)
- func (fake *FakeBlockDeviceUtils) DiscoverBySgInqReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeBlockDeviceUtils) DiscoverCallCount() int
- func (fake *FakeBlockDeviceUtils) DiscoverReturns(result1 string, result2 error)
- func (fake *FakeBlockDeviceUtils) DiscoverReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeBlockDeviceUtils) GetWwnByScsiInq(dev string) (string, error)
- func (fake *FakeBlockDeviceUtils) GetWwnByScsiInqArgsForCall(i int) string
- func (fake *FakeBlockDeviceUtils) GetWwnByScsiInqCallCount() int
- func (fake *FakeBlockDeviceUtils) GetWwnByScsiInqReturns(result1 string, result2 error)
- func (fake *FakeBlockDeviceUtils) GetWwnByScsiInqReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeBlockDeviceUtils) Invocations() map[string][][]interface{}
- func (fake *FakeBlockDeviceUtils) IsDeviceMounted(devPath string) (bool, error)
- func (fake *FakeBlockDeviceUtils) IsDeviceMountedArgsForCall(i int) string
- func (fake *FakeBlockDeviceUtils) IsDeviceMountedCallCount() int
- func (fake *FakeBlockDeviceUtils) IsDeviceMountedReturns(result1 bool, result2 error)
- func (fake *FakeBlockDeviceUtils) IsDeviceMountedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBlockDeviceUtils) MakeFs(mpath string, fsType string) error
- func (fake *FakeBlockDeviceUtils) MakeFsArgsForCall(i int) (string, string)
- func (fake *FakeBlockDeviceUtils) MakeFsCallCount() int
- func (fake *FakeBlockDeviceUtils) MakeFsReturns(result1 error)
- func (fake *FakeBlockDeviceUtils) MakeFsReturnsOnCall(i int, result1 error)
- func (fake *FakeBlockDeviceUtils) MountFs(mpath string, mpoint string) error
- func (fake *FakeBlockDeviceUtils) MountFsArgsForCall(i int) (string, string)
- func (fake *FakeBlockDeviceUtils) MountFsCallCount() int
- func (fake *FakeBlockDeviceUtils) MountFsReturns(result1 error)
- func (fake *FakeBlockDeviceUtils) MountFsReturnsOnCall(i int, result1 error)
- func (fake *FakeBlockDeviceUtils) ReloadMultipath() error
- func (fake *FakeBlockDeviceUtils) ReloadMultipathCallCount() int
- func (fake *FakeBlockDeviceUtils) ReloadMultipathReturns(result1 error)
- func (fake *FakeBlockDeviceUtils) ReloadMultipathReturnsOnCall(i int, result1 error)
- func (fake *FakeBlockDeviceUtils) Rescan(protocol block_device_utils.Protocol) error
- func (fake *FakeBlockDeviceUtils) RescanArgsForCall(i int) block_device_utils.Protocol
- func (fake *FakeBlockDeviceUtils) RescanCallCount() int
- func (fake *FakeBlockDeviceUtils) RescanReturns(result1 error)
- func (fake *FakeBlockDeviceUtils) RescanReturnsOnCall(i int, result1 error)
- func (fake *FakeBlockDeviceUtils) UmountFs(mpoint string) error
- func (fake *FakeBlockDeviceUtils) UmountFsArgsForCall(i int) string
- func (fake *FakeBlockDeviceUtils) UmountFsCallCount() int
- func (fake *FakeBlockDeviceUtils) UmountFsReturns(result1 error)
- func (fake *FakeBlockDeviceUtils) UmountFsReturnsOnCall(i int, result1 error)
- type FakeExecutor
- func (fake *FakeExecutor) EvalSymlinks(path string) (string, error)
- func (fake *FakeExecutor) EvalSymlinksArgsForCall(i int) string
- func (fake *FakeExecutor) EvalSymlinksCallCount() int
- func (fake *FakeExecutor) EvalSymlinksReturns(result1 string, result2 error)
- func (fake *FakeExecutor) EvalSymlinksReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeExecutor) Execute(command string, args []string) ([]byte, error)
- func (fake *FakeExecutor) ExecuteArgsForCall(i int) (string, []string)
- func (fake *FakeExecutor) ExecuteCallCount() int
- func (fake *FakeExecutor) ExecuteReturns(result1 []byte, result2 error)
- func (fake *FakeExecutor) ExecuteReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeExecutor) ExecuteWithTimeout(mSeconds int, command string, args []string) ([]byte, error)
- func (fake *FakeExecutor) ExecuteWithTimeoutArgsForCall(i int) (int, string, []string)
- func (fake *FakeExecutor) ExecuteWithTimeoutCallCount() int
- func (fake *FakeExecutor) ExecuteWithTimeoutReturns(result1 []byte, result2 error)
- func (fake *FakeExecutor) ExecuteWithTimeoutReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeExecutor) Hostname() (string, error)
- func (fake *FakeExecutor) HostnameCallCount() int
- func (fake *FakeExecutor) HostnameReturns(result1 string, result2 error)
- func (fake *FakeExecutor) HostnameReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeExecutor) Invocations() map[string][][]interface{}
- func (fake *FakeExecutor) IsExecutable(arg1 string) error
- func (fake *FakeExecutor) IsExecutableArgsForCall(i int) string
- func (fake *FakeExecutor) IsExecutableCallCount() int
- func (fake *FakeExecutor) IsExecutableReturns(result1 error)
- func (fake *FakeExecutor) IsExecutableReturnsOnCall(i int, result1 error)
- func (fake *FakeExecutor) IsNotExist(arg1 error) bool
- func (fake *FakeExecutor) IsNotExistArgsForCall(i int) error
- func (fake *FakeExecutor) IsNotExistCallCount() int
- func (fake *FakeExecutor) IsNotExistReturns(result1 bool)
- func (fake *FakeExecutor) IsNotExistReturnsOnCall(i int, result1 bool)
- func (fake *FakeExecutor) Mkdir(arg1 string, arg2 os.FileMode) error
- func (fake *FakeExecutor) MkdirAll(arg1 string, arg2 os.FileMode) error
- func (fake *FakeExecutor) MkdirAllArgsForCall(i int) (string, os.FileMode)
- func (fake *FakeExecutor) MkdirAllCallCount() int
- func (fake *FakeExecutor) MkdirAllReturns(result1 error)
- func (fake *FakeExecutor) MkdirAllReturnsOnCall(i int, result1 error)
- func (fake *FakeExecutor) MkdirArgsForCall(i int) (string, os.FileMode)
- func (fake *FakeExecutor) MkdirCallCount() int
- func (fake *FakeExecutor) MkdirReturns(result1 error)
- func (fake *FakeExecutor) MkdirReturnsOnCall(i int, result1 error)
- func (fake *FakeExecutor) Remove(arg1 string) error
- func (fake *FakeExecutor) RemoveAll(arg1 string) error
- func (fake *FakeExecutor) RemoveAllArgsForCall(i int) string
- func (fake *FakeExecutor) RemoveAllCallCount() int
- func (fake *FakeExecutor) RemoveAllReturns(result1 error)
- func (fake *FakeExecutor) RemoveAllReturnsOnCall(i int, result1 error)
- func (fake *FakeExecutor) RemoveArgsForCall(i int) string
- func (fake *FakeExecutor) RemoveCallCount() int
- func (fake *FakeExecutor) RemoveReturns(result1 error)
- func (fake *FakeExecutor) RemoveReturnsOnCall(i int, result1 error)
- func (fake *FakeExecutor) Stat(arg1 string) (os.FileInfo, error)
- func (fake *FakeExecutor) StatArgsForCall(i int) string
- func (fake *FakeExecutor) StatCallCount() int
- func (fake *FakeExecutor) StatReturns(result1 os.FileInfo, result2 error)
- func (fake *FakeExecutor) StatReturnsOnCall(i int, result1 os.FileInfo, result2 error)
- type FakeHeartbeat
- func (fake *FakeHeartbeat) Create() error
- func (fake *FakeHeartbeat) CreateCallCount() int
- func (fake *FakeHeartbeat) CreateReturns(result1 error)
- func (fake *FakeHeartbeat) CreateReturnsOnCall(i int, result1 error)
- func (fake *FakeHeartbeat) Exists() (bool, error)
- func (fake *FakeHeartbeat) ExistsCallCount() int
- func (fake *FakeHeartbeat) ExistsReturns(result1 bool, result2 error)
- func (fake *FakeHeartbeat) ExistsReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeHeartbeat) GetLastUpdateTimestamp() (time.Time, error)
- func (fake *FakeHeartbeat) GetLastUpdateTimestampCallCount() int
- func (fake *FakeHeartbeat) GetLastUpdateTimestampReturns(result1 time.Time, result2 error)
- func (fake *FakeHeartbeat) GetLastUpdateTimestampReturnsOnCall(i int, result1 time.Time, result2 error)
- func (fake *FakeHeartbeat) Invocations() map[string][][]interface{}
- func (fake *FakeHeartbeat) Update() error
- func (fake *FakeHeartbeat) UpdateCallCount() int
- func (fake *FakeHeartbeat) UpdateReturns(result1 error)
- func (fake *FakeHeartbeat) UpdateReturnsOnCall(i int, result1 error)
- type FakeLocker
- func (fake *FakeLocker) Invocations() map[string][][]interface{}
- func (fake *FakeLocker) ReadLock(name string)
- func (fake *FakeLocker) ReadLockArgsForCall(i int) string
- func (fake *FakeLocker) ReadLockCallCount() int
- func (fake *FakeLocker) ReadUnlock(name string)
- func (fake *FakeLocker) ReadUnlockArgsForCall(i int) string
- func (fake *FakeLocker) ReadUnlockCallCount() int
- func (fake *FakeLocker) WriteLock(name string)
- func (fake *FakeLocker) WriteLockArgsForCall(i int) string
- func (fake *FakeLocker) WriteLockCallCount() int
- func (fake *FakeLocker) WriteUnlock(name string)
- func (fake *FakeLocker) WriteUnlockArgsForCall(i int) string
- func (fake *FakeLocker) WriteUnlockCallCount() int
- type FakeMounter
- func (fake *FakeMounter) ActionAfterDetach(request resources.AfterDetachRequest) error
- func (fake *FakeMounter) ActionAfterDetachArgsForCall(i int) resources.AfterDetachRequest
- func (fake *FakeMounter) ActionAfterDetachCallCount() int
- func (fake *FakeMounter) ActionAfterDetachReturns(result1 error)
- func (fake *FakeMounter) ActionAfterDetachReturnsOnCall(i int, result1 error)
- func (fake *FakeMounter) Invocations() map[string][][]interface{}
- func (fake *FakeMounter) Mount(mountRequest resources.MountRequest) (string, error)
- func (fake *FakeMounter) MountArgsForCall(i int) resources.MountRequest
- func (fake *FakeMounter) MountCallCount() int
- func (fake *FakeMounter) MountReturns(result1 string, result2 error)
- func (fake *FakeMounter) MountReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeMounter) Unmount(unmountRequest resources.UnmountRequest) error
- func (fake *FakeMounter) UnmountArgsForCall(i int) resources.UnmountRequest
- func (fake *FakeMounter) UnmountCallCount() int
- func (fake *FakeMounter) UnmountReturns(result1 error)
- func (fake *FakeMounter) UnmountReturnsOnCall(i int, result1 error)
- type FakeScbeDataModel
- func (fake *FakeScbeDataModel) CreateVolumeTable() error
- func (fake *FakeScbeDataModel) CreateVolumeTableCallCount() int
- func (fake *FakeScbeDataModel) CreateVolumeTableReturns(result1 error)
- func (fake *FakeScbeDataModel) CreateVolumeTableReturnsOnCall(i int, result1 error)
- func (fake *FakeScbeDataModel) DeleteVolume(name string) error
- func (fake *FakeScbeDataModel) DeleteVolumeArgsForCall(i int) string
- func (fake *FakeScbeDataModel) DeleteVolumeCallCount() int
- func (fake *FakeScbeDataModel) DeleteVolumeReturns(result1 error)
- func (fake *FakeScbeDataModel) DeleteVolumeReturnsOnCall(i int, result1 error)
- func (fake *FakeScbeDataModel) GetVolume(name string) (scbe.ScbeVolume, bool, error)
- func (fake *FakeScbeDataModel) GetVolumeArgsForCall(i int) string
- func (fake *FakeScbeDataModel) GetVolumeCallCount() int
- func (fake *FakeScbeDataModel) GetVolumeReturns(result1 scbe.ScbeVolume, result2 bool, result3 error)
- func (fake *FakeScbeDataModel) GetVolumeReturnsOnCall(i int, result1 scbe.ScbeVolume, result2 bool, result3 error)
- func (fake *FakeScbeDataModel) InsertVolume(volumeName string, wwn string, fstype string) error
- func (fake *FakeScbeDataModel) InsertVolumeArgsForCall(i int) (string, string, string)
- func (fake *FakeScbeDataModel) InsertVolumeCallCount() int
- func (fake *FakeScbeDataModel) InsertVolumeReturns(result1 error)
- func (fake *FakeScbeDataModel) InsertVolumeReturnsOnCall(i int, result1 error)
- func (fake *FakeScbeDataModel) Invocations() map[string][][]interface{}
- func (fake *FakeScbeDataModel) ListVolumes() ([]scbe.ScbeVolume, error)
- func (fake *FakeScbeDataModel) ListVolumesCallCount() int
- func (fake *FakeScbeDataModel) ListVolumesReturns(result1 []scbe.ScbeVolume, result2 error)
- func (fake *FakeScbeDataModel) ListVolumesReturnsOnCall(i int, result1 []scbe.ScbeVolume, result2 error)
- type FakeScbeDataModelWrapper
- func (fake *FakeScbeDataModelWrapper) DeleteVolume(name string) error
- func (fake *FakeScbeDataModelWrapper) DeleteVolumeArgsForCall(i int) string
- func (fake *FakeScbeDataModelWrapper) DeleteVolumeCallCount() int
- func (fake *FakeScbeDataModelWrapper) DeleteVolumeReturns(result1 error)
- func (fake *FakeScbeDataModelWrapper) DeleteVolumeReturnsOnCall(i int, result1 error)
- func (fake *FakeScbeDataModelWrapper) GetVolume(name string, mustExist bool) (scbe.ScbeVolume, error)
- func (fake *FakeScbeDataModelWrapper) GetVolumeArgsForCall(i int) (string, bool)
- func (fake *FakeScbeDataModelWrapper) GetVolumeCallCount() int
- func (fake *FakeScbeDataModelWrapper) GetVolumeReturns(result1 scbe.ScbeVolume, result2 error)
- func (fake *FakeScbeDataModelWrapper) GetVolumeReturnsOnCall(i int, result1 scbe.ScbeVolume, result2 error)
- func (fake *FakeScbeDataModelWrapper) InsertVolume(volumeName string, wwn string, fstype string) error
- func (fake *FakeScbeDataModelWrapper) InsertVolumeArgsForCall(i int) (string, string, string)
- func (fake *FakeScbeDataModelWrapper) InsertVolumeCallCount() int
- func (fake *FakeScbeDataModelWrapper) InsertVolumeReturns(result1 error)
- func (fake *FakeScbeDataModelWrapper) InsertVolumeReturnsOnCall(i int, result1 error)
- func (fake *FakeScbeDataModelWrapper) Invocations() map[string][][]interface{}
- func (fake *FakeScbeDataModelWrapper) ListVolumes() ([]scbe.ScbeVolume, error)
- func (fake *FakeScbeDataModelWrapper) ListVolumesCallCount() int
- func (fake *FakeScbeDataModelWrapper) ListVolumesReturns(result1 []scbe.ScbeVolume, result2 error)
- func (fake *FakeScbeDataModelWrapper) ListVolumesReturnsOnCall(i int, result1 []scbe.ScbeVolume, result2 error)
- func (fake *FakeScbeDataModelWrapper) UpdateDatabaseVolume(newVolume *scbe.ScbeVolume)
- func (fake *FakeScbeDataModelWrapper) UpdateDatabaseVolumeArgsForCall(i int) *scbe.ScbeVolume
- func (fake *FakeScbeDataModelWrapper) UpdateDatabaseVolumeCallCount() int
- type FakeScbeRestClient
- func (fake *FakeScbeRestClient) CreateVolume(volName string, serviceName string, size int) (scbe.ScbeVolumeInfo, error)
- func (fake *FakeScbeRestClient) CreateVolumeArgsForCall(i int) (string, string, int)
- func (fake *FakeScbeRestClient) CreateVolumeCallCount() int
- func (fake *FakeScbeRestClient) CreateVolumeReturns(result1 scbe.ScbeVolumeInfo, result2 error)
- func (fake *FakeScbeRestClient) CreateVolumeReturnsOnCall(i int, result1 scbe.ScbeVolumeInfo, result2 error)
- func (fake *FakeScbeRestClient) DeleteVolume(wwn string) error
- func (fake *FakeScbeRestClient) DeleteVolumeArgsForCall(i int) string
- func (fake *FakeScbeRestClient) DeleteVolumeCallCount() int
- func (fake *FakeScbeRestClient) DeleteVolumeReturns(result1 error)
- func (fake *FakeScbeRestClient) DeleteVolumeReturnsOnCall(i int, result1 error)
- func (fake *FakeScbeRestClient) GetVolMapping(wwn string) (string, error)
- func (fake *FakeScbeRestClient) GetVolMappingArgsForCall(i int) string
- func (fake *FakeScbeRestClient) GetVolMappingCallCount() int
- func (fake *FakeScbeRestClient) GetVolMappingReturns(result1 string, result2 error)
- func (fake *FakeScbeRestClient) GetVolMappingReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeScbeRestClient) GetVolumes(wwn string) ([]scbe.ScbeVolumeInfo, error)
- func (fake *FakeScbeRestClient) GetVolumesArgsForCall(i int) string
- func (fake *FakeScbeRestClient) GetVolumesCallCount() int
- func (fake *FakeScbeRestClient) GetVolumesReturns(result1 []scbe.ScbeVolumeInfo, result2 error)
- func (fake *FakeScbeRestClient) GetVolumesReturnsOnCall(i int, result1 []scbe.ScbeVolumeInfo, result2 error)
- func (fake *FakeScbeRestClient) Invocations() map[string][][]interface{}
- func (fake *FakeScbeRestClient) Login() error
- func (fake *FakeScbeRestClient) LoginCallCount() int
- func (fake *FakeScbeRestClient) LoginReturns(result1 error)
- func (fake *FakeScbeRestClient) LoginReturnsOnCall(i int, result1 error)
- func (fake *FakeScbeRestClient) MapVolume(wwn string, host string) (scbe.ScbeResponseMapping, error)
- func (fake *FakeScbeRestClient) MapVolumeArgsForCall(i int) (string, string)
- func (fake *FakeScbeRestClient) MapVolumeCallCount() int
- func (fake *FakeScbeRestClient) MapVolumeReturns(result1 scbe.ScbeResponseMapping, result2 error)
- func (fake *FakeScbeRestClient) MapVolumeReturnsOnCall(i int, result1 scbe.ScbeResponseMapping, result2 error)
- func (fake *FakeScbeRestClient) ServiceExist(serviceName string) (bool, error)
- func (fake *FakeScbeRestClient) ServiceExistArgsForCall(i int) string
- func (fake *FakeScbeRestClient) ServiceExistCallCount() int
- func (fake *FakeScbeRestClient) ServiceExistReturns(result1 bool, result2 error)
- func (fake *FakeScbeRestClient) ServiceExistReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeScbeRestClient) UnmapVolume(wwn string, host string) error
- func (fake *FakeScbeRestClient) UnmapVolumeArgsForCall(i int) (string, string)
- func (fake *FakeScbeRestClient) UnmapVolumeCallCount() int
- func (fake *FakeScbeRestClient) UnmapVolumeReturns(result1 error)
- func (fake *FakeScbeRestClient) UnmapVolumeReturnsOnCall(i int, result1 error)
- type FakeSimpleRestClient
- func (fake *FakeSimpleRestClient) Delete(resource_url string, payload []byte, exitStatus int) error
- func (fake *FakeSimpleRestClient) DeleteArgsForCall(i int) (string, []byte, int)
- func (fake *FakeSimpleRestClient) DeleteCallCount() int
- func (fake *FakeSimpleRestClient) DeleteReturns(result1 error)
- func (fake *FakeSimpleRestClient) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeSimpleRestClient) Get(resource_url string, params map[string]string, exitStatus int, v interface{}) error
- func (fake *FakeSimpleRestClient) GetArgsForCall(i int) (string, map[string]string, int, interface{})
- func (fake *FakeSimpleRestClient) GetCallCount() int
- func (fake *FakeSimpleRestClient) GetReturns(result1 error)
- func (fake *FakeSimpleRestClient) GetReturnsOnCall(i int, result1 error)
- func (fake *FakeSimpleRestClient) Invocations() map[string][][]interface{}
- func (fake *FakeSimpleRestClient) Login() error
- func (fake *FakeSimpleRestClient) LoginCallCount() int
- func (fake *FakeSimpleRestClient) LoginReturns(result1 error)
- func (fake *FakeSimpleRestClient) LoginReturnsOnCall(i int, result1 error)
- func (fake *FakeSimpleRestClient) Post(resource_url string, payload []byte, exitStatus int, v interface{}) error
- func (fake *FakeSimpleRestClient) PostArgsForCall(i int) (string, []byte, int, interface{})
- func (fake *FakeSimpleRestClient) PostCallCount() int
- func (fake *FakeSimpleRestClient) PostReturns(result1 error)
- func (fake *FakeSimpleRestClient) PostReturnsOnCall(i int, result1 error)
- type FakeSpectrumDataModel
- func (fake *FakeSpectrumDataModel) CreateVolumeTable() error
- func (fake *FakeSpectrumDataModel) CreateVolumeTableCallCount() int
- func (fake *FakeSpectrumDataModel) CreateVolumeTableReturns(result1 error)
- func (fake *FakeSpectrumDataModel) CreateVolumeTableReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumDataModel) DeleteVolume(name string) error
- func (fake *FakeSpectrumDataModel) DeleteVolumeArgsForCall(i int) string
- func (fake *FakeSpectrumDataModel) DeleteVolumeCallCount() int
- func (fake *FakeSpectrumDataModel) DeleteVolumeReturns(result1 error)
- func (fake *FakeSpectrumDataModel) DeleteVolumeReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumDataModel) GetClusterId() string
- func (fake *FakeSpectrumDataModel) GetClusterIdCallCount() int
- func (fake *FakeSpectrumDataModel) GetClusterIdReturns(result1 string)
- func (fake *FakeSpectrumDataModel) GetClusterIdReturnsOnCall(i int, result1 string)
- func (fake *FakeSpectrumDataModel) GetVolume(name string) (spectrumscale.SpectrumScaleVolume, bool, error)
- func (fake *FakeSpectrumDataModel) GetVolumeArgsForCall(i int) string
- func (fake *FakeSpectrumDataModel) GetVolumeCallCount() int
- func (fake *FakeSpectrumDataModel) GetVolumeReturns(result1 spectrumscale.SpectrumScaleVolume, result2 bool, result3 error)
- func (fake *FakeSpectrumDataModel) GetVolumeReturnsOnCall(i int, result1 spectrumscale.SpectrumScaleVolume, result2 bool, result3 error)
- func (fake *FakeSpectrumDataModel) InsertFilesetQuotaVolume(fileset string, quota string, volumeName string, filesystem string, ...) error
- func (fake *FakeSpectrumDataModel) InsertFilesetQuotaVolumeArgsForCall(i int) (string, string, string, string, bool, map[string]interface{})
- func (fake *FakeSpectrumDataModel) InsertFilesetQuotaVolumeCallCount() int
- func (fake *FakeSpectrumDataModel) InsertFilesetQuotaVolumeReturns(result1 error)
- func (fake *FakeSpectrumDataModel) InsertFilesetQuotaVolumeReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumDataModel) InsertFilesetVolume(fileset string, volumeName string, filesystem string, isPreexisting bool, ...) error
- func (fake *FakeSpectrumDataModel) InsertFilesetVolumeArgsForCall(i int) (string, string, string, bool, map[string]interface{})
- func (fake *FakeSpectrumDataModel) InsertFilesetVolumeCallCount() int
- func (fake *FakeSpectrumDataModel) InsertFilesetVolumeReturns(result1 error)
- func (fake *FakeSpectrumDataModel) InsertFilesetVolumeReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumDataModel) InsertLightweightVolume(fileset string, directory string, volumeName string, filesystem string, ...) error
- func (fake *FakeSpectrumDataModel) InsertLightweightVolumeArgsForCall(i int) (string, string, string, string, bool, map[string]interface{})
- func (fake *FakeSpectrumDataModel) InsertLightweightVolumeCallCount() int
- func (fake *FakeSpectrumDataModel) InsertLightweightVolumeReturns(result1 error)
- func (fake *FakeSpectrumDataModel) InsertLightweightVolumeReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumDataModel) Invocations() map[string][][]interface{}
- func (fake *FakeSpectrumDataModel) ListVolumes() ([]resources.Volume, error)
- func (fake *FakeSpectrumDataModel) ListVolumesCallCount() int
- func (fake *FakeSpectrumDataModel) ListVolumesReturns(result1 []resources.Volume, result2 error)
- func (fake *FakeSpectrumDataModel) ListVolumesReturnsOnCall(i int, result1 []resources.Volume, result2 error)
- func (fake *FakeSpectrumDataModel) SetClusterId(arg1 string)
- func (fake *FakeSpectrumDataModel) SetClusterIdArgsForCall(i int) string
- func (fake *FakeSpectrumDataModel) SetClusterIdCallCount() int
- func (fake *FakeSpectrumDataModel) UpdateVolumeMountpoint(name string, mountpoint string) error
- func (fake *FakeSpectrumDataModel) UpdateVolumeMountpointArgsForCall(i int) (string, string)
- func (fake *FakeSpectrumDataModel) UpdateVolumeMountpointCallCount() int
- func (fake *FakeSpectrumDataModel) UpdateVolumeMountpointReturns(result1 error)
- func (fake *FakeSpectrumDataModel) UpdateVolumeMountpointReturnsOnCall(i int, result1 error)
- type FakeSpectrumScaleConnector
- func (fake *FakeSpectrumScaleConnector) CreateFileset(filesystemName string, filesetName string, opts map[string]interface{}) error
- func (fake *FakeSpectrumScaleConnector) CreateFilesetArgsForCall(i int) (string, string, map[string]interface{})
- func (fake *FakeSpectrumScaleConnector) CreateFilesetCallCount() int
- func (fake *FakeSpectrumScaleConnector) CreateFilesetReturns(result1 error)
- func (fake *FakeSpectrumScaleConnector) CreateFilesetReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumScaleConnector) DeleteFileset(filesystemName string, filesetName string) error
- func (fake *FakeSpectrumScaleConnector) DeleteFilesetArgsForCall(i int) (string, string)
- func (fake *FakeSpectrumScaleConnector) DeleteFilesetCallCount() int
- func (fake *FakeSpectrumScaleConnector) DeleteFilesetReturns(result1 error)
- func (fake *FakeSpectrumScaleConnector) DeleteFilesetReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumScaleConnector) ExportNfs(volumeMountpoint string, clientConfig string) error
- func (fake *FakeSpectrumScaleConnector) ExportNfsArgsForCall(i int) (string, string)
- func (fake *FakeSpectrumScaleConnector) ExportNfsCallCount() int
- func (fake *FakeSpectrumScaleConnector) ExportNfsReturns(result1 error)
- func (fake *FakeSpectrumScaleConnector) ExportNfsReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumScaleConnector) GetClusterId() (string, error)
- func (fake *FakeSpectrumScaleConnector) GetClusterIdCallCount() int
- func (fake *FakeSpectrumScaleConnector) GetClusterIdReturns(result1 string, result2 error)
- func (fake *FakeSpectrumScaleConnector) GetClusterIdReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeSpectrumScaleConnector) GetFilesystemMountpoint(filesystemName string) (string, error)
- func (fake *FakeSpectrumScaleConnector) GetFilesystemMountpointArgsForCall(i int) string
- func (fake *FakeSpectrumScaleConnector) GetFilesystemMountpointCallCount() int
- func (fake *FakeSpectrumScaleConnector) GetFilesystemMountpointReturns(result1 string, result2 error)
- func (fake *FakeSpectrumScaleConnector) GetFilesystemMountpointReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeSpectrumScaleConnector) Invocations() map[string][][]interface{}
- func (fake *FakeSpectrumScaleConnector) IsFilesetLinked(filesystemName string, filesetName string) (bool, error)
- func (fake *FakeSpectrumScaleConnector) IsFilesetLinkedArgsForCall(i int) (string, string)
- func (fake *FakeSpectrumScaleConnector) IsFilesetLinkedCallCount() int
- func (fake *FakeSpectrumScaleConnector) IsFilesetLinkedReturns(result1 bool, result2 error)
- func (fake *FakeSpectrumScaleConnector) IsFilesetLinkedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeSpectrumScaleConnector) IsFilesystemMounted(filesystemName string) (bool, error)
- func (fake *FakeSpectrumScaleConnector) IsFilesystemMountedArgsForCall(i int) string
- func (fake *FakeSpectrumScaleConnector) IsFilesystemMountedCallCount() int
- func (fake *FakeSpectrumScaleConnector) IsFilesystemMountedReturns(result1 bool, result2 error)
- func (fake *FakeSpectrumScaleConnector) IsFilesystemMountedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeSpectrumScaleConnector) LinkFileset(filesystemName string, filesetName string) error
- func (fake *FakeSpectrumScaleConnector) LinkFilesetArgsForCall(i int) (string, string)
- func (fake *FakeSpectrumScaleConnector) LinkFilesetCallCount() int
- func (fake *FakeSpectrumScaleConnector) LinkFilesetReturns(result1 error)
- func (fake *FakeSpectrumScaleConnector) LinkFilesetReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumScaleConnector) ListFileset(filesystemName string, filesetName string) (resources.Volume, error)
- func (fake *FakeSpectrumScaleConnector) ListFilesetArgsForCall(i int) (string, string)
- func (fake *FakeSpectrumScaleConnector) ListFilesetCallCount() int
- func (fake *FakeSpectrumScaleConnector) ListFilesetQuota(filesystemName string, filesetName string) (string, error)
- func (fake *FakeSpectrumScaleConnector) ListFilesetQuotaArgsForCall(i int) (string, string)
- func (fake *FakeSpectrumScaleConnector) ListFilesetQuotaCallCount() int
- func (fake *FakeSpectrumScaleConnector) ListFilesetQuotaReturns(result1 string, result2 error)
- func (fake *FakeSpectrumScaleConnector) ListFilesetQuotaReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeSpectrumScaleConnector) ListFilesetReturns(result1 resources.Volume, result2 error)
- func (fake *FakeSpectrumScaleConnector) ListFilesetReturnsOnCall(i int, result1 resources.Volume, result2 error)
- func (fake *FakeSpectrumScaleConnector) ListFilesets(filesystemName string) ([]resources.Volume, error)
- func (fake *FakeSpectrumScaleConnector) ListFilesetsArgsForCall(i int) string
- func (fake *FakeSpectrumScaleConnector) ListFilesetsCallCount() int
- func (fake *FakeSpectrumScaleConnector) ListFilesetsReturns(result1 []resources.Volume, result2 error)
- func (fake *FakeSpectrumScaleConnector) ListFilesetsReturnsOnCall(i int, result1 []resources.Volume, result2 error)
- func (fake *FakeSpectrumScaleConnector) ListFilesystems() ([]string, error)
- func (fake *FakeSpectrumScaleConnector) ListFilesystemsCallCount() int
- func (fake *FakeSpectrumScaleConnector) ListFilesystemsReturns(result1 []string, result2 error)
- func (fake *FakeSpectrumScaleConnector) ListFilesystemsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeSpectrumScaleConnector) MountFileSystem(filesystemName string) error
- func (fake *FakeSpectrumScaleConnector) MountFileSystemArgsForCall(i int) string
- func (fake *FakeSpectrumScaleConnector) MountFileSystemCallCount() int
- func (fake *FakeSpectrumScaleConnector) MountFileSystemReturns(result1 error)
- func (fake *FakeSpectrumScaleConnector) MountFileSystemReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumScaleConnector) SetFilesetQuota(filesystemName string, filesetName string, quota string) error
- func (fake *FakeSpectrumScaleConnector) SetFilesetQuotaArgsForCall(i int) (string, string, string)
- func (fake *FakeSpectrumScaleConnector) SetFilesetQuotaCallCount() int
- func (fake *FakeSpectrumScaleConnector) SetFilesetQuotaReturns(result1 error)
- func (fake *FakeSpectrumScaleConnector) SetFilesetQuotaReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumScaleConnector) UnexportNfs(volumeMountpoint string) error
- func (fake *FakeSpectrumScaleConnector) UnexportNfsArgsForCall(i int) string
- func (fake *FakeSpectrumScaleConnector) UnexportNfsCallCount() int
- func (fake *FakeSpectrumScaleConnector) UnexportNfsReturns(result1 error)
- func (fake *FakeSpectrumScaleConnector) UnexportNfsReturnsOnCall(i int, result1 error)
- func (fake *FakeSpectrumScaleConnector) UnlinkFileset(filesystemName string, filesetName string) error
- func (fake *FakeSpectrumScaleConnector) UnlinkFilesetArgsForCall(i int) (string, string)
- func (fake *FakeSpectrumScaleConnector) UnlinkFilesetCallCount() int
- func (fake *FakeSpectrumScaleConnector) UnlinkFilesetReturns(result1 error)
- func (fake *FakeSpectrumScaleConnector) UnlinkFilesetReturnsOnCall(i int, result1 error)
- type FakeStorageClient
- func (fake *FakeStorageClient) Activate(activateRequest resources.ActivateRequest) error
- func (fake *FakeStorageClient) ActivateArgsForCall(i int) resources.ActivateRequest
- func (fake *FakeStorageClient) ActivateCallCount() int
- func (fake *FakeStorageClient) ActivateReturns(result1 error)
- func (fake *FakeStorageClient) ActivateReturnsOnCall(i int, result1 error)
- func (fake *FakeStorageClient) Attach(attachRequest resources.AttachRequest) (string, error)
- func (fake *FakeStorageClient) AttachArgsForCall(i int) resources.AttachRequest
- func (fake *FakeStorageClient) AttachCallCount() int
- func (fake *FakeStorageClient) AttachReturns(result1 string, result2 error)
- func (fake *FakeStorageClient) AttachReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeStorageClient) CreateVolume(createVolumeRequest resources.CreateVolumeRequest) error
- func (fake *FakeStorageClient) CreateVolumeArgsForCall(i int) resources.CreateVolumeRequest
- func (fake *FakeStorageClient) CreateVolumeCallCount() int
- func (fake *FakeStorageClient) CreateVolumeReturns(result1 error)
- func (fake *FakeStorageClient) CreateVolumeReturnsOnCall(i int, result1 error)
- func (fake *FakeStorageClient) Detach(detachRequest resources.DetachRequest) error
- func (fake *FakeStorageClient) DetachArgsForCall(i int) resources.DetachRequest
- func (fake *FakeStorageClient) DetachCallCount() int
- func (fake *FakeStorageClient) DetachReturns(result1 error)
- func (fake *FakeStorageClient) DetachReturnsOnCall(i int, result1 error)
- func (fake *FakeStorageClient) GetVolume(getVolumeRequest resources.GetVolumeRequest) (resources.Volume, error)
- func (fake *FakeStorageClient) GetVolumeArgsForCall(i int) resources.GetVolumeRequest
- func (fake *FakeStorageClient) GetVolumeCallCount() int
- func (fake *FakeStorageClient) GetVolumeConfig(getVolumeConfigRequest resources.GetVolumeConfigRequest) (map[string]interface{}, error)
- func (fake *FakeStorageClient) GetVolumeConfigArgsForCall(i int) resources.GetVolumeConfigRequest
- func (fake *FakeStorageClient) GetVolumeConfigCallCount() int
- func (fake *FakeStorageClient) GetVolumeConfigReturns(result1 map[string]interface{}, result2 error)
- func (fake *FakeStorageClient) GetVolumeConfigReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
- func (fake *FakeStorageClient) GetVolumeReturns(result1 resources.Volume, result2 error)
- func (fake *FakeStorageClient) GetVolumeReturnsOnCall(i int, result1 resources.Volume, result2 error)
- func (fake *FakeStorageClient) Invocations() map[string][][]interface{}
- func (fake *FakeStorageClient) ListVolumes(listVolumeRequest resources.ListVolumesRequest) ([]resources.Volume, error)
- func (fake *FakeStorageClient) ListVolumesArgsForCall(i int) resources.ListVolumesRequest
- func (fake *FakeStorageClient) ListVolumesCallCount() int
- func (fake *FakeStorageClient) ListVolumesReturns(result1 []resources.Volume, result2 error)
- func (fake *FakeStorageClient) ListVolumesReturnsOnCall(i int, result1 []resources.Volume, result2 error)
- func (fake *FakeStorageClient) RemoveVolume(removeVolumeRequest resources.RemoveVolumeRequest) error
- func (fake *FakeStorageClient) RemoveVolumeArgsForCall(i int) resources.RemoveVolumeRequest
- func (fake *FakeStorageClient) RemoveVolumeCallCount() int
- func (fake *FakeStorageClient) RemoveVolumeReturns(result1 error)
- func (fake *FakeStorageClient) RemoveVolumeReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBlockDeviceMounterUtils ¶
type FakeBlockDeviceMounterUtils struct { RescanAllStub func(withISCSI bool, wwn string, rescanForCleanUp bool) error MountDeviceFlowStub func(devicePath string, fsType string, mountPoint string) error DiscoverStub func(volumeWwn string, deepDiscovery bool) (string, error) UnmountDeviceFlowStub func(devicePath string) error // contains filtered or unexported fields }
func (*FakeBlockDeviceMounterUtils) Discover ¶
func (fake *FakeBlockDeviceMounterUtils) Discover(volumeWwn string, deepDiscovery bool) (string, error)
func (*FakeBlockDeviceMounterUtils) DiscoverArgsForCall ¶
func (fake *FakeBlockDeviceMounterUtils) DiscoverArgsForCall(i int) (string, bool)
func (*FakeBlockDeviceMounterUtils) DiscoverCallCount ¶
func (fake *FakeBlockDeviceMounterUtils) DiscoverCallCount() int
func (*FakeBlockDeviceMounterUtils) DiscoverReturns ¶
func (fake *FakeBlockDeviceMounterUtils) DiscoverReturns(result1 string, result2 error)
func (*FakeBlockDeviceMounterUtils) DiscoverReturnsOnCall ¶
func (fake *FakeBlockDeviceMounterUtils) DiscoverReturnsOnCall(i int, result1 string, result2 error)
func (*FakeBlockDeviceMounterUtils) Invocations ¶
func (fake *FakeBlockDeviceMounterUtils) Invocations() map[string][][]interface{}
func (*FakeBlockDeviceMounterUtils) MountDeviceFlow ¶
func (fake *FakeBlockDeviceMounterUtils) MountDeviceFlow(devicePath string, fsType string, mountPoint string) error
func (*FakeBlockDeviceMounterUtils) MountDeviceFlowArgsForCall ¶
func (fake *FakeBlockDeviceMounterUtils) MountDeviceFlowArgsForCall(i int) (string, string, string)
func (*FakeBlockDeviceMounterUtils) MountDeviceFlowCallCount ¶
func (fake *FakeBlockDeviceMounterUtils) MountDeviceFlowCallCount() int
func (*FakeBlockDeviceMounterUtils) MountDeviceFlowReturns ¶
func (fake *FakeBlockDeviceMounterUtils) MountDeviceFlowReturns(result1 error)
func (*FakeBlockDeviceMounterUtils) MountDeviceFlowReturnsOnCall ¶
func (fake *FakeBlockDeviceMounterUtils) MountDeviceFlowReturnsOnCall(i int, result1 error)
func (*FakeBlockDeviceMounterUtils) RescanAll ¶
func (fake *FakeBlockDeviceMounterUtils) RescanAll(withISCSI bool, wwn string, rescanForCleanUp bool) error
func (*FakeBlockDeviceMounterUtils) RescanAllArgsForCall ¶
func (fake *FakeBlockDeviceMounterUtils) RescanAllArgsForCall(i int) (bool, string, bool)
func (*FakeBlockDeviceMounterUtils) RescanAllCallCount ¶
func (fake *FakeBlockDeviceMounterUtils) RescanAllCallCount() int
func (*FakeBlockDeviceMounterUtils) RescanAllReturns ¶
func (fake *FakeBlockDeviceMounterUtils) RescanAllReturns(result1 error)
func (*FakeBlockDeviceMounterUtils) RescanAllReturnsOnCall ¶
func (fake *FakeBlockDeviceMounterUtils) RescanAllReturnsOnCall(i int, result1 error)
func (*FakeBlockDeviceMounterUtils) UnmountDeviceFlow ¶
func (fake *FakeBlockDeviceMounterUtils) UnmountDeviceFlow(devicePath string) error
func (*FakeBlockDeviceMounterUtils) UnmountDeviceFlowArgsForCall ¶
func (fake *FakeBlockDeviceMounterUtils) UnmountDeviceFlowArgsForCall(i int) string
func (*FakeBlockDeviceMounterUtils) UnmountDeviceFlowCallCount ¶
func (fake *FakeBlockDeviceMounterUtils) UnmountDeviceFlowCallCount() int
func (*FakeBlockDeviceMounterUtils) UnmountDeviceFlowReturns ¶
func (fake *FakeBlockDeviceMounterUtils) UnmountDeviceFlowReturns(result1 error)
func (*FakeBlockDeviceMounterUtils) UnmountDeviceFlowReturnsOnCall ¶
func (fake *FakeBlockDeviceMounterUtils) UnmountDeviceFlowReturnsOnCall(i int, result1 error)
type FakeBlockDeviceUtils ¶
type FakeBlockDeviceUtils struct { RescanStub func(protocol block_device_utils.Protocol) error ReloadMultipathStub func() error DiscoverStub func(volumeWwn string, deepDiscovery bool) (string, error) GetWwnByScsiInqStub func(dev string) (string, error) DiscoverBySgInqStub func(mpathOutput string, volumeWwn string) (string, error) CleanupStub func(mpath string) error CheckFsStub func(mpath string) (bool, error) MakeFsStub func(mpath string, fsType string) error MountFsStub func(mpath string, mpoint string) error UmountFsStub func(mpoint string) error IsDeviceMountedStub func(devPath string) (bool, error) // contains filtered or unexported fields }
func (*FakeBlockDeviceUtils) CheckFs ¶
func (fake *FakeBlockDeviceUtils) CheckFs(mpath string) (bool, error)
func (*FakeBlockDeviceUtils) CheckFsArgsForCall ¶
func (fake *FakeBlockDeviceUtils) CheckFsArgsForCall(i int) string
func (*FakeBlockDeviceUtils) CheckFsCallCount ¶
func (fake *FakeBlockDeviceUtils) CheckFsCallCount() int
func (*FakeBlockDeviceUtils) CheckFsReturns ¶
func (fake *FakeBlockDeviceUtils) CheckFsReturns(result1 bool, result2 error)
func (*FakeBlockDeviceUtils) CheckFsReturnsOnCall ¶
func (fake *FakeBlockDeviceUtils) CheckFsReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeBlockDeviceUtils) Cleanup ¶
func (fake *FakeBlockDeviceUtils) Cleanup(mpath string) error
func (*FakeBlockDeviceUtils) CleanupArgsForCall ¶
func (fake *FakeBlockDeviceUtils) CleanupArgsForCall(i int) string
func (*FakeBlockDeviceUtils) CleanupCallCount ¶
func (fake *FakeBlockDeviceUtils) CleanupCallCount() int
func (*FakeBlockDeviceUtils) CleanupReturns ¶
func (fake *FakeBlockDeviceUtils) CleanupReturns(result1 error)
func (*FakeBlockDeviceUtils) CleanupReturnsOnCall ¶
func (fake *FakeBlockDeviceUtils) CleanupReturnsOnCall(i int, result1 error)
func (*FakeBlockDeviceUtils) Discover ¶
func (fake *FakeBlockDeviceUtils) Discover(volumeWwn string, deepDiscovery bool) (string, error)
func (*FakeBlockDeviceUtils) DiscoverArgsForCall ¶
func (fake *FakeBlockDeviceUtils) DiscoverArgsForCall(i int) (string, bool)
func (*FakeBlockDeviceUtils) DiscoverBySgInq ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) DiscoverBySgInq(mpathOutput string, volumeWwn string) (string, error)
func (*FakeBlockDeviceUtils) DiscoverBySgInqArgsForCall ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) DiscoverBySgInqArgsForCall(i int) (string, string)
func (*FakeBlockDeviceUtils) DiscoverBySgInqCallCount ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) DiscoverBySgInqCallCount() int
func (*FakeBlockDeviceUtils) DiscoverBySgInqReturns ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) DiscoverBySgInqReturns(result1 string, result2 error)
func (*FakeBlockDeviceUtils) DiscoverBySgInqReturnsOnCall ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) DiscoverBySgInqReturnsOnCall(i int, result1 string, result2 error)
func (*FakeBlockDeviceUtils) DiscoverCallCount ¶
func (fake *FakeBlockDeviceUtils) DiscoverCallCount() int
func (*FakeBlockDeviceUtils) DiscoverReturns ¶
func (fake *FakeBlockDeviceUtils) DiscoverReturns(result1 string, result2 error)
func (*FakeBlockDeviceUtils) DiscoverReturnsOnCall ¶
func (fake *FakeBlockDeviceUtils) DiscoverReturnsOnCall(i int, result1 string, result2 error)
func (*FakeBlockDeviceUtils) GetWwnByScsiInq ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) GetWwnByScsiInq(dev string) (string, error)
func (*FakeBlockDeviceUtils) GetWwnByScsiInqArgsForCall ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) GetWwnByScsiInqArgsForCall(i int) string
func (*FakeBlockDeviceUtils) GetWwnByScsiInqCallCount ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) GetWwnByScsiInqCallCount() int
func (*FakeBlockDeviceUtils) GetWwnByScsiInqReturns ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) GetWwnByScsiInqReturns(result1 string, result2 error)
func (*FakeBlockDeviceUtils) GetWwnByScsiInqReturnsOnCall ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) GetWwnByScsiInqReturnsOnCall(i int, result1 string, result2 error)
func (*FakeBlockDeviceUtils) Invocations ¶
func (fake *FakeBlockDeviceUtils) Invocations() map[string][][]interface{}
func (*FakeBlockDeviceUtils) IsDeviceMounted ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) IsDeviceMounted(devPath string) (bool, error)
func (*FakeBlockDeviceUtils) IsDeviceMountedArgsForCall ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) IsDeviceMountedArgsForCall(i int) string
func (*FakeBlockDeviceUtils) IsDeviceMountedCallCount ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) IsDeviceMountedCallCount() int
func (*FakeBlockDeviceUtils) IsDeviceMountedReturns ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) IsDeviceMountedReturns(result1 bool, result2 error)
func (*FakeBlockDeviceUtils) IsDeviceMountedReturnsOnCall ¶ added in v1.0.0
func (fake *FakeBlockDeviceUtils) IsDeviceMountedReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeBlockDeviceUtils) MakeFs ¶
func (fake *FakeBlockDeviceUtils) MakeFs(mpath string, fsType string) error
func (*FakeBlockDeviceUtils) MakeFsArgsForCall ¶
func (fake *FakeBlockDeviceUtils) MakeFsArgsForCall(i int) (string, string)
func (*FakeBlockDeviceUtils) MakeFsCallCount ¶
func (fake *FakeBlockDeviceUtils) MakeFsCallCount() int
func (*FakeBlockDeviceUtils) MakeFsReturns ¶
func (fake *FakeBlockDeviceUtils) MakeFsReturns(result1 error)
func (*FakeBlockDeviceUtils) MakeFsReturnsOnCall ¶
func (fake *FakeBlockDeviceUtils) MakeFsReturnsOnCall(i int, result1 error)
func (*FakeBlockDeviceUtils) MountFs ¶
func (fake *FakeBlockDeviceUtils) MountFs(mpath string, mpoint string) error
func (*FakeBlockDeviceUtils) MountFsArgsForCall ¶
func (fake *FakeBlockDeviceUtils) MountFsArgsForCall(i int) (string, string)
func (*FakeBlockDeviceUtils) MountFsCallCount ¶
func (fake *FakeBlockDeviceUtils) MountFsCallCount() int
func (*FakeBlockDeviceUtils) MountFsReturns ¶
func (fake *FakeBlockDeviceUtils) MountFsReturns(result1 error)
func (*FakeBlockDeviceUtils) MountFsReturnsOnCall ¶
func (fake *FakeBlockDeviceUtils) MountFsReturnsOnCall(i int, result1 error)
func (*FakeBlockDeviceUtils) ReloadMultipath ¶
func (fake *FakeBlockDeviceUtils) ReloadMultipath() error
func (*FakeBlockDeviceUtils) ReloadMultipathCallCount ¶
func (fake *FakeBlockDeviceUtils) ReloadMultipathCallCount() int
func (*FakeBlockDeviceUtils) ReloadMultipathReturns ¶
func (fake *FakeBlockDeviceUtils) ReloadMultipathReturns(result1 error)
func (*FakeBlockDeviceUtils) ReloadMultipathReturnsOnCall ¶
func (fake *FakeBlockDeviceUtils) ReloadMultipathReturnsOnCall(i int, result1 error)
func (*FakeBlockDeviceUtils) Rescan ¶
func (fake *FakeBlockDeviceUtils) Rescan(protocol block_device_utils.Protocol) error
func (*FakeBlockDeviceUtils) RescanArgsForCall ¶
func (fake *FakeBlockDeviceUtils) RescanArgsForCall(i int) block_device_utils.Protocol
func (*FakeBlockDeviceUtils) RescanCallCount ¶
func (fake *FakeBlockDeviceUtils) RescanCallCount() int
func (*FakeBlockDeviceUtils) RescanReturns ¶
func (fake *FakeBlockDeviceUtils) RescanReturns(result1 error)
func (*FakeBlockDeviceUtils) RescanReturnsOnCall ¶
func (fake *FakeBlockDeviceUtils) RescanReturnsOnCall(i int, result1 error)
func (*FakeBlockDeviceUtils) UmountFs ¶
func (fake *FakeBlockDeviceUtils) UmountFs(mpoint string) error
func (*FakeBlockDeviceUtils) UmountFsArgsForCall ¶
func (fake *FakeBlockDeviceUtils) UmountFsArgsForCall(i int) string
func (*FakeBlockDeviceUtils) UmountFsCallCount ¶
func (fake *FakeBlockDeviceUtils) UmountFsCallCount() int
func (*FakeBlockDeviceUtils) UmountFsReturns ¶
func (fake *FakeBlockDeviceUtils) UmountFsReturns(result1 error)
func (*FakeBlockDeviceUtils) UmountFsReturnsOnCall ¶
func (fake *FakeBlockDeviceUtils) UmountFsReturnsOnCall(i int, result1 error)
type FakeExecutor ¶
type FakeExecutor struct { ExecuteStub func(command string, args []string) ([]byte, error) StatStub func(string) (os.FileInfo, error) MkdirStub func(string, os.FileMode) error MkdirAllStub func(string, os.FileMode) error RemoveAllStub func(string) error RemoveStub func(string) error HostnameStub func() (string, error) IsExecutableStub func(string) error IsNotExistStub func(error) bool EvalSymlinksStub func(path string) (string, error) ExecuteWithTimeoutStub func(mSeconds int, command string, args []string) ([]byte, error) // contains filtered or unexported fields }
func (*FakeExecutor) EvalSymlinks ¶ added in v0.4.0
func (fake *FakeExecutor) EvalSymlinks(path string) (string, error)
func (*FakeExecutor) EvalSymlinksArgsForCall ¶ added in v0.4.0
func (fake *FakeExecutor) EvalSymlinksArgsForCall(i int) string
func (*FakeExecutor) EvalSymlinksCallCount ¶ added in v0.4.0
func (fake *FakeExecutor) EvalSymlinksCallCount() int
func (*FakeExecutor) EvalSymlinksReturns ¶ added in v0.4.0
func (fake *FakeExecutor) EvalSymlinksReturns(result1 string, result2 error)
func (*FakeExecutor) EvalSymlinksReturnsOnCall ¶ added in v0.4.0
func (fake *FakeExecutor) EvalSymlinksReturnsOnCall(i int, result1 string, result2 error)
func (*FakeExecutor) Execute ¶
func (fake *FakeExecutor) Execute(command string, args []string) ([]byte, error)
func (*FakeExecutor) ExecuteArgsForCall ¶
func (fake *FakeExecutor) ExecuteArgsForCall(i int) (string, []string)
func (*FakeExecutor) ExecuteCallCount ¶
func (fake *FakeExecutor) ExecuteCallCount() int
func (*FakeExecutor) ExecuteReturns ¶
func (fake *FakeExecutor) ExecuteReturns(result1 []byte, result2 error)
func (*FakeExecutor) ExecuteReturnsOnCall ¶
func (fake *FakeExecutor) ExecuteReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeExecutor) ExecuteWithTimeout ¶ added in v1.0.0
func (*FakeExecutor) ExecuteWithTimeoutArgsForCall ¶ added in v1.0.0
func (fake *FakeExecutor) ExecuteWithTimeoutArgsForCall(i int) (int, string, []string)
func (*FakeExecutor) ExecuteWithTimeoutCallCount ¶ added in v1.0.0
func (fake *FakeExecutor) ExecuteWithTimeoutCallCount() int
func (*FakeExecutor) ExecuteWithTimeoutReturns ¶ added in v1.0.0
func (fake *FakeExecutor) ExecuteWithTimeoutReturns(result1 []byte, result2 error)
func (*FakeExecutor) ExecuteWithTimeoutReturnsOnCall ¶ added in v1.0.0
func (fake *FakeExecutor) ExecuteWithTimeoutReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeExecutor) Hostname ¶
func (fake *FakeExecutor) Hostname() (string, error)
func (*FakeExecutor) HostnameCallCount ¶
func (fake *FakeExecutor) HostnameCallCount() int
func (*FakeExecutor) HostnameReturns ¶
func (fake *FakeExecutor) HostnameReturns(result1 string, result2 error)
func (*FakeExecutor) HostnameReturnsOnCall ¶
func (fake *FakeExecutor) HostnameReturnsOnCall(i int, result1 string, result2 error)
func (*FakeExecutor) Invocations ¶
func (fake *FakeExecutor) Invocations() map[string][][]interface{}
func (*FakeExecutor) IsExecutable ¶
func (fake *FakeExecutor) IsExecutable(arg1 string) error
func (*FakeExecutor) IsExecutableArgsForCall ¶
func (fake *FakeExecutor) IsExecutableArgsForCall(i int) string
func (*FakeExecutor) IsExecutableCallCount ¶
func (fake *FakeExecutor) IsExecutableCallCount() int
func (*FakeExecutor) IsExecutableReturns ¶
func (fake *FakeExecutor) IsExecutableReturns(result1 error)
func (*FakeExecutor) IsExecutableReturnsOnCall ¶
func (fake *FakeExecutor) IsExecutableReturnsOnCall(i int, result1 error)
func (*FakeExecutor) IsNotExist ¶ added in v1.0.0
func (fake *FakeExecutor) IsNotExist(arg1 error) bool
func (*FakeExecutor) IsNotExistArgsForCall ¶ added in v1.0.0
func (fake *FakeExecutor) IsNotExistArgsForCall(i int) error
func (*FakeExecutor) IsNotExistCallCount ¶ added in v1.0.0
func (fake *FakeExecutor) IsNotExistCallCount() int
func (*FakeExecutor) IsNotExistReturns ¶ added in v1.0.0
func (fake *FakeExecutor) IsNotExistReturns(result1 bool)
func (*FakeExecutor) IsNotExistReturnsOnCall ¶ added in v1.0.0
func (fake *FakeExecutor) IsNotExistReturnsOnCall(i int, result1 bool)
func (*FakeExecutor) MkdirAll ¶
func (fake *FakeExecutor) MkdirAll(arg1 string, arg2 os.FileMode) error
func (*FakeExecutor) MkdirAllArgsForCall ¶
func (fake *FakeExecutor) MkdirAllArgsForCall(i int) (string, os.FileMode)
func (*FakeExecutor) MkdirAllCallCount ¶
func (fake *FakeExecutor) MkdirAllCallCount() int
func (*FakeExecutor) MkdirAllReturns ¶
func (fake *FakeExecutor) MkdirAllReturns(result1 error)
func (*FakeExecutor) MkdirAllReturnsOnCall ¶
func (fake *FakeExecutor) MkdirAllReturnsOnCall(i int, result1 error)
func (*FakeExecutor) MkdirArgsForCall ¶
func (fake *FakeExecutor) MkdirArgsForCall(i int) (string, os.FileMode)
func (*FakeExecutor) MkdirCallCount ¶
func (fake *FakeExecutor) MkdirCallCount() int
func (*FakeExecutor) MkdirReturns ¶
func (fake *FakeExecutor) MkdirReturns(result1 error)
func (*FakeExecutor) MkdirReturnsOnCall ¶
func (fake *FakeExecutor) MkdirReturnsOnCall(i int, result1 error)
func (*FakeExecutor) Remove ¶ added in v0.4.0
func (fake *FakeExecutor) Remove(arg1 string) error
func (*FakeExecutor) RemoveAll ¶
func (fake *FakeExecutor) RemoveAll(arg1 string) error
func (*FakeExecutor) RemoveAllArgsForCall ¶
func (fake *FakeExecutor) RemoveAllArgsForCall(i int) string
func (*FakeExecutor) RemoveAllCallCount ¶
func (fake *FakeExecutor) RemoveAllCallCount() int
func (*FakeExecutor) RemoveAllReturns ¶
func (fake *FakeExecutor) RemoveAllReturns(result1 error)
func (*FakeExecutor) RemoveAllReturnsOnCall ¶
func (fake *FakeExecutor) RemoveAllReturnsOnCall(i int, result1 error)
func (*FakeExecutor) RemoveArgsForCall ¶ added in v0.4.0
func (fake *FakeExecutor) RemoveArgsForCall(i int) string
func (*FakeExecutor) RemoveCallCount ¶ added in v0.4.0
func (fake *FakeExecutor) RemoveCallCount() int
func (*FakeExecutor) RemoveReturns ¶ added in v0.4.0
func (fake *FakeExecutor) RemoveReturns(result1 error)
func (*FakeExecutor) RemoveReturnsOnCall ¶ added in v0.4.0
func (fake *FakeExecutor) RemoveReturnsOnCall(i int, result1 error)
func (*FakeExecutor) StatArgsForCall ¶
func (fake *FakeExecutor) StatArgsForCall(i int) string
func (*FakeExecutor) StatCallCount ¶
func (fake *FakeExecutor) StatCallCount() int
func (*FakeExecutor) StatReturns ¶
func (fake *FakeExecutor) StatReturns(result1 os.FileInfo, result2 error)
func (*FakeExecutor) StatReturnsOnCall ¶
func (fake *FakeExecutor) StatReturnsOnCall(i int, result1 os.FileInfo, result2 error)
type FakeHeartbeat ¶
type FakeHeartbeat struct { ExistsStub func() (bool, error) CreateStub func() error UpdateStub func() error GetLastUpdateTimestampStub func() (time.Time, error) // contains filtered or unexported fields }
func (*FakeHeartbeat) Create ¶
func (fake *FakeHeartbeat) Create() error
func (*FakeHeartbeat) CreateCallCount ¶
func (fake *FakeHeartbeat) CreateCallCount() int
func (*FakeHeartbeat) CreateReturns ¶
func (fake *FakeHeartbeat) CreateReturns(result1 error)
func (*FakeHeartbeat) CreateReturnsOnCall ¶
func (fake *FakeHeartbeat) CreateReturnsOnCall(i int, result1 error)
func (*FakeHeartbeat) Exists ¶
func (fake *FakeHeartbeat) Exists() (bool, error)
func (*FakeHeartbeat) ExistsCallCount ¶
func (fake *FakeHeartbeat) ExistsCallCount() int
func (*FakeHeartbeat) ExistsReturns ¶
func (fake *FakeHeartbeat) ExistsReturns(result1 bool, result2 error)
func (*FakeHeartbeat) ExistsReturnsOnCall ¶
func (fake *FakeHeartbeat) ExistsReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeHeartbeat) GetLastUpdateTimestamp ¶
func (fake *FakeHeartbeat) GetLastUpdateTimestamp() (time.Time, error)
func (*FakeHeartbeat) GetLastUpdateTimestampCallCount ¶
func (fake *FakeHeartbeat) GetLastUpdateTimestampCallCount() int
func (*FakeHeartbeat) GetLastUpdateTimestampReturns ¶
func (fake *FakeHeartbeat) GetLastUpdateTimestampReturns(result1 time.Time, result2 error)
func (*FakeHeartbeat) GetLastUpdateTimestampReturnsOnCall ¶
func (fake *FakeHeartbeat) GetLastUpdateTimestampReturnsOnCall(i int, result1 time.Time, result2 error)
func (*FakeHeartbeat) Invocations ¶
func (fake *FakeHeartbeat) Invocations() map[string][][]interface{}
func (*FakeHeartbeat) Update ¶
func (fake *FakeHeartbeat) Update() error
func (*FakeHeartbeat) UpdateCallCount ¶
func (fake *FakeHeartbeat) UpdateCallCount() int
func (*FakeHeartbeat) UpdateReturns ¶
func (fake *FakeHeartbeat) UpdateReturns(result1 error)
func (*FakeHeartbeat) UpdateReturnsOnCall ¶
func (fake *FakeHeartbeat) UpdateReturnsOnCall(i int, result1 error)
type FakeLocker ¶
type FakeLocker struct { WriteLockStub func(name string) WriteUnlockStub func(name string) ReadLockStub func(name string) ReadUnlockStub func(name string) // contains filtered or unexported fields }
func (*FakeLocker) Invocations ¶
func (fake *FakeLocker) Invocations() map[string][][]interface{}
func (*FakeLocker) ReadLock ¶
func (fake *FakeLocker) ReadLock(name string)
func (*FakeLocker) ReadLockArgsForCall ¶
func (fake *FakeLocker) ReadLockArgsForCall(i int) string
func (*FakeLocker) ReadLockCallCount ¶
func (fake *FakeLocker) ReadLockCallCount() int
func (*FakeLocker) ReadUnlock ¶
func (fake *FakeLocker) ReadUnlock(name string)
func (*FakeLocker) ReadUnlockArgsForCall ¶
func (fake *FakeLocker) ReadUnlockArgsForCall(i int) string
func (*FakeLocker) ReadUnlockCallCount ¶
func (fake *FakeLocker) ReadUnlockCallCount() int
func (*FakeLocker) WriteLock ¶
func (fake *FakeLocker) WriteLock(name string)
func (*FakeLocker) WriteLockArgsForCall ¶
func (fake *FakeLocker) WriteLockArgsForCall(i int) string
func (*FakeLocker) WriteLockCallCount ¶
func (fake *FakeLocker) WriteLockCallCount() int
func (*FakeLocker) WriteUnlock ¶
func (fake *FakeLocker) WriteUnlock(name string)
func (*FakeLocker) WriteUnlockArgsForCall ¶
func (fake *FakeLocker) WriteUnlockArgsForCall(i int) string
func (*FakeLocker) WriteUnlockCallCount ¶
func (fake *FakeLocker) WriteUnlockCallCount() int
type FakeMounter ¶
type FakeMounter struct { MountStub func(mountRequest resources.MountRequest) (string, error) UnmountStub func(unmountRequest resources.UnmountRequest) error ActionAfterDetachStub func(request resources.AfterDetachRequest) error // contains filtered or unexported fields }
func (*FakeMounter) ActionAfterDetach ¶
func (fake *FakeMounter) ActionAfterDetach(request resources.AfterDetachRequest) error
func (*FakeMounter) ActionAfterDetachArgsForCall ¶
func (fake *FakeMounter) ActionAfterDetachArgsForCall(i int) resources.AfterDetachRequest
func (*FakeMounter) ActionAfterDetachCallCount ¶
func (fake *FakeMounter) ActionAfterDetachCallCount() int
func (*FakeMounter) ActionAfterDetachReturns ¶
func (fake *FakeMounter) ActionAfterDetachReturns(result1 error)
func (*FakeMounter) ActionAfterDetachReturnsOnCall ¶
func (fake *FakeMounter) ActionAfterDetachReturnsOnCall(i int, result1 error)
func (*FakeMounter) Invocations ¶
func (fake *FakeMounter) Invocations() map[string][][]interface{}
func (*FakeMounter) Mount ¶
func (fake *FakeMounter) Mount(mountRequest resources.MountRequest) (string, error)
func (*FakeMounter) MountArgsForCall ¶
func (fake *FakeMounter) MountArgsForCall(i int) resources.MountRequest
func (*FakeMounter) MountCallCount ¶
func (fake *FakeMounter) MountCallCount() int
func (*FakeMounter) MountReturns ¶
func (fake *FakeMounter) MountReturns(result1 string, result2 error)
func (*FakeMounter) MountReturnsOnCall ¶
func (fake *FakeMounter) MountReturnsOnCall(i int, result1 string, result2 error)
func (*FakeMounter) Unmount ¶
func (fake *FakeMounter) Unmount(unmountRequest resources.UnmountRequest) error
func (*FakeMounter) UnmountArgsForCall ¶
func (fake *FakeMounter) UnmountArgsForCall(i int) resources.UnmountRequest
func (*FakeMounter) UnmountCallCount ¶
func (fake *FakeMounter) UnmountCallCount() int
func (*FakeMounter) UnmountReturns ¶
func (fake *FakeMounter) UnmountReturns(result1 error)
func (*FakeMounter) UnmountReturnsOnCall ¶
func (fake *FakeMounter) UnmountReturnsOnCall(i int, result1 error)
type FakeScbeDataModel ¶
type FakeScbeDataModel struct { CreateVolumeTableStub func() error DeleteVolumeStub func(name string) error InsertVolumeStub func(volumeName string, wwn string, fstype string) error GetVolumeStub func(name string) (scbe.ScbeVolume, bool, error) ListVolumesStub func() ([]scbe.ScbeVolume, error) // contains filtered or unexported fields }
func (*FakeScbeDataModel) CreateVolumeTable ¶
func (fake *FakeScbeDataModel) CreateVolumeTable() error
func (*FakeScbeDataModel) CreateVolumeTableCallCount ¶
func (fake *FakeScbeDataModel) CreateVolumeTableCallCount() int
func (*FakeScbeDataModel) CreateVolumeTableReturns ¶
func (fake *FakeScbeDataModel) CreateVolumeTableReturns(result1 error)
func (*FakeScbeDataModel) CreateVolumeTableReturnsOnCall ¶
func (fake *FakeScbeDataModel) CreateVolumeTableReturnsOnCall(i int, result1 error)
func (*FakeScbeDataModel) DeleteVolume ¶
func (fake *FakeScbeDataModel) DeleteVolume(name string) error
func (*FakeScbeDataModel) DeleteVolumeArgsForCall ¶
func (fake *FakeScbeDataModel) DeleteVolumeArgsForCall(i int) string
func (*FakeScbeDataModel) DeleteVolumeCallCount ¶
func (fake *FakeScbeDataModel) DeleteVolumeCallCount() int
func (*FakeScbeDataModel) DeleteVolumeReturns ¶
func (fake *FakeScbeDataModel) DeleteVolumeReturns(result1 error)
func (*FakeScbeDataModel) DeleteVolumeReturnsOnCall ¶
func (fake *FakeScbeDataModel) DeleteVolumeReturnsOnCall(i int, result1 error)
func (*FakeScbeDataModel) GetVolume ¶
func (fake *FakeScbeDataModel) GetVolume(name string) (scbe.ScbeVolume, bool, error)
func (*FakeScbeDataModel) GetVolumeArgsForCall ¶
func (fake *FakeScbeDataModel) GetVolumeArgsForCall(i int) string
func (*FakeScbeDataModel) GetVolumeCallCount ¶
func (fake *FakeScbeDataModel) GetVolumeCallCount() int
func (*FakeScbeDataModel) GetVolumeReturns ¶
func (fake *FakeScbeDataModel) GetVolumeReturns(result1 scbe.ScbeVolume, result2 bool, result3 error)
func (*FakeScbeDataModel) GetVolumeReturnsOnCall ¶
func (fake *FakeScbeDataModel) GetVolumeReturnsOnCall(i int, result1 scbe.ScbeVolume, result2 bool, result3 error)
func (*FakeScbeDataModel) InsertVolume ¶
func (fake *FakeScbeDataModel) InsertVolume(volumeName string, wwn string, fstype string) error
func (*FakeScbeDataModel) InsertVolumeArgsForCall ¶
func (fake *FakeScbeDataModel) InsertVolumeArgsForCall(i int) (string, string, string)
func (*FakeScbeDataModel) InsertVolumeCallCount ¶
func (fake *FakeScbeDataModel) InsertVolumeCallCount() int
func (*FakeScbeDataModel) InsertVolumeReturns ¶
func (fake *FakeScbeDataModel) InsertVolumeReturns(result1 error)
func (*FakeScbeDataModel) InsertVolumeReturnsOnCall ¶
func (fake *FakeScbeDataModel) InsertVolumeReturnsOnCall(i int, result1 error)
func (*FakeScbeDataModel) Invocations ¶
func (fake *FakeScbeDataModel) Invocations() map[string][][]interface{}
func (*FakeScbeDataModel) ListVolumes ¶
func (fake *FakeScbeDataModel) ListVolumes() ([]scbe.ScbeVolume, error)
func (*FakeScbeDataModel) ListVolumesCallCount ¶
func (fake *FakeScbeDataModel) ListVolumesCallCount() int
func (*FakeScbeDataModel) ListVolumesReturns ¶
func (fake *FakeScbeDataModel) ListVolumesReturns(result1 []scbe.ScbeVolume, result2 error)
func (*FakeScbeDataModel) ListVolumesReturnsOnCall ¶
func (fake *FakeScbeDataModel) ListVolumesReturnsOnCall(i int, result1 []scbe.ScbeVolume, result2 error)
type FakeScbeDataModelWrapper ¶ added in v1.0.0
type FakeScbeDataModelWrapper struct { GetVolumeStub func(name string, mustExist bool) (scbe.ScbeVolume, error) DeleteVolumeStub func(name string) error InsertVolumeStub func(volumeName string, wwn string, fstype string) error ListVolumesStub func() ([]scbe.ScbeVolume, error) UpdateDatabaseVolumeStub func(newVolume *scbe.ScbeVolume) // contains filtered or unexported fields }
func (*FakeScbeDataModelWrapper) DeleteVolume ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) DeleteVolume(name string) error
func (*FakeScbeDataModelWrapper) DeleteVolumeArgsForCall ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) DeleteVolumeArgsForCall(i int) string
func (*FakeScbeDataModelWrapper) DeleteVolumeCallCount ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) DeleteVolumeCallCount() int
func (*FakeScbeDataModelWrapper) DeleteVolumeReturns ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) DeleteVolumeReturns(result1 error)
func (*FakeScbeDataModelWrapper) DeleteVolumeReturnsOnCall ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) DeleteVolumeReturnsOnCall(i int, result1 error)
func (*FakeScbeDataModelWrapper) GetVolume ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) GetVolume(name string, mustExist bool) (scbe.ScbeVolume, error)
func (*FakeScbeDataModelWrapper) GetVolumeArgsForCall ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) GetVolumeArgsForCall(i int) (string, bool)
func (*FakeScbeDataModelWrapper) GetVolumeCallCount ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) GetVolumeCallCount() int
func (*FakeScbeDataModelWrapper) GetVolumeReturns ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) GetVolumeReturns(result1 scbe.ScbeVolume, result2 error)
func (*FakeScbeDataModelWrapper) GetVolumeReturnsOnCall ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) GetVolumeReturnsOnCall(i int, result1 scbe.ScbeVolume, result2 error)
func (*FakeScbeDataModelWrapper) InsertVolume ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) InsertVolume(volumeName string, wwn string, fstype string) error
func (*FakeScbeDataModelWrapper) InsertVolumeArgsForCall ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) InsertVolumeArgsForCall(i int) (string, string, string)
func (*FakeScbeDataModelWrapper) InsertVolumeCallCount ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) InsertVolumeCallCount() int
func (*FakeScbeDataModelWrapper) InsertVolumeReturns ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) InsertVolumeReturns(result1 error)
func (*FakeScbeDataModelWrapper) InsertVolumeReturnsOnCall ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) InsertVolumeReturnsOnCall(i int, result1 error)
func (*FakeScbeDataModelWrapper) Invocations ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) Invocations() map[string][][]interface{}
func (*FakeScbeDataModelWrapper) ListVolumes ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) ListVolumes() ([]scbe.ScbeVolume, error)
func (*FakeScbeDataModelWrapper) ListVolumesCallCount ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) ListVolumesCallCount() int
func (*FakeScbeDataModelWrapper) ListVolumesReturns ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) ListVolumesReturns(result1 []scbe.ScbeVolume, result2 error)
func (*FakeScbeDataModelWrapper) ListVolumesReturnsOnCall ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) ListVolumesReturnsOnCall(i int, result1 []scbe.ScbeVolume, result2 error)
func (*FakeScbeDataModelWrapper) UpdateDatabaseVolume ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) UpdateDatabaseVolume(newVolume *scbe.ScbeVolume)
func (*FakeScbeDataModelWrapper) UpdateDatabaseVolumeArgsForCall ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) UpdateDatabaseVolumeArgsForCall(i int) *scbe.ScbeVolume
func (*FakeScbeDataModelWrapper) UpdateDatabaseVolumeCallCount ¶ added in v1.0.0
func (fake *FakeScbeDataModelWrapper) UpdateDatabaseVolumeCallCount() int
type FakeScbeRestClient ¶
type FakeScbeRestClient struct { LoginStub func() error CreateVolumeStub func(volName string, serviceName string, size int) (scbe.ScbeVolumeInfo, error) GetVolumesStub func(wwn string) ([]scbe.ScbeVolumeInfo, error) DeleteVolumeStub func(wwn string) error MapVolumeStub func(wwn string, host string) (scbe.ScbeResponseMapping, error) UnmapVolumeStub func(wwn string, host string) error GetVolMappingStub func(wwn string) (string, error) ServiceExistStub func(serviceName string) (bool, error) // contains filtered or unexported fields }
func (*FakeScbeRestClient) CreateVolume ¶
func (fake *FakeScbeRestClient) CreateVolume(volName string, serviceName string, size int) (scbe.ScbeVolumeInfo, error)
func (*FakeScbeRestClient) CreateVolumeArgsForCall ¶
func (fake *FakeScbeRestClient) CreateVolumeArgsForCall(i int) (string, string, int)
func (*FakeScbeRestClient) CreateVolumeCallCount ¶
func (fake *FakeScbeRestClient) CreateVolumeCallCount() int
func (*FakeScbeRestClient) CreateVolumeReturns ¶
func (fake *FakeScbeRestClient) CreateVolumeReturns(result1 scbe.ScbeVolumeInfo, result2 error)
func (*FakeScbeRestClient) CreateVolumeReturnsOnCall ¶
func (fake *FakeScbeRestClient) CreateVolumeReturnsOnCall(i int, result1 scbe.ScbeVolumeInfo, result2 error)
func (*FakeScbeRestClient) DeleteVolume ¶
func (fake *FakeScbeRestClient) DeleteVolume(wwn string) error
func (*FakeScbeRestClient) DeleteVolumeArgsForCall ¶
func (fake *FakeScbeRestClient) DeleteVolumeArgsForCall(i int) string
func (*FakeScbeRestClient) DeleteVolumeCallCount ¶
func (fake *FakeScbeRestClient) DeleteVolumeCallCount() int
func (*FakeScbeRestClient) DeleteVolumeReturns ¶
func (fake *FakeScbeRestClient) DeleteVolumeReturns(result1 error)
func (*FakeScbeRestClient) DeleteVolumeReturnsOnCall ¶
func (fake *FakeScbeRestClient) DeleteVolumeReturnsOnCall(i int, result1 error)
func (*FakeScbeRestClient) GetVolMapping ¶
func (fake *FakeScbeRestClient) GetVolMapping(wwn string) (string, error)
func (*FakeScbeRestClient) GetVolMappingArgsForCall ¶
func (fake *FakeScbeRestClient) GetVolMappingArgsForCall(i int) string
func (*FakeScbeRestClient) GetVolMappingCallCount ¶
func (fake *FakeScbeRestClient) GetVolMappingCallCount() int
func (*FakeScbeRestClient) GetVolMappingReturns ¶
func (fake *FakeScbeRestClient) GetVolMappingReturns(result1 string, result2 error)
func (*FakeScbeRestClient) GetVolMappingReturnsOnCall ¶
func (fake *FakeScbeRestClient) GetVolMappingReturnsOnCall(i int, result1 string, result2 error)
func (*FakeScbeRestClient) GetVolumes ¶
func (fake *FakeScbeRestClient) GetVolumes(wwn string) ([]scbe.ScbeVolumeInfo, error)
func (*FakeScbeRestClient) GetVolumesArgsForCall ¶
func (fake *FakeScbeRestClient) GetVolumesArgsForCall(i int) string
func (*FakeScbeRestClient) GetVolumesCallCount ¶
func (fake *FakeScbeRestClient) GetVolumesCallCount() int
func (*FakeScbeRestClient) GetVolumesReturns ¶
func (fake *FakeScbeRestClient) GetVolumesReturns(result1 []scbe.ScbeVolumeInfo, result2 error)
func (*FakeScbeRestClient) GetVolumesReturnsOnCall ¶
func (fake *FakeScbeRestClient) GetVolumesReturnsOnCall(i int, result1 []scbe.ScbeVolumeInfo, result2 error)
func (*FakeScbeRestClient) Invocations ¶
func (fake *FakeScbeRestClient) Invocations() map[string][][]interface{}
func (*FakeScbeRestClient) Login ¶
func (fake *FakeScbeRestClient) Login() error
func (*FakeScbeRestClient) LoginCallCount ¶
func (fake *FakeScbeRestClient) LoginCallCount() int
func (*FakeScbeRestClient) LoginReturns ¶
func (fake *FakeScbeRestClient) LoginReturns(result1 error)
func (*FakeScbeRestClient) LoginReturnsOnCall ¶
func (fake *FakeScbeRestClient) LoginReturnsOnCall(i int, result1 error)
func (*FakeScbeRestClient) MapVolume ¶
func (fake *FakeScbeRestClient) MapVolume(wwn string, host string) (scbe.ScbeResponseMapping, error)
func (*FakeScbeRestClient) MapVolumeArgsForCall ¶
func (fake *FakeScbeRestClient) MapVolumeArgsForCall(i int) (string, string)
func (*FakeScbeRestClient) MapVolumeCallCount ¶
func (fake *FakeScbeRestClient) MapVolumeCallCount() int
func (*FakeScbeRestClient) MapVolumeReturns ¶
func (fake *FakeScbeRestClient) MapVolumeReturns(result1 scbe.ScbeResponseMapping, result2 error)
func (*FakeScbeRestClient) MapVolumeReturnsOnCall ¶
func (fake *FakeScbeRestClient) MapVolumeReturnsOnCall(i int, result1 scbe.ScbeResponseMapping, result2 error)
func (*FakeScbeRestClient) ServiceExist ¶
func (fake *FakeScbeRestClient) ServiceExist(serviceName string) (bool, error)
func (*FakeScbeRestClient) ServiceExistArgsForCall ¶
func (fake *FakeScbeRestClient) ServiceExistArgsForCall(i int) string
func (*FakeScbeRestClient) ServiceExistCallCount ¶
func (fake *FakeScbeRestClient) ServiceExistCallCount() int
func (*FakeScbeRestClient) ServiceExistReturns ¶
func (fake *FakeScbeRestClient) ServiceExistReturns(result1 bool, result2 error)
func (*FakeScbeRestClient) ServiceExistReturnsOnCall ¶
func (fake *FakeScbeRestClient) ServiceExistReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeScbeRestClient) UnmapVolume ¶
func (fake *FakeScbeRestClient) UnmapVolume(wwn string, host string) error
func (*FakeScbeRestClient) UnmapVolumeArgsForCall ¶
func (fake *FakeScbeRestClient) UnmapVolumeArgsForCall(i int) (string, string)
func (*FakeScbeRestClient) UnmapVolumeCallCount ¶
func (fake *FakeScbeRestClient) UnmapVolumeCallCount() int
func (*FakeScbeRestClient) UnmapVolumeReturns ¶
func (fake *FakeScbeRestClient) UnmapVolumeReturns(result1 error)
func (*FakeScbeRestClient) UnmapVolumeReturnsOnCall ¶
func (fake *FakeScbeRestClient) UnmapVolumeReturnsOnCall(i int, result1 error)
type FakeSimpleRestClient ¶
type FakeSimpleRestClient struct { LoginStub func() error PostStub func(resource_url string, payload []byte, exitStatus int, v interface{}) error GetStub func(resource_url string, params map[string]string, exitStatus int, v interface{}) error DeleteStub func(resource_url string, payload []byte, exitStatus int) error // contains filtered or unexported fields }
func (*FakeSimpleRestClient) Delete ¶
func (fake *FakeSimpleRestClient) Delete(resource_url string, payload []byte, exitStatus int) error
func (*FakeSimpleRestClient) DeleteArgsForCall ¶
func (fake *FakeSimpleRestClient) DeleteArgsForCall(i int) (string, []byte, int)
func (*FakeSimpleRestClient) DeleteCallCount ¶
func (fake *FakeSimpleRestClient) DeleteCallCount() int
func (*FakeSimpleRestClient) DeleteReturns ¶
func (fake *FakeSimpleRestClient) DeleteReturns(result1 error)
func (*FakeSimpleRestClient) DeleteReturnsOnCall ¶
func (fake *FakeSimpleRestClient) DeleteReturnsOnCall(i int, result1 error)
func (*FakeSimpleRestClient) GetArgsForCall ¶
func (*FakeSimpleRestClient) GetCallCount ¶
func (fake *FakeSimpleRestClient) GetCallCount() int
func (*FakeSimpleRestClient) GetReturns ¶
func (fake *FakeSimpleRestClient) GetReturns(result1 error)
func (*FakeSimpleRestClient) GetReturnsOnCall ¶
func (fake *FakeSimpleRestClient) GetReturnsOnCall(i int, result1 error)
func (*FakeSimpleRestClient) Invocations ¶
func (fake *FakeSimpleRestClient) Invocations() map[string][][]interface{}
func (*FakeSimpleRestClient) Login ¶
func (fake *FakeSimpleRestClient) Login() error
func (*FakeSimpleRestClient) LoginCallCount ¶
func (fake *FakeSimpleRestClient) LoginCallCount() int
func (*FakeSimpleRestClient) LoginReturns ¶
func (fake *FakeSimpleRestClient) LoginReturns(result1 error)
func (*FakeSimpleRestClient) LoginReturnsOnCall ¶
func (fake *FakeSimpleRestClient) LoginReturnsOnCall(i int, result1 error)
func (*FakeSimpleRestClient) Post ¶
func (fake *FakeSimpleRestClient) Post(resource_url string, payload []byte, exitStatus int, v interface{}) error
func (*FakeSimpleRestClient) PostArgsForCall ¶
func (fake *FakeSimpleRestClient) PostArgsForCall(i int) (string, []byte, int, interface{})
func (*FakeSimpleRestClient) PostCallCount ¶
func (fake *FakeSimpleRestClient) PostCallCount() int
func (*FakeSimpleRestClient) PostReturns ¶
func (fake *FakeSimpleRestClient) PostReturns(result1 error)
func (*FakeSimpleRestClient) PostReturnsOnCall ¶
func (fake *FakeSimpleRestClient) PostReturnsOnCall(i int, result1 error)
type FakeSpectrumDataModel ¶
type FakeSpectrumDataModel struct { CreateVolumeTableStub func() error SetClusterIdStub func(string) GetClusterIdStub func() string DeleteVolumeStub func(name string) error InsertFilesetVolumeStub func(fileset, volumeName string, filesystem string, isPreexisting bool, opts map[string]interface{}) error InsertLightweightVolumeStub func(fileset, directory, volumeName string, filesystem string, isPreexisting bool, opts map[string]interface{}) error InsertFilesetQuotaVolumeStub func(fileset, quota, volumeName string, filesystem string, isPreexisting bool, opts map[string]interface{}) error GetVolumeStub func(name string) (spectrumscale.SpectrumScaleVolume, bool, error) ListVolumesStub func() ([]resources.Volume, error) UpdateVolumeMountpointStub func(name string, mountpoint string) error // contains filtered or unexported fields }
func (*FakeSpectrumDataModel) CreateVolumeTable ¶
func (fake *FakeSpectrumDataModel) CreateVolumeTable() error
func (*FakeSpectrumDataModel) CreateVolumeTableCallCount ¶
func (fake *FakeSpectrumDataModel) CreateVolumeTableCallCount() int
func (*FakeSpectrumDataModel) CreateVolumeTableReturns ¶
func (fake *FakeSpectrumDataModel) CreateVolumeTableReturns(result1 error)
func (*FakeSpectrumDataModel) CreateVolumeTableReturnsOnCall ¶
func (fake *FakeSpectrumDataModel) CreateVolumeTableReturnsOnCall(i int, result1 error)
func (*FakeSpectrumDataModel) DeleteVolume ¶
func (fake *FakeSpectrumDataModel) DeleteVolume(name string) error
func (*FakeSpectrumDataModel) DeleteVolumeArgsForCall ¶
func (fake *FakeSpectrumDataModel) DeleteVolumeArgsForCall(i int) string
func (*FakeSpectrumDataModel) DeleteVolumeCallCount ¶
func (fake *FakeSpectrumDataModel) DeleteVolumeCallCount() int
func (*FakeSpectrumDataModel) DeleteVolumeReturns ¶
func (fake *FakeSpectrumDataModel) DeleteVolumeReturns(result1 error)
func (*FakeSpectrumDataModel) DeleteVolumeReturnsOnCall ¶
func (fake *FakeSpectrumDataModel) DeleteVolumeReturnsOnCall(i int, result1 error)
func (*FakeSpectrumDataModel) GetClusterId ¶
func (fake *FakeSpectrumDataModel) GetClusterId() string
func (*FakeSpectrumDataModel) GetClusterIdCallCount ¶
func (fake *FakeSpectrumDataModel) GetClusterIdCallCount() int
func (*FakeSpectrumDataModel) GetClusterIdReturns ¶
func (fake *FakeSpectrumDataModel) GetClusterIdReturns(result1 string)
func (*FakeSpectrumDataModel) GetClusterIdReturnsOnCall ¶
func (fake *FakeSpectrumDataModel) GetClusterIdReturnsOnCall(i int, result1 string)
func (*FakeSpectrumDataModel) GetVolume ¶
func (fake *FakeSpectrumDataModel) GetVolume(name string) (spectrumscale.SpectrumScaleVolume, bool, error)
func (*FakeSpectrumDataModel) GetVolumeArgsForCall ¶
func (fake *FakeSpectrumDataModel) GetVolumeArgsForCall(i int) string
func (*FakeSpectrumDataModel) GetVolumeCallCount ¶
func (fake *FakeSpectrumDataModel) GetVolumeCallCount() int
func (*FakeSpectrumDataModel) GetVolumeReturns ¶
func (fake *FakeSpectrumDataModel) GetVolumeReturns(result1 spectrumscale.SpectrumScaleVolume, result2 bool, result3 error)
func (*FakeSpectrumDataModel) GetVolumeReturnsOnCall ¶
func (fake *FakeSpectrumDataModel) GetVolumeReturnsOnCall(i int, result1 spectrumscale.SpectrumScaleVolume, result2 bool, result3 error)
func (*FakeSpectrumDataModel) InsertFilesetQuotaVolume ¶
func (*FakeSpectrumDataModel) InsertFilesetQuotaVolumeArgsForCall ¶
func (*FakeSpectrumDataModel) InsertFilesetQuotaVolumeCallCount ¶
func (fake *FakeSpectrumDataModel) InsertFilesetQuotaVolumeCallCount() int
func (*FakeSpectrumDataModel) InsertFilesetQuotaVolumeReturns ¶
func (fake *FakeSpectrumDataModel) InsertFilesetQuotaVolumeReturns(result1 error)
func (*FakeSpectrumDataModel) InsertFilesetQuotaVolumeReturnsOnCall ¶
func (fake *FakeSpectrumDataModel) InsertFilesetQuotaVolumeReturnsOnCall(i int, result1 error)
func (*FakeSpectrumDataModel) InsertFilesetVolume ¶
func (*FakeSpectrumDataModel) InsertFilesetVolumeArgsForCall ¶
func (*FakeSpectrumDataModel) InsertFilesetVolumeCallCount ¶
func (fake *FakeSpectrumDataModel) InsertFilesetVolumeCallCount() int
func (*FakeSpectrumDataModel) InsertFilesetVolumeReturns ¶
func (fake *FakeSpectrumDataModel) InsertFilesetVolumeReturns(result1 error)
func (*FakeSpectrumDataModel) InsertFilesetVolumeReturnsOnCall ¶
func (fake *FakeSpectrumDataModel) InsertFilesetVolumeReturnsOnCall(i int, result1 error)
func (*FakeSpectrumDataModel) InsertLightweightVolume ¶
func (*FakeSpectrumDataModel) InsertLightweightVolumeArgsForCall ¶
func (*FakeSpectrumDataModel) InsertLightweightVolumeCallCount ¶
func (fake *FakeSpectrumDataModel) InsertLightweightVolumeCallCount() int
func (*FakeSpectrumDataModel) InsertLightweightVolumeReturns ¶
func (fake *FakeSpectrumDataModel) InsertLightweightVolumeReturns(result1 error)
func (*FakeSpectrumDataModel) InsertLightweightVolumeReturnsOnCall ¶
func (fake *FakeSpectrumDataModel) InsertLightweightVolumeReturnsOnCall(i int, result1 error)
func (*FakeSpectrumDataModel) Invocations ¶
func (fake *FakeSpectrumDataModel) Invocations() map[string][][]interface{}
func (*FakeSpectrumDataModel) ListVolumes ¶
func (fake *FakeSpectrumDataModel) ListVolumes() ([]resources.Volume, error)
func (*FakeSpectrumDataModel) ListVolumesCallCount ¶
func (fake *FakeSpectrumDataModel) ListVolumesCallCount() int
func (*FakeSpectrumDataModel) ListVolumesReturns ¶
func (fake *FakeSpectrumDataModel) ListVolumesReturns(result1 []resources.Volume, result2 error)
func (*FakeSpectrumDataModel) ListVolumesReturnsOnCall ¶
func (fake *FakeSpectrumDataModel) ListVolumesReturnsOnCall(i int, result1 []resources.Volume, result2 error)
func (*FakeSpectrumDataModel) SetClusterId ¶
func (fake *FakeSpectrumDataModel) SetClusterId(arg1 string)
func (*FakeSpectrumDataModel) SetClusterIdArgsForCall ¶
func (fake *FakeSpectrumDataModel) SetClusterIdArgsForCall(i int) string
func (*FakeSpectrumDataModel) SetClusterIdCallCount ¶
func (fake *FakeSpectrumDataModel) SetClusterIdCallCount() int
func (*FakeSpectrumDataModel) UpdateVolumeMountpoint ¶
func (fake *FakeSpectrumDataModel) UpdateVolumeMountpoint(name string, mountpoint string) error
func (*FakeSpectrumDataModel) UpdateVolumeMountpointArgsForCall ¶
func (fake *FakeSpectrumDataModel) UpdateVolumeMountpointArgsForCall(i int) (string, string)
func (*FakeSpectrumDataModel) UpdateVolumeMountpointCallCount ¶
func (fake *FakeSpectrumDataModel) UpdateVolumeMountpointCallCount() int
func (*FakeSpectrumDataModel) UpdateVolumeMountpointReturns ¶
func (fake *FakeSpectrumDataModel) UpdateVolumeMountpointReturns(result1 error)
func (*FakeSpectrumDataModel) UpdateVolumeMountpointReturnsOnCall ¶
func (fake *FakeSpectrumDataModel) UpdateVolumeMountpointReturnsOnCall(i int, result1 error)
type FakeSpectrumScaleConnector ¶
type FakeSpectrumScaleConnector struct { GetClusterIdStub func() (string, error) IsFilesystemMountedStub func(filesystemName string) (bool, error) MountFileSystemStub func(filesystemName string) error ListFilesystemsStub func() ([]string, error) GetFilesystemMountpointStub func(filesystemName string) (string, error) CreateFilesetStub func(filesystemName string, filesetName string, opts map[string]interface{}) error DeleteFilesetStub func(filesystemName string, filesetName string) error LinkFilesetStub func(filesystemName string, filesetName string) error UnlinkFilesetStub func(filesystemName string, filesetName string) error ListFilesetsStub func(filesystemName string) ([]resources.Volume, error) ListFilesetStub func(filesystemName string, filesetName string) (resources.Volume, error) IsFilesetLinkedStub func(filesystemName string, filesetName string) (bool, error) ListFilesetQuotaStub func(filesystemName string, filesetName string) (string, error) SetFilesetQuotaStub func(filesystemName string, filesetName string, quota string) error ExportNfsStub func(volumeMountpoint string, clientConfig string) error UnexportNfsStub func(volumeMountpoint string) error // contains filtered or unexported fields }
func (*FakeSpectrumScaleConnector) CreateFileset ¶
func (fake *FakeSpectrumScaleConnector) CreateFileset(filesystemName string, filesetName string, opts map[string]interface{}) error
func (*FakeSpectrumScaleConnector) CreateFilesetArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) CreateFilesetArgsForCall(i int) (string, string, map[string]interface{})
func (*FakeSpectrumScaleConnector) CreateFilesetCallCount ¶
func (fake *FakeSpectrumScaleConnector) CreateFilesetCallCount() int
func (*FakeSpectrumScaleConnector) CreateFilesetReturns ¶
func (fake *FakeSpectrumScaleConnector) CreateFilesetReturns(result1 error)
func (*FakeSpectrumScaleConnector) CreateFilesetReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) CreateFilesetReturnsOnCall(i int, result1 error)
func (*FakeSpectrumScaleConnector) DeleteFileset ¶
func (fake *FakeSpectrumScaleConnector) DeleteFileset(filesystemName string, filesetName string) error
func (*FakeSpectrumScaleConnector) DeleteFilesetArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) DeleteFilesetArgsForCall(i int) (string, string)
func (*FakeSpectrumScaleConnector) DeleteFilesetCallCount ¶
func (fake *FakeSpectrumScaleConnector) DeleteFilesetCallCount() int
func (*FakeSpectrumScaleConnector) DeleteFilesetReturns ¶
func (fake *FakeSpectrumScaleConnector) DeleteFilesetReturns(result1 error)
func (*FakeSpectrumScaleConnector) DeleteFilesetReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) DeleteFilesetReturnsOnCall(i int, result1 error)
func (*FakeSpectrumScaleConnector) ExportNfs ¶
func (fake *FakeSpectrumScaleConnector) ExportNfs(volumeMountpoint string, clientConfig string) error
func (*FakeSpectrumScaleConnector) ExportNfsArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) ExportNfsArgsForCall(i int) (string, string)
func (*FakeSpectrumScaleConnector) ExportNfsCallCount ¶
func (fake *FakeSpectrumScaleConnector) ExportNfsCallCount() int
func (*FakeSpectrumScaleConnector) ExportNfsReturns ¶
func (fake *FakeSpectrumScaleConnector) ExportNfsReturns(result1 error)
func (*FakeSpectrumScaleConnector) ExportNfsReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) ExportNfsReturnsOnCall(i int, result1 error)
func (*FakeSpectrumScaleConnector) GetClusterId ¶
func (fake *FakeSpectrumScaleConnector) GetClusterId() (string, error)
func (*FakeSpectrumScaleConnector) GetClusterIdCallCount ¶
func (fake *FakeSpectrumScaleConnector) GetClusterIdCallCount() int
func (*FakeSpectrumScaleConnector) GetClusterIdReturns ¶
func (fake *FakeSpectrumScaleConnector) GetClusterIdReturns(result1 string, result2 error)
func (*FakeSpectrumScaleConnector) GetClusterIdReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) GetClusterIdReturnsOnCall(i int, result1 string, result2 error)
func (*FakeSpectrumScaleConnector) GetFilesystemMountpoint ¶
func (fake *FakeSpectrumScaleConnector) GetFilesystemMountpoint(filesystemName string) (string, error)
func (*FakeSpectrumScaleConnector) GetFilesystemMountpointArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) GetFilesystemMountpointArgsForCall(i int) string
func (*FakeSpectrumScaleConnector) GetFilesystemMountpointCallCount ¶
func (fake *FakeSpectrumScaleConnector) GetFilesystemMountpointCallCount() int
func (*FakeSpectrumScaleConnector) GetFilesystemMountpointReturns ¶
func (fake *FakeSpectrumScaleConnector) GetFilesystemMountpointReturns(result1 string, result2 error)
func (*FakeSpectrumScaleConnector) GetFilesystemMountpointReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) GetFilesystemMountpointReturnsOnCall(i int, result1 string, result2 error)
func (*FakeSpectrumScaleConnector) Invocations ¶
func (fake *FakeSpectrumScaleConnector) Invocations() map[string][][]interface{}
func (*FakeSpectrumScaleConnector) IsFilesetLinked ¶
func (fake *FakeSpectrumScaleConnector) IsFilesetLinked(filesystemName string, filesetName string) (bool, error)
func (*FakeSpectrumScaleConnector) IsFilesetLinkedArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) IsFilesetLinkedArgsForCall(i int) (string, string)
func (*FakeSpectrumScaleConnector) IsFilesetLinkedCallCount ¶
func (fake *FakeSpectrumScaleConnector) IsFilesetLinkedCallCount() int
func (*FakeSpectrumScaleConnector) IsFilesetLinkedReturns ¶
func (fake *FakeSpectrumScaleConnector) IsFilesetLinkedReturns(result1 bool, result2 error)
func (*FakeSpectrumScaleConnector) IsFilesetLinkedReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) IsFilesetLinkedReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeSpectrumScaleConnector) IsFilesystemMounted ¶
func (fake *FakeSpectrumScaleConnector) IsFilesystemMounted(filesystemName string) (bool, error)
func (*FakeSpectrumScaleConnector) IsFilesystemMountedArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) IsFilesystemMountedArgsForCall(i int) string
func (*FakeSpectrumScaleConnector) IsFilesystemMountedCallCount ¶
func (fake *FakeSpectrumScaleConnector) IsFilesystemMountedCallCount() int
func (*FakeSpectrumScaleConnector) IsFilesystemMountedReturns ¶
func (fake *FakeSpectrumScaleConnector) IsFilesystemMountedReturns(result1 bool, result2 error)
func (*FakeSpectrumScaleConnector) IsFilesystemMountedReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) IsFilesystemMountedReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeSpectrumScaleConnector) LinkFileset ¶
func (fake *FakeSpectrumScaleConnector) LinkFileset(filesystemName string, filesetName string) error
func (*FakeSpectrumScaleConnector) LinkFilesetArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) LinkFilesetArgsForCall(i int) (string, string)
func (*FakeSpectrumScaleConnector) LinkFilesetCallCount ¶
func (fake *FakeSpectrumScaleConnector) LinkFilesetCallCount() int
func (*FakeSpectrumScaleConnector) LinkFilesetReturns ¶
func (fake *FakeSpectrumScaleConnector) LinkFilesetReturns(result1 error)
func (*FakeSpectrumScaleConnector) LinkFilesetReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) LinkFilesetReturnsOnCall(i int, result1 error)
func (*FakeSpectrumScaleConnector) ListFileset ¶
func (*FakeSpectrumScaleConnector) ListFilesetArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetArgsForCall(i int) (string, string)
func (*FakeSpectrumScaleConnector) ListFilesetCallCount ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetCallCount() int
func (*FakeSpectrumScaleConnector) ListFilesetQuota ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetQuota(filesystemName string, filesetName string) (string, error)
func (*FakeSpectrumScaleConnector) ListFilesetQuotaArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetQuotaArgsForCall(i int) (string, string)
func (*FakeSpectrumScaleConnector) ListFilesetQuotaCallCount ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetQuotaCallCount() int
func (*FakeSpectrumScaleConnector) ListFilesetQuotaReturns ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetQuotaReturns(result1 string, result2 error)
func (*FakeSpectrumScaleConnector) ListFilesetQuotaReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetQuotaReturnsOnCall(i int, result1 string, result2 error)
func (*FakeSpectrumScaleConnector) ListFilesetReturns ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetReturns(result1 resources.Volume, result2 error)
func (*FakeSpectrumScaleConnector) ListFilesetReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetReturnsOnCall(i int, result1 resources.Volume, result2 error)
func (*FakeSpectrumScaleConnector) ListFilesets ¶
func (fake *FakeSpectrumScaleConnector) ListFilesets(filesystemName string) ([]resources.Volume, error)
func (*FakeSpectrumScaleConnector) ListFilesetsArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetsArgsForCall(i int) string
func (*FakeSpectrumScaleConnector) ListFilesetsCallCount ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetsCallCount() int
func (*FakeSpectrumScaleConnector) ListFilesetsReturns ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetsReturns(result1 []resources.Volume, result2 error)
func (*FakeSpectrumScaleConnector) ListFilesetsReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) ListFilesetsReturnsOnCall(i int, result1 []resources.Volume, result2 error)
func (*FakeSpectrumScaleConnector) ListFilesystems ¶
func (fake *FakeSpectrumScaleConnector) ListFilesystems() ([]string, error)
func (*FakeSpectrumScaleConnector) ListFilesystemsCallCount ¶
func (fake *FakeSpectrumScaleConnector) ListFilesystemsCallCount() int
func (*FakeSpectrumScaleConnector) ListFilesystemsReturns ¶
func (fake *FakeSpectrumScaleConnector) ListFilesystemsReturns(result1 []string, result2 error)
func (*FakeSpectrumScaleConnector) ListFilesystemsReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) ListFilesystemsReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeSpectrumScaleConnector) MountFileSystem ¶
func (fake *FakeSpectrumScaleConnector) MountFileSystem(filesystemName string) error
func (*FakeSpectrumScaleConnector) MountFileSystemArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) MountFileSystemArgsForCall(i int) string
func (*FakeSpectrumScaleConnector) MountFileSystemCallCount ¶
func (fake *FakeSpectrumScaleConnector) MountFileSystemCallCount() int
func (*FakeSpectrumScaleConnector) MountFileSystemReturns ¶
func (fake *FakeSpectrumScaleConnector) MountFileSystemReturns(result1 error)
func (*FakeSpectrumScaleConnector) MountFileSystemReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) MountFileSystemReturnsOnCall(i int, result1 error)
func (*FakeSpectrumScaleConnector) SetFilesetQuota ¶
func (fake *FakeSpectrumScaleConnector) SetFilesetQuota(filesystemName string, filesetName string, quota string) error
func (*FakeSpectrumScaleConnector) SetFilesetQuotaArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) SetFilesetQuotaArgsForCall(i int) (string, string, string)
func (*FakeSpectrumScaleConnector) SetFilesetQuotaCallCount ¶
func (fake *FakeSpectrumScaleConnector) SetFilesetQuotaCallCount() int
func (*FakeSpectrumScaleConnector) SetFilesetQuotaReturns ¶
func (fake *FakeSpectrumScaleConnector) SetFilesetQuotaReturns(result1 error)
func (*FakeSpectrumScaleConnector) SetFilesetQuotaReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) SetFilesetQuotaReturnsOnCall(i int, result1 error)
func (*FakeSpectrumScaleConnector) UnexportNfs ¶
func (fake *FakeSpectrumScaleConnector) UnexportNfs(volumeMountpoint string) error
func (*FakeSpectrumScaleConnector) UnexportNfsArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) UnexportNfsArgsForCall(i int) string
func (*FakeSpectrumScaleConnector) UnexportNfsCallCount ¶
func (fake *FakeSpectrumScaleConnector) UnexportNfsCallCount() int
func (*FakeSpectrumScaleConnector) UnexportNfsReturns ¶
func (fake *FakeSpectrumScaleConnector) UnexportNfsReturns(result1 error)
func (*FakeSpectrumScaleConnector) UnexportNfsReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) UnexportNfsReturnsOnCall(i int, result1 error)
func (*FakeSpectrumScaleConnector) UnlinkFileset ¶
func (fake *FakeSpectrumScaleConnector) UnlinkFileset(filesystemName string, filesetName string) error
func (*FakeSpectrumScaleConnector) UnlinkFilesetArgsForCall ¶
func (fake *FakeSpectrumScaleConnector) UnlinkFilesetArgsForCall(i int) (string, string)
func (*FakeSpectrumScaleConnector) UnlinkFilesetCallCount ¶
func (fake *FakeSpectrumScaleConnector) UnlinkFilesetCallCount() int
func (*FakeSpectrumScaleConnector) UnlinkFilesetReturns ¶
func (fake *FakeSpectrumScaleConnector) UnlinkFilesetReturns(result1 error)
func (*FakeSpectrumScaleConnector) UnlinkFilesetReturnsOnCall ¶
func (fake *FakeSpectrumScaleConnector) UnlinkFilesetReturnsOnCall(i int, result1 error)
type FakeStorageClient ¶
type FakeStorageClient struct { ActivateStub func(activateRequest resources.ActivateRequest) error CreateVolumeStub func(createVolumeRequest resources.CreateVolumeRequest) error RemoveVolumeStub func(removeVolumeRequest resources.RemoveVolumeRequest) error ListVolumesStub func(listVolumeRequest resources.ListVolumesRequest) ([]resources.Volume, error) GetVolumeStub func(getVolumeRequest resources.GetVolumeRequest) (resources.Volume, error) GetVolumeConfigStub func(getVolumeConfigRequest resources.GetVolumeConfigRequest) (map[string]interface{}, error) AttachStub func(attachRequest resources.AttachRequest) (string, error) DetachStub func(detachRequest resources.DetachRequest) error // contains filtered or unexported fields }
func (*FakeStorageClient) Activate ¶
func (fake *FakeStorageClient) Activate(activateRequest resources.ActivateRequest) error
func (*FakeStorageClient) ActivateArgsForCall ¶
func (fake *FakeStorageClient) ActivateArgsForCall(i int) resources.ActivateRequest
func (*FakeStorageClient) ActivateCallCount ¶
func (fake *FakeStorageClient) ActivateCallCount() int
func (*FakeStorageClient) ActivateReturns ¶
func (fake *FakeStorageClient) ActivateReturns(result1 error)
func (*FakeStorageClient) ActivateReturnsOnCall ¶
func (fake *FakeStorageClient) ActivateReturnsOnCall(i int, result1 error)
func (*FakeStorageClient) Attach ¶
func (fake *FakeStorageClient) Attach(attachRequest resources.AttachRequest) (string, error)
func (*FakeStorageClient) AttachArgsForCall ¶
func (fake *FakeStorageClient) AttachArgsForCall(i int) resources.AttachRequest
func (*FakeStorageClient) AttachCallCount ¶
func (fake *FakeStorageClient) AttachCallCount() int
func (*FakeStorageClient) AttachReturns ¶
func (fake *FakeStorageClient) AttachReturns(result1 string, result2 error)
func (*FakeStorageClient) AttachReturnsOnCall ¶
func (fake *FakeStorageClient) AttachReturnsOnCall(i int, result1 string, result2 error)
func (*FakeStorageClient) CreateVolume ¶
func (fake *FakeStorageClient) CreateVolume(createVolumeRequest resources.CreateVolumeRequest) error
func (*FakeStorageClient) CreateVolumeArgsForCall ¶
func (fake *FakeStorageClient) CreateVolumeArgsForCall(i int) resources.CreateVolumeRequest
func (*FakeStorageClient) CreateVolumeCallCount ¶
func (fake *FakeStorageClient) CreateVolumeCallCount() int
func (*FakeStorageClient) CreateVolumeReturns ¶
func (fake *FakeStorageClient) CreateVolumeReturns(result1 error)
func (*FakeStorageClient) CreateVolumeReturnsOnCall ¶
func (fake *FakeStorageClient) CreateVolumeReturnsOnCall(i int, result1 error)
func (*FakeStorageClient) Detach ¶
func (fake *FakeStorageClient) Detach(detachRequest resources.DetachRequest) error
func (*FakeStorageClient) DetachArgsForCall ¶
func (fake *FakeStorageClient) DetachArgsForCall(i int) resources.DetachRequest
func (*FakeStorageClient) DetachCallCount ¶
func (fake *FakeStorageClient) DetachCallCount() int
func (*FakeStorageClient) DetachReturns ¶
func (fake *FakeStorageClient) DetachReturns(result1 error)
func (*FakeStorageClient) DetachReturnsOnCall ¶
func (fake *FakeStorageClient) DetachReturnsOnCall(i int, result1 error)
func (*FakeStorageClient) GetVolume ¶
func (fake *FakeStorageClient) GetVolume(getVolumeRequest resources.GetVolumeRequest) (resources.Volume, error)
func (*FakeStorageClient) GetVolumeArgsForCall ¶
func (fake *FakeStorageClient) GetVolumeArgsForCall(i int) resources.GetVolumeRequest
func (*FakeStorageClient) GetVolumeCallCount ¶
func (fake *FakeStorageClient) GetVolumeCallCount() int
func (*FakeStorageClient) GetVolumeConfig ¶
func (fake *FakeStorageClient) GetVolumeConfig(getVolumeConfigRequest resources.GetVolumeConfigRequest) (map[string]interface{}, error)
func (*FakeStorageClient) GetVolumeConfigArgsForCall ¶
func (fake *FakeStorageClient) GetVolumeConfigArgsForCall(i int) resources.GetVolumeConfigRequest
func (*FakeStorageClient) GetVolumeConfigCallCount ¶
func (fake *FakeStorageClient) GetVolumeConfigCallCount() int
func (*FakeStorageClient) GetVolumeConfigReturns ¶
func (fake *FakeStorageClient) GetVolumeConfigReturns(result1 map[string]interface{}, result2 error)
func (*FakeStorageClient) GetVolumeConfigReturnsOnCall ¶
func (fake *FakeStorageClient) GetVolumeConfigReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
func (*FakeStorageClient) GetVolumeReturns ¶
func (fake *FakeStorageClient) GetVolumeReturns(result1 resources.Volume, result2 error)
func (*FakeStorageClient) GetVolumeReturnsOnCall ¶
func (fake *FakeStorageClient) GetVolumeReturnsOnCall(i int, result1 resources.Volume, result2 error)
func (*FakeStorageClient) Invocations ¶
func (fake *FakeStorageClient) Invocations() map[string][][]interface{}
func (*FakeStorageClient) ListVolumes ¶
func (fake *FakeStorageClient) ListVolumes(listVolumeRequest resources.ListVolumesRequest) ([]resources.Volume, error)
func (*FakeStorageClient) ListVolumesArgsForCall ¶
func (fake *FakeStorageClient) ListVolumesArgsForCall(i int) resources.ListVolumesRequest
func (*FakeStorageClient) ListVolumesCallCount ¶
func (fake *FakeStorageClient) ListVolumesCallCount() int
func (*FakeStorageClient) ListVolumesReturns ¶
func (fake *FakeStorageClient) ListVolumesReturns(result1 []resources.Volume, result2 error)
func (*FakeStorageClient) ListVolumesReturnsOnCall ¶
func (fake *FakeStorageClient) ListVolumesReturnsOnCall(i int, result1 []resources.Volume, result2 error)
func (*FakeStorageClient) RemoveVolume ¶
func (fake *FakeStorageClient) RemoveVolume(removeVolumeRequest resources.RemoveVolumeRequest) error
func (*FakeStorageClient) RemoveVolumeArgsForCall ¶
func (fake *FakeStorageClient) RemoveVolumeArgsForCall(i int) resources.RemoveVolumeRequest
func (*FakeStorageClient) RemoveVolumeCallCount ¶
func (fake *FakeStorageClient) RemoveVolumeCallCount() int
func (*FakeStorageClient) RemoveVolumeReturns ¶
func (fake *FakeStorageClient) RemoveVolumeReturns(result1 error)
func (*FakeStorageClient) RemoveVolumeReturnsOnCall ¶
func (fake *FakeStorageClient) RemoveVolumeReturnsOnCall(i int, result1 error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.