Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockApplication
- type MockApplicationMockRecorder
- type MockAuthorizer
- type MockAuthorizerMockRecorder
- type MockBackend
- func (m *MockBackend) AddMachineInsideMachine(arg0 state.MachineTemplate, arg1 string, arg2 instance.ContainerType) (*state.Machine, error)
- func (m *MockBackend) AddMachineInsideNewMachine(arg0, arg1 state.MachineTemplate, arg2 instance.ContainerType) (*state.Machine, error)
- func (m *MockBackend) AddOneMachine(arg0 state.MachineTemplate) (*state.Machine, error)
- func (m *MockBackend) AllMachines() ([]machinemanager.Machine, error)
- func (m *MockBackend) AllSpaceInfos() (network.SpaceInfos, error)
- func (m *MockBackend) Application(arg0 string) (machinemanager.Application, error)
- func (m *MockBackend) EXPECT() *MockBackendMockRecorder
- func (m *MockBackend) GetBlockForType(arg0 state.BlockType) (state.Block, bool, error)
- func (m *MockBackend) Machine(arg0 string) (machinemanager.Machine, error)
- func (m *MockBackend) Model() (machinemanager.Model, error)
- func (m *MockBackend) ToolsStorage() (binarystorage.StorageCloser, error)
- func (m *MockBackend) Unit(arg0 string) (machinemanager.Unit, error)
- type MockBackendMockRecorder
- func (mr *MockBackendMockRecorder) AddMachineInsideMachine(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockBackendMockRecorder) AddMachineInsideNewMachine(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockBackendMockRecorder) AddOneMachine(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) AllMachines() *gomock.Call
- func (mr *MockBackendMockRecorder) AllSpaceInfos() *gomock.Call
- func (mr *MockBackendMockRecorder) Application(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) GetBlockForType(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) Machine(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) Model() *gomock.Call
- func (mr *MockBackendMockRecorder) ToolsStorage() *gomock.Call
- func (mr *MockBackendMockRecorder) Unit(arg0 any) *gomock.Call
- type MockBlock
- type MockBlockMockRecorder
- type MockCharm
- type MockCharmMockRecorder
- type MockCharmhubClient
- type MockCharmhubClientMockRecorder
- type MockControllerBackend
- func (m *MockControllerBackend) APIHostPortsForAgents() ([]network.SpaceHostPorts, error)
- func (m *MockControllerBackend) ControllerConfig() (controller.Config, error)
- func (m *MockControllerBackend) ControllerTag() names.ControllerTag
- func (m *MockControllerBackend) EXPECT() *MockControllerBackendMockRecorder
- type MockControllerBackendMockRecorder
- type MockEnviron
- func (m *MockEnviron) AdoptResources(arg0 context.ProviderCallContext, arg1 string, arg2 version.Number) error
- func (m *MockEnviron) AllInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
- func (m *MockEnviron) AllRunningInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
- func (m *MockEnviron) Bootstrap(arg0 environs.BootstrapContext, arg1 context.ProviderCallContext, ...) (*environs.BootstrapResult, error)
- func (m *MockEnviron) Config() *config.Config
- func (m *MockEnviron) ConstraintsValidator(arg0 context.ProviderCallContext) (constraints.Validator, error)
- func (m *MockEnviron) ControllerInstances(arg0 context.ProviderCallContext, arg1 string) ([]instance.Id, error)
- func (m *MockEnviron) Create(arg0 context.ProviderCallContext, arg1 environs.CreateParams) error
- func (m *MockEnviron) Destroy(arg0 context.ProviderCallContext) error
- func (m *MockEnviron) DestroyController(arg0 context.ProviderCallContext, arg1 string) error
- func (m *MockEnviron) EXPECT() *MockEnvironMockRecorder
- func (m *MockEnviron) InstanceTypes(arg0 context.ProviderCallContext, arg1 constraints.Value) (instances.InstanceTypesWithCostMetadata, error)
- func (m *MockEnviron) Instances(arg0 context.ProviderCallContext, arg1 []instance.Id) ([]instances.Instance, error)
- func (m *MockEnviron) PrecheckInstance(arg0 context.ProviderCallContext, arg1 environs.PrecheckInstanceParams) error
- func (m *MockEnviron) PrepareForBootstrap(arg0 environs.BootstrapContext, arg1 string) error
- func (m *MockEnviron) Provider() environs.EnvironProvider
- func (m *MockEnviron) SetConfig(arg0 *config.Config) error
- func (m *MockEnviron) StartInstance(arg0 context.ProviderCallContext, arg1 environs.StartInstanceParams) (*environs.StartInstanceResult, error)
- func (m *MockEnviron) StopInstances(arg0 context.ProviderCallContext, arg1 ...instance.Id) error
- func (m *MockEnviron) StorageProvider(arg0 storage.ProviderType) (storage.Provider, error)
- func (m *MockEnviron) StorageProviderTypes() ([]storage.ProviderType, error)
- type MockEnvironMockRecorder
- func (mr *MockEnvironMockRecorder) AdoptResources(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) AllInstances(arg0 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) AllRunningInstances(arg0 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) Bootstrap(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) Config() *gomock.Call
- func (mr *MockEnvironMockRecorder) ConstraintsValidator(arg0 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) ControllerInstances(arg0, arg1 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) Create(arg0, arg1 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) Destroy(arg0 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) DestroyController(arg0, arg1 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) InstanceTypes(arg0, arg1 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) Instances(arg0, arg1 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) PrecheckInstance(arg0, arg1 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) PrepareForBootstrap(arg0, arg1 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) Provider() *gomock.Call
- func (mr *MockEnvironMockRecorder) SetConfig(arg0 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) StartInstance(arg0, arg1 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) StopInstances(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockEnvironMockRecorder) StorageProvider(arg0 any) *gomock.Call
- func (mr *MockEnvironMockRecorder) StorageProviderTypes() *gomock.Call
- type MockInstanceConfigBackend
- func (m *MockInstanceConfigBackend) EXPECT() *MockInstanceConfigBackendMockRecorder
- func (m *MockInstanceConfigBackend) Machine(arg0 string) (machinemanager.Machine, error)
- func (m *MockInstanceConfigBackend) Model() (machinemanager.Model, error)
- func (m *MockInstanceConfigBackend) ToolsStorage() (binarystorage.StorageCloser, error)
- type MockInstanceConfigBackendMockRecorder
- type MockLeadership
- type MockLeadershipMockRecorder
- type MockMachine
- func (m *MockMachine) ApplicationNames() ([]string, error)
- func (m *MockMachine) Base() state.Base
- func (m *MockMachine) CompleteUpgradeSeries() error
- func (m *MockMachine) Containers() ([]string, error)
- func (m *MockMachine) CreateUpgradeSeriesLock(arg0 []string, arg1 state.Base) error
- func (m *MockMachine) Destroy() error
- func (m *MockMachine) EXPECT() *MockMachineMockRecorder
- func (m *MockMachine) ForceDestroy(arg0 time.Duration) error
- func (m *MockMachine) GetUpgradeSeriesMessages() ([]string, bool, error)
- func (m *MockMachine) HardwareCharacteristics() (*instance.HardwareCharacteristics, error)
- func (m *MockMachine) Id() string
- func (m *MockMachine) InstanceStatus() (status.StatusInfo, error)
- func (m *MockMachine) IsLockedForSeriesUpgrade() (bool, error)
- func (m *MockMachine) IsManager() bool
- func (m *MockMachine) Principals() []string
- func (m *MockMachine) RemoveUpgradeSeriesLock() error
- func (m *MockMachine) SetInstanceStatus(arg0 status.StatusInfo) error
- func (m *MockMachine) SetKeepInstance(arg0 bool) error
- func (m *MockMachine) SetPassword(arg0 string) error
- func (m *MockMachine) SetUpgradeSeriesStatus(arg0 model.UpgradeSeriesStatus, arg1 string) error
- func (m *MockMachine) Tag() names.Tag
- func (m *MockMachine) Units() ([]machinemanager.Unit, error)
- func (m *MockMachine) UpgradeSeriesStatus() (model.UpgradeSeriesStatus, error)
- func (m *MockMachine) WatchUpgradeSeriesNotifications() (state.NotifyWatcher, error)
- type MockMachineMockRecorder
- func (mr *MockMachineMockRecorder) ApplicationNames() *gomock.Call
- func (mr *MockMachineMockRecorder) Base() *gomock.Call
- func (mr *MockMachineMockRecorder) CompleteUpgradeSeries() *gomock.Call
- func (mr *MockMachineMockRecorder) Containers() *gomock.Call
- func (mr *MockMachineMockRecorder) CreateUpgradeSeriesLock(arg0, arg1 any) *gomock.Call
- func (mr *MockMachineMockRecorder) Destroy() *gomock.Call
- func (mr *MockMachineMockRecorder) ForceDestroy(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) GetUpgradeSeriesMessages() *gomock.Call
- func (mr *MockMachineMockRecorder) HardwareCharacteristics() *gomock.Call
- func (mr *MockMachineMockRecorder) Id() *gomock.Call
- func (mr *MockMachineMockRecorder) InstanceStatus() *gomock.Call
- func (mr *MockMachineMockRecorder) IsLockedForSeriesUpgrade() *gomock.Call
- func (mr *MockMachineMockRecorder) IsManager() *gomock.Call
- func (mr *MockMachineMockRecorder) Principals() *gomock.Call
- func (mr *MockMachineMockRecorder) RemoveUpgradeSeriesLock() *gomock.Call
- func (mr *MockMachineMockRecorder) SetInstanceStatus(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) SetKeepInstance(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) SetPassword(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) SetUpgradeSeriesStatus(arg0, arg1 any) *gomock.Call
- func (mr *MockMachineMockRecorder) Tag() *gomock.Call
- func (mr *MockMachineMockRecorder) Units() *gomock.Call
- func (mr *MockMachineMockRecorder) UpgradeSeriesStatus() *gomock.Call
- func (mr *MockMachineMockRecorder) WatchUpgradeSeriesNotifications() *gomock.Call
- type MockModel
- func (m *MockModel) Cloud() (cloud.Cloud, error)
- func (m *MockModel) CloudCredential() (state.Credential, bool, error)
- func (m *MockModel) CloudRegion() string
- func (m *MockModel) Config() (*config.Config, error)
- func (m *MockModel) ControllerUUID() string
- func (m *MockModel) EXPECT() *MockModelMockRecorder
- func (m *MockModel) ModelTag() names.ModelTag
- func (m *MockModel) Name() string
- func (m *MockModel) Type() state.ModelType
- func (m *MockModel) UUID() string
- type MockModelMockRecorder
- func (mr *MockModelMockRecorder) Cloud() *gomock.Call
- func (mr *MockModelMockRecorder) CloudCredential() *gomock.Call
- func (mr *MockModelMockRecorder) CloudRegion() *gomock.Call
- func (mr *MockModelMockRecorder) Config() *gomock.Call
- func (mr *MockModelMockRecorder) ControllerUUID() *gomock.Call
- func (mr *MockModelMockRecorder) ModelTag() *gomock.Call
- func (mr *MockModelMockRecorder) Name() *gomock.Call
- func (mr *MockModelMockRecorder) Type() *gomock.Call
- func (mr *MockModelMockRecorder) UUID() *gomock.Call
- type MockPool
- type MockPoolMockRecorder
- type MockStorageAttachment
- type MockStorageAttachmentMockRecorder
- type MockStorageCloser
- func (m *MockStorageCloser) Add(arg0 io.Reader, arg1 binarystorage.Metadata) error
- func (m *MockStorageCloser) AllMetadata() ([]binarystorage.Metadata, error)
- func (m *MockStorageCloser) Close() error
- func (m *MockStorageCloser) EXPECT() *MockStorageCloserMockRecorder
- func (m *MockStorageCloser) Metadata(arg0 string) (binarystorage.Metadata, error)
- func (m *MockStorageCloser) Open(arg0 string) (binarystorage.Metadata, io.ReadCloser, error)
- type MockStorageCloserMockRecorder
- func (mr *MockStorageCloserMockRecorder) Add(arg0, arg1 any) *gomock.Call
- func (mr *MockStorageCloserMockRecorder) AllMetadata() *gomock.Call
- func (mr *MockStorageCloserMockRecorder) Close() *gomock.Call
- func (mr *MockStorageCloserMockRecorder) Metadata(arg0 any) *gomock.Call
- func (mr *MockStorageCloserMockRecorder) Open(arg0 any) *gomock.Call
- type MockStorageInstance
- func (m *MockStorageInstance) EXPECT() *MockStorageInstanceMockRecorder
- func (m *MockStorageInstance) Kind() state.StorageKind
- func (m *MockStorageInstance) Life() state.Life
- func (m *MockStorageInstance) Owner() (names.Tag, bool)
- func (m *MockStorageInstance) Pool() string
- func (m *MockStorageInstance) StorageName() string
- func (m *MockStorageInstance) StorageTag() names.StorageTag
- func (m *MockStorageInstance) Tag() names.Tag
- type MockStorageInstanceMockRecorder
- func (mr *MockStorageInstanceMockRecorder) Kind() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) Life() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) Owner() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) Pool() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) StorageName() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) StorageTag() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) Tag() *gomock.Call
- type MockStorageInterface
- func (m *MockStorageInterface) EXPECT() *MockStorageInterfaceMockRecorder
- func (m *MockStorageInterface) FilesystemAccess() storagecommon.FilesystemAccess
- func (m *MockStorageInterface) StorageInstance(arg0 names.StorageTag) (state.StorageInstance, error)
- func (m *MockStorageInterface) UnitStorageAttachments(arg0 names.UnitTag) ([]state.StorageAttachment, error)
- func (m *MockStorageInterface) VolumeAccess() storagecommon.VolumeAccess
- type MockStorageInterfaceMockRecorder
- func (mr *MockStorageInterfaceMockRecorder) FilesystemAccess() *gomock.Call
- func (mr *MockStorageInterfaceMockRecorder) StorageInstance(arg0 any) *gomock.Call
- func (mr *MockStorageInterfaceMockRecorder) UnitStorageAttachments(arg0 any) *gomock.Call
- func (mr *MockStorageInterfaceMockRecorder) VolumeAccess() *gomock.Call
- type MockUnit
- type MockUnitMockRecorder
- type MockUpgradeBaseValidator
- func (m *MockUpgradeBaseValidator) EXPECT() *MockUpgradeBaseValidatorMockRecorder
- func (m *MockUpgradeBaseValidator) ValidateApplications(arg0 []machinemanager.Application, arg1 base.Base, arg2 bool) error
- func (m *MockUpgradeBaseValidator) ValidateBase(arg0, arg1 base.Base, arg2 string) error
- func (m *MockUpgradeBaseValidator) ValidateMachine(arg0 machinemanager.Machine) error
- func (m *MockUpgradeBaseValidator) ValidateUnits(arg0 []machinemanager.Unit) error
- type MockUpgradeBaseValidatorMockRecorder
- func (mr *MockUpgradeBaseValidatorMockRecorder) ValidateApplications(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockUpgradeBaseValidatorMockRecorder) ValidateBase(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockUpgradeBaseValidatorMockRecorder) ValidateMachine(arg0 any) *gomock.Call
- func (mr *MockUpgradeBaseValidatorMockRecorder) ValidateUnits(arg0 any) *gomock.Call
- type MockUpgradeSeries
- func (m *MockUpgradeSeries) Complete(arg0 string) error
- func (m *MockUpgradeSeries) EXPECT() *MockUpgradeSeriesMockRecorder
- func (m *MockUpgradeSeries) Prepare(arg0, arg1 string, arg2 bool) error
- func (m *MockUpgradeSeries) Validate(arg0 []machinemanager.ValidationEntity) ([]machinemanager.ValidationResult, error)
- type MockUpgradeSeriesMockRecorder
- type MockUpgradeSeriesState
- type MockUpgradeSeriesStateMockRecorder
- type MockVolumeAccess
- func (m *MockVolumeAccess) BlockDevices(arg0 names.MachineTag) ([]state.BlockDeviceInfo, error)
- func (m *MockVolumeAccess) EXPECT() *MockVolumeAccessMockRecorder
- func (m *MockVolumeAccess) StorageInstanceVolume(arg0 names.StorageTag) (state.Volume, error)
- func (m *MockVolumeAccess) VolumeAttachment(arg0 names.Tag, arg1 names.VolumeTag) (state.VolumeAttachment, error)
- func (m *MockVolumeAccess) VolumeAttachmentPlan(arg0 names.Tag, arg1 names.VolumeTag) (state.VolumeAttachmentPlan, error)
- type MockVolumeAccessMockRecorder
- func (mr *MockVolumeAccessMockRecorder) BlockDevices(arg0 any) *gomock.Call
- func (mr *MockVolumeAccessMockRecorder) StorageInstanceVolume(arg0 any) *gomock.Call
- func (mr *MockVolumeAccessMockRecorder) VolumeAttachment(arg0, arg1 any) *gomock.Call
- func (mr *MockVolumeAccessMockRecorder) VolumeAttachmentPlan(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplication ¶
type MockApplication struct {
// contains filtered or unexported fields
}
MockApplication is a mock of Application interface.
func NewMockApplication ¶
func NewMockApplication(ctrl *gomock.Controller) *MockApplication
NewMockApplication creates a new mock instance.
func (*MockApplication) Charm ¶
func (m *MockApplication) Charm() (machinemanager.Charm, bool, error)
Charm mocks base method.
func (*MockApplication) CharmOrigin ¶
func (m *MockApplication) CharmOrigin() *state.CharmOrigin
CharmOrigin mocks base method.
func (*MockApplication) EXPECT ¶
func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockApplicationMockRecorder ¶
type MockApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationMockRecorder is the mock recorder for MockApplication.
func (*MockApplicationMockRecorder) Charm ¶
func (mr *MockApplicationMockRecorder) Charm() *gomock.Call
Charm indicates an expected call of Charm.
func (*MockApplicationMockRecorder) CharmOrigin ¶
func (mr *MockApplicationMockRecorder) CharmOrigin() *gomock.Call
CharmOrigin indicates an expected call of CharmOrigin.
func (*MockApplicationMockRecorder) Name ¶
func (mr *MockApplicationMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockAuthorizer ¶
type MockAuthorizer struct {
// contains filtered or unexported fields
}
MockAuthorizer is a mock of Authorizer interface.
func NewMockAuthorizer ¶
func NewMockAuthorizer(ctrl *gomock.Controller) *MockAuthorizer
NewMockAuthorizer creates a new mock instance.
func (*MockAuthorizer) AuthClient ¶
func (m *MockAuthorizer) AuthClient() bool
AuthClient mocks base method.
func (*MockAuthorizer) CanRead ¶
func (m *MockAuthorizer) CanRead() error
CanRead mocks base method.
func (*MockAuthorizer) CanWrite ¶
func (m *MockAuthorizer) CanWrite() error
CanWrite mocks base method.
func (*MockAuthorizer) EXPECT ¶
func (m *MockAuthorizer) EXPECT() *MockAuthorizerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAuthorizerMockRecorder ¶
type MockAuthorizerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizerMockRecorder is the mock recorder for MockAuthorizer.
func (*MockAuthorizerMockRecorder) AuthClient ¶
func (mr *MockAuthorizerMockRecorder) AuthClient() *gomock.Call
AuthClient indicates an expected call of AuthClient.
func (*MockAuthorizerMockRecorder) CanRead ¶
func (mr *MockAuthorizerMockRecorder) CanRead() *gomock.Call
CanRead indicates an expected call of CanRead.
func (*MockAuthorizerMockRecorder) CanWrite ¶
func (mr *MockAuthorizerMockRecorder) CanWrite() *gomock.Call
CanWrite indicates an expected call of CanWrite.
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) AddMachineInsideMachine ¶
func (m *MockBackend) AddMachineInsideMachine(arg0 state.MachineTemplate, arg1 string, arg2 instance.ContainerType) (*state.Machine, error)
AddMachineInsideMachine mocks base method.
func (*MockBackend) AddMachineInsideNewMachine ¶
func (m *MockBackend) AddMachineInsideNewMachine(arg0, arg1 state.MachineTemplate, arg2 instance.ContainerType) (*state.Machine, error)
AddMachineInsideNewMachine mocks base method.
func (*MockBackend) AddOneMachine ¶
func (m *MockBackend) AddOneMachine(arg0 state.MachineTemplate) (*state.Machine, error)
AddOneMachine mocks base method.
func (*MockBackend) AllMachines ¶
func (m *MockBackend) AllMachines() ([]machinemanager.Machine, error)
AllMachines mocks base method.
func (*MockBackend) AllSpaceInfos ¶
func (m *MockBackend) AllSpaceInfos() (network.SpaceInfos, error)
AllSpaceInfos mocks base method.
func (*MockBackend) Application ¶
func (m *MockBackend) Application(arg0 string) (machinemanager.Application, error)
Application 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) GetBlockForType ¶
GetBlockForType mocks base method.
func (*MockBackend) Machine ¶
func (m *MockBackend) Machine(arg0 string) (machinemanager.Machine, error)
Machine mocks base method.
func (*MockBackend) Model ¶
func (m *MockBackend) Model() (machinemanager.Model, error)
Model mocks base method.
func (*MockBackend) ToolsStorage ¶
func (m *MockBackend) ToolsStorage() (binarystorage.StorageCloser, error)
ToolsStorage mocks base method.
func (*MockBackend) Unit ¶
func (m *MockBackend) Unit(arg0 string) (machinemanager.Unit, error)
Unit mocks base method.
type MockBackendMockRecorder ¶
type MockBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendMockRecorder is the mock recorder for MockBackend.
func (*MockBackendMockRecorder) AddMachineInsideMachine ¶
func (mr *MockBackendMockRecorder) AddMachineInsideMachine(arg0, arg1, arg2 any) *gomock.Call
AddMachineInsideMachine indicates an expected call of AddMachineInsideMachine.
func (*MockBackendMockRecorder) AddMachineInsideNewMachine ¶
func (mr *MockBackendMockRecorder) AddMachineInsideNewMachine(arg0, arg1, arg2 any) *gomock.Call
AddMachineInsideNewMachine indicates an expected call of AddMachineInsideNewMachine.
func (*MockBackendMockRecorder) AddOneMachine ¶
func (mr *MockBackendMockRecorder) AddOneMachine(arg0 any) *gomock.Call
AddOneMachine indicates an expected call of AddOneMachine.
func (*MockBackendMockRecorder) AllMachines ¶
func (mr *MockBackendMockRecorder) AllMachines() *gomock.Call
AllMachines indicates an expected call of AllMachines.
func (*MockBackendMockRecorder) AllSpaceInfos ¶
func (mr *MockBackendMockRecorder) AllSpaceInfos() *gomock.Call
AllSpaceInfos indicates an expected call of AllSpaceInfos.
func (*MockBackendMockRecorder) Application ¶
func (mr *MockBackendMockRecorder) Application(arg0 any) *gomock.Call
Application indicates an expected call of Application.
func (*MockBackendMockRecorder) GetBlockForType ¶
func (mr *MockBackendMockRecorder) GetBlockForType(arg0 any) *gomock.Call
GetBlockForType indicates an expected call of GetBlockForType.
func (*MockBackendMockRecorder) Machine ¶
func (mr *MockBackendMockRecorder) Machine(arg0 any) *gomock.Call
Machine indicates an expected call of Machine.
func (*MockBackendMockRecorder) Model ¶
func (mr *MockBackendMockRecorder) Model() *gomock.Call
Model indicates an expected call of Model.
func (*MockBackendMockRecorder) ToolsStorage ¶
func (mr *MockBackendMockRecorder) ToolsStorage() *gomock.Call
ToolsStorage indicates an expected call of ToolsStorage.
type MockBlock ¶
type MockBlock struct {
// contains filtered or unexported fields
}
MockBlock is a mock of Block interface.
func NewMockBlock ¶
func NewMockBlock(ctrl *gomock.Controller) *MockBlock
NewMockBlock creates a new mock instance.
func (*MockBlock) EXPECT ¶
func (m *MockBlock) EXPECT() *MockBlockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBlockMockRecorder ¶
type MockBlockMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockMockRecorder is the mock recorder for MockBlock.
func (*MockBlockMockRecorder) Id ¶
func (mr *MockBlockMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockBlockMockRecorder) Message ¶
func (mr *MockBlockMockRecorder) Message() *gomock.Call
Message indicates an expected call of Message.
func (*MockBlockMockRecorder) ModelUUID ¶
func (mr *MockBlockMockRecorder) ModelUUID() *gomock.Call
ModelUUID indicates an expected call of ModelUUID.
func (*MockBlockMockRecorder) Tag ¶
func (mr *MockBlockMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag.
func (*MockBlockMockRecorder) Type ¶
func (mr *MockBlockMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
type MockCharm ¶
type MockCharm struct {
// contains filtered or unexported fields
}
MockCharm is a mock of Charm interface.
func NewMockCharm ¶
func NewMockCharm(ctrl *gomock.Controller) *MockCharm
NewMockCharm creates a new mock instance.
func (*MockCharm) EXPECT ¶
func (m *MockCharm) EXPECT() *MockCharmMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCharmMockRecorder ¶
type MockCharmMockRecorder struct {
// contains filtered or unexported fields
}
MockCharmMockRecorder is the mock recorder for MockCharm.
func (*MockCharmMockRecorder) Manifest ¶
func (mr *MockCharmMockRecorder) Manifest() *gomock.Call
Manifest indicates an expected call of Manifest.
func (*MockCharmMockRecorder) Meta ¶
func (mr *MockCharmMockRecorder) Meta() *gomock.Call
Meta indicates an expected call of Meta.
type MockCharmhubClient ¶
type MockCharmhubClient struct {
// contains filtered or unexported fields
}
MockCharmhubClient is a mock of CharmhubClient interface.
func NewMockCharmhubClient ¶
func NewMockCharmhubClient(ctrl *gomock.Controller) *MockCharmhubClient
NewMockCharmhubClient creates a new mock instance.
func (*MockCharmhubClient) EXPECT ¶
func (m *MockCharmhubClient) EXPECT() *MockCharmhubClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCharmhubClient) Refresh ¶
func (m *MockCharmhubClient) Refresh(arg0 context.Context, arg1 charmhub.RefreshConfig) ([]transport.RefreshResponse, error)
Refresh mocks base method.
type MockCharmhubClientMockRecorder ¶
type MockCharmhubClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCharmhubClientMockRecorder is the mock recorder for MockCharmhubClient.
type MockControllerBackend ¶
type MockControllerBackend struct {
// contains filtered or unexported fields
}
MockControllerBackend is a mock of ControllerBackend interface.
func NewMockControllerBackend ¶
func NewMockControllerBackend(ctrl *gomock.Controller) *MockControllerBackend
NewMockControllerBackend creates a new mock instance.
func (*MockControllerBackend) APIHostPortsForAgents ¶
func (m *MockControllerBackend) APIHostPortsForAgents() ([]network.SpaceHostPorts, error)
APIHostPortsForAgents mocks base method.
func (*MockControllerBackend) ControllerConfig ¶
func (m *MockControllerBackend) ControllerConfig() (controller.Config, error)
ControllerConfig mocks base method.
func (*MockControllerBackend) ControllerTag ¶
func (m *MockControllerBackend) ControllerTag() names.ControllerTag
ControllerTag mocks base method.
func (*MockControllerBackend) EXPECT ¶
func (m *MockControllerBackend) EXPECT() *MockControllerBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockControllerBackendMockRecorder ¶
type MockControllerBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockControllerBackendMockRecorder is the mock recorder for MockControllerBackend.
func (*MockControllerBackendMockRecorder) APIHostPortsForAgents ¶
func (mr *MockControllerBackendMockRecorder) APIHostPortsForAgents() *gomock.Call
APIHostPortsForAgents indicates an expected call of APIHostPortsForAgents.
func (*MockControllerBackendMockRecorder) ControllerConfig ¶
func (mr *MockControllerBackendMockRecorder) ControllerConfig() *gomock.Call
ControllerConfig indicates an expected call of ControllerConfig.
func (*MockControllerBackendMockRecorder) ControllerTag ¶
func (mr *MockControllerBackendMockRecorder) ControllerTag() *gomock.Call
ControllerTag indicates an expected call of ControllerTag.
type MockEnviron ¶
type MockEnviron struct {
// contains filtered or unexported fields
}
MockEnviron is a mock of Environ interface.
func NewMockEnviron ¶
func NewMockEnviron(ctrl *gomock.Controller) *MockEnviron
NewMockEnviron creates a new mock instance.
func (*MockEnviron) AdoptResources ¶
func (m *MockEnviron) AdoptResources(arg0 context.ProviderCallContext, arg1 string, arg2 version.Number) error
AdoptResources mocks base method.
func (*MockEnviron) AllInstances ¶
func (m *MockEnviron) AllInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
AllInstances mocks base method.
func (*MockEnviron) AllRunningInstances ¶
func (m *MockEnviron) AllRunningInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
AllRunningInstances mocks base method.
func (*MockEnviron) Bootstrap ¶
func (m *MockEnviron) Bootstrap(arg0 environs.BootstrapContext, arg1 context.ProviderCallContext, arg2 environs.BootstrapParams) (*environs.BootstrapResult, error)
Bootstrap mocks base method.
func (*MockEnviron) Config ¶
func (m *MockEnviron) Config() *config.Config
Config mocks base method.
func (*MockEnviron) ConstraintsValidator ¶
func (m *MockEnviron) ConstraintsValidator(arg0 context.ProviderCallContext) (constraints.Validator, error)
ConstraintsValidator mocks base method.
func (*MockEnviron) ControllerInstances ¶
func (m *MockEnviron) ControllerInstances(arg0 context.ProviderCallContext, arg1 string) ([]instance.Id, error)
ControllerInstances mocks base method.
func (*MockEnviron) Create ¶
func (m *MockEnviron) Create(arg0 context.ProviderCallContext, arg1 environs.CreateParams) error
Create mocks base method.
func (*MockEnviron) Destroy ¶
func (m *MockEnviron) Destroy(arg0 context.ProviderCallContext) error
Destroy mocks base method.
func (*MockEnviron) DestroyController ¶
func (m *MockEnviron) DestroyController(arg0 context.ProviderCallContext, arg1 string) error
DestroyController mocks base method.
func (*MockEnviron) EXPECT ¶
func (m *MockEnviron) EXPECT() *MockEnvironMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEnviron) InstanceTypes ¶
func (m *MockEnviron) InstanceTypes(arg0 context.ProviderCallContext, arg1 constraints.Value) (instances.InstanceTypesWithCostMetadata, error)
InstanceTypes mocks base method.
func (*MockEnviron) Instances ¶
func (m *MockEnviron) Instances(arg0 context.ProviderCallContext, arg1 []instance.Id) ([]instances.Instance, error)
Instances mocks base method.
func (*MockEnviron) PrecheckInstance ¶
func (m *MockEnviron) PrecheckInstance(arg0 context.ProviderCallContext, arg1 environs.PrecheckInstanceParams) error
PrecheckInstance mocks base method.
func (*MockEnviron) PrepareForBootstrap ¶
func (m *MockEnviron) PrepareForBootstrap(arg0 environs.BootstrapContext, arg1 string) error
PrepareForBootstrap mocks base method.
func (*MockEnviron) Provider ¶
func (m *MockEnviron) Provider() environs.EnvironProvider
Provider mocks base method.
func (*MockEnviron) SetConfig ¶
func (m *MockEnviron) SetConfig(arg0 *config.Config) error
SetConfig mocks base method.
func (*MockEnviron) StartInstance ¶
func (m *MockEnviron) StartInstance(arg0 context.ProviderCallContext, arg1 environs.StartInstanceParams) (*environs.StartInstanceResult, error)
StartInstance mocks base method.
func (*MockEnviron) StopInstances ¶
func (m *MockEnviron) StopInstances(arg0 context.ProviderCallContext, arg1 ...instance.Id) error
StopInstances mocks base method.
func (*MockEnviron) StorageProvider ¶
func (m *MockEnviron) StorageProvider(arg0 storage.ProviderType) (storage.Provider, error)
StorageProvider mocks base method.
func (*MockEnviron) StorageProviderTypes ¶
func (m *MockEnviron) StorageProviderTypes() ([]storage.ProviderType, error)
StorageProviderTypes mocks base method.
type MockEnvironMockRecorder ¶
type MockEnvironMockRecorder struct {
// contains filtered or unexported fields
}
MockEnvironMockRecorder is the mock recorder for MockEnviron.
func (*MockEnvironMockRecorder) AdoptResources ¶
func (mr *MockEnvironMockRecorder) AdoptResources(arg0, arg1, arg2 any) *gomock.Call
AdoptResources indicates an expected call of AdoptResources.
func (*MockEnvironMockRecorder) AllInstances ¶
func (mr *MockEnvironMockRecorder) AllInstances(arg0 any) *gomock.Call
AllInstances indicates an expected call of AllInstances.
func (*MockEnvironMockRecorder) AllRunningInstances ¶
func (mr *MockEnvironMockRecorder) AllRunningInstances(arg0 any) *gomock.Call
AllRunningInstances indicates an expected call of AllRunningInstances.
func (*MockEnvironMockRecorder) Bootstrap ¶
func (mr *MockEnvironMockRecorder) Bootstrap(arg0, arg1, arg2 any) *gomock.Call
Bootstrap indicates an expected call of Bootstrap.
func (*MockEnvironMockRecorder) Config ¶
func (mr *MockEnvironMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockEnvironMockRecorder) ConstraintsValidator ¶
func (mr *MockEnvironMockRecorder) ConstraintsValidator(arg0 any) *gomock.Call
ConstraintsValidator indicates an expected call of ConstraintsValidator.
func (*MockEnvironMockRecorder) ControllerInstances ¶
func (mr *MockEnvironMockRecorder) ControllerInstances(arg0, arg1 any) *gomock.Call
ControllerInstances indicates an expected call of ControllerInstances.
func (*MockEnvironMockRecorder) Create ¶
func (mr *MockEnvironMockRecorder) Create(arg0, arg1 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockEnvironMockRecorder) Destroy ¶
func (mr *MockEnvironMockRecorder) Destroy(arg0 any) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockEnvironMockRecorder) DestroyController ¶
func (mr *MockEnvironMockRecorder) DestroyController(arg0, arg1 any) *gomock.Call
DestroyController indicates an expected call of DestroyController.
func (*MockEnvironMockRecorder) InstanceTypes ¶
func (mr *MockEnvironMockRecorder) InstanceTypes(arg0, arg1 any) *gomock.Call
InstanceTypes indicates an expected call of InstanceTypes.
func (*MockEnvironMockRecorder) Instances ¶
func (mr *MockEnvironMockRecorder) Instances(arg0, arg1 any) *gomock.Call
Instances indicates an expected call of Instances.
func (*MockEnvironMockRecorder) PrecheckInstance ¶
func (mr *MockEnvironMockRecorder) PrecheckInstance(arg0, arg1 any) *gomock.Call
PrecheckInstance indicates an expected call of PrecheckInstance.
func (*MockEnvironMockRecorder) PrepareForBootstrap ¶
func (mr *MockEnvironMockRecorder) PrepareForBootstrap(arg0, arg1 any) *gomock.Call
PrepareForBootstrap indicates an expected call of PrepareForBootstrap.
func (*MockEnvironMockRecorder) Provider ¶
func (mr *MockEnvironMockRecorder) Provider() *gomock.Call
Provider indicates an expected call of Provider.
func (*MockEnvironMockRecorder) SetConfig ¶
func (mr *MockEnvironMockRecorder) SetConfig(arg0 any) *gomock.Call
SetConfig indicates an expected call of SetConfig.
func (*MockEnvironMockRecorder) StartInstance ¶
func (mr *MockEnvironMockRecorder) StartInstance(arg0, arg1 any) *gomock.Call
StartInstance indicates an expected call of StartInstance.
func (*MockEnvironMockRecorder) StopInstances ¶
func (mr *MockEnvironMockRecorder) StopInstances(arg0 any, arg1 ...any) *gomock.Call
StopInstances indicates an expected call of StopInstances.
func (*MockEnvironMockRecorder) StorageProvider ¶
func (mr *MockEnvironMockRecorder) StorageProvider(arg0 any) *gomock.Call
StorageProvider indicates an expected call of StorageProvider.
func (*MockEnvironMockRecorder) StorageProviderTypes ¶
func (mr *MockEnvironMockRecorder) StorageProviderTypes() *gomock.Call
StorageProviderTypes indicates an expected call of StorageProviderTypes.
type MockInstanceConfigBackend ¶
type MockInstanceConfigBackend struct {
// contains filtered or unexported fields
}
MockInstanceConfigBackend is a mock of InstanceConfigBackend interface.
func NewMockInstanceConfigBackend ¶
func NewMockInstanceConfigBackend(ctrl *gomock.Controller) *MockInstanceConfigBackend
NewMockInstanceConfigBackend creates a new mock instance.
func (*MockInstanceConfigBackend) EXPECT ¶
func (m *MockInstanceConfigBackend) EXPECT() *MockInstanceConfigBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstanceConfigBackend) Machine ¶
func (m *MockInstanceConfigBackend) Machine(arg0 string) (machinemanager.Machine, error)
Machine mocks base method.
func (*MockInstanceConfigBackend) Model ¶
func (m *MockInstanceConfigBackend) Model() (machinemanager.Model, error)
Model mocks base method.
func (*MockInstanceConfigBackend) ToolsStorage ¶
func (m *MockInstanceConfigBackend) ToolsStorage() (binarystorage.StorageCloser, error)
ToolsStorage mocks base method.
type MockInstanceConfigBackendMockRecorder ¶
type MockInstanceConfigBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceConfigBackendMockRecorder is the mock recorder for MockInstanceConfigBackend.
func (*MockInstanceConfigBackendMockRecorder) Machine ¶
func (mr *MockInstanceConfigBackendMockRecorder) Machine(arg0 any) *gomock.Call
Machine indicates an expected call of Machine.
func (*MockInstanceConfigBackendMockRecorder) Model ¶
func (mr *MockInstanceConfigBackendMockRecorder) Model() *gomock.Call
Model indicates an expected call of Model.
func (*MockInstanceConfigBackendMockRecorder) ToolsStorage ¶
func (mr *MockInstanceConfigBackendMockRecorder) ToolsStorage() *gomock.Call
ToolsStorage indicates an expected call of ToolsStorage.
type MockLeadership ¶
type MockLeadership struct {
// contains filtered or unexported fields
}
MockLeadership is a mock of Leadership interface.
func NewMockLeadership ¶
func NewMockLeadership(ctrl *gomock.Controller) *MockLeadership
NewMockLeadership creates a new mock instance.
func (*MockLeadership) EXPECT ¶
func (m *MockLeadership) EXPECT() *MockLeadershipMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLeadership) GetMachineApplicationNames ¶
func (m *MockLeadership) GetMachineApplicationNames(arg0 string) ([]string, error)
GetMachineApplicationNames mocks base method.
func (*MockLeadership) UnpinApplicationLeadersByName ¶
func (m *MockLeadership) UnpinApplicationLeadersByName(arg0 names.Tag, arg1 []string) (params.PinApplicationsResults, error)
UnpinApplicationLeadersByName mocks base method.
type MockLeadershipMockRecorder ¶
type MockLeadershipMockRecorder struct {
// contains filtered or unexported fields
}
MockLeadershipMockRecorder is the mock recorder for MockLeadership.
func (*MockLeadershipMockRecorder) GetMachineApplicationNames ¶
func (mr *MockLeadershipMockRecorder) GetMachineApplicationNames(arg0 any) *gomock.Call
GetMachineApplicationNames indicates an expected call of GetMachineApplicationNames.
func (*MockLeadershipMockRecorder) UnpinApplicationLeadersByName ¶
func (mr *MockLeadershipMockRecorder) UnpinApplicationLeadersByName(arg0, arg1 any) *gomock.Call
UnpinApplicationLeadersByName indicates an expected call of UnpinApplicationLeadersByName.
type MockMachine ¶
type MockMachine struct {
// contains filtered or unexported fields
}
MockMachine is a mock of Machine interface.
func NewMockMachine ¶
func NewMockMachine(ctrl *gomock.Controller) *MockMachine
NewMockMachine creates a new mock instance.
func (*MockMachine) ApplicationNames ¶
func (m *MockMachine) ApplicationNames() ([]string, error)
ApplicationNames mocks base method.
func (*MockMachine) CompleteUpgradeSeries ¶
func (m *MockMachine) CompleteUpgradeSeries() error
CompleteUpgradeSeries mocks base method.
func (*MockMachine) Containers ¶
func (m *MockMachine) Containers() ([]string, error)
Containers mocks base method.
func (*MockMachine) CreateUpgradeSeriesLock ¶
func (m *MockMachine) CreateUpgradeSeriesLock(arg0 []string, arg1 state.Base) error
CreateUpgradeSeriesLock mocks base method.
func (*MockMachine) EXPECT ¶
func (m *MockMachine) EXPECT() *MockMachineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMachine) ForceDestroy ¶
func (m *MockMachine) ForceDestroy(arg0 time.Duration) error
ForceDestroy mocks base method.
func (*MockMachine) GetUpgradeSeriesMessages ¶
func (m *MockMachine) GetUpgradeSeriesMessages() ([]string, bool, error)
GetUpgradeSeriesMessages mocks base method.
func (*MockMachine) HardwareCharacteristics ¶
func (m *MockMachine) HardwareCharacteristics() (*instance.HardwareCharacteristics, error)
HardwareCharacteristics mocks base method.
func (*MockMachine) InstanceStatus ¶
func (m *MockMachine) InstanceStatus() (status.StatusInfo, error)
InstanceStatus mocks base method.
func (*MockMachine) IsLockedForSeriesUpgrade ¶
func (m *MockMachine) IsLockedForSeriesUpgrade() (bool, error)
IsLockedForSeriesUpgrade mocks base method.
func (*MockMachine) Principals ¶
func (m *MockMachine) Principals() []string
Principals mocks base method.
func (*MockMachine) RemoveUpgradeSeriesLock ¶
func (m *MockMachine) RemoveUpgradeSeriesLock() error
RemoveUpgradeSeriesLock mocks base method.
func (*MockMachine) SetInstanceStatus ¶
func (m *MockMachine) SetInstanceStatus(arg0 status.StatusInfo) error
SetInstanceStatus mocks base method.
func (*MockMachine) SetKeepInstance ¶
func (m *MockMachine) SetKeepInstance(arg0 bool) error
SetKeepInstance mocks base method.
func (*MockMachine) SetPassword ¶
func (m *MockMachine) SetPassword(arg0 string) error
SetPassword mocks base method.
func (*MockMachine) SetUpgradeSeriesStatus ¶
func (m *MockMachine) SetUpgradeSeriesStatus(arg0 model.UpgradeSeriesStatus, arg1 string) error
SetUpgradeSeriesStatus mocks base method.
func (*MockMachine) Units ¶
func (m *MockMachine) Units() ([]machinemanager.Unit, error)
Units mocks base method.
func (*MockMachine) UpgradeSeriesStatus ¶
func (m *MockMachine) UpgradeSeriesStatus() (model.UpgradeSeriesStatus, error)
UpgradeSeriesStatus mocks base method.
func (*MockMachine) WatchUpgradeSeriesNotifications ¶
func (m *MockMachine) WatchUpgradeSeriesNotifications() (state.NotifyWatcher, error)
WatchUpgradeSeriesNotifications mocks base method.
type MockMachineMockRecorder ¶
type MockMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineMockRecorder is the mock recorder for MockMachine.
func (*MockMachineMockRecorder) ApplicationNames ¶
func (mr *MockMachineMockRecorder) ApplicationNames() *gomock.Call
ApplicationNames indicates an expected call of ApplicationNames.
func (*MockMachineMockRecorder) Base ¶
func (mr *MockMachineMockRecorder) Base() *gomock.Call
Base indicates an expected call of Base.
func (*MockMachineMockRecorder) CompleteUpgradeSeries ¶
func (mr *MockMachineMockRecorder) CompleteUpgradeSeries() *gomock.Call
CompleteUpgradeSeries indicates an expected call of CompleteUpgradeSeries.
func (*MockMachineMockRecorder) Containers ¶
func (mr *MockMachineMockRecorder) Containers() *gomock.Call
Containers indicates an expected call of Containers.
func (*MockMachineMockRecorder) CreateUpgradeSeriesLock ¶
func (mr *MockMachineMockRecorder) CreateUpgradeSeriesLock(arg0, arg1 any) *gomock.Call
CreateUpgradeSeriesLock indicates an expected call of CreateUpgradeSeriesLock.
func (*MockMachineMockRecorder) Destroy ¶
func (mr *MockMachineMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockMachineMockRecorder) ForceDestroy ¶
func (mr *MockMachineMockRecorder) ForceDestroy(arg0 any) *gomock.Call
ForceDestroy indicates an expected call of ForceDestroy.
func (*MockMachineMockRecorder) GetUpgradeSeriesMessages ¶
func (mr *MockMachineMockRecorder) GetUpgradeSeriesMessages() *gomock.Call
GetUpgradeSeriesMessages indicates an expected call of GetUpgradeSeriesMessages.
func (*MockMachineMockRecorder) HardwareCharacteristics ¶
func (mr *MockMachineMockRecorder) HardwareCharacteristics() *gomock.Call
HardwareCharacteristics indicates an expected call of HardwareCharacteristics.
func (*MockMachineMockRecorder) Id ¶
func (mr *MockMachineMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockMachineMockRecorder) InstanceStatus ¶
func (mr *MockMachineMockRecorder) InstanceStatus() *gomock.Call
InstanceStatus indicates an expected call of InstanceStatus.
func (*MockMachineMockRecorder) IsLockedForSeriesUpgrade ¶
func (mr *MockMachineMockRecorder) IsLockedForSeriesUpgrade() *gomock.Call
IsLockedForSeriesUpgrade indicates an expected call of IsLockedForSeriesUpgrade.
func (*MockMachineMockRecorder) IsManager ¶
func (mr *MockMachineMockRecorder) IsManager() *gomock.Call
IsManager indicates an expected call of IsManager.
func (*MockMachineMockRecorder) Principals ¶
func (mr *MockMachineMockRecorder) Principals() *gomock.Call
Principals indicates an expected call of Principals.
func (*MockMachineMockRecorder) RemoveUpgradeSeriesLock ¶
func (mr *MockMachineMockRecorder) RemoveUpgradeSeriesLock() *gomock.Call
RemoveUpgradeSeriesLock indicates an expected call of RemoveUpgradeSeriesLock.
func (*MockMachineMockRecorder) SetInstanceStatus ¶
func (mr *MockMachineMockRecorder) SetInstanceStatus(arg0 any) *gomock.Call
SetInstanceStatus indicates an expected call of SetInstanceStatus.
func (*MockMachineMockRecorder) SetKeepInstance ¶
func (mr *MockMachineMockRecorder) SetKeepInstance(arg0 any) *gomock.Call
SetKeepInstance indicates an expected call of SetKeepInstance.
func (*MockMachineMockRecorder) SetPassword ¶
func (mr *MockMachineMockRecorder) SetPassword(arg0 any) *gomock.Call
SetPassword indicates an expected call of SetPassword.
func (*MockMachineMockRecorder) SetUpgradeSeriesStatus ¶
func (mr *MockMachineMockRecorder) SetUpgradeSeriesStatus(arg0, arg1 any) *gomock.Call
SetUpgradeSeriesStatus indicates an expected call of SetUpgradeSeriesStatus.
func (*MockMachineMockRecorder) Tag ¶
func (mr *MockMachineMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag.
func (*MockMachineMockRecorder) Units ¶
func (mr *MockMachineMockRecorder) Units() *gomock.Call
Units indicates an expected call of Units.
func (*MockMachineMockRecorder) UpgradeSeriesStatus ¶
func (mr *MockMachineMockRecorder) UpgradeSeriesStatus() *gomock.Call
UpgradeSeriesStatus indicates an expected call of UpgradeSeriesStatus.
func (*MockMachineMockRecorder) WatchUpgradeSeriesNotifications ¶
func (mr *MockMachineMockRecorder) WatchUpgradeSeriesNotifications() *gomock.Call
WatchUpgradeSeriesNotifications indicates an expected call of WatchUpgradeSeriesNotifications.
type MockModel ¶
type MockModel struct {
// contains filtered or unexported fields
}
MockModel is a mock of Model interface.
func NewMockModel ¶
func NewMockModel(ctrl *gomock.Controller) *MockModel
NewMockModel creates a new mock instance.
func (*MockModel) CloudCredential ¶
func (m *MockModel) CloudCredential() (state.Credential, bool, error)
CloudCredential mocks base method.
func (*MockModel) CloudRegion ¶
CloudRegion mocks base method.
func (*MockModel) ControllerUUID ¶
ControllerUUID mocks base method.
func (*MockModel) EXPECT ¶
func (m *MockModel) EXPECT() *MockModelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockModelMockRecorder ¶
type MockModelMockRecorder struct {
// contains filtered or unexported fields
}
MockModelMockRecorder is the mock recorder for MockModel.
func (*MockModelMockRecorder) Cloud ¶
func (mr *MockModelMockRecorder) Cloud() *gomock.Call
Cloud indicates an expected call of Cloud.
func (*MockModelMockRecorder) CloudCredential ¶
func (mr *MockModelMockRecorder) CloudCredential() *gomock.Call
CloudCredential indicates an expected call of CloudCredential.
func (*MockModelMockRecorder) CloudRegion ¶
func (mr *MockModelMockRecorder) CloudRegion() *gomock.Call
CloudRegion indicates an expected call of CloudRegion.
func (*MockModelMockRecorder) Config ¶
func (mr *MockModelMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockModelMockRecorder) ControllerUUID ¶
func (mr *MockModelMockRecorder) ControllerUUID() *gomock.Call
ControllerUUID indicates an expected call of ControllerUUID.
func (*MockModelMockRecorder) ModelTag ¶
func (mr *MockModelMockRecorder) ModelTag() *gomock.Call
ModelTag indicates an expected call of ModelTag.
func (*MockModelMockRecorder) Name ¶
func (mr *MockModelMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockModelMockRecorder) Type ¶
func (mr *MockModelMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
func (*MockModelMockRecorder) UUID ¶
func (mr *MockModelMockRecorder) UUID() *gomock.Call
UUID indicates an expected call of UUID.
type MockPool ¶
type MockPool struct {
// contains filtered or unexported fields
}
MockPool is a mock of Pool interface.
func NewMockPool ¶
func NewMockPool(ctrl *gomock.Controller) *MockPool
NewMockPool creates a new mock instance.
func (*MockPool) EXPECT ¶
func (m *MockPool) EXPECT() *MockPoolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPool) GetModel ¶
func (m *MockPool) GetModel(arg0 string) (machinemanager.Model, func(), error)
GetModel mocks base method.
func (*MockPool) SystemState ¶
func (m *MockPool) SystemState() (machinemanager.ControllerBackend, error)
SystemState mocks base method.
type MockPoolMockRecorder ¶
type MockPoolMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolMockRecorder is the mock recorder for MockPool.
func (*MockPoolMockRecorder) GetModel ¶
func (mr *MockPoolMockRecorder) GetModel(arg0 any) *gomock.Call
GetModel indicates an expected call of GetModel.
func (*MockPoolMockRecorder) SystemState ¶
func (mr *MockPoolMockRecorder) SystemState() *gomock.Call
SystemState indicates an expected call of SystemState.
type MockStorageAttachment ¶
type MockStorageAttachment struct {
// contains filtered or unexported fields
}
MockStorageAttachment is a mock of StorageAttachment interface.
func NewMockStorageAttachment ¶
func NewMockStorageAttachment(ctrl *gomock.Controller) *MockStorageAttachment
NewMockStorageAttachment creates a new mock instance.
func (*MockStorageAttachment) EXPECT ¶
func (m *MockStorageAttachment) EXPECT() *MockStorageAttachmentMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageAttachment) Life ¶
func (m *MockStorageAttachment) Life() state.Life
Life mocks base method.
func (*MockStorageAttachment) StorageInstance ¶
func (m *MockStorageAttachment) StorageInstance() names.StorageTag
StorageInstance mocks base method.
func (*MockStorageAttachment) Unit ¶
func (m *MockStorageAttachment) Unit() names.UnitTag
Unit mocks base method.
type MockStorageAttachmentMockRecorder ¶
type MockStorageAttachmentMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageAttachmentMockRecorder is the mock recorder for MockStorageAttachment.
func (*MockStorageAttachmentMockRecorder) Life ¶
func (mr *MockStorageAttachmentMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life.
func (*MockStorageAttachmentMockRecorder) StorageInstance ¶
func (mr *MockStorageAttachmentMockRecorder) StorageInstance() *gomock.Call
StorageInstance indicates an expected call of StorageInstance.
func (*MockStorageAttachmentMockRecorder) Unit ¶
func (mr *MockStorageAttachmentMockRecorder) Unit() *gomock.Call
Unit indicates an expected call of Unit.
type MockStorageCloser ¶
type MockStorageCloser struct {
// contains filtered or unexported fields
}
MockStorageCloser is a mock of StorageCloser interface.
func NewMockStorageCloser ¶
func NewMockStorageCloser(ctrl *gomock.Controller) *MockStorageCloser
NewMockStorageCloser creates a new mock instance.
func (*MockStorageCloser) Add ¶
func (m *MockStorageCloser) Add(arg0 io.Reader, arg1 binarystorage.Metadata) error
Add mocks base method.
func (*MockStorageCloser) AllMetadata ¶
func (m *MockStorageCloser) AllMetadata() ([]binarystorage.Metadata, error)
AllMetadata mocks base method.
func (*MockStorageCloser) Close ¶
func (m *MockStorageCloser) Close() error
Close mocks base method.
func (*MockStorageCloser) EXPECT ¶
func (m *MockStorageCloser) EXPECT() *MockStorageCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageCloser) Metadata ¶
func (m *MockStorageCloser) Metadata(arg0 string) (binarystorage.Metadata, error)
Metadata mocks base method.
func (*MockStorageCloser) Open ¶
func (m *MockStorageCloser) Open(arg0 string) (binarystorage.Metadata, io.ReadCloser, error)
Open mocks base method.
type MockStorageCloserMockRecorder ¶
type MockStorageCloserMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageCloserMockRecorder is the mock recorder for MockStorageCloser.
func (*MockStorageCloserMockRecorder) Add ¶
func (mr *MockStorageCloserMockRecorder) Add(arg0, arg1 any) *gomock.Call
Add indicates an expected call of Add.
func (*MockStorageCloserMockRecorder) AllMetadata ¶
func (mr *MockStorageCloserMockRecorder) AllMetadata() *gomock.Call
AllMetadata indicates an expected call of AllMetadata.
func (*MockStorageCloserMockRecorder) Close ¶
func (mr *MockStorageCloserMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
type MockStorageInstance ¶
type MockStorageInstance struct {
// contains filtered or unexported fields
}
MockStorageInstance is a mock of StorageInstance interface.
func NewMockStorageInstance ¶
func NewMockStorageInstance(ctrl *gomock.Controller) *MockStorageInstance
NewMockStorageInstance creates a new mock instance.
func (*MockStorageInstance) EXPECT ¶
func (m *MockStorageInstance) EXPECT() *MockStorageInstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageInstance) Kind ¶
func (m *MockStorageInstance) Kind() state.StorageKind
Kind mocks base method.
func (*MockStorageInstance) Life ¶
func (m *MockStorageInstance) Life() state.Life
Life mocks base method.
func (*MockStorageInstance) Owner ¶
func (m *MockStorageInstance) Owner() (names.Tag, bool)
Owner mocks base method.
func (*MockStorageInstance) Pool ¶
func (m *MockStorageInstance) Pool() string
Pool mocks base method.
func (*MockStorageInstance) StorageName ¶
func (m *MockStorageInstance) StorageName() string
StorageName mocks base method.
func (*MockStorageInstance) StorageTag ¶
func (m *MockStorageInstance) StorageTag() names.StorageTag
StorageTag mocks base method.
func (*MockStorageInstance) Tag ¶
func (m *MockStorageInstance) Tag() names.Tag
Tag mocks base method.
type MockStorageInstanceMockRecorder ¶
type MockStorageInstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageInstanceMockRecorder is the mock recorder for MockStorageInstance.
func (*MockStorageInstanceMockRecorder) Kind ¶
func (mr *MockStorageInstanceMockRecorder) Kind() *gomock.Call
Kind indicates an expected call of Kind.
func (*MockStorageInstanceMockRecorder) Life ¶
func (mr *MockStorageInstanceMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life.
func (*MockStorageInstanceMockRecorder) Owner ¶
func (mr *MockStorageInstanceMockRecorder) Owner() *gomock.Call
Owner indicates an expected call of Owner.
func (*MockStorageInstanceMockRecorder) Pool ¶
func (mr *MockStorageInstanceMockRecorder) Pool() *gomock.Call
Pool indicates an expected call of Pool.
func (*MockStorageInstanceMockRecorder) StorageName ¶
func (mr *MockStorageInstanceMockRecorder) StorageName() *gomock.Call
StorageName indicates an expected call of StorageName.
func (*MockStorageInstanceMockRecorder) StorageTag ¶
func (mr *MockStorageInstanceMockRecorder) StorageTag() *gomock.Call
StorageTag indicates an expected call of StorageTag.
func (*MockStorageInstanceMockRecorder) Tag ¶
func (mr *MockStorageInstanceMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag.
type MockStorageInterface ¶
type MockStorageInterface struct {
// contains filtered or unexported fields
}
MockStorageInterface is a mock of StorageInterface interface.
func NewMockStorageInterface ¶
func NewMockStorageInterface(ctrl *gomock.Controller) *MockStorageInterface
NewMockStorageInterface creates a new mock instance.
func (*MockStorageInterface) EXPECT ¶
func (m *MockStorageInterface) EXPECT() *MockStorageInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageInterface) FilesystemAccess ¶
func (m *MockStorageInterface) FilesystemAccess() storagecommon.FilesystemAccess
FilesystemAccess mocks base method.
func (*MockStorageInterface) StorageInstance ¶
func (m *MockStorageInterface) StorageInstance(arg0 names.StorageTag) (state.StorageInstance, error)
StorageInstance mocks base method.
func (*MockStorageInterface) UnitStorageAttachments ¶
func (m *MockStorageInterface) UnitStorageAttachments(arg0 names.UnitTag) ([]state.StorageAttachment, error)
UnitStorageAttachments mocks base method.
func (*MockStorageInterface) VolumeAccess ¶
func (m *MockStorageInterface) VolumeAccess() storagecommon.VolumeAccess
VolumeAccess mocks base method.
type MockStorageInterfaceMockRecorder ¶
type MockStorageInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageInterfaceMockRecorder is the mock recorder for MockStorageInterface.
func (*MockStorageInterfaceMockRecorder) FilesystemAccess ¶
func (mr *MockStorageInterfaceMockRecorder) FilesystemAccess() *gomock.Call
FilesystemAccess indicates an expected call of FilesystemAccess.
func (*MockStorageInterfaceMockRecorder) StorageInstance ¶
func (mr *MockStorageInterfaceMockRecorder) StorageInstance(arg0 any) *gomock.Call
StorageInstance indicates an expected call of StorageInstance.
func (*MockStorageInterfaceMockRecorder) UnitStorageAttachments ¶
func (mr *MockStorageInterfaceMockRecorder) UnitStorageAttachments(arg0 any) *gomock.Call
UnitStorageAttachments indicates an expected call of UnitStorageAttachments.
func (*MockStorageInterfaceMockRecorder) VolumeAccess ¶
func (mr *MockStorageInterfaceMockRecorder) VolumeAccess() *gomock.Call
VolumeAccess indicates an expected call of VolumeAccess.
type MockUnit ¶
type MockUnit struct {
// contains filtered or unexported fields
}
MockUnit is a mock of Unit interface.
func NewMockUnit ¶
func NewMockUnit(ctrl *gomock.Controller) *MockUnit
NewMockUnit creates a new mock instance.
func (*MockUnit) AgentStatus ¶
func (m *MockUnit) AgentStatus() (status.StatusInfo, error)
AgentStatus mocks base method.
func (*MockUnit) EXPECT ¶
func (m *MockUnit) EXPECT() *MockUnitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnitMockRecorder ¶
type MockUnitMockRecorder struct {
// contains filtered or unexported fields
}
MockUnitMockRecorder is the mock recorder for MockUnit.
func (*MockUnitMockRecorder) AgentStatus ¶
func (mr *MockUnitMockRecorder) AgentStatus() *gomock.Call
AgentStatus indicates an expected call of AgentStatus.
func (*MockUnitMockRecorder) Name ¶
func (mr *MockUnitMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockUnitMockRecorder) Status ¶
func (mr *MockUnitMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
func (*MockUnitMockRecorder) UnitTag ¶
func (mr *MockUnitMockRecorder) UnitTag() *gomock.Call
UnitTag indicates an expected call of UnitTag.
type MockUpgradeBaseValidator ¶
type MockUpgradeBaseValidator struct {
// contains filtered or unexported fields
}
MockUpgradeBaseValidator is a mock of UpgradeBaseValidator interface.
func NewMockUpgradeBaseValidator ¶
func NewMockUpgradeBaseValidator(ctrl *gomock.Controller) *MockUpgradeBaseValidator
NewMockUpgradeBaseValidator creates a new mock instance.
func (*MockUpgradeBaseValidator) EXPECT ¶
func (m *MockUpgradeBaseValidator) EXPECT() *MockUpgradeBaseValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUpgradeBaseValidator) ValidateApplications ¶
func (m *MockUpgradeBaseValidator) ValidateApplications(arg0 []machinemanager.Application, arg1 base.Base, arg2 bool) error
ValidateApplications mocks base method.
func (*MockUpgradeBaseValidator) ValidateBase ¶
func (m *MockUpgradeBaseValidator) ValidateBase(arg0, arg1 base.Base, arg2 string) error
ValidateBase mocks base method.
func (*MockUpgradeBaseValidator) ValidateMachine ¶
func (m *MockUpgradeBaseValidator) ValidateMachine(arg0 machinemanager.Machine) error
ValidateMachine mocks base method.
func (*MockUpgradeBaseValidator) ValidateUnits ¶
func (m *MockUpgradeBaseValidator) ValidateUnits(arg0 []machinemanager.Unit) error
ValidateUnits mocks base method.
type MockUpgradeBaseValidatorMockRecorder ¶
type MockUpgradeBaseValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockUpgradeBaseValidatorMockRecorder is the mock recorder for MockUpgradeBaseValidator.
func (*MockUpgradeBaseValidatorMockRecorder) ValidateApplications ¶
func (mr *MockUpgradeBaseValidatorMockRecorder) ValidateApplications(arg0, arg1, arg2 any) *gomock.Call
ValidateApplications indicates an expected call of ValidateApplications.
func (*MockUpgradeBaseValidatorMockRecorder) ValidateBase ¶
func (mr *MockUpgradeBaseValidatorMockRecorder) ValidateBase(arg0, arg1, arg2 any) *gomock.Call
ValidateBase indicates an expected call of ValidateBase.
func (*MockUpgradeBaseValidatorMockRecorder) ValidateMachine ¶
func (mr *MockUpgradeBaseValidatorMockRecorder) ValidateMachine(arg0 any) *gomock.Call
ValidateMachine indicates an expected call of ValidateMachine.
func (*MockUpgradeBaseValidatorMockRecorder) ValidateUnits ¶
func (mr *MockUpgradeBaseValidatorMockRecorder) ValidateUnits(arg0 any) *gomock.Call
ValidateUnits indicates an expected call of ValidateUnits.
type MockUpgradeSeries ¶
type MockUpgradeSeries struct {
// contains filtered or unexported fields
}
MockUpgradeSeries is a mock of UpgradeSeries interface.
func NewMockUpgradeSeries ¶
func NewMockUpgradeSeries(ctrl *gomock.Controller) *MockUpgradeSeries
NewMockUpgradeSeries creates a new mock instance.
func (*MockUpgradeSeries) Complete ¶
func (m *MockUpgradeSeries) Complete(arg0 string) error
Complete mocks base method.
func (*MockUpgradeSeries) EXPECT ¶
func (m *MockUpgradeSeries) EXPECT() *MockUpgradeSeriesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUpgradeSeries) Prepare ¶
func (m *MockUpgradeSeries) Prepare(arg0, arg1 string, arg2 bool) error
Prepare mocks base method.
func (*MockUpgradeSeries) Validate ¶
func (m *MockUpgradeSeries) Validate(arg0 []machinemanager.ValidationEntity) ([]machinemanager.ValidationResult, error)
Validate mocks base method.
type MockUpgradeSeriesMockRecorder ¶
type MockUpgradeSeriesMockRecorder struct {
// contains filtered or unexported fields
}
MockUpgradeSeriesMockRecorder is the mock recorder for MockUpgradeSeries.
func (*MockUpgradeSeriesMockRecorder) Complete ¶
func (mr *MockUpgradeSeriesMockRecorder) Complete(arg0 any) *gomock.Call
Complete indicates an expected call of Complete.
type MockUpgradeSeriesState ¶
type MockUpgradeSeriesState struct {
// contains filtered or unexported fields
}
MockUpgradeSeriesState is a mock of UpgradeSeriesState interface.
func NewMockUpgradeSeriesState ¶
func NewMockUpgradeSeriesState(ctrl *gomock.Controller) *MockUpgradeSeriesState
NewMockUpgradeSeriesState creates a new mock instance.
func (*MockUpgradeSeriesState) ApplicationsFromMachine ¶
func (m *MockUpgradeSeriesState) ApplicationsFromMachine(arg0 machinemanager.Machine) ([]machinemanager.Application, error)
ApplicationsFromMachine mocks base method.
func (*MockUpgradeSeriesState) EXPECT ¶
func (m *MockUpgradeSeriesState) EXPECT() *MockUpgradeSeriesStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUpgradeSeriesState) MachineFromTag ¶
func (m *MockUpgradeSeriesState) MachineFromTag(arg0 string) (machinemanager.Machine, error)
MachineFromTag mocks base method.
type MockUpgradeSeriesStateMockRecorder ¶
type MockUpgradeSeriesStateMockRecorder struct {
// contains filtered or unexported fields
}
MockUpgradeSeriesStateMockRecorder is the mock recorder for MockUpgradeSeriesState.
func (*MockUpgradeSeriesStateMockRecorder) ApplicationsFromMachine ¶
func (mr *MockUpgradeSeriesStateMockRecorder) ApplicationsFromMachine(arg0 any) *gomock.Call
ApplicationsFromMachine indicates an expected call of ApplicationsFromMachine.
func (*MockUpgradeSeriesStateMockRecorder) MachineFromTag ¶
func (mr *MockUpgradeSeriesStateMockRecorder) MachineFromTag(arg0 any) *gomock.Call
MachineFromTag indicates an expected call of MachineFromTag.
type MockVolumeAccess ¶
type MockVolumeAccess struct {
// contains filtered or unexported fields
}
MockVolumeAccess is a mock of VolumeAccess interface.
func NewMockVolumeAccess ¶
func NewMockVolumeAccess(ctrl *gomock.Controller) *MockVolumeAccess
NewMockVolumeAccess creates a new mock instance.
func (*MockVolumeAccess) BlockDevices ¶
func (m *MockVolumeAccess) BlockDevices(arg0 names.MachineTag) ([]state.BlockDeviceInfo, error)
BlockDevices mocks base method.
func (*MockVolumeAccess) EXPECT ¶
func (m *MockVolumeAccess) EXPECT() *MockVolumeAccessMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeAccess) StorageInstanceVolume ¶
func (m *MockVolumeAccess) StorageInstanceVolume(arg0 names.StorageTag) (state.Volume, error)
StorageInstanceVolume mocks base method.
func (*MockVolumeAccess) VolumeAttachment ¶
func (m *MockVolumeAccess) VolumeAttachment(arg0 names.Tag, arg1 names.VolumeTag) (state.VolumeAttachment, error)
VolumeAttachment mocks base method.
func (*MockVolumeAccess) VolumeAttachmentPlan ¶
func (m *MockVolumeAccess) VolumeAttachmentPlan(arg0 names.Tag, arg1 names.VolumeTag) (state.VolumeAttachmentPlan, error)
VolumeAttachmentPlan mocks base method.
type MockVolumeAccessMockRecorder ¶
type MockVolumeAccessMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeAccessMockRecorder is the mock recorder for MockVolumeAccess.
func (*MockVolumeAccessMockRecorder) BlockDevices ¶
func (mr *MockVolumeAccessMockRecorder) BlockDevices(arg0 any) *gomock.Call
BlockDevices indicates an expected call of BlockDevices.
func (*MockVolumeAccessMockRecorder) StorageInstanceVolume ¶
func (mr *MockVolumeAccessMockRecorder) StorageInstanceVolume(arg0 any) *gomock.Call
StorageInstanceVolume indicates an expected call of StorageInstanceVolume.
func (*MockVolumeAccessMockRecorder) VolumeAttachment ¶
func (mr *MockVolumeAccessMockRecorder) VolumeAttachment(arg0, arg1 any) *gomock.Call
VolumeAttachment indicates an expected call of VolumeAttachment.
func (*MockVolumeAccessMockRecorder) VolumeAttachmentPlan ¶
func (mr *MockVolumeAccessMockRecorder) VolumeAttachmentPlan(arg0, arg1 any) *gomock.Call
VolumeAttachmentPlan indicates an expected call of VolumeAttachmentPlan.