Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockFloat64UpDownCounterCreater
- type MockFloat64UpDownCounterCreaterMockRecorder
- type MockInstrumentProvider
- func (m *MockInstrumentProvider) Counter(arg0 string, arg1 ...instrument.Option) (asyncfloat64.Counter, error)
- func (m *MockInstrumentProvider) EXPECT() *MockInstrumentProviderMockRecorder
- func (m *MockInstrumentProvider) Gauge(arg0 string, arg1 ...instrument.Option) (asyncfloat64.Gauge, error)
- func (m *MockInstrumentProvider) UpDownCounter(arg0 string, arg1 ...instrument.Option) (asyncfloat64.UpDownCounter, error)
- type MockInstrumentProviderMockRecorder
- func (mr *MockInstrumentProviderMockRecorder) Counter(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockInstrumentProviderMockRecorder) Gauge(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockInstrumentProviderMockRecorder) UpDownCounter(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockLeaderElector
- type MockLeaderElectorMockRecorder
- type MockMetricsRecorder
- type MockMetricsRecorderMockRecorder
- type MockNodeFinder
- type MockNodeFinderMockRecorder
- type MockPowerFlexClient
- func (m *MockPowerFlexClient) Authenticate(arg0 *goscaleio.ConfigConnect) (goscaleio.Cluster, error)
- func (m *MockPowerFlexClient) EXPECT() *MockPowerFlexClientMockRecorder
- func (m *MockPowerFlexClient) FindSystem(arg0, arg1, arg2 string) (*goscaleio.System, error)
- func (m *MockPowerFlexClient) GetInstance(arg0 string) ([]*goscaleio0.System, error)
- func (m *MockPowerFlexClient) GetStoragePool(arg0 string) ([]*goscaleio0.StoragePool, error)
- type MockPowerFlexClientMockRecorder
- func (mr *MockPowerFlexClientMockRecorder) Authenticate(arg0 interface{}) *gomock.Call
- func (mr *MockPowerFlexClientMockRecorder) FindSystem(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPowerFlexClientMockRecorder) GetInstance(arg0 interface{}) *gomock.Call
- func (mr *MockPowerFlexClientMockRecorder) GetStoragePool(arg0 interface{}) *gomock.Call
- type MockPowerFlexSystem
- type MockPowerFlexSystemMockRecorder
- type MockSDCFinder
- type MockSDCFinderMockRecorder
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) ExportVolumeStatistics(arg0 context.Context, arg1 []service.VolumeStatisticsGetter, ...)
- func (m *MockService) GetSDCStatistics(arg0 context.Context, arg1 []v1.Node, arg2 []service.StatisticsGetter)
- func (m *MockService) GetSDCs(arg0 context.Context, arg1 service.PowerFlexClient, arg2 service.SDCFinder) ([]service.StatisticsGetter, error)
- func (m *MockService) GetStorageClasses(arg0 context.Context, arg1 service.PowerFlexClient, ...) ([]service.StorageClassMeta, error)
- func (m *MockService) GetStoragePoolStatistics(arg0 context.Context, arg1 []service.StorageClassMeta)
- func (m *MockService) GetVolumes(arg0 context.Context, arg1 []service.StatisticsGetter) ([]service.VolumeStatisticsGetter, error)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) ExportVolumeStatistics(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetSDCStatistics(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetSDCs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetStorageClasses(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetStoragePoolStatistics(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetVolumes(arg0, arg1 interface{}) *gomock.Call
- type MockStatisticsGetter
- func (m *MockStatisticsGetter) EXPECT() *MockStatisticsGetterMockRecorder
- func (m *MockStatisticsGetter) FindVolumes() ([]*goscaleio.Volume, error)
- func (m *MockStatisticsGetter) GetStatistics() (*goscaleio0.SdcStatistics, error)
- func (m *MockStatisticsGetter) GetVolume() ([]*goscaleio0.Volume, error)
- type MockStatisticsGetterMockRecorder
- type MockStorageClassFinder
- type MockStorageClassFinderMockRecorder
- type MockStoragePoolStatisticsGetter
- type MockStoragePoolStatisticsGetterMockRecorder
- type MockVolumeFinder
- type MockVolumeFinderMockRecorder
- type MockVolumeStatisticsGetter
- type MockVolumeStatisticsGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFloat64UpDownCounterCreater ¶
type MockFloat64UpDownCounterCreater struct {
// contains filtered or unexported fields
}
MockFloat64UpDownCounterCreater is a mock of Float64UpDownCounterCreater interface.
func NewMockFloat64UpDownCounterCreater ¶
func NewMockFloat64UpDownCounterCreater(ctrl *gomock.Controller) *MockFloat64UpDownCounterCreater
NewMockFloat64UpDownCounterCreater creates a new mock instance.
func (*MockFloat64UpDownCounterCreater) AsyncFloat64 ¶ added in v1.3.0
func (m *MockFloat64UpDownCounterCreater) AsyncFloat64() asyncfloat64.InstrumentProvider
AsyncFloat64 mocks base method.
func (*MockFloat64UpDownCounterCreater) EXPECT ¶
func (m *MockFloat64UpDownCounterCreater) EXPECT() *MockFloat64UpDownCounterCreaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFloat64UpDownCounterCreaterMockRecorder ¶
type MockFloat64UpDownCounterCreaterMockRecorder struct {
// contains filtered or unexported fields
}
MockFloat64UpDownCounterCreaterMockRecorder is the mock recorder for MockFloat64UpDownCounterCreater.
func (*MockFloat64UpDownCounterCreaterMockRecorder) AsyncFloat64 ¶ added in v1.3.0
func (mr *MockFloat64UpDownCounterCreaterMockRecorder) AsyncFloat64() *gomock.Call
AsyncFloat64 indicates an expected call of AsyncFloat64.
type MockInstrumentProvider ¶ added in v1.3.0
type MockInstrumentProvider struct {
// contains filtered or unexported fields
}
MockInstrumentProvider is a mock of InstrumentProvider interface.
func NewMockInstrumentProvider ¶ added in v1.3.0
func NewMockInstrumentProvider(ctrl *gomock.Controller) *MockInstrumentProvider
NewMockInstrumentProvider creates a new mock instance.
func (*MockInstrumentProvider) Counter ¶ added in v1.3.0
func (m *MockInstrumentProvider) Counter(arg0 string, arg1 ...instrument.Option) (asyncfloat64.Counter, error)
Counter mocks base method.
func (*MockInstrumentProvider) EXPECT ¶ added in v1.3.0
func (m *MockInstrumentProvider) EXPECT() *MockInstrumentProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstrumentProvider) Gauge ¶ added in v1.3.0
func (m *MockInstrumentProvider) Gauge(arg0 string, arg1 ...instrument.Option) (asyncfloat64.Gauge, error)
Gauge mocks base method.
func (*MockInstrumentProvider) UpDownCounter ¶ added in v1.3.0
func (m *MockInstrumentProvider) UpDownCounter(arg0 string, arg1 ...instrument.Option) (asyncfloat64.UpDownCounter, error)
UpDownCounter mocks base method.
type MockInstrumentProviderMockRecorder ¶ added in v1.3.0
type MockInstrumentProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockInstrumentProviderMockRecorder is the mock recorder for MockInstrumentProvider.
func (*MockInstrumentProviderMockRecorder) Counter ¶ added in v1.3.0
func (mr *MockInstrumentProviderMockRecorder) Counter(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Counter indicates an expected call of Counter.
func (*MockInstrumentProviderMockRecorder) Gauge ¶ added in v1.3.0
func (mr *MockInstrumentProviderMockRecorder) Gauge(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Gauge indicates an expected call of Gauge.
func (*MockInstrumentProviderMockRecorder) UpDownCounter ¶ added in v1.3.0
func (mr *MockInstrumentProviderMockRecorder) UpDownCounter(arg0 interface{}, arg1 ...interface{}) *gomock.Call
UpDownCounter indicates an expected call of UpDownCounter.
type MockLeaderElector ¶
type MockLeaderElector struct {
// contains filtered or unexported fields
}
MockLeaderElector is a mock of LeaderElector interface.
func NewMockLeaderElector ¶
func NewMockLeaderElector(ctrl *gomock.Controller) *MockLeaderElector
NewMockLeaderElector creates a new mock instance.
func (*MockLeaderElector) EXPECT ¶
func (m *MockLeaderElector) EXPECT() *MockLeaderElectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLeaderElector) InitLeaderElection ¶
func (m *MockLeaderElector) InitLeaderElection(arg0, arg1 string) error
InitLeaderElection mocks base method.
func (*MockLeaderElector) IsLeader ¶
func (m *MockLeaderElector) IsLeader() bool
IsLeader mocks base method.
type MockLeaderElectorMockRecorder ¶
type MockLeaderElectorMockRecorder struct {
// contains filtered or unexported fields
}
MockLeaderElectorMockRecorder is the mock recorder for MockLeaderElector.
func (*MockLeaderElectorMockRecorder) InitLeaderElection ¶
func (mr *MockLeaderElectorMockRecorder) InitLeaderElection(arg0, arg1 interface{}) *gomock.Call
InitLeaderElection indicates an expected call of InitLeaderElection.
func (*MockLeaderElectorMockRecorder) IsLeader ¶
func (mr *MockLeaderElectorMockRecorder) IsLeader() *gomock.Call
IsLeader indicates an expected call of IsLeader.
type MockMetricsRecorder ¶
type MockMetricsRecorder struct {
// contains filtered or unexported fields
}
MockMetricsRecorder is a mock of MetricsRecorder interface.
func NewMockMetricsRecorder ¶
func NewMockMetricsRecorder(ctrl *gomock.Controller) *MockMetricsRecorder
NewMockMetricsRecorder creates a new mock instance.
func (*MockMetricsRecorder) EXPECT ¶
func (m *MockMetricsRecorder) EXPECT() *MockMetricsRecorderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetricsRecorder) Record ¶
func (m *MockMetricsRecorder) Record(arg0 context.Context, arg1 interface{}, arg2, arg3, arg4, arg5, arg6, arg7 float64) error
Record mocks base method.
func (*MockMetricsRecorder) RecordCapacity ¶
func (m *MockMetricsRecorder) RecordCapacity(arg0 context.Context, arg1 interface{}, arg2, arg3, arg4, arg5 float64) error
RecordCapacity mocks base method.
type MockMetricsRecorderMockRecorder ¶
type MockMetricsRecorderMockRecorder struct {
// contains filtered or unexported fields
}
MockMetricsRecorderMockRecorder is the mock recorder for MockMetricsRecorder.
func (*MockMetricsRecorderMockRecorder) Record ¶
func (mr *MockMetricsRecorderMockRecorder) Record(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
Record indicates an expected call of Record.
func (*MockMetricsRecorderMockRecorder) RecordCapacity ¶
func (mr *MockMetricsRecorderMockRecorder) RecordCapacity(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
RecordCapacity indicates an expected call of RecordCapacity.
type MockNodeFinder ¶
type MockNodeFinder struct {
// contains filtered or unexported fields
}
MockNodeFinder is a mock of NodeFinder interface.
func NewMockNodeFinder ¶
func NewMockNodeFinder(ctrl *gomock.Controller) *MockNodeFinder
NewMockNodeFinder creates a new mock instance.
func (*MockNodeFinder) EXPECT ¶
func (m *MockNodeFinder) EXPECT() *MockNodeFinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNodeFinderMockRecorder ¶
type MockNodeFinderMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeFinderMockRecorder is the mock recorder for MockNodeFinder.
func (*MockNodeFinderMockRecorder) GetNodes ¶
func (mr *MockNodeFinderMockRecorder) GetNodes() *gomock.Call
GetNodes indicates an expected call of GetNodes.
type MockPowerFlexClient ¶
type MockPowerFlexClient struct {
// contains filtered or unexported fields
}
MockPowerFlexClient is a mock of PowerFlexClient interface.
func NewMockPowerFlexClient ¶
func NewMockPowerFlexClient(ctrl *gomock.Controller) *MockPowerFlexClient
NewMockPowerFlexClient creates a new mock instance.
func (*MockPowerFlexClient) Authenticate ¶
func (m *MockPowerFlexClient) Authenticate(arg0 *goscaleio.ConfigConnect) (goscaleio.Cluster, error)
Authenticate mocks base method.
func (*MockPowerFlexClient) EXPECT ¶
func (m *MockPowerFlexClient) EXPECT() *MockPowerFlexClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPowerFlexClient) FindSystem ¶
func (m *MockPowerFlexClient) FindSystem(arg0, arg1, arg2 string) (*goscaleio.System, error)
FindSystem mocks base method.
func (*MockPowerFlexClient) GetInstance ¶
func (m *MockPowerFlexClient) GetInstance(arg0 string) ([]*goscaleio0.System, error)
GetInstance mocks base method.
func (*MockPowerFlexClient) GetStoragePool ¶
func (m *MockPowerFlexClient) GetStoragePool(arg0 string) ([]*goscaleio0.StoragePool, error)
GetStoragePool mocks base method.
type MockPowerFlexClientMockRecorder ¶
type MockPowerFlexClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPowerFlexClientMockRecorder is the mock recorder for MockPowerFlexClient.
func (*MockPowerFlexClientMockRecorder) Authenticate ¶
func (mr *MockPowerFlexClientMockRecorder) Authenticate(arg0 interface{}) *gomock.Call
Authenticate indicates an expected call of Authenticate.
func (*MockPowerFlexClientMockRecorder) FindSystem ¶
func (mr *MockPowerFlexClientMockRecorder) FindSystem(arg0, arg1, arg2 interface{}) *gomock.Call
FindSystem indicates an expected call of FindSystem.
func (*MockPowerFlexClientMockRecorder) GetInstance ¶
func (mr *MockPowerFlexClientMockRecorder) GetInstance(arg0 interface{}) *gomock.Call
GetInstance indicates an expected call of GetInstance.
func (*MockPowerFlexClientMockRecorder) GetStoragePool ¶
func (mr *MockPowerFlexClientMockRecorder) GetStoragePool(arg0 interface{}) *gomock.Call
GetStoragePool indicates an expected call of GetStoragePool.
type MockPowerFlexSystem ¶
type MockPowerFlexSystem struct {
// contains filtered or unexported fields
}
MockPowerFlexSystem is a mock of PowerFlexSystem interface.
func NewMockPowerFlexSystem ¶
func NewMockPowerFlexSystem(ctrl *gomock.Controller) *MockPowerFlexSystem
NewMockPowerFlexSystem creates a new mock instance.
func (*MockPowerFlexSystem) EXPECT ¶
func (m *MockPowerFlexSystem) EXPECT() *MockPowerFlexSystemMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPowerFlexSystemMockRecorder ¶
type MockPowerFlexSystemMockRecorder struct {
// contains filtered or unexported fields
}
MockPowerFlexSystemMockRecorder is the mock recorder for MockPowerFlexSystem.
func (*MockPowerFlexSystemMockRecorder) FindSdc ¶
func (mr *MockPowerFlexSystemMockRecorder) FindSdc(arg0, arg1 interface{}) *gomock.Call
FindSdc indicates an expected call of FindSdc.
type MockSDCFinder ¶
type MockSDCFinder struct {
// contains filtered or unexported fields
}
MockSDCFinder is a mock of SDCFinder interface.
func NewMockSDCFinder ¶
func NewMockSDCFinder(ctrl *gomock.Controller) *MockSDCFinder
NewMockSDCFinder creates a new mock instance.
func (*MockSDCFinder) EXPECT ¶
func (m *MockSDCFinder) EXPECT() *MockSDCFinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSDCFinder) GetSDCGuids ¶
func (m *MockSDCFinder) GetSDCGuids() ([]string, error)
GetSDCGuids mocks base method.
type MockSDCFinderMockRecorder ¶
type MockSDCFinderMockRecorder struct {
// contains filtered or unexported fields
}
MockSDCFinderMockRecorder is the mock recorder for MockSDCFinder.
func (*MockSDCFinderMockRecorder) GetSDCGuids ¶
func (mr *MockSDCFinderMockRecorder) GetSDCGuids() *gomock.Call
GetSDCGuids indicates an expected call of GetSDCGuids.
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) ExportVolumeStatistics ¶
func (m *MockService) ExportVolumeStatistics(arg0 context.Context, arg1 []service.VolumeStatisticsGetter, arg2 service.VolumeFinder)
ExportVolumeStatistics mocks base method.
func (*MockService) GetSDCStatistics ¶
func (m *MockService) GetSDCStatistics(arg0 context.Context, arg1 []v1.Node, arg2 []service.StatisticsGetter)
GetSDCStatistics mocks base method.
func (*MockService) GetSDCs ¶
func (m *MockService) GetSDCs(arg0 context.Context, arg1 service.PowerFlexClient, arg2 service.SDCFinder) ([]service.StatisticsGetter, error)
GetSDCs mocks base method.
func (*MockService) GetStorageClasses ¶
func (m *MockService) GetStorageClasses(arg0 context.Context, arg1 service.PowerFlexClient, arg2 service.StorageClassFinder) ([]service.StorageClassMeta, error)
GetStorageClasses mocks base method.
func (*MockService) GetStoragePoolStatistics ¶
func (m *MockService) GetStoragePoolStatistics(arg0 context.Context, arg1 []service.StorageClassMeta)
GetStoragePoolStatistics mocks base method.
func (*MockService) GetVolumes ¶
func (m *MockService) GetVolumes(arg0 context.Context, arg1 []service.StatisticsGetter) ([]service.VolumeStatisticsGetter, error)
GetVolumes mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) ExportVolumeStatistics ¶
func (mr *MockServiceMockRecorder) ExportVolumeStatistics(arg0, arg1, arg2 interface{}) *gomock.Call
ExportVolumeStatistics indicates an expected call of ExportVolumeStatistics.
func (*MockServiceMockRecorder) GetSDCStatistics ¶
func (mr *MockServiceMockRecorder) GetSDCStatistics(arg0, arg1, arg2 interface{}) *gomock.Call
GetSDCStatistics indicates an expected call of GetSDCStatistics.
func (*MockServiceMockRecorder) GetSDCs ¶
func (mr *MockServiceMockRecorder) GetSDCs(arg0, arg1, arg2 interface{}) *gomock.Call
GetSDCs indicates an expected call of GetSDCs.
func (*MockServiceMockRecorder) GetStorageClasses ¶
func (mr *MockServiceMockRecorder) GetStorageClasses(arg0, arg1, arg2 interface{}) *gomock.Call
GetStorageClasses indicates an expected call of GetStorageClasses.
func (*MockServiceMockRecorder) GetStoragePoolStatistics ¶
func (mr *MockServiceMockRecorder) GetStoragePoolStatistics(arg0, arg1 interface{}) *gomock.Call
GetStoragePoolStatistics indicates an expected call of GetStoragePoolStatistics.
func (*MockServiceMockRecorder) GetVolumes ¶
func (mr *MockServiceMockRecorder) GetVolumes(arg0, arg1 interface{}) *gomock.Call
GetVolumes indicates an expected call of GetVolumes.
type MockStatisticsGetter ¶
type MockStatisticsGetter struct {
// contains filtered or unexported fields
}
MockStatisticsGetter is a mock of StatisticsGetter interface.
func NewMockStatisticsGetter ¶
func NewMockStatisticsGetter(ctrl *gomock.Controller) *MockStatisticsGetter
NewMockStatisticsGetter creates a new mock instance.
func (*MockStatisticsGetter) EXPECT ¶
func (m *MockStatisticsGetter) EXPECT() *MockStatisticsGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatisticsGetter) FindVolumes ¶
func (m *MockStatisticsGetter) FindVolumes() ([]*goscaleio.Volume, error)
FindVolumes mocks base method.
func (*MockStatisticsGetter) GetStatistics ¶
func (m *MockStatisticsGetter) GetStatistics() (*goscaleio0.SdcStatistics, error)
GetStatistics mocks base method.
func (*MockStatisticsGetter) GetVolume ¶
func (m *MockStatisticsGetter) GetVolume() ([]*goscaleio0.Volume, error)
GetVolume mocks base method.
type MockStatisticsGetterMockRecorder ¶
type MockStatisticsGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockStatisticsGetterMockRecorder is the mock recorder for MockStatisticsGetter.
func (*MockStatisticsGetterMockRecorder) FindVolumes ¶
func (mr *MockStatisticsGetterMockRecorder) FindVolumes() *gomock.Call
FindVolumes indicates an expected call of FindVolumes.
func (*MockStatisticsGetterMockRecorder) GetStatistics ¶
func (mr *MockStatisticsGetterMockRecorder) GetStatistics() *gomock.Call
GetStatistics indicates an expected call of GetStatistics.
func (*MockStatisticsGetterMockRecorder) GetVolume ¶
func (mr *MockStatisticsGetterMockRecorder) GetVolume() *gomock.Call
GetVolume indicates an expected call of GetVolume.
type MockStorageClassFinder ¶
type MockStorageClassFinder struct {
// contains filtered or unexported fields
}
MockStorageClassFinder is a mock of StorageClassFinder interface.
func NewMockStorageClassFinder ¶
func NewMockStorageClassFinder(ctrl *gomock.Controller) *MockStorageClassFinder
NewMockStorageClassFinder creates a new mock instance.
func (*MockStorageClassFinder) EXPECT ¶
func (m *MockStorageClassFinder) EXPECT() *MockStorageClassFinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageClassFinder) GetStorageClasses ¶
func (m *MockStorageClassFinder) GetStorageClasses() ([]v1.StorageClass, error)
GetStorageClasses mocks base method.
type MockStorageClassFinderMockRecorder ¶
type MockStorageClassFinderMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageClassFinderMockRecorder is the mock recorder for MockStorageClassFinder.
func (*MockStorageClassFinderMockRecorder) GetStorageClasses ¶
func (mr *MockStorageClassFinderMockRecorder) GetStorageClasses() *gomock.Call
GetStorageClasses indicates an expected call of GetStorageClasses.
type MockStoragePoolStatisticsGetter ¶
type MockStoragePoolStatisticsGetter struct {
// contains filtered or unexported fields
}
MockStoragePoolStatisticsGetter is a mock of StoragePoolStatisticsGetter interface.
func NewMockStoragePoolStatisticsGetter ¶
func NewMockStoragePoolStatisticsGetter(ctrl *gomock.Controller) *MockStoragePoolStatisticsGetter
NewMockStoragePoolStatisticsGetter creates a new mock instance.
func (*MockStoragePoolStatisticsGetter) EXPECT ¶
func (m *MockStoragePoolStatisticsGetter) EXPECT() *MockStoragePoolStatisticsGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStoragePoolStatisticsGetter) GetStatistics ¶
func (m *MockStoragePoolStatisticsGetter) GetStatistics() (*goscaleio.Statistics, error)
GetStatistics mocks base method.
type MockStoragePoolStatisticsGetterMockRecorder ¶
type MockStoragePoolStatisticsGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockStoragePoolStatisticsGetterMockRecorder is the mock recorder for MockStoragePoolStatisticsGetter.
func (*MockStoragePoolStatisticsGetterMockRecorder) GetStatistics ¶
func (mr *MockStoragePoolStatisticsGetterMockRecorder) GetStatistics() *gomock.Call
GetStatistics indicates an expected call of GetStatistics.
type MockVolumeFinder ¶
type MockVolumeFinder struct {
// contains filtered or unexported fields
}
MockVolumeFinder is a mock of VolumeFinder interface.
func NewMockVolumeFinder ¶
func NewMockVolumeFinder(ctrl *gomock.Controller) *MockVolumeFinder
NewMockVolumeFinder creates a new mock instance.
func (*MockVolumeFinder) EXPECT ¶
func (m *MockVolumeFinder) EXPECT() *MockVolumeFinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeFinder) GetPersistentVolumes ¶
func (m *MockVolumeFinder) GetPersistentVolumes() ([]k8s.VolumeInfo, error)
GetPersistentVolumes mocks base method.
type MockVolumeFinderMockRecorder ¶
type MockVolumeFinderMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeFinderMockRecorder is the mock recorder for MockVolumeFinder.
func (*MockVolumeFinderMockRecorder) GetPersistentVolumes ¶
func (mr *MockVolumeFinderMockRecorder) GetPersistentVolumes() *gomock.Call
GetPersistentVolumes indicates an expected call of GetPersistentVolumes.
type MockVolumeStatisticsGetter ¶
type MockVolumeStatisticsGetter struct {
// contains filtered or unexported fields
}
MockVolumeStatisticsGetter is a mock of VolumeStatisticsGetter interface.
func NewMockVolumeStatisticsGetter ¶
func NewMockVolumeStatisticsGetter(ctrl *gomock.Controller) *MockVolumeStatisticsGetter
NewMockVolumeStatisticsGetter creates a new mock instance.
func (*MockVolumeStatisticsGetter) EXPECT ¶
func (m *MockVolumeStatisticsGetter) EXPECT() *MockVolumeStatisticsGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeStatisticsGetter) GetVolumeStatistics ¶
func (m *MockVolumeStatisticsGetter) GetVolumeStatistics() (*goscaleio.VolumeStatistics, error)
GetVolumeStatistics mocks base method.
type MockVolumeStatisticsGetterMockRecorder ¶
type MockVolumeStatisticsGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeStatisticsGetterMockRecorder is the mock recorder for MockVolumeStatisticsGetter.
func (*MockVolumeStatisticsGetterMockRecorder) GetVolumeStatistics ¶
func (mr *MockVolumeStatisticsGetterMockRecorder) GetVolumeStatistics() *gomock.Call
GetVolumeStatistics indicates an expected call of GetVolumeStatistics.
Source Files ¶
- instrument_provider_mocks.go
- leader_elector_mocks.go
- metrics_mocks.go
- node_finder_mocks.go
- powerflex_client_mocks.go
- powerflex_system_mocks.go
- sdc_finder_mocks.go
- service_mocks.go
- statistics_getter_mocks.go
- storage_class_finder_mocks.go
- storage_pool_statistics_getter_mocks.go
- volume_finder_mocks.go
- volume_statistics_getter_mocks.go