mocks

package
v0.0.0-...-b9bb202 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 18 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApplicationService

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

MockApplicationService is a mock of ApplicationService interface.

func NewMockApplicationService

func NewMockApplicationService(ctrl *gomock.Controller) *MockApplicationService

NewMockApplicationService creates a new mock instance.

func (*MockApplicationService) EXPECT

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

func (*MockApplicationService) GetApplicationLife

func (m *MockApplicationService) GetApplicationLife(arg0 context.Context, arg1 string) (life.Value, error)

GetApplicationLife mocks base method.

type MockApplicationServiceGetApplicationLifeCall

type MockApplicationServiceGetApplicationLifeCall struct {
	*gomock.Call
}

MockApplicationServiceGetApplicationLifeCall wrap *gomock.Call

func (*MockApplicationServiceGetApplicationLifeCall) Do

Do rewrite *gomock.Call.Do

func (*MockApplicationServiceGetApplicationLifeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationServiceGetApplicationLifeCall) Return

Return rewrite *gomock.Call.Return

type MockApplicationServiceMockRecorder

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

MockApplicationServiceMockRecorder is the mock recorder for MockApplicationService.

func (*MockApplicationServiceMockRecorder) GetApplicationLife

GetApplicationLife indicates an expected call of GetApplicationLife.

type MockBackend

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

MockBackend is a mock of Backend interface.

func NewMockBackend

func NewMockBackend(ctrl *gomock.Controller) *MockBackend

NewMockBackend creates a new mock instance.

func (*MockBackend) AllLocalRelatedModels

func (m *MockBackend) AllLocalRelatedModels() ([]string, error)

AllLocalRelatedModels mocks base method.

func (*MockBackend) EXPECT

func (m *MockBackend) EXPECT() *MockBackendMockRecorder

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

func (*MockBackend) Export

func (m *MockBackend) Export(arg0 map[string]string, arg1 objectstore.ObjectStore) (description.Model, error)

Export mocks base method.

func (*MockBackend) ExportPartial

func (m *MockBackend) ExportPartial(arg0 state.ExportConfig, arg1 objectstore.ObjectStore) (description.Model, error)

ExportPartial mocks base method.

func (*MockBackend) LatestMigration

func (m *MockBackend) LatestMigration() (state.ModelMigration, error)

LatestMigration mocks base method.

func (*MockBackend) RemoveExportingModelDocs

func (m *MockBackend) RemoveExportingModelDocs() error

RemoveExportingModelDocs mocks base method.

func (*MockBackend) WatchForMigration

func (m *MockBackend) WatchForMigration() state.NotifyWatcher

WatchForMigration mocks base method.

type MockBackendAllLocalRelatedModelsCall

type MockBackendAllLocalRelatedModelsCall struct {
	*gomock.Call
}

MockBackendAllLocalRelatedModelsCall wrap *gomock.Call

func (*MockBackendAllLocalRelatedModelsCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendAllLocalRelatedModelsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendAllLocalRelatedModelsCall) Return

Return rewrite *gomock.Call.Return

type MockBackendExportCall

type MockBackendExportCall struct {
	*gomock.Call
}

MockBackendExportCall wrap *gomock.Call

func (*MockBackendExportCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendExportCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendExportCall) Return

Return rewrite *gomock.Call.Return

type MockBackendExportPartialCall

type MockBackendExportPartialCall struct {
	*gomock.Call
}

MockBackendExportPartialCall wrap *gomock.Call

func (*MockBackendExportPartialCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendExportPartialCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendExportPartialCall) Return

Return rewrite *gomock.Call.Return

type MockBackendLatestMigrationCall

type MockBackendLatestMigrationCall struct {
	*gomock.Call
}

MockBackendLatestMigrationCall wrap *gomock.Call

func (*MockBackendLatestMigrationCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendLatestMigrationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendLatestMigrationCall) Return

Return rewrite *gomock.Call.Return

type MockBackendMockRecorder

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

MockBackendMockRecorder is the mock recorder for MockBackend.

func (*MockBackendMockRecorder) AllLocalRelatedModels

AllLocalRelatedModels indicates an expected call of AllLocalRelatedModels.

func (*MockBackendMockRecorder) Export

func (mr *MockBackendMockRecorder) Export(arg0, arg1 any) *MockBackendExportCall

Export indicates an expected call of Export.

func (*MockBackendMockRecorder) ExportPartial

func (mr *MockBackendMockRecorder) ExportPartial(arg0, arg1 any) *MockBackendExportPartialCall

ExportPartial indicates an expected call of ExportPartial.

func (*MockBackendMockRecorder) LatestMigration

LatestMigration indicates an expected call of LatestMigration.

func (*MockBackendMockRecorder) RemoveExportingModelDocs

func (mr *MockBackendMockRecorder) RemoveExportingModelDocs() *MockBackendRemoveExportingModelDocsCall

RemoveExportingModelDocs indicates an expected call of RemoveExportingModelDocs.

func (*MockBackendMockRecorder) WatchForMigration

WatchForMigration indicates an expected call of WatchForMigration.

type MockBackendRemoveExportingModelDocsCall

type MockBackendRemoveExportingModelDocsCall struct {
	*gomock.Call
}

MockBackendRemoveExportingModelDocsCall wrap *gomock.Call

func (*MockBackendRemoveExportingModelDocsCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendRemoveExportingModelDocsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendRemoveExportingModelDocsCall) Return

Return rewrite *gomock.Call.Return

type MockBackendWatchForMigrationCall

type MockBackendWatchForMigrationCall struct {
	*gomock.Call
}

MockBackendWatchForMigrationCall wrap *gomock.Call

func (*MockBackendWatchForMigrationCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendWatchForMigrationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendWatchForMigrationCall) Return

Return rewrite *gomock.Call.Return

type MockControllerConfigService

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

MockControllerConfigService is a mock of ControllerConfigService interface.

func NewMockControllerConfigService

func NewMockControllerConfigService(ctrl *gomock.Controller) *MockControllerConfigService

NewMockControllerConfigService creates a new mock instance.

func (*MockControllerConfigService) ControllerConfig

func (m *MockControllerConfigService) ControllerConfig(arg0 context.Context) (controller.Config, error)

ControllerConfig mocks base method.

func (*MockControllerConfigService) EXPECT

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

type MockControllerConfigServiceControllerConfigCall

type MockControllerConfigServiceControllerConfigCall struct {
	*gomock.Call
}

MockControllerConfigServiceControllerConfigCall wrap *gomock.Call

func (*MockControllerConfigServiceControllerConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockControllerConfigServiceControllerConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockControllerConfigServiceControllerConfigCall) Return

Return rewrite *gomock.Call.Return

type MockControllerConfigServiceMockRecorder

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

MockControllerConfigServiceMockRecorder is the mock recorder for MockControllerConfigService.

func (*MockControllerConfigServiceMockRecorder) ControllerConfig

ControllerConfig indicates an expected call of ControllerConfig.

type MockControllerState

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

MockControllerState is a mock of ControllerState interface.

func NewMockControllerState

func NewMockControllerState(ctrl *gomock.Controller) *MockControllerState

NewMockControllerState creates a new mock instance.

func (*MockControllerState) APIHostPortsForClients

func (m *MockControllerState) APIHostPortsForClients(arg0 controller.Config) ([]network.SpaceHostPorts, error)

APIHostPortsForClients mocks base method.

func (*MockControllerState) EXPECT

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

type MockControllerStateAPIHostPortsForClientsCall

type MockControllerStateAPIHostPortsForClientsCall struct {
	*gomock.Call
}

MockControllerStateAPIHostPortsForClientsCall wrap *gomock.Call

func (*MockControllerStateAPIHostPortsForClientsCall) Do

Do rewrite *gomock.Call.Do

func (*MockControllerStateAPIHostPortsForClientsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockControllerStateAPIHostPortsForClientsCall) Return

Return rewrite *gomock.Call.Return

type MockControllerStateMockRecorder

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

MockControllerStateMockRecorder is the mock recorder for MockControllerState.

func (*MockControllerStateMockRecorder) APIHostPortsForClients

APIHostPortsForClients indicates an expected call of APIHostPortsForClients.

type MockModelAgentService

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

MockModelAgentService is a mock of ModelAgentService interface.

func NewMockModelAgentService

func NewMockModelAgentService(ctrl *gomock.Controller) *MockModelAgentService

NewMockModelAgentService creates a new mock instance.

func (*MockModelAgentService) EXPECT

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

func (*MockModelAgentService) GetModelTargetAgentVersion

func (m *MockModelAgentService) GetModelTargetAgentVersion(arg0 context.Context) (version.Number, error)

GetModelTargetAgentVersion mocks base method.

type MockModelAgentServiceGetModelTargetAgentVersionCall

type MockModelAgentServiceGetModelTargetAgentVersionCall struct {
	*gomock.Call
}

MockModelAgentServiceGetModelTargetAgentVersionCall wrap *gomock.Call

func (*MockModelAgentServiceGetModelTargetAgentVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelAgentServiceGetModelTargetAgentVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelAgentServiceGetModelTargetAgentVersionCall) Return

Return rewrite *gomock.Call.Return

type MockModelAgentServiceMockRecorder

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

MockModelAgentServiceMockRecorder is the mock recorder for MockModelAgentService.

func (*MockModelAgentServiceMockRecorder) GetModelTargetAgentVersion

GetModelTargetAgentVersion indicates an expected call of GetModelTargetAgentVersion.

type MockModelConfigService

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

MockModelConfigService is a mock of ModelConfigService interface.

func NewMockModelConfigService

func NewMockModelConfigService(ctrl *gomock.Controller) *MockModelConfigService

NewMockModelConfigService creates a new mock instance.

func (*MockModelConfigService) EXPECT

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

func (*MockModelConfigService) ModelConfig

func (m *MockModelConfigService) ModelConfig(arg0 context.Context) (*config.Config, error)

ModelConfig mocks base method.

type MockModelConfigServiceMockRecorder

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

MockModelConfigServiceMockRecorder is the mock recorder for MockModelConfigService.

func (*MockModelConfigServiceMockRecorder) ModelConfig

ModelConfig indicates an expected call of ModelConfig.

type MockModelConfigServiceModelConfigCall

type MockModelConfigServiceModelConfigCall struct {
	*gomock.Call
}

MockModelConfigServiceModelConfigCall wrap *gomock.Call

func (*MockModelConfigServiceModelConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelConfigServiceModelConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelConfigServiceModelConfigCall) Return

