mocks

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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

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

AsyncFloat64 mocks base method.

func (*MockFloat64UpDownCounterCreater) EXPECT

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

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

Counter mocks base method.

func (*MockInstrumentProvider) EXPECT added in v1.3.0

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

func (*MockInstrumentProvider) Gauge added in v1.3.0

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

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

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

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

func (*MockNodeFinder) GetNodes

func (m *MockNodeFinder) GetNodes() ([]v1.Node, error)

GetNodes mocks base method.

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

Authenticate mocks base method.

func (*MockPowerFlexClient) EXPECT

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

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

func (*MockPowerFlexSystem) FindSdc

func (m *MockPowerFlexSystem) FindSdc(arg0, arg1 string) (*goscaleio.Sdc, error)

FindSdc mocks base method.

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

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

GetSDCs mocks base method.

func (*MockService) GetStorageClasses

GetStorageClasses mocks base method.

func (*MockService) GetStoragePoolStatistics

func (m *MockService) GetStoragePoolStatistics(arg0 context.Context, arg1 []service.StorageClassMeta)

GetStoragePoolStatistics mocks base method.

func (*MockService) GetVolumes

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

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

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

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

func (*MockStoragePoolStatisticsGetter) GetStatistics

GetStatistics mocks base method.

type MockStoragePoolStatisticsGetterMockRecorder

type MockStoragePoolStatisticsGetterMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoragePoolStatisticsGetterMockRecorder is the mock recorder for MockStoragePoolStatisticsGetter.

func (*MockStoragePoolStatisticsGetterMockRecorder) GetStatistics

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

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

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.

Jump to

Keyboard shortcuts

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