Documentation ¶
Overview ¶
Package mockpersistentvolume implements mocks for the optimization package.
Package mockoptimization is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) DiskSupportsPerfOptimization ¶
func (m *MockInterface) DiskSupportsPerfOptimization(diskPerfProfile, diskAccountType string) bool
DiskSupportsPerfOptimization mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) OptimizeDiskPerformance ¶
func (m *MockInterface) OptimizeDiskPerformance(nodeInfo *optimization.NodeInfo, devicePath, perfProfile, accountType, diskSizeGibStr, diskIopsStr, diskBwMbpsStr string) error
OptimizeDiskPerformance mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) DiskSupportsPerfOptimization ¶
func (mr *MockInterfaceMockRecorder) DiskSupportsPerfOptimization(diskPerfProfile, diskAccountType interface{}) *gomock.Call
DiskSupportsPerfOptimization indicates an expected call of DiskSupportsPerfOptimization.
func (*MockInterfaceMockRecorder) OptimizeDiskPerformance ¶
func (mr *MockInterfaceMockRecorder) OptimizeDiskPerformance(nodeInfo, devicePath, perfProfile, accountType, diskSizeGibStr, diskIopsStr, diskBwMbpsStr interface{}) *gomock.Call
OptimizeDiskPerformance indicates an expected call of OptimizeDiskPerformance.
Click to show internal directories.
Click to hide internal directories.