mock

package
v0.0.0-...-1aa1ecb Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

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) ApplyTags

func (m *MockOps) ApplyTags(arg0 string, arg1, arg2 map[string]string) error

ApplyTags mocks base method

func (*MockOps) AreVolumesReadyToExpand

func (m *MockOps) AreVolumesReadyToExpand(arg0 []*string) (bool, error)

AreVolumesReadyToExpand mocks base method

func (*MockOps) Attach

func (m *MockOps) Attach(arg0 string, arg1 map[string]string) (string, error)

Attach mocks base method

func (*MockOps) Create

func (m *MockOps) Create(arg0 interface{}, arg1, arg2 map[string]string) (interface{}, error)

Create mocks base method

func (*MockOps) Delete

func (m *MockOps) Delete(arg0 string, arg1 map[string]string) error

Delete mocks base method

func (*MockOps) DeleteFrom

func (m *MockOps) DeleteFrom(arg0, arg1 string) error

DeleteFrom mocks base method

func (*MockOps) DeleteInstance

func (m *MockOps) DeleteInstance(arg0, arg1 string, arg2 time.Duration) error

DeleteInstance mocks base method

func (*MockOps) Describe

func (m *MockOps) Describe() (interface{}, error)

Describe mocks base method

func (*MockOps) Detach

func (m *MockOps) Detach(arg0 string, arg1 map[string]string) error

Detach mocks base method

func (*MockOps) DetachFrom

func (m *MockOps) DetachFrom(arg0, arg1 string) error

DetachFrom mocks base method

func (*MockOps) DeviceMappings

func (m *MockOps) DeviceMappings() (map[string]string, error)

DeviceMappings mocks base method

func (*MockOps) DevicePath

func (m *MockOps) DevicePath(arg0 string) (string, error)

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) Expand

func (m *MockOps) Expand(arg0 string, arg1 uint64, arg2 map[string]string) (uint64, error)

Expand mocks base method

func (*MockOps) FreeDevices

func (m *MockOps) FreeDevices() ([]string, error)

FreeDevices mocks base method

func (*MockOps) GetClusterSizeForInstance

func (m *MockOps) GetClusterSizeForInstance(arg0 string) (int64, error)

GetClusterSizeForInstance mocks base method

func (*MockOps) GetDeviceID

func (m *MockOps) GetDeviceID(arg0 interface{}) (string, error)

GetDeviceID mocks base method

func (*MockOps) GetInstance

func (m *MockOps) GetInstance(arg0 string) (interface{}, error)

GetInstance mocks base method

func (*MockOps) GetInstanceGroupSize

func (m *MockOps) GetInstanceGroupSize(arg0 string) (int64, error)

GetInstanceGroupSize mocks base method

func (*MockOps) Inspect

func (m *MockOps) Inspect(arg0 []*string, arg1 map[string]string) ([]interface{}, error)

Inspect 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) InstanceID

func (m *MockOps) InstanceID() string

InstanceID mocks base method

func (*MockOps) Name

func (m *MockOps) Name() string

Name mocks base method

func (*MockOps) RemoveTags

func (m *MockOps) RemoveTags(arg0 string, arg1, arg2 map[string]string) error

RemoveTags mocks base method

func (*MockOps) SetClusterVersion

func (m *MockOps) SetClusterVersion(arg0 string, arg1 time.Duration) error

SetClusterVersion mocks base method

func (*MockOps) SetInstanceGroupSize

func (m *MockOps) SetInstanceGroupSize(arg0 string, arg1 int64, arg2 time.Duration) error

SetInstanceGroupSize mocks base method

func (*MockOps) SetInstanceGroupVersion

func (m *MockOps) SetInstanceGroupVersion(arg0, arg1 string, arg2 time.Duration) error

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) Snapshot

func (m *MockOps) Snapshot(arg0 string, arg1 bool, arg2 map[string]string) (interface{}, error)

Snapshot mocks base method

func (*MockOps) SnapshotDelete

func (m *MockOps) SnapshotDelete(arg0 string, arg1 map[string]string) error

SnapshotDelete mocks base method

func (*MockOps) Tags

func (m *MockOps) Tags(arg0 string) (map[string]string, error)

Tags 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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStorageManager) GetMaxDriveSize

GetMaxDriveSize mocks base method

func (*MockStorageManager) GetStorageDistribution

GetStorageDistribution mocks base method

func (*MockStorageManager) RecommendStoragePoolUpdate

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

Jump to

Keyboard shortcuts

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