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.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAPICaller
- func (m *MockAPICaller) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error
- func (m *MockAPICaller) BakeryClient() base.MacaroonDischarger
- func (m *MockAPICaller) BestFacadeVersion(arg0 string) int
- func (m *MockAPICaller) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)
- func (m *MockAPICaller) ConnectStream(arg0 string, arg1 url.Values) (base.Stream, error)
- func (m *MockAPICaller) Context() context.Context
- func (m *MockAPICaller) EXPECT() *MockAPICallerMockRecorder
- func (m *MockAPICaller) HTTPClient() (*httprequest.Client, error)
- func (m *MockAPICaller) ModelTag() (names.ModelTag, bool)
- type MockAPICallerMockRecorder
- func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) BakeryClient() *gomock.Call
- func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) Context() *gomock.Call
- func (mr *MockAPICallerMockRecorder) HTTPClient() *gomock.Call
- func (mr *MockAPICallerMockRecorder) ModelTag() *gomock.Call
- type MockAgent
- type MockAgentMockRecorder
- type MockConfig
- func (m *MockConfig) APIAddresses() ([]string, error)
- func (m *MockConfig) APIInfo() (*api.Info, bool)
- func (m *MockConfig) CACert() string
- func (m *MockConfig) Controller() names.ControllerTag
- func (m *MockConfig) DataDir() string
- func (m *MockConfig) Dir() string
- func (m *MockConfig) EXPECT() *MockConfigMockRecorder
- func (m *MockConfig) Jobs() []model.MachineJob
- func (m *MockConfig) JujuDBSnapChannel() string
- func (m *MockConfig) LogDir() string
- func (m *MockConfig) LoggingConfig() string
- func (m *MockConfig) MetricsSpoolDir() string
- func (m *MockConfig) Model() names.ModelTag
- func (m *MockConfig) MongoInfo() (*mongo.MongoInfo, bool)
- func (m *MockConfig) MongoMemoryProfile() mongo.MemoryProfile
- func (m *MockConfig) NonSyncedWritesToRaftLog() bool
- func (m *MockConfig) Nonce() string
- func (m *MockConfig) OldPassword() string
- func (m *MockConfig) StateServingInfo() (controller.StateServingInfo, bool)
- func (m *MockConfig) SystemIdentityPath() string
- func (m *MockConfig) Tag() names.Tag
- func (m *MockConfig) TransientDataDir() string
- func (m *MockConfig) UpgradedToVersion() version.Number
- func (m *MockConfig) Value(arg0 string) string
- func (m *MockConfig) WriteCommands(arg0 shell.Renderer) ([]string, error)
- type MockConfigMockRecorder
- func (mr *MockConfigMockRecorder) APIAddresses() *gomock.Call
- func (mr *MockConfigMockRecorder) APIInfo() *gomock.Call
- func (mr *MockConfigMockRecorder) CACert() *gomock.Call
- func (mr *MockConfigMockRecorder) Controller() *gomock.Call
- func (mr *MockConfigMockRecorder) DataDir() *gomock.Call
- func (mr *MockConfigMockRecorder) Dir() *gomock.Call
- func (mr *MockConfigMockRecorder) Jobs() *gomock.Call
- func (mr *MockConfigMockRecorder) JujuDBSnapChannel() *gomock.Call
- func (mr *MockConfigMockRecorder) LogDir() *gomock.Call
- func (mr *MockConfigMockRecorder) LoggingConfig() *gomock.Call
- func (mr *MockConfigMockRecorder) MetricsSpoolDir() *gomock.Call
- func (mr *MockConfigMockRecorder) Model() *gomock.Call
- func (mr *MockConfigMockRecorder) MongoInfo() *gomock.Call
- func (mr *MockConfigMockRecorder) MongoMemoryProfile() *gomock.Call
- func (mr *MockConfigMockRecorder) NonSyncedWritesToRaftLog() *gomock.Call
- func (mr *MockConfigMockRecorder) Nonce() *gomock.Call
- func (mr *MockConfigMockRecorder) OldPassword() *gomock.Call
- func (mr *MockConfigMockRecorder) StateServingInfo() *gomock.Call
- func (mr *MockConfigMockRecorder) SystemIdentityPath() *gomock.Call
- func (mr *MockConfigMockRecorder) Tag() *gomock.Call
- func (mr *MockConfigMockRecorder) TransientDataDir() *gomock.Call
- func (mr *MockConfigMockRecorder) UpgradedToVersion() *gomock.Call
- func (mr *MockConfigMockRecorder) Value(arg0 interface{}) *gomock.Call
- func (mr *MockConfigMockRecorder) WriteCommands(arg0 interface{}) *gomock.Call
- type MockContext
- type MockContextMockRecorder
- 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 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) AllInstances(arg0 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) AllRunningInstances(arg0 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) Bootstrap(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) Config() *gomock.Call
- func (mr *MockEnvironMockRecorder) ConstraintsValidator(arg0 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) ControllerInstances(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) Destroy(arg0 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) DestroyController(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) InstanceTypes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) Instances(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) PrecheckInstance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) PrepareForBootstrap(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) Provider() *gomock.Call
- func (mr *MockEnvironMockRecorder) SetConfig(arg0 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) StartInstance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) StopInstances(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) StorageProvider(arg0 interface{}) *gomock.Call
- func (mr *MockEnvironMockRecorder) StorageProviderTypes() *gomock.Call
- type MockInstanceBroker
- func (m *MockInstanceBroker) AllInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
- func (m *MockInstanceBroker) AllRunningInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
- func (m *MockInstanceBroker) EXPECT() *MockInstanceBrokerMockRecorder
- func (m *MockInstanceBroker) StartInstance(arg0 context.ProviderCallContext, arg1 environs.StartInstanceParams) (*environs.StartInstanceResult, error)
- func (m *MockInstanceBroker) StopInstances(arg0 context.ProviderCallContext, arg1 ...instance.Id) error
- type MockInstanceBrokerMockRecorder
- func (mr *MockInstanceBrokerMockRecorder) AllInstances(arg0 interface{}) *gomock.Call
- func (mr *MockInstanceBrokerMockRecorder) AllRunningInstances(arg0 interface{}) *gomock.Call
- func (mr *MockInstanceBrokerMockRecorder) StartInstance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInstanceBrokerMockRecorder) StopInstances(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockInstanceMutaterAPI
- type MockInstanceMutaterAPIMockRecorder
- type MockLXDProfiler
- func (m *MockLXDProfiler) AssignLXDProfiles(arg0 string, arg1 []string, arg2 []lxdprofile.ProfilePost) ([]string, error)
- func (m *MockLXDProfiler) EXPECT() *MockLXDProfilerMockRecorder
- func (m *MockLXDProfiler) LXDProfileNames(arg0 string) ([]string, error)
- func (m *MockLXDProfiler) MaybeWriteLXDProfile(arg0 string, arg1 lxdprofile.Profile) error
- type MockLXDProfilerMockRecorder
- type MockLogger
- func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Tracef(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Warningf(arg0 string, arg1 ...interface{})
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Tracef(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warningf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockMutaterContext
- type MockMutaterContextMockRecorder
- type MockMutaterMachine
- func (m *MockMutaterMachine) CharmProfilingInfo() (*instancemutater.UnitProfileInfo, error)
- func (m *MockMutaterMachine) ContainerType() (instance.ContainerType, error)
- func (m *MockMutaterMachine) EXPECT() *MockMutaterMachineMockRecorder
- func (m *MockMutaterMachine) InstanceId() (string, error)
- func (m *MockMutaterMachine) Life() life.Value
- func (m *MockMutaterMachine) Refresh() error
- func (m *MockMutaterMachine) SetCharmProfiles(arg0 []string) error
- func (m *MockMutaterMachine) SetModificationStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
- func (m *MockMutaterMachine) Tag() names.MachineTag
- func (m *MockMutaterMachine) WatchContainers() (watcher.StringsWatcher, error)
- func (m *MockMutaterMachine) WatchLXDProfileVerificationNeeded() (watcher.NotifyWatcher, error)
- func (m *MockMutaterMachine) WatchUnits() (watcher.StringsWatcher, error)
- type MockMutaterMachineMockRecorder
- func (mr *MockMutaterMachineMockRecorder) CharmProfilingInfo() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) ContainerType() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) InstanceId() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) Life() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) Refresh() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) SetCharmProfiles(arg0 interface{}) *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) SetModificationStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) Tag() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) WatchContainers() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) WatchLXDProfileVerificationNeeded() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) WatchUnits() *gomock.Call
- type MockTag
- type MockTagMockRecorder
- type MockWorker
- type MockWorkerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPICaller ¶
type MockAPICaller struct {
// contains filtered or unexported fields
}
MockAPICaller is a mock of APICaller interface
func NewMockAPICaller ¶
func NewMockAPICaller(ctrl *gomock.Controller) *MockAPICaller
NewMockAPICaller creates a new mock instance
func (*MockAPICaller) APICall ¶
func (m *MockAPICaller) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error
APICall mocks base method
func (*MockAPICaller) BakeryClient ¶
func (m *MockAPICaller) BakeryClient() base.MacaroonDischarger
BakeryClient mocks base method
func (*MockAPICaller) BestFacadeVersion ¶
func (m *MockAPICaller) BestFacadeVersion(arg0 string) int
BestFacadeVersion mocks base method
func (*MockAPICaller) ConnectControllerStream ¶
func (m *MockAPICaller) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)
ConnectControllerStream mocks base method
func (*MockAPICaller) ConnectStream ¶
ConnectStream mocks base method
func (*MockAPICaller) Context ¶
func (m *MockAPICaller) Context() context.Context
Context mocks base method
func (*MockAPICaller) EXPECT ¶
func (m *MockAPICaller) EXPECT() *MockAPICallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPICaller) HTTPClient ¶
func (m *MockAPICaller) HTTPClient() (*httprequest.Client, error)
HTTPClient mocks base method
type MockAPICallerMockRecorder ¶
type MockAPICallerMockRecorder struct {
// contains filtered or unexported fields
}
MockAPICallerMockRecorder is the mock recorder for MockAPICaller
func (*MockAPICallerMockRecorder) APICall ¶
func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
APICall indicates an expected call of APICall
func (*MockAPICallerMockRecorder) BakeryClient ¶
func (mr *MockAPICallerMockRecorder) BakeryClient() *gomock.Call
BakeryClient indicates an expected call of BakeryClient
func (*MockAPICallerMockRecorder) BestFacadeVersion ¶
func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call
BestFacadeVersion indicates an expected call of BestFacadeVersion
func (*MockAPICallerMockRecorder) ConnectControllerStream ¶
func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call
ConnectControllerStream indicates an expected call of ConnectControllerStream
func (*MockAPICallerMockRecorder) ConnectStream ¶
func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call
ConnectStream indicates an expected call of ConnectStream
func (*MockAPICallerMockRecorder) Context ¶
func (mr *MockAPICallerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockAPICallerMockRecorder) HTTPClient ¶
func (mr *MockAPICallerMockRecorder) HTTPClient() *gomock.Call
HTTPClient indicates an expected call of HTTPClient
func (*MockAPICallerMockRecorder) ModelTag ¶
func (mr *MockAPICallerMockRecorder) ModelTag() *gomock.Call
ModelTag indicates an expected call of ModelTag
type MockAgent ¶
type MockAgent struct {
// contains filtered or unexported fields
}
MockAgent is a mock of Agent interface
func NewMockAgent ¶
func NewMockAgent(ctrl *gomock.Controller) *MockAgent
NewMockAgent creates a new mock instance
func (*MockAgent) ChangeConfig ¶
func (m *MockAgent) ChangeConfig(arg0 agent.ConfigMutator) error
ChangeConfig mocks base method
func (*MockAgent) CurrentConfig ¶
CurrentConfig mocks base method
func (*MockAgent) EXPECT ¶
func (m *MockAgent) EXPECT() *MockAgentMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockAgentMockRecorder ¶
type MockAgentMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentMockRecorder is the mock recorder for MockAgent
func (*MockAgentMockRecorder) ChangeConfig ¶
func (mr *MockAgentMockRecorder) ChangeConfig(arg0 interface{}) *gomock.Call
ChangeConfig indicates an expected call of ChangeConfig
func (*MockAgentMockRecorder) CurrentConfig ¶
func (mr *MockAgentMockRecorder) CurrentConfig() *gomock.Call
CurrentConfig indicates an expected call of CurrentConfig
type MockConfig ¶
type MockConfig struct {
// contains filtered or unexported fields
}
MockConfig is a mock of Config interface
func NewMockConfig ¶
func NewMockConfig(ctrl *gomock.Controller) *MockConfig
NewMockConfig creates a new mock instance
func (*MockConfig) APIAddresses ¶
func (m *MockConfig) APIAddresses() ([]string, error)
APIAddresses mocks base method
func (*MockConfig) APIInfo ¶
func (m *MockConfig) APIInfo() (*api.Info, bool)
APIInfo mocks base method
func (*MockConfig) Controller ¶
func (m *MockConfig) Controller() names.ControllerTag
Controller mocks base method
func (*MockConfig) EXPECT ¶
func (m *MockConfig) EXPECT() *MockConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConfig) JujuDBSnapChannel ¶
func (m *MockConfig) JujuDBSnapChannel() string
JujuDBSnapChannel mocks base method
func (*MockConfig) LoggingConfig ¶
func (m *MockConfig) LoggingConfig() string
LoggingConfig mocks base method
func (*MockConfig) MetricsSpoolDir ¶
func (m *MockConfig) MetricsSpoolDir() string
MetricsSpoolDir mocks base method
func (*MockConfig) MongoInfo ¶
func (m *MockConfig) MongoInfo() (*mongo.MongoInfo, bool)
MongoInfo mocks base method
func (*MockConfig) MongoMemoryProfile ¶
func (m *MockConfig) MongoMemoryProfile() mongo.MemoryProfile
MongoMemoryProfile mocks base method
func (*MockConfig) NonSyncedWritesToRaftLog ¶
func (m *MockConfig) NonSyncedWritesToRaftLog() bool
NonSyncedWritesToRaftLog mocks base method
func (*MockConfig) OldPassword ¶
func (m *MockConfig) OldPassword() string
OldPassword mocks base method
func (*MockConfig) StateServingInfo ¶
func (m *MockConfig) StateServingInfo() (controller.StateServingInfo, bool)
StateServingInfo mocks base method
func (*MockConfig) SystemIdentityPath ¶
func (m *MockConfig) SystemIdentityPath() string
SystemIdentityPath mocks base method
func (*MockConfig) TransientDataDir ¶
func (m *MockConfig) TransientDataDir() string
TransientDataDir mocks base method
func (*MockConfig) UpgradedToVersion ¶
func (m *MockConfig) UpgradedToVersion() version.Number
UpgradedToVersion mocks base method
func (*MockConfig) WriteCommands ¶
func (m *MockConfig) WriteCommands(arg0 shell.Renderer) ([]string, error)
WriteCommands mocks base method
type MockConfigMockRecorder ¶
type MockConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigMockRecorder is the mock recorder for MockConfig
func (*MockConfigMockRecorder) APIAddresses ¶
func (mr *MockConfigMockRecorder) APIAddresses() *gomock.Call
APIAddresses indicates an expected call of APIAddresses
func (*MockConfigMockRecorder) APIInfo ¶
func (mr *MockConfigMockRecorder) APIInfo() *gomock.Call
APIInfo indicates an expected call of APIInfo
func (*MockConfigMockRecorder) CACert ¶
func (mr *MockConfigMockRecorder) CACert() *gomock.Call
CACert indicates an expected call of CACert
func (*MockConfigMockRecorder) Controller ¶
func (mr *MockConfigMockRecorder) Controller() *gomock.Call
Controller indicates an expected call of Controller
func (*MockConfigMockRecorder) DataDir ¶
func (mr *MockConfigMockRecorder) DataDir() *gomock.Call
DataDir indicates an expected call of DataDir
func (*MockConfigMockRecorder) Dir ¶
func (mr *MockConfigMockRecorder) Dir() *gomock.Call
Dir indicates an expected call of Dir
func (*MockConfigMockRecorder) Jobs ¶
func (mr *MockConfigMockRecorder) Jobs() *gomock.Call
Jobs indicates an expected call of Jobs
func (*MockConfigMockRecorder) JujuDBSnapChannel ¶
func (mr *MockConfigMockRecorder) JujuDBSnapChannel() *gomock.Call
JujuDBSnapChannel indicates an expected call of JujuDBSnapChannel
func (*MockConfigMockRecorder) LogDir ¶
func (mr *MockConfigMockRecorder) LogDir() *gomock.Call
LogDir indicates an expected call of LogDir
func (*MockConfigMockRecorder) LoggingConfig ¶
func (mr *MockConfigMockRecorder) LoggingConfig() *gomock.Call
LoggingConfig indicates an expected call of LoggingConfig
func (*MockConfigMockRecorder) MetricsSpoolDir ¶
func (mr *MockConfigMockRecorder) MetricsSpoolDir() *gomock.Call
MetricsSpoolDir indicates an expected call of MetricsSpoolDir
func (*MockConfigMockRecorder) Model ¶
func (mr *MockConfigMockRecorder) Model() *gomock.Call
Model indicates an expected call of Model
func (*MockConfigMockRecorder) MongoInfo ¶
func (mr *MockConfigMockRecorder) MongoInfo() *gomock.Call
MongoInfo indicates an expected call of MongoInfo
func (*MockConfigMockRecorder) MongoMemoryProfile ¶
func (mr *MockConfigMockRecorder) MongoMemoryProfile() *gomock.Call
MongoMemoryProfile indicates an expected call of MongoMemoryProfile
func (*MockConfigMockRecorder) NonSyncedWritesToRaftLog ¶
func (mr *MockConfigMockRecorder) NonSyncedWritesToRaftLog() *gomock.Call
NonSyncedWritesToRaftLog indicates an expected call of NonSyncedWritesToRaftLog
func (*MockConfigMockRecorder) Nonce ¶
func (mr *MockConfigMockRecorder) Nonce() *gomock.Call
Nonce indicates an expected call of Nonce
func (*MockConfigMockRecorder) OldPassword ¶
func (mr *MockConfigMockRecorder) OldPassword() *gomock.Call
OldPassword indicates an expected call of OldPassword
func (*MockConfigMockRecorder) StateServingInfo ¶
func (mr *MockConfigMockRecorder) StateServingInfo() *gomock.Call
StateServingInfo indicates an expected call of StateServingInfo
func (*MockConfigMockRecorder) SystemIdentityPath ¶
func (mr *MockConfigMockRecorder) SystemIdentityPath() *gomock.Call
SystemIdentityPath indicates an expected call of SystemIdentityPath
func (*MockConfigMockRecorder) Tag ¶
func (mr *MockConfigMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag
func (*MockConfigMockRecorder) TransientDataDir ¶
func (mr *MockConfigMockRecorder) TransientDataDir() *gomock.Call
TransientDataDir indicates an expected call of TransientDataDir
func (*MockConfigMockRecorder) UpgradedToVersion ¶
func (mr *MockConfigMockRecorder) UpgradedToVersion() *gomock.Call
UpgradedToVersion indicates an expected call of UpgradedToVersion
func (*MockConfigMockRecorder) Value ¶
func (mr *MockConfigMockRecorder) Value(arg0 interface{}) *gomock.Call
Value indicates an expected call of Value
func (*MockConfigMockRecorder) WriteCommands ¶
func (mr *MockConfigMockRecorder) WriteCommands(arg0 interface{}) *gomock.Call
WriteCommands indicates an expected call of WriteCommands
type MockContext ¶
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface
func NewMockContext ¶
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance
func (*MockContext) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContext) Get ¶
func (m *MockContext) Get(arg0 string, arg1 interface{}) error
Get mocks base method
type MockContextMockRecorder ¶
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext
func (*MockContextMockRecorder) Abort ¶
func (mr *MockContextMockRecorder) Abort() *gomock.Call
Abort indicates an expected call of Abort
func (*MockContextMockRecorder) Get ¶
func (mr *MockContextMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
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) 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 interface{}) *gomock.Call
AdoptResources indicates an expected call of AdoptResources
func (*MockEnvironMockRecorder) AllInstances ¶
func (mr *MockEnvironMockRecorder) AllInstances(arg0 interface{}) *gomock.Call
AllInstances indicates an expected call of AllInstances
func (*MockEnvironMockRecorder) AllRunningInstances ¶
func (mr *MockEnvironMockRecorder) AllRunningInstances(arg0 interface{}) *gomock.Call
AllRunningInstances indicates an expected call of AllRunningInstances
func (*MockEnvironMockRecorder) Bootstrap ¶
func (mr *MockEnvironMockRecorder) Bootstrap(arg0, arg1, arg2 interface{}) *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 interface{}) *gomock.Call
ConstraintsValidator indicates an expected call of ConstraintsValidator
func (*MockEnvironMockRecorder) ControllerInstances ¶
func (mr *MockEnvironMockRecorder) ControllerInstances(arg0, arg1 interface{}) *gomock.Call
ControllerInstances indicates an expected call of ControllerInstances
func (*MockEnvironMockRecorder) Create ¶
func (mr *MockEnvironMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockEnvironMockRecorder) Destroy ¶
func (mr *MockEnvironMockRecorder) Destroy(arg0 interface{}) *gomock.Call
Destroy indicates an expected call of Destroy
func (*MockEnvironMockRecorder) DestroyController ¶
func (mr *MockEnvironMockRecorder) DestroyController(arg0, arg1 interface{}) *gomock.Call
DestroyController indicates an expected call of DestroyController
func (*MockEnvironMockRecorder) InstanceTypes ¶
func (mr *MockEnvironMockRecorder) InstanceTypes(arg0, arg1 interface{}) *gomock.Call
InstanceTypes indicates an expected call of InstanceTypes
func (*MockEnvironMockRecorder) Instances ¶
func (mr *MockEnvironMockRecorder) Instances(arg0, arg1 interface{}) *gomock.Call
Instances indicates an expected call of Instances
func (*MockEnvironMockRecorder) PrecheckInstance ¶
func (mr *MockEnvironMockRecorder) PrecheckInstance(arg0, arg1 interface{}) *gomock.Call
PrecheckInstance indicates an expected call of PrecheckInstance
func (*MockEnvironMockRecorder) PrepareForBootstrap ¶
func (mr *MockEnvironMockRecorder) PrepareForBootstrap(arg0, arg1 interface{}) *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 interface{}) *gomock.Call
SetConfig indicates an expected call of SetConfig
func (*MockEnvironMockRecorder) StartInstance ¶
func (mr *MockEnvironMockRecorder) StartInstance(arg0, arg1 interface{}) *gomock.Call
StartInstance indicates an expected call of StartInstance
func (*MockEnvironMockRecorder) StopInstances ¶
func (mr *MockEnvironMockRecorder) StopInstances(arg0 interface{}, arg1 ...interface{}) *gomock.Call
StopInstances indicates an expected call of StopInstances
func (*MockEnvironMockRecorder) StorageProvider ¶
func (mr *MockEnvironMockRecorder) StorageProvider(arg0 interface{}) *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 MockInstanceBroker ¶
type MockInstanceBroker struct {
// contains filtered or unexported fields
}
MockInstanceBroker is a mock of InstanceBroker interface
func NewMockInstanceBroker ¶
func NewMockInstanceBroker(ctrl *gomock.Controller) *MockInstanceBroker
NewMockInstanceBroker creates a new mock instance
func (*MockInstanceBroker) AllInstances ¶
func (m *MockInstanceBroker) AllInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
AllInstances mocks base method
func (*MockInstanceBroker) AllRunningInstances ¶
func (m *MockInstanceBroker) AllRunningInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)
AllRunningInstances mocks base method
func (*MockInstanceBroker) EXPECT ¶
func (m *MockInstanceBroker) EXPECT() *MockInstanceBrokerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInstanceBroker) StartInstance ¶
func (m *MockInstanceBroker) StartInstance(arg0 context.ProviderCallContext, arg1 environs.StartInstanceParams) (*environs.StartInstanceResult, error)
StartInstance mocks base method
func (*MockInstanceBroker) StopInstances ¶
func (m *MockInstanceBroker) StopInstances(arg0 context.ProviderCallContext, arg1 ...instance.Id) error
StopInstances mocks base method
type MockInstanceBrokerMockRecorder ¶
type MockInstanceBrokerMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceBrokerMockRecorder is the mock recorder for MockInstanceBroker
func (*MockInstanceBrokerMockRecorder) AllInstances ¶
func (mr *MockInstanceBrokerMockRecorder) AllInstances(arg0 interface{}) *gomock.Call
AllInstances indicates an expected call of AllInstances
func (*MockInstanceBrokerMockRecorder) AllRunningInstances ¶
func (mr *MockInstanceBrokerMockRecorder) AllRunningInstances(arg0 interface{}) *gomock.Call
AllRunningInstances indicates an expected call of AllRunningInstances
func (*MockInstanceBrokerMockRecorder) StartInstance ¶
func (mr *MockInstanceBrokerMockRecorder) StartInstance(arg0, arg1 interface{}) *gomock.Call
StartInstance indicates an expected call of StartInstance
func (*MockInstanceBrokerMockRecorder) StopInstances ¶
func (mr *MockInstanceBrokerMockRecorder) StopInstances(arg0 interface{}, arg1 ...interface{}) *gomock.Call
StopInstances indicates an expected call of StopInstances
type MockInstanceMutaterAPI ¶
type MockInstanceMutaterAPI struct {
// contains filtered or unexported fields
}
MockInstanceMutaterAPI is a mock of InstanceMutaterAPI interface
func NewMockInstanceMutaterAPI ¶
func NewMockInstanceMutaterAPI(ctrl *gomock.Controller) *MockInstanceMutaterAPI
NewMockInstanceMutaterAPI creates a new mock instance
func (*MockInstanceMutaterAPI) EXPECT ¶
func (m *MockInstanceMutaterAPI) EXPECT() *MockInstanceMutaterAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInstanceMutaterAPI) Machine ¶
func (m *MockInstanceMutaterAPI) Machine(arg0 names.MachineTag) (instancemutater.MutaterMachine, error)
Machine mocks base method
func (*MockInstanceMutaterAPI) WatchMachines ¶
func (m *MockInstanceMutaterAPI) WatchMachines() (watcher.StringsWatcher, error)
WatchMachines mocks base method
type MockInstanceMutaterAPIMockRecorder ¶
type MockInstanceMutaterAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceMutaterAPIMockRecorder is the mock recorder for MockInstanceMutaterAPI
func (*MockInstanceMutaterAPIMockRecorder) Machine ¶
func (mr *MockInstanceMutaterAPIMockRecorder) Machine(arg0 interface{}) *gomock.Call
Machine indicates an expected call of Machine
func (*MockInstanceMutaterAPIMockRecorder) WatchMachines ¶
func (mr *MockInstanceMutaterAPIMockRecorder) WatchMachines() *gomock.Call
WatchMachines indicates an expected call of WatchMachines
type MockLXDProfiler ¶
type MockLXDProfiler struct {
// contains filtered or unexported fields
}
MockLXDProfiler is a mock of LXDProfiler interface
func NewMockLXDProfiler ¶
func NewMockLXDProfiler(ctrl *gomock.Controller) *MockLXDProfiler
NewMockLXDProfiler creates a new mock instance
func (*MockLXDProfiler) AssignLXDProfiles ¶
func (m *MockLXDProfiler) AssignLXDProfiles(arg0 string, arg1 []string, arg2 []lxdprofile.ProfilePost) ([]string, error)
AssignLXDProfiles mocks base method
func (*MockLXDProfiler) EXPECT ¶
func (m *MockLXDProfiler) EXPECT() *MockLXDProfilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLXDProfiler) LXDProfileNames ¶
func (m *MockLXDProfiler) LXDProfileNames(arg0 string) ([]string, error)
LXDProfileNames mocks base method
func (*MockLXDProfiler) MaybeWriteLXDProfile ¶
func (m *MockLXDProfiler) MaybeWriteLXDProfile(arg0 string, arg1 lxdprofile.Profile) error
MaybeWriteLXDProfile mocks base method
type MockLXDProfilerMockRecorder ¶
type MockLXDProfilerMockRecorder struct {
// contains filtered or unexported fields
}
MockLXDProfilerMockRecorder is the mock recorder for MockLXDProfiler
func (*MockLXDProfilerMockRecorder) AssignLXDProfiles ¶
func (mr *MockLXDProfilerMockRecorder) AssignLXDProfiles(arg0, arg1, arg2 interface{}) *gomock.Call
AssignLXDProfiles indicates an expected call of AssignLXDProfiles
func (*MockLXDProfilerMockRecorder) LXDProfileNames ¶
func (mr *MockLXDProfilerMockRecorder) LXDProfileNames(arg0 interface{}) *gomock.Call
LXDProfileNames indicates an expected call of LXDProfileNames
func (*MockLXDProfilerMockRecorder) MaybeWriteLXDProfile ¶
func (mr *MockLXDProfilerMockRecorder) MaybeWriteLXDProfile(arg0, arg1 interface{}) *gomock.Call
MaybeWriteLXDProfile indicates an expected call of MaybeWriteLXDProfile
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance
func (*MockLogger) Debugf ¶
func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})
Debugf mocks base method
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLogger) Errorf ¶
func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})
Errorf mocks base method
func (*MockLogger) Infof ¶
func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})
Infof mocks base method
func (*MockLogger) Tracef ¶
func (m *MockLogger) Tracef(arg0 string, arg1 ...interface{})
Tracef mocks base method
func (*MockLogger) Warningf ¶
func (m *MockLogger) Warningf(arg0 string, arg1 ...interface{})
Warningf mocks base method
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger
func (*MockLoggerMockRecorder) Debugf ¶
func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debugf indicates an expected call of Debugf
func (*MockLoggerMockRecorder) Errorf ¶
func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Errorf indicates an expected call of Errorf
func (*MockLoggerMockRecorder) Infof ¶
func (mr *MockLoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Infof indicates an expected call of Infof
func (*MockLoggerMockRecorder) Tracef ¶
func (mr *MockLoggerMockRecorder) Tracef(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Tracef indicates an expected call of Tracef
func (*MockLoggerMockRecorder) Warningf ¶
func (mr *MockLoggerMockRecorder) Warningf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warningf indicates an expected call of Warningf
type MockMutaterContext ¶
type MockMutaterContext struct {
// contains filtered or unexported fields
}
MockMutaterContext is a mock of MutaterContext interface
func NewMockMutaterContext ¶
func NewMockMutaterContext(ctrl *gomock.Controller) *MockMutaterContext
NewMockMutaterContext creates a new mock instance
func (*MockMutaterContext) EXPECT ¶
func (m *MockMutaterContext) EXPECT() *MockMutaterContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMutaterContext) KillWithError ¶
func (m *MockMutaterContext) KillWithError(arg0 error)
KillWithError mocks base method
type MockMutaterContextMockRecorder ¶
type MockMutaterContextMockRecorder struct {
// contains filtered or unexported fields
}
MockMutaterContextMockRecorder is the mock recorder for MockMutaterContext
func (*MockMutaterContextMockRecorder) KillWithError ¶
func (mr *MockMutaterContextMockRecorder) KillWithError(arg0 interface{}) *gomock.Call
KillWithError indicates an expected call of KillWithError
type MockMutaterMachine ¶
type MockMutaterMachine struct {
// contains filtered or unexported fields
}
MockMutaterMachine is a mock of MutaterMachine interface
func NewMockMutaterMachine ¶
func NewMockMutaterMachine(ctrl *gomock.Controller) *MockMutaterMachine
NewMockMutaterMachine creates a new mock instance
func (*MockMutaterMachine) CharmProfilingInfo ¶
func (m *MockMutaterMachine) CharmProfilingInfo() (*instancemutater.UnitProfileInfo, error)
CharmProfilingInfo mocks base method
func (*MockMutaterMachine) ContainerType ¶
func (m *MockMutaterMachine) ContainerType() (instance.ContainerType, error)
ContainerType mocks base method
func (*MockMutaterMachine) EXPECT ¶
func (m *MockMutaterMachine) EXPECT() *MockMutaterMachineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMutaterMachine) InstanceId ¶
func (m *MockMutaterMachine) InstanceId() (string, error)
InstanceId mocks base method
func (*MockMutaterMachine) Life ¶
func (m *MockMutaterMachine) Life() life.Value
Life mocks base method
func (*MockMutaterMachine) Refresh ¶
func (m *MockMutaterMachine) Refresh() error
Refresh mocks base method
func (*MockMutaterMachine) SetCharmProfiles ¶
func (m *MockMutaterMachine) SetCharmProfiles(arg0 []string) error
SetCharmProfiles mocks base method
func (*MockMutaterMachine) SetModificationStatus ¶
func (m *MockMutaterMachine) SetModificationStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
SetModificationStatus mocks base method
func (*MockMutaterMachine) Tag ¶
func (m *MockMutaterMachine) Tag() names.MachineTag
Tag mocks base method
func (*MockMutaterMachine) WatchContainers ¶
func (m *MockMutaterMachine) WatchContainers() (watcher.StringsWatcher, error)
WatchContainers mocks base method
func (*MockMutaterMachine) WatchLXDProfileVerificationNeeded ¶
func (m *MockMutaterMachine) WatchLXDProfileVerificationNeeded() (watcher.NotifyWatcher, error)
WatchLXDProfileVerificationNeeded mocks base method
func (*MockMutaterMachine) WatchUnits ¶
func (m *MockMutaterMachine) WatchUnits() (watcher.StringsWatcher, error)
WatchUnits mocks base method
type MockMutaterMachineMockRecorder ¶
type MockMutaterMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockMutaterMachineMockRecorder is the mock recorder for MockMutaterMachine
func (*MockMutaterMachineMockRecorder) CharmProfilingInfo ¶
func (mr *MockMutaterMachineMockRecorder) CharmProfilingInfo() *gomock.Call
CharmProfilingInfo indicates an expected call of CharmProfilingInfo
func (*MockMutaterMachineMockRecorder) ContainerType ¶
func (mr *MockMutaterMachineMockRecorder) ContainerType() *gomock.Call
ContainerType indicates an expected call of ContainerType
func (*MockMutaterMachineMockRecorder) InstanceId ¶
func (mr *MockMutaterMachineMockRecorder) InstanceId() *gomock.Call
InstanceId indicates an expected call of InstanceId
func (*MockMutaterMachineMockRecorder) Life ¶
func (mr *MockMutaterMachineMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life
func (*MockMutaterMachineMockRecorder) Refresh ¶
func (mr *MockMutaterMachineMockRecorder) Refresh() *gomock.Call
Refresh indicates an expected call of Refresh
func (*MockMutaterMachineMockRecorder) SetCharmProfiles ¶
func (mr *MockMutaterMachineMockRecorder) SetCharmProfiles(arg0 interface{}) *gomock.Call
SetCharmProfiles indicates an expected call of SetCharmProfiles
func (*MockMutaterMachineMockRecorder) SetModificationStatus ¶
func (mr *MockMutaterMachineMockRecorder) SetModificationStatus(arg0, arg1, arg2 interface{}) *gomock.Call
SetModificationStatus indicates an expected call of SetModificationStatus
func (*MockMutaterMachineMockRecorder) Tag ¶
func (mr *MockMutaterMachineMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag
func (*MockMutaterMachineMockRecorder) WatchContainers ¶
func (mr *MockMutaterMachineMockRecorder) WatchContainers() *gomock.Call
WatchContainers indicates an expected call of WatchContainers
func (*MockMutaterMachineMockRecorder) WatchLXDProfileVerificationNeeded ¶
func (mr *MockMutaterMachineMockRecorder) WatchLXDProfileVerificationNeeded() *gomock.Call
WatchLXDProfileVerificationNeeded indicates an expected call of WatchLXDProfileVerificationNeeded
func (*MockMutaterMachineMockRecorder) WatchUnits ¶
func (mr *MockMutaterMachineMockRecorder) WatchUnits() *gomock.Call
WatchUnits indicates an expected call of WatchUnits
type MockTag ¶
type MockTag struct {
// contains filtered or unexported fields
}
MockTag is a mock of Tag interface
func NewMockTag ¶
func NewMockTag(ctrl *gomock.Controller) *MockTag
NewMockTag creates a new mock instance
func (*MockTag) EXPECT ¶
func (m *MockTag) EXPECT() *MockTagMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTagMockRecorder ¶
type MockTagMockRecorder struct {
// contains filtered or unexported fields
}
MockTagMockRecorder is the mock recorder for MockTag
func (*MockTagMockRecorder) Id ¶
func (mr *MockTagMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id
func (*MockTagMockRecorder) Kind ¶
func (mr *MockTagMockRecorder) Kind() *gomock.Call
Kind indicates an expected call of Kind
func (*MockTagMockRecorder) String ¶
func (mr *MockTagMockRecorder) String() *gomock.Call
String indicates an expected call of String
type MockWorker ¶
type MockWorker struct {
// contains filtered or unexported fields
}
MockWorker is a mock of Worker interface
func NewMockWorker ¶
func NewMockWorker(ctrl *gomock.Controller) *MockWorker
NewMockWorker creates a new mock instance
func (*MockWorker) EXPECT ¶
func (m *MockWorker) EXPECT() *MockWorkerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockWorkerMockRecorder ¶
type MockWorkerMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkerMockRecorder is the mock recorder for MockWorker
func (*MockWorkerMockRecorder) Kill ¶
func (mr *MockWorkerMockRecorder) Kill() *gomock.Call
Kill indicates an expected call of Kill
func (*MockWorkerMockRecorder) Wait ¶
func (mr *MockWorkerMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait