Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockApplication
- type MockApplicationMockRecorder
- type MockBackendModel
- func (m *MockBackendModel) Cloud() (cloud.Cloud, error)
- func (m *MockBackendModel) CloudCredential() (state.Credential, bool, error)
- func (m *MockBackendModel) CloudRegion() string
- func (m *MockBackendModel) Config() (*config.Config, error)
- func (m *MockBackendModel) ControllerUUID() string
- func (m *MockBackendModel) EXPECT() *MockBackendModelMockRecorder
- func (m *MockBackendModel) ModelTag() names.ModelTag
- func (m *MockBackendModel) Type() state.ModelType
- type MockBackendModelMockRecorder
- func (mr *MockBackendModelMockRecorder) Cloud() *gomock.Call
- func (mr *MockBackendModelMockRecorder) CloudCredential() *gomock.Call
- func (mr *MockBackendModelMockRecorder) CloudRegion() *gomock.Call
- func (mr *MockBackendModelMockRecorder) Config() *gomock.Call
- func (mr *MockBackendModelMockRecorder) ControllerUUID() *gomock.Call
- func (mr *MockBackendModelMockRecorder) ModelTag() *gomock.Call
- func (mr *MockBackendModelMockRecorder) Type() *gomock.Call
- type MockBackendState
- func (m *MockBackendState) AddCharmMetadata(arg0 state.CharmInfo) (*state.Charm, error)
- func (m *MockBackendState) AllCharms() ([]*state.Charm, error)
- func (m *MockBackendState) Application(arg0 string) (interfaces.Application, error)
- func (m *MockBackendState) Charm(arg0 *charm.URL) (*state.Charm, error)
- func (m *MockBackendState) ControllerConfig() (controller.Config, error)
- func (m *MockBackendState) ControllerTag() names.ControllerTag
- func (m *MockBackendState) EXPECT() *MockBackendStateMockRecorder
- func (m *MockBackendState) Machine(arg0 string) (interfaces.Machine, error)
- func (m *MockBackendState) ModelConstraints() (constraints.Value, error)
- func (m *MockBackendState) ModelUUID() string
- func (m *MockBackendState) MongoSession() *mgo.Session
- func (m *MockBackendState) PrepareCharmUpload(arg0 *charm.URL) (services.UploadedCharm, error)
- func (m *MockBackendState) UpdateUploadedCharm(arg0 state.CharmInfo) (services.UploadedCharm, error)
- type MockBackendStateMockRecorder
- func (mr *MockBackendStateMockRecorder) AddCharmMetadata(arg0 interface{}) *gomock.Call
- func (mr *MockBackendStateMockRecorder) AllCharms() *gomock.Call
- func (mr *MockBackendStateMockRecorder) Application(arg0 interface{}) *gomock.Call
- func (mr *MockBackendStateMockRecorder) Charm(arg0 interface{}) *gomock.Call
- func (mr *MockBackendStateMockRecorder) ControllerConfig() *gomock.Call
- func (mr *MockBackendStateMockRecorder) ControllerTag() *gomock.Call
- func (mr *MockBackendStateMockRecorder) Machine(arg0 interface{}) *gomock.Call
- func (mr *MockBackendStateMockRecorder) ModelConstraints() *gomock.Call
- func (mr *MockBackendStateMockRecorder) ModelUUID() *gomock.Call
- func (mr *MockBackendStateMockRecorder) MongoSession() *gomock.Call
- func (mr *MockBackendStateMockRecorder) PrepareCharmUpload(arg0 interface{}) *gomock.Call
- func (mr *MockBackendStateMockRecorder) UpdateUploadedCharm(arg0 interface{}) *gomock.Call
- type MockCharmArchive
- func (m *MockCharmArchive) Actions() *charm.Actions
- func (m *MockCharmArchive) Config() *charm.Config
- func (m *MockCharmArchive) EXPECT() *MockCharmArchiveMockRecorder
- func (m *MockCharmArchive) LXDProfile() *charm.LXDProfile
- func (m *MockCharmArchive) Manifest() *charm.Manifest
- func (m *MockCharmArchive) Meta() *charm.Meta
- func (m *MockCharmArchive) Metrics() *charm.Metrics
- func (m *MockCharmArchive) Revision() int
- func (m *MockCharmArchive) Version() string
- type MockCharmArchiveMockRecorder
- func (mr *MockCharmArchiveMockRecorder) Actions() *gomock.Call
- func (mr *MockCharmArchiveMockRecorder) Config() *gomock.Call
- func (mr *MockCharmArchiveMockRecorder) LXDProfile() *gomock.Call
- func (mr *MockCharmArchiveMockRecorder) Manifest() *gomock.Call
- func (mr *MockCharmArchiveMockRecorder) Meta() *gomock.Call
- func (mr *MockCharmArchiveMockRecorder) Metrics() *gomock.Call
- func (mr *MockCharmArchiveMockRecorder) Revision() *gomock.Call
- func (mr *MockCharmArchiveMockRecorder) Version() *gomock.Call
- type MockDownloader
- type MockDownloaderMockRecorder
- type MockMachine
- type MockMachineMockRecorder
- type MockRepository
- func (m *MockRepository) DownloadCharm(arg0 *charm.URL, arg1 charm0.Origin, arg2 macaroon.Slice, arg3 string) (charm0.CharmArchive, charm0.Origin, error)
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) GetDownloadURL(arg0 *charm.URL, arg1 charm0.Origin, arg2 macaroon.Slice) (*url.URL, charm0.Origin, error)
- func (m *MockRepository) GetEssentialMetadata(arg0 ...charm0.MetadataRequest) ([]charm0.EssentialMetadata, error)
- func (m *MockRepository) ListResources(arg0 *charm.URL, arg1 charm0.Origin, arg2 macaroon.Slice) ([]resource.Resource, error)
- func (m *MockRepository) ResolveWithPreferredChannel(arg0 *charm.URL, arg1 charm0.Origin, arg2 macaroon.Slice) (*charm.URL, charm0.Origin, []string, error)
- type MockRepositoryFactory
- type MockRepositoryFactoryMockRecorder
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) DownloadCharm(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetDownloadURL(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetEssentialMetadata(arg0 ...interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) ListResources(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) ResolveWithPreferredChannel(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockUnit
- type MockUnitMockRecorder
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) AllUnits ¶
func (m *MockApplication) AllUnits() ([]interfaces.Unit, error)
AllUnits mocks base method.
func (*MockApplication) Constraints ¶
func (m *MockApplication) Constraints() (constraints.Value, error)
Constraints mocks base method.
func (*MockApplication) EXPECT ¶
func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplication) IsPrincipal ¶
func (m *MockApplication) IsPrincipal() bool
IsPrincipal mocks base method.
type MockApplicationMockRecorder ¶
type MockApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationMockRecorder is the mock recorder for MockApplication.
func (*MockApplicationMockRecorder) AllUnits ¶
func (mr *MockApplicationMockRecorder) AllUnits() *gomock.Call
AllUnits indicates an expected call of AllUnits.
func (*MockApplicationMockRecorder) Constraints ¶
func (mr *MockApplicationMockRecorder) Constraints() *gomock.Call
Constraints indicates an expected call of Constraints.
func (*MockApplicationMockRecorder) IsPrincipal ¶
func (mr *MockApplicationMockRecorder) IsPrincipal() *gomock.Call
IsPrincipal indicates an expected call of IsPrincipal.
type MockBackendModel ¶
type MockBackendModel struct {
// contains filtered or unexported fields
}
MockBackendModel is a mock of BackendModel interface.
func NewMockBackendModel ¶
func NewMockBackendModel(ctrl *gomock.Controller) *MockBackendModel
NewMockBackendModel creates a new mock instance.
func (*MockBackendModel) Cloud ¶
func (m *MockBackendModel) Cloud() (cloud.Cloud, error)
Cloud mocks base method.
func (*MockBackendModel) CloudCredential ¶
func (m *MockBackendModel) CloudCredential() (state.Credential, bool, error)
CloudCredential mocks base method.
func (*MockBackendModel) CloudRegion ¶
func (m *MockBackendModel) CloudRegion() string
CloudRegion mocks base method.
func (*MockBackendModel) Config ¶
func (m *MockBackendModel) Config() (*config.Config, error)
Config mocks base method.
func (*MockBackendModel) ControllerUUID ¶
func (m *MockBackendModel) ControllerUUID() string
ControllerUUID mocks base method.
func (*MockBackendModel) EXPECT ¶
func (m *MockBackendModel) EXPECT() *MockBackendModelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackendModel) ModelTag ¶
func (m *MockBackendModel) ModelTag() names.ModelTag
ModelTag mocks base method.
func (*MockBackendModel) Type ¶
func (m *MockBackendModel) Type() state.ModelType
Type mocks base method.
type MockBackendModelMockRecorder ¶
type MockBackendModelMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendModelMockRecorder is the mock recorder for MockBackendModel.
func (*MockBackendModelMockRecorder) Cloud ¶
func (mr *MockBackendModelMockRecorder) Cloud() *gomock.Call
Cloud indicates an expected call of Cloud.
func (*MockBackendModelMockRecorder) CloudCredential ¶
func (mr *MockBackendModelMockRecorder) CloudCredential() *gomock.Call
CloudCredential indicates an expected call of CloudCredential.
func (*MockBackendModelMockRecorder) CloudRegion ¶
func (mr *MockBackendModelMockRecorder) CloudRegion() *gomock.Call
CloudRegion indicates an expected call of CloudRegion.
func (*MockBackendModelMockRecorder) Config ¶
func (mr *MockBackendModelMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockBackendModelMockRecorder) ControllerUUID ¶
func (mr *MockBackendModelMockRecorder) ControllerUUID() *gomock.Call
ControllerUUID indicates an expected call of ControllerUUID.
func (*MockBackendModelMockRecorder) ModelTag ¶
func (mr *MockBackendModelMockRecorder) ModelTag() *gomock.Call
ModelTag indicates an expected call of ModelTag.
func (*MockBackendModelMockRecorder) Type ¶
func (mr *MockBackendModelMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
type MockBackendState ¶
type MockBackendState struct {
// contains filtered or unexported fields
}
MockBackendState is a mock of BackendState interface.
func NewMockBackendState ¶
func NewMockBackendState(ctrl *gomock.Controller) *MockBackendState
NewMockBackendState creates a new mock instance.
func (*MockBackendState) AddCharmMetadata ¶
AddCharmMetadata mocks base method.
func (*MockBackendState) AllCharms ¶
func (m *MockBackendState) AllCharms() ([]*state.Charm, error)
AllCharms mocks base method.
func (*MockBackendState) Application ¶
func (m *MockBackendState) Application(arg0 string) (interfaces.Application, error)
Application mocks base method.
func (*MockBackendState) ControllerConfig ¶
func (m *MockBackendState) ControllerConfig() (controller.Config, error)
ControllerConfig mocks base method.
func (*MockBackendState) ControllerTag ¶
func (m *MockBackendState) ControllerTag() names.ControllerTag
ControllerTag mocks base method.
func (*MockBackendState) EXPECT ¶
func (m *MockBackendState) EXPECT() *MockBackendStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackendState) Machine ¶
func (m *MockBackendState) Machine(arg0 string) (interfaces.Machine, error)
Machine mocks base method.
func (*MockBackendState) ModelConstraints ¶
func (m *MockBackendState) ModelConstraints() (constraints.Value, error)
ModelConstraints mocks base method.
func (*MockBackendState) ModelUUID ¶
func (m *MockBackendState) ModelUUID() string
ModelUUID mocks base method.
func (*MockBackendState) MongoSession ¶
func (m *MockBackendState) MongoSession() *mgo.Session
MongoSession mocks base method.
func (*MockBackendState) PrepareCharmUpload ¶
func (m *MockBackendState) PrepareCharmUpload(arg0 *charm.URL) (services.UploadedCharm, error)
PrepareCharmUpload mocks base method.
func (*MockBackendState) UpdateUploadedCharm ¶
func (m *MockBackendState) UpdateUploadedCharm(arg0 state.CharmInfo) (services.UploadedCharm, error)
UpdateUploadedCharm mocks base method.
type MockBackendStateMockRecorder ¶
type MockBackendStateMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendStateMockRecorder is the mock recorder for MockBackendState.
func (*MockBackendStateMockRecorder) AddCharmMetadata ¶
func (mr *MockBackendStateMockRecorder) AddCharmMetadata(arg0 interface{}) *gomock.Call
AddCharmMetadata indicates an expected call of AddCharmMetadata.
func (*MockBackendStateMockRecorder) AllCharms ¶
func (mr *MockBackendStateMockRecorder) AllCharms() *gomock.Call
AllCharms indicates an expected call of AllCharms.
func (*MockBackendStateMockRecorder) Application ¶
func (mr *MockBackendStateMockRecorder) Application(arg0 interface{}) *gomock.Call
Application indicates an expected call of Application.
func (*MockBackendStateMockRecorder) Charm ¶
func (mr *MockBackendStateMockRecorder) Charm(arg0 interface{}) *gomock.Call
Charm indicates an expected call of Charm.
func (*MockBackendStateMockRecorder) ControllerConfig ¶
func (mr *MockBackendStateMockRecorder) ControllerConfig() *gomock.Call
ControllerConfig indicates an expected call of ControllerConfig.
func (*MockBackendStateMockRecorder) ControllerTag ¶
func (mr *MockBackendStateMockRecorder) ControllerTag() *gomock.Call
ControllerTag indicates an expected call of ControllerTag.
func (*MockBackendStateMockRecorder) Machine ¶
func (mr *MockBackendStateMockRecorder) Machine(arg0 interface{}) *gomock.Call
Machine indicates an expected call of Machine.
func (*MockBackendStateMockRecorder) ModelConstraints ¶
func (mr *MockBackendStateMockRecorder) ModelConstraints() *gomock.Call
ModelConstraints indicates an expected call of ModelConstraints.
func (*MockBackendStateMockRecorder) ModelUUID ¶
func (mr *MockBackendStateMockRecorder) ModelUUID() *gomock.Call
ModelUUID indicates an expected call of ModelUUID.
func (*MockBackendStateMockRecorder) MongoSession ¶
func (mr *MockBackendStateMockRecorder) MongoSession() *gomock.Call
MongoSession indicates an expected call of MongoSession.
func (*MockBackendStateMockRecorder) PrepareCharmUpload ¶
func (mr *MockBackendStateMockRecorder) PrepareCharmUpload(arg0 interface{}) *gomock.Call
PrepareCharmUpload indicates an expected call of PrepareCharmUpload.
func (*MockBackendStateMockRecorder) UpdateUploadedCharm ¶
func (mr *MockBackendStateMockRecorder) UpdateUploadedCharm(arg0 interface{}) *gomock.Call
UpdateUploadedCharm indicates an expected call of UpdateUploadedCharm.
type MockCharmArchive ¶
type MockCharmArchive struct {
// contains filtered or unexported fields
}
MockCharmArchive is a mock of CharmArchive interface.
func NewMockCharmArchive ¶
func NewMockCharmArchive(ctrl *gomock.Controller) *MockCharmArchive
NewMockCharmArchive creates a new mock instance.
func (*MockCharmArchive) Actions ¶
func (m *MockCharmArchive) Actions() *charm.Actions
Actions mocks base method.
func (*MockCharmArchive) Config ¶
func (m *MockCharmArchive) Config() *charm.Config
Config mocks base method.
func (*MockCharmArchive) EXPECT ¶
func (m *MockCharmArchive) EXPECT() *MockCharmArchiveMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCharmArchive) LXDProfile ¶
func (m *MockCharmArchive) LXDProfile() *charm.LXDProfile
LXDProfile mocks base method.
func (*MockCharmArchive) Manifest ¶
func (m *MockCharmArchive) Manifest() *charm.Manifest
Manifest mocks base method.
func (*MockCharmArchive) Meta ¶
func (m *MockCharmArchive) Meta() *charm.Meta
Meta mocks base method.
func (*MockCharmArchive) Metrics ¶
func (m *MockCharmArchive) Metrics() *charm.Metrics
Metrics mocks base method.
func (*MockCharmArchive) Revision ¶
func (m *MockCharmArchive) Revision() int
Revision mocks base method.
func (*MockCharmArchive) Version ¶
func (m *MockCharmArchive) Version() string
Version mocks base method.
type MockCharmArchiveMockRecorder ¶
type MockCharmArchiveMockRecorder struct {
// contains filtered or unexported fields
}
MockCharmArchiveMockRecorder is the mock recorder for MockCharmArchive.
func (*MockCharmArchiveMockRecorder) Actions ¶
func (mr *MockCharmArchiveMockRecorder) Actions() *gomock.Call
Actions indicates an expected call of Actions.
func (*MockCharmArchiveMockRecorder) Config ¶
func (mr *MockCharmArchiveMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockCharmArchiveMockRecorder) LXDProfile ¶
func (mr *MockCharmArchiveMockRecorder) LXDProfile() *gomock.Call
LXDProfile indicates an expected call of LXDProfile.
func (*MockCharmArchiveMockRecorder) Manifest ¶
func (mr *MockCharmArchiveMockRecorder) Manifest() *gomock.Call
Manifest indicates an expected call of Manifest.
func (*MockCharmArchiveMockRecorder) Meta ¶
func (mr *MockCharmArchiveMockRecorder) Meta() *gomock.Call
Meta indicates an expected call of Meta.
func (*MockCharmArchiveMockRecorder) Metrics ¶
func (mr *MockCharmArchiveMockRecorder) Metrics() *gomock.Call
Metrics indicates an expected call of Metrics.
func (*MockCharmArchiveMockRecorder) Revision ¶
func (mr *MockCharmArchiveMockRecorder) Revision() *gomock.Call
Revision indicates an expected call of Revision.
func (*MockCharmArchiveMockRecorder) Version ¶
func (mr *MockCharmArchiveMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.
type MockDownloader ¶
type MockDownloader struct {
// contains filtered or unexported fields
}
MockDownloader is a mock of Downloader interface.
func NewMockDownloader ¶
func NewMockDownloader(ctrl *gomock.Controller) *MockDownloader
NewMockDownloader creates a new mock instance.
func (*MockDownloader) DownloadAndStore ¶
func (m *MockDownloader) DownloadAndStore(arg0 *charm.URL, arg1 charm0.Origin, arg2 macaroon.Slice, arg3 bool) (charm0.Origin, error)
DownloadAndStore mocks base method.
func (*MockDownloader) EXPECT ¶
func (m *MockDownloader) EXPECT() *MockDownloaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDownloaderMockRecorder ¶
type MockDownloaderMockRecorder struct {
// contains filtered or unexported fields
}
MockDownloaderMockRecorder is the mock recorder for MockDownloader.
func (*MockDownloaderMockRecorder) DownloadAndStore ¶
func (mr *MockDownloaderMockRecorder) DownloadAndStore(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DownloadAndStore indicates an expected call of DownloadAndStore.
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) Constraints ¶
func (m *MockMachine) Constraints() (constraints.Value, error)
Constraints 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) HardwareCharacteristics ¶
func (m *MockMachine) HardwareCharacteristics() (*instance.HardwareCharacteristics, error)
HardwareCharacteristics mocks base method.
type MockMachineMockRecorder ¶
type MockMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineMockRecorder is the mock recorder for MockMachine.
func (*MockMachineMockRecorder) Constraints ¶
func (mr *MockMachineMockRecorder) Constraints() *gomock.Call
Constraints indicates an expected call of Constraints.
func (*MockMachineMockRecorder) HardwareCharacteristics ¶
func (mr *MockMachineMockRecorder) HardwareCharacteristics() *gomock.Call
HardwareCharacteristics indicates an expected call of HardwareCharacteristics.
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) DownloadCharm ¶
func (m *MockRepository) DownloadCharm(arg0 *charm.URL, arg1 charm0.Origin, arg2 macaroon.Slice, arg3 string) (charm0.CharmArchive, charm0.Origin, error)
DownloadCharm mocks base method.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) GetDownloadURL ¶
func (m *MockRepository) GetDownloadURL(arg0 *charm.URL, arg1 charm0.Origin, arg2 macaroon.Slice) (*url.URL, charm0.Origin, error)
GetDownloadURL mocks base method.
func (*MockRepository) GetEssentialMetadata ¶
func (m *MockRepository) GetEssentialMetadata(arg0 ...charm0.MetadataRequest) ([]charm0.EssentialMetadata, error)
GetEssentialMetadata mocks base method.
type MockRepositoryFactory ¶
type MockRepositoryFactory struct {
// contains filtered or unexported fields
}
MockRepositoryFactory is a mock of RepositoryFactory interface.
func NewMockRepositoryFactory ¶
func NewMockRepositoryFactory(ctrl *gomock.Controller) *MockRepositoryFactory
NewMockRepositoryFactory creates a new mock instance.
func (*MockRepositoryFactory) EXPECT ¶
func (m *MockRepositoryFactory) EXPECT() *MockRepositoryFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepositoryFactory) GetCharmRepository ¶
func (m *MockRepositoryFactory) GetCharmRepository(arg0 charm0.Source) (charm0.Repository, error)
GetCharmRepository mocks base method.
type MockRepositoryFactoryMockRecorder ¶
type MockRepositoryFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryFactoryMockRecorder is the mock recorder for MockRepositoryFactory.
func (*MockRepositoryFactoryMockRecorder) GetCharmRepository ¶
func (mr *MockRepositoryFactoryMockRecorder) GetCharmRepository(arg0 interface{}) *gomock.Call
GetCharmRepository indicates an expected call of GetCharmRepository.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) DownloadCharm ¶
func (mr *MockRepositoryMockRecorder) DownloadCharm(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DownloadCharm indicates an expected call of DownloadCharm.
func (*MockRepositoryMockRecorder) GetDownloadURL ¶
func (mr *MockRepositoryMockRecorder) GetDownloadURL(arg0, arg1, arg2 interface{}) *gomock.Call
GetDownloadURL indicates an expected call of GetDownloadURL.
func (*MockRepositoryMockRecorder) GetEssentialMetadata ¶
func (mr *MockRepositoryMockRecorder) GetEssentialMetadata(arg0 ...interface{}) *gomock.Call
GetEssentialMetadata indicates an expected call of GetEssentialMetadata.
func (*MockRepositoryMockRecorder) ListResources ¶
func (mr *MockRepositoryMockRecorder) ListResources(arg0, arg1, arg2 interface{}) *gomock.Call
ListResources indicates an expected call of ListResources.
func (*MockRepositoryMockRecorder) ResolveWithPreferredChannel ¶
func (mr *MockRepositoryMockRecorder) ResolveWithPreferredChannel(arg0, arg1, arg2 interface{}) *gomock.Call
ResolveWithPreferredChannel indicates an expected call of ResolveWithPreferredChannel.
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) AssignedMachineId ¶
AssignedMachineId 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) AssignedMachineId ¶
func (mr *MockUnitMockRecorder) AssignedMachineId() *gomock.Call
AssignedMachineId indicates an expected call of AssignedMachineId.