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) ControllerConfig() (controller.Config, error)
- func (m *MockBackend) EXPECT() *MockBackendMockRecorder
- func (m *MockBackend) Export() (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) ControllerConfig() *gomock.Call
- func (mr *MockBackendMockRecorder) Export() *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 MockExternalController
- type MockExternalControllerMockRecorder
- 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 interface{}) *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 interface{}) *gomock.Call
- func (mr *MockModelMigrationMockRecorder) SetStatusMessage(arg0 interface{}) *gomock.Call
- func (mr *MockModelMigrationMockRecorder) StartTime() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) StatusMessage() *gomock.Call
- func (mr *MockModelMigrationMockRecorder) SubmitMinionReport(arg0, arg1, arg2 interface{}) *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 MockOfferConnection
- func (m *MockOfferConnection) EXPECT() *MockOfferConnectionMockRecorder
- func (m *MockOfferConnection) OfferUUID() string
- func (m *MockOfferConnection) RelationId() int
- func (m *MockOfferConnection) RelationKey() string
- func (m *MockOfferConnection) SourceModelUUID() string
- func (m *MockOfferConnection) UserName() string
- type MockOfferConnectionMockRecorder
- func (mr *MockOfferConnectionMockRecorder) OfferUUID() *gomock.Call
- func (mr *MockOfferConnectionMockRecorder) RelationId() *gomock.Call
- func (mr *MockOfferConnectionMockRecorder) RelationKey() *gomock.Call
- func (mr *MockOfferConnectionMockRecorder) SourceModelUUID() *gomock.Call
- func (mr *MockOfferConnectionMockRecorder) UserName() *gomock.Call
- type MockPrecheckBackend
- func (m *MockPrecheckBackend) AgentVersion() (version.Number, error)
- func (m *MockPrecheckBackend) AllApplications() ([]migration.PrecheckApplication, 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) IsMigrationActive(arg0 string) (bool, error)
- func (m *MockPrecheckBackend) IsUpgrading() (bool, error)
- func (m *MockPrecheckBackend) ListPendingResources(arg0 string) ([]resource.Resource, error)
- func (m *MockPrecheckBackend) Model() (migration.PrecheckModel, error)
- func (m *MockPrecheckBackend) NeedsCleanup() (bool, error)
- type MockPrecheckBackendMockRecorder
- func (mr *MockPrecheckBackendMockRecorder) AgentVersion() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) AllApplications() *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 interface{}) *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) ControllerBackend() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) IsMigrationActive(arg0 interface{}) *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) IsUpgrading() *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) ListPendingResources(arg0 interface{}) *gomock.Call
- func (mr *MockPrecheckBackendMockRecorder) Model() *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) 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() (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) ControllerConfig ¶
func (mr *MockBackendMockRecorder) ControllerConfig() *gomock.Call
ControllerConfig indicates an expected call of ControllerConfig
func (*MockBackendMockRecorder) Export ¶
func (mr *MockBackendMockRecorder) Export() *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 MockExternalController ¶
type MockExternalController struct {
// contains filtered or unexported fields
}
MockExternalController is a mock of ExternalController interface
func NewMockExternalController ¶
func NewMockExternalController(ctrl *gomock.Controller) *MockExternalController
NewMockExternalController creates a new mock instance
func (*MockExternalController) ControllerInfo ¶
func (m *MockExternalController) ControllerInfo() crossmodel.ControllerInfo
ControllerInfo mocks base method
func (*MockExternalController) EXPECT ¶
func (m *MockExternalController) EXPECT() *MockExternalControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockExternalController) Id ¶
func (m *MockExternalController) Id() string
Id mocks base method
type MockExternalControllerMockRecorder ¶
type MockExternalControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockExternalControllerMockRecorder is the mock recorder for MockExternalController
func (*MockExternalControllerMockRecorder) ControllerInfo ¶
func (mr *MockExternalControllerMockRecorder) ControllerInfo() *gomock.Call
ControllerInfo indicates an expected call of ControllerInfo
func (*MockExternalControllerMockRecorder) Id ¶
func (mr *MockExternalControllerMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id
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 interface{}) *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 interface{}) *gomock.Call
SetPhase indicates an expected call of SetPhase
func (*MockModelMigrationMockRecorder) SetStatusMessage ¶
func (mr *MockModelMigrationMockRecorder) SetStatusMessage(arg0 interface{}) *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 interface{}) *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 MockOfferConnection ¶
type MockOfferConnection struct {
// contains filtered or unexported fields
}
MockOfferConnection is a mock of OfferConnection interface
func NewMockOfferConnection ¶
func NewMockOfferConnection(ctrl *gomock.Controller) *MockOfferConnection
NewMockOfferConnection creates a new mock instance
func (*MockOfferConnection) EXPECT ¶
func (m *MockOfferConnection) EXPECT() *MockOfferConnectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOfferConnection) OfferUUID ¶
func (m *MockOfferConnection) OfferUUID() string
OfferUUID mocks base method
func (*MockOfferConnection) RelationId ¶
func (m *MockOfferConnection) RelationId() int
RelationId mocks base method
func (*MockOfferConnection) RelationKey ¶
func (m *MockOfferConnection) RelationKey() string
RelationKey mocks base method
func (*MockOfferConnection) SourceModelUUID ¶
func (m *MockOfferConnection) SourceModelUUID() string
SourceModelUUID mocks base method
func (*MockOfferConnection) UserName ¶
func (m *MockOfferConnection) UserName() string
UserName mocks base method
type MockOfferConnectionMockRecorder ¶
type MockOfferConnectionMockRecorder struct {
// contains filtered or unexported fields
}
MockOfferConnectionMockRecorder is the mock recorder for MockOfferConnection
func (*MockOfferConnectionMockRecorder) OfferUUID ¶
func (mr *MockOfferConnectionMockRecorder) OfferUUID() *gomock.Call
OfferUUID indicates an expected call of OfferUUID
func (*MockOfferConnectionMockRecorder) RelationId ¶
func (mr *MockOfferConnectionMockRecorder) RelationId() *gomock.Call
RelationId indicates an expected call of RelationId
func (*MockOfferConnectionMockRecorder) RelationKey ¶
func (mr *MockOfferConnectionMockRecorder) RelationKey() *gomock.Call
RelationKey indicates an expected call of RelationKey
func (*MockOfferConnectionMockRecorder) SourceModelUUID ¶
func (mr *MockOfferConnectionMockRecorder) SourceModelUUID() *gomock.Call
SourceModelUUID indicates an expected call of SourceModelUUID
func (*MockOfferConnectionMockRecorder) UserName ¶
func (mr *MockOfferConnectionMockRecorder) UserName() *gomock.Call
UserName indicates an expected call of UserName
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) 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) 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) ListPendingResources ¶
func (m *MockPrecheckBackend) ListPendingResources(arg0 string) ([]resource.Resource, error)
ListPendingResources mocks base method
func (*MockPrecheckBackend) Model ¶
func (m *MockPrecheckBackend) Model() (migration.PrecheckModel, error)
Model 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) 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 interface{}) *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) IsMigrationActive ¶
func (mr *MockPrecheckBackendMockRecorder) IsMigrationActive(arg0 interface{}) *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) ListPendingResources ¶
func (mr *MockPrecheckBackendMockRecorder) ListPendingResources(arg0 interface{}) *gomock.Call
ListPendingResources indicates an expected call of ListPendingResources
func (*MockPrecheckBackendMockRecorder) Model ¶
func (mr *MockPrecheckBackendMockRecorder) Model() *gomock.Call
Model indicates an expected call of Model
func (*MockPrecheckBackendMockRecorder) NeedsCleanup ¶
func (mr *MockPrecheckBackendMockRecorder) NeedsCleanup() *gomock.Call
NeedsCleanup indicates an expected call of NeedsCleanup