Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockBackend
- func (m *MockBackend) AgentVersion() (version.Number, error)
- func (m *MockBackend) AllLocalRelatedModels() ([]string, error)
- func (m *MockBackend) ControllerConfig() (controller.Config, error)
- func (m *MockBackend) EXPECT() *MockBackendMockRecorder
- func (m *MockBackend) Export(arg0 map[string]string) (description.Model, error)
- func (m *MockBackend) LatestMigration() (state.ModelMigration, error)
- func (m *MockBackend) ModelName() (string, error)
- func (m *MockBackend) ModelOwner() (names.UserTag, error)
- func (m *MockBackend) ModelUUID() string
- func (m *MockBackend) RemoveExportingModelDocs() error
- func (m *MockBackend) WatchForMigration() state.NotifyWatcher
- type MockBackendMockRecorder
- func (mr *MockBackendMockRecorder) AgentVersion() *gomock.Call
- func (mr *MockBackendMockRecorder) AllLocalRelatedModels() *gomock.Call
- func (mr *MockBackendMockRecorder) ControllerConfig() *gomock.Call
- func (mr *MockBackendMockRecorder) Export(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) LatestMigration() *gomock.Call
- func (mr *MockBackendMockRecorder) ModelName() *gomock.Call
- func (mr *MockBackendMockRecorder) ModelOwner() *gomock.Call
- func (mr *MockBackendMockRecorder) ModelUUID() *gomock.Call
- func (mr *MockBackendMockRecorder) RemoveExportingModelDocs() *gomock.Call
- func (mr *MockBackendMockRecorder) WatchForMigration() *gomock.Call
- type MockControllerState
- type MockControllerStateMockRecorder
- type MockModelMigration
- func (m *MockModelMigration) Attempt() int
- func (m *MockModelMigration) EXPECT() *MockModelMigrationMockRecorder
- func (m *MockModelMigration) EndTime() time.Time
- func (m *MockModelMigration) Id() string
- func (m *MockModelMigration) InitiatedBy() string
- func (m *MockModelMigration) MinionReports() (*state.MinionReports, error)
- func (m *MockModelMigration) ModelUUID() string
- func (m *MockModelMigration) ModelUserAccess(arg0 names.Tag) permission.Access
- func (m *MockModelMigration) Phase() (migration.Phase, error)
- func (m *MockModelMigration) PhaseChangedTime() time.Time
- func (m *MockModelMigration) Refresh() error
- func (m *MockModelMigration) SetPhase(arg0 migration.Phase) error
- func (m *MockModelMigration) SetStatusMessage(arg0 string) error
- func (m *MockModelMigration) StartTime() time.Time
- func (m *MockModelMigration) StatusMessage() string
- func (m *MockModelMigration) SubmitMinionReport(arg0 names.Tag, arg1 migration.Phase, arg2 bool) error
- func (m *MockModelMigration) SuccessTime() time.Time
- func (m *MockModelMigration) TargetInfo() (*migration.TargetInfo, error)
- func (m *MockModelMigration) WatchMinionReports() (state.NotifyWatcher, error)
- type MockModelMigrationMockRecorder
- func (mr *MockModelMigrationMockRecorder) Attempt() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) EndTime() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) Id() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) InitiatedBy() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) MinionReports() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) ModelUUID() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) ModelUserAccess(arg0 any) *gomock.Call
- func (mr *MockModelMigrationMockRecorder) Phase() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) PhaseChangedTime() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) Refresh() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) SetPhase(arg0 any) *gomock.Call
- func (mr *MockModelMigrationMockRecorder) SetStatusMessage(arg0 any) *gomock.Call
- func (mr *MockModelMigrationMockRecorder) StartTime() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) StatusMessage() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) SubmitMinionReport(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockModelMigrationMockRecorder) SuccessTime() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) TargetInfo() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) WatchMinionReports() *gomock.Call
- type MockNotifyWatcher
- type MockNotifyWatcherMockRecorder
- func (mr *MockNotifyWatcherMockRecorder) Changes() *gomock.Call
- func (mr *MockNotifyWatcherMockRecorder) Err() *gomock.Call
- func (mr *MockNotifyWatcherMockRecorder) Kill() *gomock.Call
- func (mr *MockNotifyWatcherMockRecorder) Stop() *gomock.Call
- func (mr *MockNotifyWatcherMockRecorder) Wait() *gomock.Call
- type MockPrecheckBackend
- func (m *MockPrecheckBackend) AgentVersion() (version.Number, error)
- func (m *MockPrecheckBackend) AllApplications() ([]migration.PrecheckApplication, error)
- func (m *MockPrecheckBackend) AllCharmURLs() ([]*string, error)
- func (m *MockPrecheckBackend) AllMachines() ([]migration.PrecheckMachine, error)
- func (m *MockPrecheckBackend) AllModelUUIDs() ([]string, error)
- func (m *MockPrecheckBackend) AllRelations() ([]migration.PrecheckRelation, error)
- func (m *MockPrecheckBackend) CloudCredential(arg0 names.CloudCredentialTag) (state.Credential, error)
- func (m *MockPrecheckBackend) ControllerBackend() (migration.PrecheckBackend, error)
- func (m *MockPrecheckBackend) EXPECT() *MockPrecheckBackendMockRecorder
- func (m *MockPrecheckBackend) HasUpgradeSeriesLocks() (bool, error)
- func (m *MockPrecheckBackend) IsMigrationActive(arg0 string) (bool, error)
- func (m *MockPrecheckBackend) IsUpgrading() (bool, error)
- func (m *MockPrecheckBackend) MachineCountForBase(arg0 ...state.Base) (map[string]int, error)
- func (m *MockPrecheckBackend) Model() (migration.PrecheckModel, error)
- func (m *MockPrecheckBackend) MongoCurrentStatus() (*replicaset.Status, error)
- func (m *MockPrecheckBackend) NeedsCleanup() (bool, error)
- type MockPrecheckBackendMockRecorder
- func (mr *MockPrecheckBackendMockRecorder) AgentVersion() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) AllApplications() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) AllCharmURLs() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) AllMachines() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) AllModelUUIDs() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) AllRelations() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) CloudCredential(arg0 any) *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) ControllerBackend() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) HasUpgradeSeriesLocks() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) IsMigrationActive(arg0 any) *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) IsUpgrading() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) MachineCountForBase(arg0 ...any) *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) Model() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) MongoCurrentStatus() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) NeedsCleanup() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) AgentVersion ¶
func (m *MockBackend) AgentVersion() (version.Number, error)
AgentVersion mocks base method.
func (*MockBackend) AllLocalRelatedModels ¶
func (m *MockBackend) AllLocalRelatedModels() ([]string, error)
AllLocalRelatedModels mocks base method.
func (*MockBackend) ControllerConfig ¶
func (m *MockBackend) ControllerConfig() (controller.Config, error)
ControllerConfig 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) (description.Model, error)
Export mocks base method.
func (*MockBackend) LatestMigration ¶
func (m *MockBackend) LatestMigration() (state.ModelMigration, error)
LatestMigration mocks base method.
func (*MockBackend) ModelName ¶
func (m *MockBackend) ModelName() (string, error)
ModelName mocks base method.
func (*MockBackend) ModelOwner ¶
func (m *MockBackend) ModelOwner() (names.UserTag, error)
ModelOwner mocks base method.
func (*MockBackend) ModelUUID ¶
func (m *MockBackend) ModelUUID() string
ModelUUID 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 MockBackendMockRecorder ¶
type MockBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendMockRecorder is the mock recorder for MockBackend.
func (*MockBackendMockRecorder) AgentVersion ¶
func (mr *MockBackendMockRecorder) AgentVersion() *gomock.Call
AgentVersion indicates an expected call of AgentVersion.
func (*MockBackendMockRecorder) AllLocalRelatedModels ¶
func (mr *MockBackendMockRecorder) AllLocalRelatedModels() *gomock.Call
AllLocalRelatedModels indicates an expected call of AllLocalRelatedModels.
func (*MockBackendMockRecorder) ControllerConfig ¶
func (mr *MockBackendMockRecorder) ControllerConfig() *gomock.Call
ControllerConfig indicates an expected call of ControllerConfig.
func (*MockBackendMockRecorder) Export ¶
func (mr *MockBackendMockRecorder) Export(arg0 any) *gomock.Call
Export indicates an expected call of Export.
func (*MockBackendMockRecorder) LatestMigration ¶
func (mr *MockBackendMockRecorder) LatestMigration() *gomock.Call
LatestMigration indicates an expected call of LatestMigration.
func (*MockBackendMockRecorder) ModelName ¶
func (mr *MockBackendMockRecorder) ModelName() *gomock.Call
ModelName indicates an expected call of ModelName.
func (*MockBackendMockRecorder) ModelOwner ¶
func (mr *MockBackendMockRecorder) ModelOwner() *gomock.Call
ModelOwner indicates an expected call of ModelOwner.
func (*MockBackendMockRecorder) ModelUUID ¶
func (mr *MockBackendMockRecorder) ModelUUID() *gomock.Call
ModelUUID indicates an expected call of ModelUUID.
func (*MockBackendMockRecorder) RemoveExportingModelDocs ¶
func (mr *MockBackendMockRecorder) RemoveExportingModelDocs() *gomock.Call
RemoveExportingModelDocs indicates an expected call of RemoveExportingModelDocs.
func (*MockBackendMockRecorder) WatchForMigration ¶
func (mr *MockBackendMockRecorder) WatchForMigration() *gomock.Call
WatchForMigration indicates an expected call of WatchForMigration.
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() ([]network.SpaceHostPorts, error)
APIHostPortsForClients mocks base method.
func (*MockControllerState) EXPECT ¶
func (m *MockControllerState) EXPECT() *MockControllerStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockControllerStateMockRecorder ¶
type MockControllerStateMockRecorder struct {
// contains filtered or unexported fields
}
MockControllerStateMockRecorder is the mock recorder for MockControllerState.
func (*MockControllerStateMockRecorder) APIHostPortsForClients ¶
func (mr *MockControllerStateMockRecorder) APIHostPortsForClients() *gomock.Call
APIHostPortsForClients indicates an expected call of APIHostPortsForClients.
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 ¶
func (m *MockModelMigration) EXPECT() *MockModelMigrationMockRecorder
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) 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) ModelUserAccess ¶
func (m *MockModelMigration) ModelUserAccess(arg0 names.Tag) permission.Access
ModelUserAccess 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 MockModelMigrationMockRecorder ¶
type MockModelMigrationMockRecorder struct {
// contains filtered or unexported fields
}
MockModelMigrationMockRecorder is the mock recorder for MockModelMigration.
func (*MockModelMigrationMockRecorder) Attempt ¶
func (mr *MockModelMigrationMockRecorder) Attempt() *gomock.Call
Attempt indicates an expected call of Attempt.
func (*MockModelMigrationMockRecorder) EndTime ¶
func (mr *MockModelMigrationMockRecorder) EndTime() *gomock.Call
EndTime indicates an expected call of EndTime.
func (*MockModelMigrationMockRecorder) Id ¶
func (mr *MockModelMigrationMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockModelMigrationMockRecorder) InitiatedBy ¶
func (mr *MockModelMigrationMockRecorder) InitiatedBy() *gomock.Call
InitiatedBy indicates an expected call of InitiatedBy.
func (*MockModelMigrationMockRecorder) MinionReports ¶
func (mr *MockModelMigrationMockRecorder) MinionReports() *gomock.Call
MinionReports indicates an expected call of MinionReports.
func (*MockModelMigrationMockRecorder) ModelUUID ¶
func (mr *MockModelMigrationMockRecorder) ModelUUID() *gomock.Call
ModelUUID indicates an expected call of ModelUUID.
func (*MockModelMigrationMockRecorder) ModelUserAccess ¶
func (mr *MockModelMigrationMockRecorder) ModelUserAccess(arg0 any) *gomock.Call
ModelUserAccess indicates an expected call of ModelUserAccess.
func (*MockModelMigrationMockRecorder) Phase ¶
func (mr *MockModelMigrationMockRecorder) Phase() *gomock.Call
Phase indicates an expected call of Phase.
func (*MockModelMigrationMockRecorder) PhaseChangedTime ¶
func (mr *MockModelMigrationMockRecorder) PhaseChangedTime() *gomock.Call
PhaseChangedTime indicates an expected call of PhaseChangedTime.
func (*MockModelMigrationMockRecorder) Refresh ¶
func (mr *MockModelMigrationMockRecorder) Refresh() *gomock.Call
Refresh indicates an expected call of Refresh.
func (*MockModelMigrationMockRecorder) SetPhase ¶
func (mr *MockModelMigrationMockRecorder) SetPhase(arg0 any) *gomock.Call
SetPhase indicates an expected call of SetPhase.
func (*MockModelMigrationMockRecorder) SetStatusMessage ¶
func (mr *MockModelMigrationMockRecorder) SetStatusMessage(arg0 any) *gomock.Call
SetStatusMessage indicates an expected call of SetStatusMessage.
func (*MockModelMigrationMockRecorder) StartTime ¶
func (mr *MockModelMigrationMockRecorder) StartTime() *gomock.Call
StartTime indicates an expected call of StartTime.
func (*MockModelMigrationMockRecorder) StatusMessage ¶
func (mr *MockModelMigrationMockRecorder) StatusMessage() *gomock.Call
StatusMessage indicates an expected call of StatusMessage.
func (*MockModelMigrationMockRecorder) SubmitMinionReport ¶
func (mr *MockModelMigrationMockRecorder) SubmitMinionReport(arg0, arg1, arg2 any) *gomock.Call
SubmitMinionReport indicates an expected call of SubmitMinionReport.
func (*MockModelMigrationMockRecorder) SuccessTime ¶
func (mr *MockModelMigrationMockRecorder) SuccessTime() *gomock.Call
SuccessTime indicates an expected call of SuccessTime.
func (*MockModelMigrationMockRecorder) TargetInfo ¶
func (mr *MockModelMigrationMockRecorder) TargetInfo() *gomock.Call
TargetInfo indicates an expected call of TargetInfo.
func (*MockModelMigrationMockRecorder) WatchMinionReports ¶
func (mr *MockModelMigrationMockRecorder) WatchMinionReports() *gomock.Call
WatchMinionReports indicates an expected call of WatchMinionReports.
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 ¶
func (m *MockNotifyWatcher) EXPECT() *MockNotifyWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNotifyWatcherMockRecorder ¶
type MockNotifyWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockNotifyWatcherMockRecorder is the mock recorder for MockNotifyWatcher.
func (*MockNotifyWatcherMockRecorder) Changes ¶
func (mr *MockNotifyWatcherMockRecorder) Changes() *gomock.Call
Changes indicates an expected call of Changes.
func (*MockNotifyWatcherMockRecorder) Err ¶
func (mr *MockNotifyWatcherMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockNotifyWatcherMockRecorder) Kill ¶
func (mr *MockNotifyWatcherMockRecorder) Kill() *gomock.Call
Kill indicates an expected call of Kill.
func (*MockNotifyWatcherMockRecorder) Stop ¶
func (mr *MockNotifyWatcherMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockNotifyWatcherMockRecorder) Wait ¶
func (mr *MockNotifyWatcherMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait.
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) AgentVersion ¶
func (m *MockPrecheckBackend) AgentVersion() (version.Number, error)
AgentVersion mocks base method.
func (*MockPrecheckBackend) AllApplications ¶
func (m *MockPrecheckBackend) AllApplications() ([]migration.PrecheckApplication, error)
AllApplications mocks base method.
func (*MockPrecheckBackend) AllCharmURLs ¶
func (m *MockPrecheckBackend) AllCharmURLs() ([]*string, error)
AllCharmURLs mocks base method.
func (*MockPrecheckBackend) AllMachines ¶
func (m *MockPrecheckBackend) AllMachines() ([]migration.PrecheckMachine, error)
AllMachines 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) CloudCredential ¶
func (m *MockPrecheckBackend) CloudCredential(arg0 names.CloudCredentialTag) (state.Credential, error)
CloudCredential mocks base method.
func (*MockPrecheckBackend) ControllerBackend ¶
func (m *MockPrecheckBackend) ControllerBackend() (migration.PrecheckBackend, error)
ControllerBackend mocks base method.
func (*MockPrecheckBackend) EXPECT ¶
func (m *MockPrecheckBackend) EXPECT() *MockPrecheckBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPrecheckBackend) HasUpgradeSeriesLocks ¶
func (m *MockPrecheckBackend) HasUpgradeSeriesLocks() (bool, error)
HasUpgradeSeriesLocks mocks base method.
func (*MockPrecheckBackend) IsMigrationActive ¶
func (m *MockPrecheckBackend) IsMigrationActive(arg0 string) (bool, error)
IsMigrationActive mocks base method.
func (*MockPrecheckBackend) IsUpgrading ¶
func (m *MockPrecheckBackend) IsUpgrading() (bool, error)
IsUpgrading mocks base method.
func (*MockPrecheckBackend) MachineCountForBase ¶
MachineCountForBase mocks base method.
func (*MockPrecheckBackend) Model ¶
func (m *MockPrecheckBackend) Model() (migration.PrecheckModel, error)
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 MockPrecheckBackendMockRecorder ¶
type MockPrecheckBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockPrecheckBackendMockRecorder is the mock recorder for MockPrecheckBackend.
func (*MockPrecheckBackendMockRecorder) AgentVersion ¶
func (mr *MockPrecheckBackendMockRecorder) AgentVersion() *gomock.Call
AgentVersion indicates an expected call of AgentVersion.
func (*MockPrecheckBackendMockRecorder) AllApplications ¶
func (mr *MockPrecheckBackendMockRecorder) AllApplications() *gomock.Call
AllApplications indicates an expected call of AllApplications.
func (*MockPrecheckBackendMockRecorder) AllCharmURLs ¶
func (mr *MockPrecheckBackendMockRecorder) AllCharmURLs() *gomock.Call
AllCharmURLs indicates an expected call of AllCharmURLs.
func (*MockPrecheckBackendMockRecorder) AllMachines ¶
func (mr *MockPrecheckBackendMockRecorder) AllMachines() *gomock.Call
AllMachines indicates an expected call of AllMachines.
func (*MockPrecheckBackendMockRecorder) AllModelUUIDs ¶
func (mr *MockPrecheckBackendMockRecorder) AllModelUUIDs() *gomock.Call
AllModelUUIDs indicates an expected call of AllModelUUIDs.
func (*MockPrecheckBackendMockRecorder) AllRelations ¶
func (mr *MockPrecheckBackendMockRecorder) AllRelations() *gomock.Call
AllRelations indicates an expected call of AllRelations.
func (*MockPrecheckBackendMockRecorder) CloudCredential ¶
func (mr *MockPrecheckBackendMockRecorder) CloudCredential(arg0 any) *gomock.Call
CloudCredential indicates an expected call of CloudCredential.
func (*MockPrecheckBackendMockRecorder) ControllerBackend ¶
func (mr *MockPrecheckBackendMockRecorder) ControllerBackend() *gomock.Call
ControllerBackend indicates an expected call of ControllerBackend.
func (*MockPrecheckBackendMockRecorder) HasUpgradeSeriesLocks ¶
func (mr *MockPrecheckBackendMockRecorder) HasUpgradeSeriesLocks() *gomock.Call
HasUpgradeSeriesLocks indicates an expected call of HasUpgradeSeriesLocks.
func (*MockPrecheckBackendMockRecorder) IsMigrationActive ¶
func (mr *MockPrecheckBackendMockRecorder) IsMigrationActive(arg0 any) *gomock.Call
IsMigrationActive indicates an expected call of IsMigrationActive.
func (*MockPrecheckBackendMockRecorder) IsUpgrading ¶
func (mr *MockPrecheckBackendMockRecorder) IsUpgrading() *gomock.Call
IsUpgrading indicates an expected call of IsUpgrading.
func (*MockPrecheckBackendMockRecorder) MachineCountForBase ¶
func (mr *MockPrecheckBackendMockRecorder) MachineCountForBase(arg0 ...any) *gomock.Call
MachineCountForBase indicates an expected call of MachineCountForBase.
func (*MockPrecheckBackendMockRecorder) Model ¶
func (mr *MockPrecheckBackendMockRecorder) Model() *gomock.Call
Model indicates an expected call of Model.
func (*MockPrecheckBackendMockRecorder) MongoCurrentStatus ¶
func (mr *MockPrecheckBackendMockRecorder) MongoCurrentStatus() *gomock.Call
MongoCurrentStatus indicates an expected call of MongoCurrentStatus.
func (*MockPrecheckBackendMockRecorder) NeedsCleanup ¶
func (mr *MockPrecheckBackendMockRecorder) NeedsCleanup() *gomock.Call
NeedsCleanup indicates an expected call of NeedsCleanup.