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.
Index ¶
- type MockAsyncMetricCreator
- type MockAsyncMetricCreatorMockRecorder
- type MockLeaderElector
- type MockLeaderElectorMockRecorder
- type MockMetricsRecorder
- type MockMetricsRecorderMockRecorder
- type MockPowerMaxClient
- func (m *MockPowerMaxClient) Authenticate(arg0 context.Context, arg1 *pmax.ConfigConnect) error
- func (m *MockPowerMaxClient) EXPECT() *MockPowerMaxClientMockRecorder
- func (m *MockPowerMaxClient) GetArrayPerfKeys(arg0 context.Context) (*v100.ArrayKeysResult, error)
- func (m *MockPowerMaxClient) GetStorageGroup(arg0 context.Context, arg1, arg2 string) (*v100.StorageGroup, error)
- func (m *MockPowerMaxClient) GetStorageGroupMetrics(arg0 context.Context, arg1, arg2 string, arg3 []string, arg4, arg5 int64) (*v100.StorageGroupMetricsIterator, error)
- func (m *MockPowerMaxClient) GetStorageGroupPerfKeys(arg0 context.Context, arg1 string) (*v100.StorageGroupKeysResult, error)
- func (m *MockPowerMaxClient) GetVolumeByID(arg0 context.Context, arg1, arg2 string) (*v100.Volume, error)
- func (m *MockPowerMaxClient) GetVolumesMetrics(arg0 context.Context, arg1, arg2 string, arg3 []string, arg4, arg5 int64) (*v100.VolumeMetricsIterator, error)
- type MockPowerMaxClientMockRecorder
- func (mr *MockPowerMaxClientMockRecorder) Authenticate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPowerMaxClientMockRecorder) GetArrayPerfKeys(arg0 interface{}) *gomock.Call
- func (mr *MockPowerMaxClientMockRecorder) GetStorageGroup(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPowerMaxClientMockRecorder) GetStorageGroupMetrics(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockPowerMaxClientMockRecorder) GetStorageGroupPerfKeys(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPowerMaxClientMockRecorder) GetVolumeByID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPowerMaxClientMockRecorder) GetVolumesMetrics(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) ExportCapacityMetrics(arg0 context.Context)
- func (m *MockService) ExportPerformanceMetrics(arg0 context.Context)
- func (m *MockService) GetLogger() *logrus.Logger
- func (m *MockService) GetMaxPowerMaxConnections() int
- func (m *MockService) GetMetricsRecorder() types.MetricsRecorder
- func (m *MockService) GetPowerMaxClients() map[string][]types.PowerMaxArray
- func (m *MockService) GetVolumeFinder() types.VolumeFinder
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) ExportCapacityMetrics(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) ExportPerformanceMetrics(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetLogger() *gomock.Call
- func (mr *MockServiceMockRecorder) GetMaxPowerMaxConnections() *gomock.Call
- func (mr *MockServiceMockRecorder) GetMetricsRecorder() *gomock.Call
- func (mr *MockServiceMockRecorder) GetPowerMaxClients() *gomock.Call
- func (mr *MockServiceMockRecorder) GetVolumeFinder() *gomock.Call
- type MockStorageClassFinder
- type MockStorageClassFinderMockRecorder
- type MockVolumeFinder
- type MockVolumeFinderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAsyncMetricCreator ¶
type MockAsyncMetricCreator struct {
// contains filtered or unexported fields
}
MockAsyncMetricCreator is a mock of AsyncMetricCreator interface.
func NewMockAsyncMetricCreator ¶
func NewMockAsyncMetricCreator(ctrl *gomock.Controller) *MockAsyncMetricCreator
NewMockAsyncMetricCreator creates a new mock instance.
func (*MockAsyncMetricCreator) AsyncFloat64 ¶
func (m *MockAsyncMetricCreator) AsyncFloat64() asyncfloat64.InstrumentProvider
AsyncFloat64 mocks base method.
func (*MockAsyncMetricCreator) AsyncInt64 ¶
func (m *MockAsyncMetricCreator) AsyncInt64() asyncint64.InstrumentProvider
AsyncInt64 mocks base method.
func (*MockAsyncMetricCreator) EXPECT ¶
func (m *MockAsyncMetricCreator) EXPECT() *MockAsyncMetricCreatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAsyncMetricCreatorMockRecorder ¶
type MockAsyncMetricCreatorMockRecorder struct {
// contains filtered or unexported fields
}
MockAsyncMetricCreatorMockRecorder is the mock recorder for MockAsyncMetricCreator.
func (*MockAsyncMetricCreatorMockRecorder) AsyncFloat64 ¶
func (mr *MockAsyncMetricCreatorMockRecorder) AsyncFloat64() *gomock.Call
AsyncFloat64 indicates an expected call of AsyncFloat64.
func (*MockAsyncMetricCreatorMockRecorder) AsyncInt64 ¶
func (mr *MockAsyncMetricCreatorMockRecorder) AsyncInt64() *gomock.Call
AsyncInt64 indicates an expected call of AsyncInt64.
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) RecordNumericMetrics ¶
func (m *MockMetricsRecorder) RecordNumericMetrics(arg0 context.Context, arg1 []types.NumericMetric) error
RecordNumericMetrics mocks base method.
type MockMetricsRecorderMockRecorder ¶
type MockMetricsRecorderMockRecorder struct {
// contains filtered or unexported fields
}
MockMetricsRecorderMockRecorder is the mock recorder for MockMetricsRecorder.
func (*MockMetricsRecorderMockRecorder) RecordNumericMetrics ¶
func (mr *MockMetricsRecorderMockRecorder) RecordNumericMetrics(arg0, arg1 interface{}) *gomock.Call
RecordNumericMetrics indicates an expected call of RecordNumericMetrics.
type MockPowerMaxClient ¶
type MockPowerMaxClient struct {
// contains filtered or unexported fields
}
MockPowerMaxClient is a mock of PowerMaxClient interface.
func NewMockPowerMaxClient ¶
func NewMockPowerMaxClient(ctrl *gomock.Controller) *MockPowerMaxClient
NewMockPowerMaxClient creates a new mock instance.
func (*MockPowerMaxClient) Authenticate ¶
func (m *MockPowerMaxClient) Authenticate(arg0 context.Context, arg1 *pmax.ConfigConnect) error
Authenticate mocks base method.
func (*MockPowerMaxClient) EXPECT ¶
func (m *MockPowerMaxClient) EXPECT() *MockPowerMaxClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPowerMaxClient) GetArrayPerfKeys ¶
func (m *MockPowerMaxClient) GetArrayPerfKeys(arg0 context.Context) (*v100.ArrayKeysResult, error)
GetArrayPerfKeys mocks base method.
func (*MockPowerMaxClient) GetStorageGroup ¶
func (m *MockPowerMaxClient) GetStorageGroup(arg0 context.Context, arg1, arg2 string) (*v100.StorageGroup, error)
GetStorageGroup mocks base method.
func (*MockPowerMaxClient) GetStorageGroupMetrics ¶
func (m *MockPowerMaxClient) GetStorageGroupMetrics(arg0 context.Context, arg1, arg2 string, arg3 []string, arg4, arg5 int64) (*v100.StorageGroupMetricsIterator, error)
GetStorageGroupMetrics mocks base method.
func (*MockPowerMaxClient) GetStorageGroupPerfKeys ¶
func (m *MockPowerMaxClient) GetStorageGroupPerfKeys(arg0 context.Context, arg1 string) (*v100.StorageGroupKeysResult, error)
GetStorageGroupPerfKeys mocks base method.
func (*MockPowerMaxClient) GetVolumeByID ¶
func (m *MockPowerMaxClient) GetVolumeByID(arg0 context.Context, arg1, arg2 string) (*v100.Volume, error)
GetVolumeByID mocks base method.
func (*MockPowerMaxClient) GetVolumesMetrics ¶
func (m *MockPowerMaxClient) GetVolumesMetrics(arg0 context.Context, arg1, arg2 string, arg3 []string, arg4, arg5 int64) (*v100.VolumeMetricsIterator, error)
GetVolumesMetrics mocks base method.
type MockPowerMaxClientMockRecorder ¶
type MockPowerMaxClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPowerMaxClientMockRecorder is the mock recorder for MockPowerMaxClient.
func (*MockPowerMaxClientMockRecorder) Authenticate ¶
func (mr *MockPowerMaxClientMockRecorder) Authenticate(arg0, arg1 interface{}) *gomock.Call
Authenticate indicates an expected call of Authenticate.
func (*MockPowerMaxClientMockRecorder) GetArrayPerfKeys ¶
func (mr *MockPowerMaxClientMockRecorder) GetArrayPerfKeys(arg0 interface{}) *gomock.Call
GetArrayPerfKeys indicates an expected call of GetArrayPerfKeys.
func (*MockPowerMaxClientMockRecorder) GetStorageGroup ¶
func (mr *MockPowerMaxClientMockRecorder) GetStorageGroup(arg0, arg1, arg2 interface{}) *gomock.Call
GetStorageGroup indicates an expected call of GetStorageGroup.
func (*MockPowerMaxClientMockRecorder) GetStorageGroupMetrics ¶
func (mr *MockPowerMaxClientMockRecorder) GetStorageGroupMetrics(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
GetStorageGroupMetrics indicates an expected call of GetStorageGroupMetrics.
func (*MockPowerMaxClientMockRecorder) GetStorageGroupPerfKeys ¶
func (mr *MockPowerMaxClientMockRecorder) GetStorageGroupPerfKeys(arg0, arg1 interface{}) *gomock.Call
GetStorageGroupPerfKeys indicates an expected call of GetStorageGroupPerfKeys.
func (*MockPowerMaxClientMockRecorder) GetVolumeByID ¶
func (mr *MockPowerMaxClientMockRecorder) GetVolumeByID(arg0, arg1, arg2 interface{}) *gomock.Call
GetVolumeByID indicates an expected call of GetVolumeByID.
func (*MockPowerMaxClientMockRecorder) GetVolumesMetrics ¶
func (mr *MockPowerMaxClientMockRecorder) GetVolumesMetrics(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
GetVolumesMetrics indicates an expected call of GetVolumesMetrics.
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) ExportCapacityMetrics ¶
func (m *MockService) ExportCapacityMetrics(arg0 context.Context)
ExportCapacityMetrics mocks base method.
func (*MockService) ExportPerformanceMetrics ¶
func (m *MockService) ExportPerformanceMetrics(arg0 context.Context)
ExportPerformanceMetrics mocks base method.
func (*MockService) GetLogger ¶
func (m *MockService) GetLogger() *logrus.Logger
GetLogger mocks base method.
func (*MockService) GetMaxPowerMaxConnections ¶
func (m *MockService) GetMaxPowerMaxConnections() int
GetMaxPowerMaxConnections mocks base method.
func (*MockService) GetMetricsRecorder ¶
func (m *MockService) GetMetricsRecorder() types.MetricsRecorder
GetMetricsRecorder mocks base method.
func (*MockService) GetPowerMaxClients ¶
func (m *MockService) GetPowerMaxClients() map[string][]types.PowerMaxArray
GetPowerMaxClients mocks base method.
func (*MockService) GetVolumeFinder ¶
func (m *MockService) GetVolumeFinder() types.VolumeFinder
GetVolumeFinder mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) ExportCapacityMetrics ¶
func (mr *MockServiceMockRecorder) ExportCapacityMetrics(arg0 interface{}) *gomock.Call
ExportCapacityMetrics indicates an expected call of ExportCapacityMetrics.
func (*MockServiceMockRecorder) ExportPerformanceMetrics ¶
func (mr *MockServiceMockRecorder) ExportPerformanceMetrics(arg0 interface{}) *gomock.Call
ExportPerformanceMetrics indicates an expected call of ExportPerformanceMetrics.
func (*MockServiceMockRecorder) GetLogger ¶
func (mr *MockServiceMockRecorder) GetLogger() *gomock.Call
GetLogger indicates an expected call of GetLogger.
func (*MockServiceMockRecorder) GetMaxPowerMaxConnections ¶
func (mr *MockServiceMockRecorder) GetMaxPowerMaxConnections() *gomock.Call
GetMaxPowerMaxConnections indicates an expected call of GetMaxPowerMaxConnections.
func (*MockServiceMockRecorder) GetMetricsRecorder ¶
func (mr *MockServiceMockRecorder) GetMetricsRecorder() *gomock.Call
GetMetricsRecorder indicates an expected call of GetMetricsRecorder.
func (*MockServiceMockRecorder) GetPowerMaxClients ¶
func (mr *MockServiceMockRecorder) GetPowerMaxClients() *gomock.Call
GetPowerMaxClients indicates an expected call of GetPowerMaxClients.
func (*MockServiceMockRecorder) GetVolumeFinder ¶
func (mr *MockServiceMockRecorder) GetVolumeFinder() *gomock.Call
GetVolumeFinder indicates an expected call of GetVolumeFinder.
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(arg0 context.Context) ([]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(arg0 interface{}) *gomock.Call
GetStorageClasses indicates an expected call of GetStorageClasses.
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(arg0 context.Context) ([]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(arg0 interface{}) *gomock.Call
GetPersistentVolumes indicates an expected call of GetPersistentVolumes.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package asyncfloat64mock is a generated GoMock package.
|
Package asyncfloat64mock is a generated GoMock package. |
Package asyncint64mock is a generated GoMock package.
|
Package asyncint64mock is a generated GoMock package. |