Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockOps
- func (m *MockOps) ApplyTags(arg0 string, arg1, arg2 map[string]string) error
- func (m *MockOps) AreVolumesReadyToExpand(arg0 []*string) (bool, error)
- func (m *MockOps) Attach(arg0 string, arg1 map[string]string) (string, error)
- func (m *MockOps) Create(arg0 interface{}, arg1, arg2 map[string]string) (interface{}, error)
- func (m *MockOps) Delete(arg0 string, arg1 map[string]string) error
- func (m *MockOps) DeleteFrom(arg0, arg1 string) error
- func (m *MockOps) DeleteInstance(arg0, arg1 string, arg2 time.Duration) error
- func (m *MockOps) Describe() (interface{}, error)
- func (m *MockOps) Detach(arg0 string, arg1 map[string]string) error
- func (m *MockOps) DetachFrom(arg0, arg1 string) error
- func (m *MockOps) DeviceMappings() (map[string]string, error)
- func (m *MockOps) DevicePath(arg0 string) (string, error)
- func (m *MockOps) EXPECT() *MockOpsMockRecorder
- func (m *MockOps) Enumerate(arg0 []*string, arg1 map[string]string, arg2 string) (map[string][]interface{}, error)
- func (m *MockOps) Expand(arg0 string, arg1 uint64, arg2 map[string]string) (uint64, error)
- func (m *MockOps) FreeDevices() ([]string, error)
- func (m *MockOps) GetClusterSizeForInstance(arg0 string) (int64, error)
- func (m *MockOps) GetDeviceID(arg0 interface{}) (string, error)
- func (m *MockOps) GetInstance(arg0 string) (interface{}, error)
- func (m *MockOps) GetInstanceGroupSize(arg0 string) (int64, error)
- func (m *MockOps) Inspect(arg0 []*string, arg1 map[string]string) ([]interface{}, error)
- func (m *MockOps) InspectInstance(arg0 string) (*cloudops.InstanceInfo, error)
- func (m *MockOps) InspectInstanceGroupForInstance(arg0 string) (*cloudops.InstanceGroupInfo, error)
- func (m *MockOps) InstanceID() string
- func (m *MockOps) Name() string
- func (m *MockOps) RemoveTags(arg0 string, arg1, arg2 map[string]string) error
- func (m *MockOps) SetClusterVersion(arg0 string, arg1 time.Duration) error
- func (m *MockOps) SetInstanceGroupSize(arg0 string, arg1 int64, arg2 time.Duration) error
- func (m *MockOps) SetInstanceGroupVersion(arg0, arg1 string, arg2 time.Duration) error
- func (m *MockOps) SetInstanceUpgradeStrategy(arg0 string, arg1 string, arg2 time.Duration, arg3 string) error
- func (m *MockOps) Snapshot(arg0 string, arg1 bool, arg2 map[string]string) (interface{}, error)
- func (m *MockOps) SnapshotDelete(arg0 string, arg1 map[string]string) error
- func (m *MockOps) Tags(arg0 string) (map[string]string, error)
- type MockOpsMockRecorder
- func (mr *MockOpsMockRecorder) ApplyTags(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) AreVolumesReadyToExpand(arg0 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) Attach(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) DeleteFrom(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) DeleteInstance(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) Describe() *gomock.Call
- func (mr *MockOpsMockRecorder) Detach(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) DetachFrom(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) DeviceMappings() *gomock.Call
- func (mr *MockOpsMockRecorder) DevicePath(arg0 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) Enumerate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) Expand(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) FreeDevices() *gomock.Call
- func (mr *MockOpsMockRecorder) GetClusterSizeForInstance(arg0 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) GetDeviceID(arg0 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) GetInstance(arg0 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) GetInstanceGroupSize(arg0 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) InspectInstance(arg0 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) InspectInstanceGroupForInstance(arg0 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) InstanceID() *gomock.Call
- func (mr *MockOpsMockRecorder) Name() *gomock.Call
- func (mr *MockOpsMockRecorder) RemoveTags(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) SetClusterVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) SetInstanceGroupSize(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) SetInstanceGroupVersion(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) SetInstanceUpgradeStrategy(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) Snapshot(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) SnapshotDelete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpsMockRecorder) Tags(arg0 interface{}) *gomock.Call
- type MockStorageManager
- func (m *MockStorageManager) EXPECT() *MockStorageManagerMockRecorder
- func (m *MockStorageManager) GetMaxDriveSize(arg0 *cloudops.MaxDriveSizeRequest) (*cloudops.MaxDriveSizeResponse, error)
- func (m *MockStorageManager) GetStorageDistribution(arg0 *cloudops.StorageDistributionRequest) (*cloudops.StorageDistributionResponse, error)
- func (m *MockStorageManager) RecommendStoragePoolUpdate(arg0 *cloudops.StoragePoolUpdateRequest) (*cloudops.StoragePoolUpdateResponse, error)
- type MockStorageManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOps ¶
type MockOps struct {
// contains filtered or unexported fields
}
MockOps is a mock of Ops interface
func NewMockOps ¶
func NewMockOps(ctrl *gomock.Controller) *MockOps
NewMockOps creates a new mock instance
func (*MockOps) AreVolumesReadyToExpand ¶
AreVolumesReadyToExpand mocks base method
func (*MockOps) DeleteFrom ¶
DeleteFrom mocks base method
func (*MockOps) DeleteInstance ¶
DeleteInstance mocks base method
func (*MockOps) DetachFrom ¶
DetachFrom mocks base method
func (*MockOps) DeviceMappings ¶
DeviceMappings mocks base method
func (*MockOps) DevicePath ¶
DevicePath mocks base method
func (*MockOps) EXPECT ¶
func (m *MockOps) EXPECT() *MockOpsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOps) Enumerate ¶
func (m *MockOps) Enumerate(arg0 []*string, arg1 map[string]string, arg2 string) (map[string][]interface{}, error)
Enumerate mocks base method
func (*MockOps) FreeDevices ¶
FreeDevices mocks base method
func (*MockOps) GetClusterSizeForInstance ¶
GetClusterSizeForInstance mocks base method
func (*MockOps) GetDeviceID ¶
GetDeviceID mocks base method
func (*MockOps) GetInstance ¶
GetInstance mocks base method
func (*MockOps) GetInstanceGroupSize ¶
GetInstanceGroupSize mocks base method
func (*MockOps) InspectInstance ¶
func (m *MockOps) InspectInstance(arg0 string) (*cloudops.InstanceInfo, error)
InspectInstance mocks base method
func (*MockOps) InspectInstanceGroupForInstance ¶
func (m *MockOps) InspectInstanceGroupForInstance(arg0 string) (*cloudops.InstanceGroupInfo, error)
InspectInstanceGroupForInstance mocks base method
func (*MockOps) RemoveTags ¶
RemoveTags mocks base method
func (*MockOps) SetClusterVersion ¶
SetClusterVersion mocks base method
func (*MockOps) SetInstanceGroupSize ¶
SetInstanceGroupSize mocks base method
func (*MockOps) SetInstanceGroupVersion ¶
SetInstanceGroupVersion mocks base method
func (*MockOps) SetInstanceUpgradeStrategy ¶
func (m *MockOps) SetInstanceUpgradeStrategy(arg0 string, arg1 string, arg2 time.Duration, arg3 string) error
SetInstanceUpgradeStrategy mocks base method
func (*MockOps) SnapshotDelete ¶
SnapshotDelete mocks base method
type MockOpsMockRecorder ¶
type MockOpsMockRecorder struct {
// contains filtered or unexported fields
}
MockOpsMockRecorder is the mock recorder for MockOps
func (*MockOpsMockRecorder) ApplyTags ¶
func (mr *MockOpsMockRecorder) ApplyTags(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyTags indicates an expected call of ApplyTags
func (*MockOpsMockRecorder) AreVolumesReadyToExpand ¶
func (mr *MockOpsMockRecorder) AreVolumesReadyToExpand(arg0 interface{}) *gomock.Call
AreVolumesReadyToExpand indicates an expected call of AreVolumesReadyToExpand
func (*MockOpsMockRecorder) Attach ¶
func (mr *MockOpsMockRecorder) Attach(arg0, arg1 interface{}) *gomock.Call
Attach indicates an expected call of Attach
func (*MockOpsMockRecorder) Create ¶
func (mr *MockOpsMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockOpsMockRecorder) Delete ¶
func (mr *MockOpsMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockOpsMockRecorder) DeleteFrom ¶
func (mr *MockOpsMockRecorder) DeleteFrom(arg0, arg1 interface{}) *gomock.Call
DeleteFrom indicates an expected call of DeleteFrom
func (*MockOpsMockRecorder) DeleteInstance ¶
func (mr *MockOpsMockRecorder) DeleteInstance(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteInstance indicates an expected call of DeleteInstance
func (*MockOpsMockRecorder) Describe ¶
func (mr *MockOpsMockRecorder) Describe() *gomock.Call
Describe indicates an expected call of Describe
func (*MockOpsMockRecorder) Detach ¶
func (mr *MockOpsMockRecorder) Detach(arg0, arg1 interface{}) *gomock.Call
Detach indicates an expected call of Detach
func (*MockOpsMockRecorder) DetachFrom ¶
func (mr *MockOpsMockRecorder) DetachFrom(arg0, arg1 interface{}) *gomock.Call
DetachFrom indicates an expected call of DetachFrom
func (*MockOpsMockRecorder) DeviceMappings ¶
func (mr *MockOpsMockRecorder) DeviceMappings() *gomock.Call
DeviceMappings indicates an expected call of DeviceMappings
func (*MockOpsMockRecorder) DevicePath ¶
func (mr *MockOpsMockRecorder) DevicePath(arg0 interface{}) *gomock.Call
DevicePath indicates an expected call of DevicePath
func (*MockOpsMockRecorder) Enumerate ¶
func (mr *MockOpsMockRecorder) Enumerate(arg0, arg1, arg2 interface{}) *gomock.Call
Enumerate indicates an expected call of Enumerate
func (*MockOpsMockRecorder) Expand ¶
func (mr *MockOpsMockRecorder) Expand(arg0, arg1, arg2 interface{}) *gomock.Call
Expand indicates an expected call of Expand
func (*MockOpsMockRecorder) FreeDevices ¶
func (mr *MockOpsMockRecorder) FreeDevices() *gomock.Call
FreeDevices indicates an expected call of FreeDevices
func (*MockOpsMockRecorder) GetClusterSizeForInstance ¶
func (mr *MockOpsMockRecorder) GetClusterSizeForInstance(arg0 interface{}) *gomock.Call
GetClusterSizeForInstance indicates an expected call of GetClusterSizeForInstance
func (*MockOpsMockRecorder) GetDeviceID ¶
func (mr *MockOpsMockRecorder) GetDeviceID(arg0 interface{}) *gomock.Call
GetDeviceID indicates an expected call of GetDeviceID
func (*MockOpsMockRecorder) GetInstance ¶
func (mr *MockOpsMockRecorder) GetInstance(arg0 interface{}) *gomock.Call
GetInstance indicates an expected call of GetInstance
func (*MockOpsMockRecorder) GetInstanceGroupSize ¶
func (mr *MockOpsMockRecorder) GetInstanceGroupSize(arg0 interface{}) *gomock.Call
GetInstanceGroupSize indicates an expected call of GetInstanceGroupSize
func (*MockOpsMockRecorder) Inspect ¶
func (mr *MockOpsMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
Inspect indicates an expected call of Inspect
func (*MockOpsMockRecorder) InspectInstance ¶
func (mr *MockOpsMockRecorder) InspectInstance(arg0 interface{}) *gomock.Call
InspectInstance indicates an expected call of InspectInstance
func (*MockOpsMockRecorder) InspectInstanceGroupForInstance ¶
func (mr *MockOpsMockRecorder) InspectInstanceGroupForInstance(arg0 interface{}) *gomock.Call
InspectInstanceGroupForInstance indicates an expected call of InspectInstanceGroupForInstance
func (*MockOpsMockRecorder) InstanceID ¶
func (mr *MockOpsMockRecorder) InstanceID() *gomock.Call
InstanceID indicates an expected call of InstanceID
func (*MockOpsMockRecorder) Name ¶
func (mr *MockOpsMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockOpsMockRecorder) RemoveTags ¶
func (mr *MockOpsMockRecorder) RemoveTags(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveTags indicates an expected call of RemoveTags
func (*MockOpsMockRecorder) SetClusterVersion ¶
func (mr *MockOpsMockRecorder) SetClusterVersion(arg0, arg1 interface{}) *gomock.Call
SetClusterVersion indicates an expected call of SetClusterVersion
func (*MockOpsMockRecorder) SetInstanceGroupSize ¶
func (mr *MockOpsMockRecorder) SetInstanceGroupSize(arg0, arg1, arg2 interface{}) *gomock.Call
SetInstanceGroupSize indicates an expected call of SetInstanceGroupSize
func (*MockOpsMockRecorder) SetInstanceGroupVersion ¶
func (mr *MockOpsMockRecorder) SetInstanceGroupVersion(arg0, arg1, arg2 interface{}) *gomock.Call
SetInstanceGroupVersion indicates an expected call of SetInstanceGroupVersion
func (*MockOpsMockRecorder) SetInstanceUpgradeStrategy ¶
func (mr *MockOpsMockRecorder) SetInstanceUpgradeStrategy(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SetInstanceUpgradeStrategy indicates an expected call of SetInstanceUpgradeStrategy
func (*MockOpsMockRecorder) Snapshot ¶
func (mr *MockOpsMockRecorder) Snapshot(arg0, arg1, arg2 interface{}) *gomock.Call
Snapshot indicates an expected call of Snapshot
func (*MockOpsMockRecorder) SnapshotDelete ¶
func (mr *MockOpsMockRecorder) SnapshotDelete(arg0, arg1 interface{}) *gomock.Call
SnapshotDelete indicates an expected call of SnapshotDelete
func (*MockOpsMockRecorder) Tags ¶
func (mr *MockOpsMockRecorder) Tags(arg0 interface{}) *gomock.Call
Tags indicates an expected call of Tags
type MockStorageManager ¶
type MockStorageManager struct {
// contains filtered or unexported fields
}
MockStorageManager is a mock of StorageManager interface
func NewMockStorageManager ¶
func NewMockStorageManager(ctrl *gomock.Controller) *MockStorageManager
NewMockStorageManager creates a new mock instance
func (*MockStorageManager) EXPECT ¶
func (m *MockStorageManager) EXPECT() *MockStorageManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorageManager) GetMaxDriveSize ¶
func (m *MockStorageManager) GetMaxDriveSize(arg0 *cloudops.MaxDriveSizeRequest) (*cloudops.MaxDriveSizeResponse, error)
GetMaxDriveSize mocks base method
func (*MockStorageManager) GetStorageDistribution ¶
func (m *MockStorageManager) GetStorageDistribution(arg0 *cloudops.StorageDistributionRequest) (*cloudops.StorageDistributionResponse, error)
GetStorageDistribution mocks base method
func (*MockStorageManager) RecommendStoragePoolUpdate ¶
func (m *MockStorageManager) RecommendStoragePoolUpdate(arg0 *cloudops.StoragePoolUpdateRequest) (*cloudops.StoragePoolUpdateResponse, error)
RecommendStoragePoolUpdate mocks base method
type MockStorageManagerMockRecorder ¶
type MockStorageManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageManagerMockRecorder is the mock recorder for MockStorageManager
func (*MockStorageManagerMockRecorder) GetMaxDriveSize ¶
func (mr *MockStorageManagerMockRecorder) GetMaxDriveSize(arg0 interface{}) *gomock.Call
GetMaxDriveSize indicates an expected call of GetMaxDriveSize
func (*MockStorageManagerMockRecorder) GetStorageDistribution ¶
func (mr *MockStorageManagerMockRecorder) GetStorageDistribution(arg0 interface{}) *gomock.Call
GetStorageDistribution indicates an expected call of GetStorageDistribution
func (*MockStorageManagerMockRecorder) RecommendStoragePoolUpdate ¶
func (mr *MockStorageManagerMockRecorder) RecommendStoragePoolUpdate(arg0 interface{}) *gomock.Call
RecommendStoragePoolUpdate indicates an expected call of RecommendStoragePoolUpdate