Return rewrite *gomock.Call.Return

type MockModelExporter

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

MockModelExporter is a mock of ModelExporter interface.

func NewMockModelExporter

func NewMockModelExporter(ctrl *gomock.Controller) *MockModelExporter

NewMockModelExporter creates a new mock instance.

func (*MockModelExporter) EXPECT

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

func (*MockModelExporter) ExportModel

func (m *MockModelExporter) ExportModel(arg0 context.Context, arg1 map[string]string, arg2 objectstore.ObjectStore) (description.Model, error)

ExportModel mocks base method.

type MockModelExporterExportModelCall

type MockModelExporterExportModelCall struct {
	*gomock.Call
}

MockModelExporterExportModelCall wrap *gomock.Call

func (*MockModelExporterExportModelCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelExporterExportModelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelExporterExportModelCall) Return

Return rewrite *gomock.Call.Return

type MockModelExporterMockRecorder

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

MockModelExporterMockRecorder is the mock recorder for MockModelExporter.

func (*MockModelExporterMockRecorder) ExportModel

func (mr *MockModelExporterMockRecorder) ExportModel(arg0, arg1, arg2 any) *MockModelExporterExportModelCall

ExportModel indicates an expected call of ExportModel.

type MockModelInfoService

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

MockModelInfoService is a mock of ModelInfoService interface.

func NewMockModelInfoService

func NewMockModelInfoService(ctrl *gomock.Controller) *MockModelInfoService

NewMockModelInfoService creates a new mock instance.

func (*MockModelInfoService) EXPECT

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

func (*MockModelInfoService) GetModelInfo

func (m *MockModelInfoService) GetModelInfo(arg0 context.Context) (model.ReadOnlyModel, error)

GetModelInfo mocks base method.

type MockModelInfoServiceGetModelInfoCall

type MockModelInfoServiceGetModelInfoCall struct {
	*gomock.Call
}

MockModelInfoServiceGetModelInfoCall wrap *gomock.Call

func (*MockModelInfoServiceGetModelInfoCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelInfoServiceGetModelInfoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelInfoServiceGetModelInfoCall) Return

Return rewrite *gomock.Call.Return

type MockModelInfoServiceMockRecorder

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

MockModelInfoServiceMockRecorder is the mock recorder for MockModelInfoService.

func (*MockModelInfoServiceMockRecorder) GetModelInfo

GetModelInfo indicates an expected call of GetModelInfo.

type MockModelMigration

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

MockModelMigration is a mock of ModelMigration interface.

func NewMockModelMigration

func NewMockModelMigration(ctrl *gomock.Controller) *MockModelMigration

NewMockModelMigration creates a new mock instance.

func (*MockModelMigration) Attempt

func (m *MockModelMigration) Attempt() int

Attempt mocks base method.

func (*MockModelMigration) EXPECT

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

func (*MockModelMigration) EndTime

func (m *MockModelMigration) EndTime() time.Time

EndTime mocks base method.

func (*MockModelMigration) Id

func (m *MockModelMigration) Id() string

Id mocks base method.

func (*MockModelMigration) InitiatedBy

func (m *MockModelMigration) InitiatedBy() string

InitiatedBy mocks base method.

func (*MockModelMigration) MinionReports

func (m *MockModelMigration) MinionReports() (*state.MinionReports, error)

MinionReports mocks base method.

func (*MockModelMigration) ModelUUID

func (m *MockModelMigration) ModelUUID() string

ModelUUID mocks base method.

func (*MockModelMigration) Phase

func (m *MockModelMigration) Phase() (migration.Phase, error)

Phase mocks base method.

func (*MockModelMigration) PhaseChangedTime

func (m *MockModelMigration) PhaseChangedTime() time.Time

PhaseChangedTime mocks base method.

func (*MockModelMigration) Refresh

func (m *MockModelMigration) Refresh() error

Refresh mocks base method.

func (*MockModelMigration) SetPhase

func (m *MockModelMigration) SetPhase(arg0 migration.Phase) error

SetPhase mocks base method.

func (*MockModelMigration) SetStatusMessage

func (m *MockModelMigration) SetStatusMessage(arg0 string) error

SetStatusMessage mocks base method.

func (*MockModelMigration) StartTime

func (m *MockModelMigration) StartTime() time.Time

StartTime mocks base method.

func (*MockModelMigration) StatusMessage

func (m *MockModelMigration) StatusMessage() string

StatusMessage mocks base method.

func (*MockModelMigration) SubmitMinionReport

func (m *MockModelMigration) SubmitMinionReport(arg0 names.Tag, arg1 migration.Phase, arg2 bool) error

SubmitMinionReport mocks base method.

func (*MockModelMigration) SuccessTime

func (m *MockModelMigration) SuccessTime() time.Time

SuccessTime mocks base method.

func (*MockModelMigration) TargetInfo

func (m *MockModelMigration) TargetInfo() (*migration.TargetInfo, error)

TargetInfo mocks base method.

func (*MockModelMigration) WatchMinionReports

func (m *MockModelMigration) WatchMinionReports() (state.NotifyWatcher, error)

WatchMinionReports mocks base method.

type MockModelMigrationAttemptCall

type MockModelMigrationAttemptCall struct {
	*gomock.Call
}

MockModelMigrationAttemptCall wrap *gomock.Call

func (*MockModelMigrationAttemptCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationAttemptCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationAttemptCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationEndTimeCall

type MockModelMigrationEndTimeCall struct {
	*gomock.Call
}

MockModelMigrationEndTimeCall wrap *gomock.Call

func (*MockModelMigrationEndTimeCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationEndTimeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationEndTimeCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationIdCall

type MockModelMigrationIdCall struct {
	*gomock.Call
}

MockModelMigrationIdCall wrap *gomock.Call

func (*MockModelMigrationIdCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationIdCall) DoAndReturn

func (c *MockModelMigrationIdCall) DoAndReturn(f func() string) *MockModelMigrationIdCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationIdCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationInitiatedByCall

type MockModelMigrationInitiatedByCall struct {
	*gomock.Call
}

MockModelMigrationInitiatedByCall wrap *gomock.Call

func (*MockModelMigrationInitiatedByCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationInitiatedByCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationInitiatedByCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationMinionReportsCall

type MockModelMigrationMinionReportsCall struct {
	*gomock.Call
}

MockModelMigrationMinionReportsCall wrap *gomock.Call

func (*MockModelMigrationMinionReportsCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationMinionReportsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationMinionReportsCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationMockRecorder

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

MockModelMigrationMockRecorder is the mock recorder for MockModelMigration.

func (*MockModelMigrationMockRecorder) Attempt

Attempt indicates an expected call of Attempt.

func (*MockModelMigrationMockRecorder) EndTime

EndTime indicates an expected call of EndTime.

func (*MockModelMigrationMockRecorder) Id

Id indicates an expected call of Id.

func (*MockModelMigrationMockRecorder) InitiatedBy

InitiatedBy indicates an expected call of InitiatedBy.

func (*MockModelMigrationMockRecorder) MinionReports

MinionReports indicates an expected call of MinionReports.

func (*MockModelMigrationMockRecorder) ModelUUID

ModelUUID indicates an expected call of ModelUUID.

func (*MockModelMigrationMockRecorder) Phase

Phase indicates an expected call of Phase.

func (*MockModelMigrationMockRecorder) PhaseChangedTime

PhaseChangedTime indicates an expected call of PhaseChangedTime.

func (*MockModelMigrationMockRecorder) Refresh

Refresh indicates an expected call of Refresh.

func (*MockModelMigrationMockRecorder) SetPhase

SetPhase indicates an expected call of SetPhase.

func (*MockModelMigrationMockRecorder) SetStatusMessage

SetStatusMessage indicates an expected call of SetStatusMessage.

func (*MockModelMigrationMockRecorder) StartTime

StartTime indicates an expected call of StartTime.

func (*MockModelMigrationMockRecorder) StatusMessage

StatusMessage indicates an expected call of StatusMessage.

func (*MockModelMigrationMockRecorder) SubmitMinionReport

func (mr *MockModelMigrationMockRecorder) SubmitMinionReport(arg0, arg1, arg2 any) *MockModelMigrationSubmitMinionReportCall

SubmitMinionReport indicates an expected call of SubmitMinionReport.

func (*MockModelMigrationMockRecorder) SuccessTime

SuccessTime indicates an expected call of SuccessTime.

func (*MockModelMigrationMockRecorder) TargetInfo

TargetInfo indicates an expected call of TargetInfo.

func (*MockModelMigrationMockRecorder) WatchMinionReports

WatchMinionReports indicates an expected call of WatchMinionReports.

type MockModelMigrationModelUUIDCall

type MockModelMigrationModelUUIDCall struct {
	*gomock.Call
}

MockModelMigrationModelUUIDCall wrap *gomock.Call

func (*MockModelMigrationModelUUIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationModelUUIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationModelUUIDCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationPhaseCall

type MockModelMigrationPhaseCall struct {
	*gomock.Call
}

MockModelMigrationPhaseCall wrap *gomock.Call

func (*MockModelMigrationPhaseCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationPhaseCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationPhaseCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationPhaseChangedTimeCall

type MockModelMigrationPhaseChangedTimeCall struct {
	*gomock.Call
}

MockModelMigrationPhaseChangedTimeCall wrap *gomock.Call

func (*MockModelMigrationPhaseChangedTimeCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationPhaseChangedTimeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationPhaseChangedTimeCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationRefreshCall

type MockModelMigrationRefreshCall struct {
	*gomock.Call
}

MockModelMigrationRefreshCall wrap *gomock.Call

func (*MockModelMigrationRefreshCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationRefreshCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationRefreshCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationSetPhaseCall

type MockModelMigrationSetPhaseCall struct {
	*gomock.Call
}

MockModelMigrationSetPhaseCall wrap *gomock.Call

func (*MockModelMigrationSetPhaseCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationSetPhaseCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationSetPhaseCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationSetStatusMessageCall

type MockModelMigrationSetStatusMessageCall struct {
	*gomock.Call
}

MockModelMigrationSetStatusMessageCall wrap *gomock.Call

func (*MockModelMigrationSetStatusMessageCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationSetStatusMessageCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationSetStatusMessageCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationStartTimeCall

type MockModelMigrationStartTimeCall struct {
	*gomock.Call
}

MockModelMigrationStartTimeCall wrap *gomock.Call

func (*MockModelMigrationStartTimeCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationStartTimeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationStartTimeCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationStatusMessageCall

type MockModelMigrationStatusMessageCall struct {
	*gomock.Call
}

MockModelMigrationStatusMessageCall wrap *gomock.Call

func (*MockModelMigrationStatusMessageCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationStatusMessageCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationStatusMessageCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationSubmitMinionReportCall

type MockModelMigrationSubmitMinionReportCall struct {
	*gomock.Call
}

MockModelMigrationSubmitMinionReportCall wrap *gomock.Call

func (*MockModelMigrationSubmitMinionReportCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationSubmitMinionReportCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationSubmitMinionReportCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationSuccessTimeCall

type MockModelMigrationSuccessTimeCall struct {
	*gomock.Call
}

MockModelMigrationSuccessTimeCall wrap *gomock.Call

func (*MockModelMigrationSuccessTimeCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationSuccessTimeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationSuccessTimeCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationTargetInfoCall

type MockModelMigrationTargetInfoCall struct {
	*gomock.Call
}

MockModelMigrationTargetInfoCall wrap *gomock.Call

func (*MockModelMigrationTargetInfoCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationTargetInfoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationTargetInfoCall) Return

Return rewrite *gomock.Call.Return

type MockModelMigrationWatchMinionReportsCall

type MockModelMigrationWatchMinionReportsCall struct {
	*gomock.Call
}

MockModelMigrationWatchMinionReportsCall wrap *gomock.Call

func (*MockModelMigrationWatchMinionReportsCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelMigrationWatchMinionReportsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelMigrationWatchMinionReportsCall) Return

Return rewrite *gomock.Call.Return

type MockModelService

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

MockModelService is a mock of ModelService interface.

func NewMockModelService

func NewMockModelService(ctrl *gomock.Controller) *MockModelService

NewMockModelService creates a new mock instance.

func (*MockModelService) ControllerModel

func (m *MockModelService) ControllerModel(arg0 context.Context) (model.Model, error)

ControllerModel mocks base method.

func (*MockModelService) EXPECT

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

type MockModelServiceControllerModelCall

type MockModelServiceControllerModelCall struct {
	*gomock.Call
}

MockModelServiceControllerModelCall wrap *gomock.Call

func (*MockModelServiceControllerModelCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelServiceControllerModelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelServiceControllerModelCall) Return

Return rewrite *gomock.Call.Return

type MockModelServiceMockRecorder

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

MockModelServiceMockRecorder is the mock recorder for MockModelService.

func (*MockModelServiceMockRecorder) ControllerModel

ControllerModel indicates an expected call of ControllerModel.

type MockNotifyWatcher

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

MockNotifyWatcher is a mock of NotifyWatcher interface.

func NewMockNotifyWatcher

func NewMockNotifyWatcher(ctrl *gomock.Controller) *MockNotifyWatcher

NewMockNotifyWatcher creates a new mock instance.

func (*MockNotifyWatcher) Changes

func (m *MockNotifyWatcher) Changes() <-chan struct{}

Changes mocks base method.

func (*MockNotifyWatcher) EXPECT

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

func (*MockNotifyWatcher) Err

func (m *MockNotifyWatcher) Err() error

Err mocks base method.

func (*MockNotifyWatcher) Kill

func (m *MockNotifyWatcher) Kill()

Kill mocks base method.

func (*MockNotifyWatcher) Stop

func (m *MockNotifyWatcher) Stop() error

Stop mocks base method.

func (*MockNotifyWatcher) Wait

func (m *MockNotifyWatcher) Wait() error

Wait mocks base method.

type MockNotifyWatcherChangesCall

type MockNotifyWatcherChangesCall struct {
	*gomock.Call
}

MockNotifyWatcherChangesCall wrap *gomock.Call

func (*MockNotifyWatcherChangesCall) Do

func (c *MockNotifyWatcherChangesCall) Do(f func() <-chan struct{}) *MockNotifyWatcherChangesCall

Do rewrite *gomock.Call.Do

func (*MockNotifyWatcherChangesCall) DoAndReturn

func (c *MockNotifyWatcherChangesCall) DoAndReturn(f func() <-chan struct{}) *MockNotifyWatcherChangesCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNotifyWatcherChangesCall) Return

func (c *MockNotifyWatcherChangesCall) Return(arg0 <-chan struct{}) *MockNotifyWatcherChangesCall

Return rewrite *gomock.Call.Return

type MockNotifyWatcherErrCall

type MockNotifyWatcherErrCall struct {
	*gomock.Call
}

MockNotifyWatcherErrCall wrap *gomock.Call

func (*MockNotifyWatcherErrCall) Do

Do rewrite *gomock.Call.Do

func (*MockNotifyWatcherErrCall) DoAndReturn

func (c *MockNotifyWatcherErrCall) DoAndReturn(f func() error) *MockNotifyWatcherErrCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNotifyWatcherErrCall) Return

Return rewrite *gomock.Call.Return

type MockNotifyWatcherKillCall

type MockNotifyWatcherKillCall struct {
	*gomock.Call
}

MockNotifyWatcherKillCall wrap *gomock.Call

func (*MockNotifyWatcherKillCall) Do

Do rewrite *gomock.Call.Do

func (*MockNotifyWatcherKillCall) DoAndReturn

func (c *MockNotifyWatcherKillCall) DoAndReturn(f func()) *MockNotifyWatcherKillCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNotifyWatcherKillCall) Return

Return rewrite *gomock.Call.Return

type MockNotifyWatcherMockRecorder

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

MockNotifyWatcherMockRecorder is the mock recorder for MockNotifyWatcher.

func (*MockNotifyWatcherMockRecorder) Changes

Changes indicates an expected call of Changes.

func (*MockNotifyWatcherMockRecorder) Err

Err indicates an expected call of Err.

func (*MockNotifyWatcherMockRecorder) Kill

Kill indicates an expected call of Kill.

func (*MockNotifyWatcherMockRecorder) Stop

Stop indicates an expected call of Stop.

func (*MockNotifyWatcherMockRecorder) Wait

Wait indicates an expected call of Wait.

type MockNotifyWatcherStopCall

type MockNotifyWatcherStopCall struct {
	*gomock.Call
}

MockNotifyWatcherStopCall wrap *gomock.Call

func (*MockNotifyWatcherStopCall) Do

Do rewrite *gomock.Call.Do

func (*MockNotifyWatcherStopCall) DoAndReturn

func (c *MockNotifyWatcherStopCall) DoAndReturn(f func() error) *MockNotifyWatcherStopCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNotifyWatcherStopCall) Return

Return rewrite *gomock.Call.Return

type MockNotifyWatcherWaitCall

type MockNotifyWatcherWaitCall struct {
	*gomock.Call
}

MockNotifyWatcherWaitCall wrap *gomock.Call

func (*MockNotifyWatcherWaitCall) Do

Do rewrite *gomock.Call.Do

func (*MockNotifyWatcherWaitCall) DoAndReturn

func (c *MockNotifyWatcherWaitCall) DoAndReturn(f func() error) *MockNotifyWatcherWaitCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNotifyWatcherWaitCall) Return

Return rewrite *gomock.Call.Return

type MockObjectStore

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

MockObjectStore is a mock of ObjectStore interface.

func NewMockObjectStore

func NewMockObjectStore(ctrl *gomock.Controller) *MockObjectStore

NewMockObjectStore creates a new mock instance.

func (*MockObjectStore) EXPECT

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

func (*MockObjectStore) Get

func (m *MockObjectStore) Get(arg0 context.Context, arg1 string) (io.ReadCloser, int64, error)

Get mocks base method.

func (*MockObjectStore) GetBySHA256Prefix

func (m *MockObjectStore) GetBySHA256Prefix(arg0 context.Context, arg1 string) (io.ReadCloser, int64, error)

GetBySHA256Prefix mocks base method.

func (*MockObjectStore) Put

func (m *MockObjectStore) Put(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 int64) (objectstore.UUID, error)

Put mocks base method.

func (*MockObjectStore) PutAndCheckHash

func (m *MockObjectStore) PutAndCheckHash(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 int64, arg4 string) (objectstore.UUID, error)

PutAndCheckHash mocks base method.

func (*MockObjectStore) Remove

func (m *MockObjectStore) Remove(arg0 context.Context, arg1 string) error

Remove mocks base method.

type MockObjectStoreGetBySHA256PrefixCall

type MockObjectStoreGetBySHA256PrefixCall struct {
	*gomock.Call
}

MockObjectStoreGetBySHA256PrefixCall wrap *gomock.Call

func (*MockObjectStoreGetBySHA256PrefixCall) Do

Do rewrite *gomock.Call.Do

func (*MockObjectStoreGetBySHA256PrefixCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockObjectStoreGetBySHA256PrefixCall) Return

Return rewrite *gomock.Call.Return

type MockObjectStoreGetCall

type MockObjectStoreGetCall struct {
	*gomock.Call
}

MockObjectStoreGetCall wrap *gomock.Call

func (*MockObjectStoreGetCall) Do

Do rewrite *gomock.Call.Do

func (*MockObjectStoreGetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockObjectStoreGetCall) Return

Return rewrite *gomock.Call.Return

type MockObjectStoreMockRecorder

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

MockObjectStoreMockRecorder is the mock recorder for MockObjectStore.

func (*MockObjectStoreMockRecorder) Get

Get indicates an expected call of Get.

func (*MockObjectStoreMockRecorder) GetBySHA256Prefix

func (mr *MockObjectStoreMockRecorder) GetBySHA256Prefix(arg0, arg1 any) *MockObjectStoreGetBySHA256PrefixCall

GetBySHA256Prefix indicates an expected call of GetBySHA256Prefix.

func (*MockObjectStoreMockRecorder) Put

func (mr *MockObjectStoreMockRecorder) Put(arg0, arg1, arg2, arg3 any) *MockObjectStorePutCall

Put indicates an expected call of Put.

func (*MockObjectStoreMockRecorder) PutAndCheckHash

func (mr *MockObjectStoreMockRecorder) PutAndCheckHash(arg0, arg1, arg2, arg3, arg4 any) *MockObjectStorePutAndCheckHashCall

PutAndCheckHash indicates an expected call of PutAndCheckHash.

func (*MockObjectStoreMockRecorder) Remove

Remove indicates an expected call of Remove.

type MockObjectStorePutAndCheckHashCall

type MockObjectStorePutAndCheckHashCall struct {
	*gomock.Call
}

MockObjectStorePutAndCheckHashCall wrap *gomock.Call

func (*MockObjectStorePutAndCheckHashCall) Do

Do rewrite *gomock.Call.Do

func (*MockObjectStorePutAndCheckHashCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockObjectStorePutAndCheckHashCall) Return

Return rewrite *gomock.Call.Return

type MockObjectStorePutCall

type MockObjectStorePutCall struct {
	*gomock.Call
}

MockObjectStorePutCall wrap *gomock.Call

func (*MockObjectStorePutCall) Do

Do rewrite *gomock.Call.Do

func (*MockObjectStorePutCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockObjectStorePutCall) Return

Return rewrite *gomock.Call.Return

type MockObjectStoreRemoveCall

type MockObjectStoreRemoveCall struct {
	*gomock.Call
}

MockObjectStoreRemoveCall wrap *gomock.Call

func (*MockObjectStoreRemoveCall) Do

Do rewrite *gomock.Call.Do

func (*MockObjectStoreRemoveCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockObjectStoreRemoveCall) Return

Return rewrite *gomock.Call.Return

type MockPrecheckBackend

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

MockPrecheckBackend is a mock of PrecheckBackend interface.

func NewMockPrecheckBackend

func NewMockPrecheckBackend(ctrl *gomock.Controller) *MockPrecheckBackend

NewMockPrecheckBackend creates a new mock instance.

func (*MockPrecheckBackend) AllApplications

func (m *MockPrecheckBackend) AllApplications() ([]migration.PrecheckApplication, error)

AllApplications mocks base method.

func (*MockPrecheckBackend) AllMachines

func (m *MockPrecheckBackend) AllMachines() ([]migration.PrecheckMachine, error)

AllMachines mocks base method.

func (*MockPrecheckBackend) AllMachinesCount

func (m *MockPrecheckBackend) AllMachinesCount() (int, error)

AllMachinesCount mocks base method.

func (*MockPrecheckBackend) AllModelUUIDs

func (m *MockPrecheckBackend) AllModelUUIDs() ([]string, error)

AllModelUUIDs mocks base method.

func (*MockPrecheckBackend) AllRelations

func (m *MockPrecheckBackend) AllRelations() ([]migration.PrecheckRelation, error)

AllRelations mocks base method.

func (*MockPrecheckBackend) ControllerBackend

func (m *MockPrecheckBackend) ControllerBackend() (migration.PrecheckBackend, error)

ControllerBackend mocks base method.

func (*MockPrecheckBackend) EXPECT

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

func (*MockPrecheckBackend) IsMigrationActive

func (m *MockPrecheckBackend) IsMigrationActive(arg0 string) (bool, error)

IsMigrationActive mocks base method.

func (*MockPrecheckBackend) MachineCountForBase

func (m *MockPrecheckBackend) MachineCountForBase(arg0 ...state.Base) (map[string]int, error)

MachineCountForBase mocks base method.

func (*MockPrecheckBackend) Model

Model mocks base method.

func (*MockPrecheckBackend) MongoCurrentStatus

func (m *MockPrecheckBackend) MongoCurrentStatus() (*replicaset.Status, error)

MongoCurrentStatus mocks base method.

func (*MockPrecheckBackend) NeedsCleanup

func (m *MockPrecheckBackend) NeedsCleanup() (bool, error)

NeedsCleanup mocks base method.

type MockPrecheckBackendAllApplicationsCall

type MockPrecheckBackendAllApplicationsCall struct {
	*gomock.Call
}

MockPrecheckBackendAllApplicationsCall wrap *gomock.Call

func (*MockPrecheckBackendAllApplicationsCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrecheckBackendAllApplicationsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrecheckBackendAllApplicationsCall) Return

Return rewrite *gomock.Call.Return

type MockPrecheckBackendAllMachinesCall

type MockPrecheckBackendAllMachinesCall struct {
	*gomock.Call
}

MockPrecheckBackendAllMachinesCall wrap *gomock.Call

func (*MockPrecheckBackendAllMachinesCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrecheckBackendAllMachinesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrecheckBackendAllMachinesCall) Return

Return rewrite *gomock.Call.Return

type MockPrecheckBackendAllMachinesCountCall

type MockPrecheckBackendAllMachinesCountCall struct {
	*gomock.Call
}

MockPrecheckBackendAllMachinesCountCall wrap *gomock.Call

func (*MockPrecheckBackendAllMachinesCountCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrecheckBackendAllMachinesCountCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrecheckBackendAllMachinesCountCall) Return

Return rewrite *gomock.Call.Return

type MockPrecheckBackendAllModelUUIDsCall

type MockPrecheckBackendAllModelUUIDsCall struct {
	*gomock.Call
}

MockPrecheckBackendAllModelUUIDsCall wrap *gomock.Call

func (*MockPrecheckBackendAllModelUUIDsCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrecheckBackendAllModelUUIDsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrecheckBackendAllModelUUIDsCall) Return

Return rewrite *gomock.Call.Return

type MockPrecheckBackendAllRelationsCall

type MockPrecheckBackendAllRelationsCall struct {
	*gomock.Call
}

MockPrecheckBackendAllRelationsCall wrap *gomock.Call

func (*MockPrecheckBackendAllRelationsCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrecheckBackendAllRelationsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrecheckBackendAllRelationsCall) Return

Return rewrite *gomock.Call.Return

type MockPrecheckBackendControllerBackendCall

type MockPrecheckBackendControllerBackendCall struct {
	*gomock.Call
}

MockPrecheckBackendControllerBackendCall wrap *gomock.Call

func (*MockPrecheckBackendControllerBackendCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrecheckBackendControllerBackendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrecheckBackendControllerBackendCall) Return

Return rewrite *gomock.Call.Return

type MockPrecheckBackendIsMigrationActiveCall

type MockPrecheckBackendIsMigrationActiveCall struct {
	*gomock.Call
}

MockPrecheckBackendIsMigrationActiveCall wrap *gomock.Call

func (*MockPrecheckBackendIsMigrationActiveCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrecheckBackendIsMigrationActiveCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrecheckBackendIsMigrationActiveCall) Return

Return rewrite *gomock.Call.Return

type MockPrecheckBackendMachineCountForBaseCall

type MockPrecheckBackendMachineCountForBaseCall struct {
	*gomock.Call
}

MockPrecheckBackendMachineCountForBaseCall wrap *gomock.Call

func (*MockPrecheckBackendMachineCountForBaseCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrecheckBackendMachineCountForBaseCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrecheckBackendMachineCountForBaseCall) Return

Return rewrite *gomock.Call.Return

type MockPrecheckBackendMockRecorder

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

MockPrecheckBackendMockRecorder is the mock recorder for MockPrecheckBackend.

func (*MockPrecheckBackendMockRecorder) AllApplications

AllApplications indicates an expected call of AllApplications.

func (*MockPrecheckBackendMockRecorder) AllMachines

AllMachines indicates an expected call of AllMachines.

func (*MockPrecheckBackendMockRecorder) AllMachinesCount

AllMachinesCount indicates an expected call of AllMachinesCount.

func (*MockPrecheckBackendMockRecorder) AllModelUUIDs

AllModelUUIDs indicates an expected call of AllModelUUIDs.

func (*MockPrecheckBackendMockRecorder) AllRelations

AllRelations indicates an expected call of AllRelations.

func (*MockPrecheckBackendMockRecorder) ControllerBackend

ControllerBackend indicates an expected call of ControllerBackend.

func (*MockPrecheckBackendMockRecorder) IsMigrationActive

IsMigrationActive indicates an expected call of IsMigrationActive.

func (*MockPrecheckBackendMockRecorder) MachineCountForBase

MachineCountForBase indicates an expected call of MachineCountForBase.

func (*MockPrecheckBackendMockRecorder) Model

Model indicates an expected call of Model.

func (*MockPrecheckBackendMockRecorder) MongoCurrentStatus

MongoCurrentStatus indicates an expected call of MongoCurrentStatus.

func (*MockPrecheckBackendMockRecorder) NeedsCleanup

NeedsCleanup indicates an expected call of NeedsCleanup.

type MockPrecheckBackendModelCall

type MockPrecheckBackendModelCall struct {
	*gomock.Call
}

MockPrecheckBackendModelCall wrap *gomock.Call

func (*MockPrecheckBackendModelCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrecheckBackendModelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrecheckBackendModelCall) Return

Return rewrite *gomock.Call.Return

type MockPrecheckBackendMongoCurrentStatusCall

type MockPrecheckBackendMongoCurrentStatusCall struct {
	*gomock.Call
}

MockPrecheckBackendMongoCurrentStatusCall wrap *gomock.Call

func (*MockPrecheckBackendMongoCurrentStatusCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrecheckBackendMongoCurrentStatusCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrecheckBackendMongoCurrentStatusCall) Return

Return rewrite *gomock.Call.Return

type MockPrecheckBackendNeedsCleanupCall

type MockPrecheckBackendNeedsCleanupCall struct {
	*gomock.Call
}

MockPrecheckBackendNeedsCleanupCall wrap *gomock.Call

func (*MockPrecheckBackendNeedsCleanupCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrecheckBackendNeedsCleanupCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrecheckBackendNeedsCleanupCall) Return

Return rewrite *gomock.Call.Return

type MockUpgradeService

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

MockUpgradeService is a mock of UpgradeService interface.

func NewMockUpgradeService

func NewMockUpgradeService(ctrl *gomock.Controller) *MockUpgradeService

NewMockUpgradeService creates a new mock instance.

func (*MockUpgradeService) EXPECT

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

func (*MockUpgradeService) IsUpgrading

func (m *MockUpgradeService) IsUpgrading(arg0 context.Context) (bool, error)

IsUpgrading mocks base method.

type MockUpgradeServiceIsUpgradingCall

type MockUpgradeServiceIsUpgradingCall struct {
	*gomock.Call
}

MockUpgradeServiceIsUpgradingCall wrap *gomock.Call

func (*MockUpgradeServiceIsUpgradingCall) Do

Do rewrite *gomock.Call.Do

func (*MockUpgradeServiceIsUpgradingCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUpgradeServiceIsUpgradingCall) Return

Return rewrite *gomock.Call.Return

type MockUpgradeServiceMockRecorder

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

MockUpgradeServiceMockRecorder is the mock recorder for MockUpgradeService.

func (*MockUpgradeServiceMockRecorder) IsUpgrading

IsUpgrading indicates an expected call of IsUpgrading.

Jump to

Keyboard shortcuts

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