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 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 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 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 MockLock
- type MockLockMockRecorder
- type MockMachineProvisioner
- func (m *MockMachineProvisioner) AvailabilityZone() (string, error)
- func (m *MockMachineProvisioner) DistributionGroup() ([]instance.Id, error)
- func (m *MockMachineProvisioner) EXPECT() *MockMachineProvisionerMockRecorder
- func (m *MockMachineProvisioner) EnsureDead() error
- func (m *MockMachineProvisioner) Id() string
- func (m *MockMachineProvisioner) InstanceId() (instance.Id, error)
- func (m *MockMachineProvisioner) InstanceStatus() (status.Status, string, error)
- func (m *MockMachineProvisioner) KeepInstance() (bool, error)
- func (m *MockMachineProvisioner) Life() life.Value
- func (m *MockMachineProvisioner) MachineTag() names.MachineTag
- func (m *MockMachineProvisioner) MarkForRemoval() error
- func (m *MockMachineProvisioner) ModelAgentVersion() (*version.Number, error)
- func (m *MockMachineProvisioner) ProvisioningInfo() (*params.ProvisioningInfo, error)
- func (m *MockMachineProvisioner) Refresh() error
- func (m *MockMachineProvisioner) Remove() error
- func (m *MockMachineProvisioner) SetCharmProfiles(arg0 []string) error
- func (m *MockMachineProvisioner) SetInstanceInfo(arg0 instance.Id, arg1, arg2 string, arg3 *instance.HardwareCharacteristics, ...) error
- func (m *MockMachineProvisioner) SetInstanceStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
- func (m *MockMachineProvisioner) SetModificationStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
- func (m *MockMachineProvisioner) SetPassword(arg0 string) error
- func (m *MockMachineProvisioner) SetStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
- func (m *MockMachineProvisioner) SetSupportedContainers(arg0 ...instance.ContainerType) error
- func (m *MockMachineProvisioner) Status() (status.Status, string, error)
- func (m *MockMachineProvisioner) String() string
- func (m *MockMachineProvisioner) SupportedContainers() ([]instance.ContainerType, bool, error)
- func (m *MockMachineProvisioner) SupportsNoContainers() error
- func (m *MockMachineProvisioner) Tag() names.Tag
- func (m *MockMachineProvisioner) WatchAllContainers() (watcher.StringsWatcher, error)
- func (m *MockMachineProvisioner) WatchContainers(arg0 instance.ContainerType) (watcher.StringsWatcher, error)
- type MockMachineProvisionerMockRecorder
- func (mr *MockMachineProvisionerMockRecorder) AvailabilityZone() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) DistributionGroup() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) EnsureDead() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) Id() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) InstanceId() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) InstanceStatus() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) KeepInstance() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) Life() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) MachineTag() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) MarkForRemoval() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) ModelAgentVersion() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) ProvisioningInfo() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) Refresh() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) Remove() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) SetCharmProfiles(arg0 interface{}) *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) SetInstanceInfo(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) SetInstanceStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) SetModificationStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) SetPassword(arg0 interface{}) *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) SetStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) SetSupportedContainers(arg0 ...interface{}) *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) Status() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) String() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) SupportedContainers() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) SupportsNoContainers() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) Tag() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) WatchAllContainers() *gomock.Call
- func (mr *MockMachineProvisionerMockRecorder) WatchContainers(arg0 interface{}) *gomock.Call
- type MockState
- func (m *MockState) ContainerConfig() (params.ContainerConfig, error)
- func (m *MockState) ContainerManagerConfig(arg0 params.ContainerManagerConfigParams) (params.ContainerManagerConfig, error)
- func (m *MockState) EXPECT() *MockStateMockRecorder
- func (m *MockState) GetContainerProfileInfo(arg0 names.MachineTag) ([]*provisioner.LXDProfileResult, error)
- func (m *MockState) HostChangesForContainer(arg0 names.MachineTag) ([]network0.DeviceToBridge, int, error)
- func (m *MockState) Machines(arg0 ...names.MachineTag) ([]provisioner.MachineResult, error)
- func (m *MockState) PrepareContainerInterfaceInfo(arg0 names.MachineTag) (network.InterfaceInfos, error)
- func (m *MockState) ReleaseContainerAddresses(arg0 names.MachineTag) error
- func (m *MockState) SetHostMachineNetworkConfig(arg0 names.MachineTag, arg1 []params.NetworkConfig) error
- type MockStateMockRecorder
- func (mr *MockStateMockRecorder) ContainerConfig() *gomock.Call
- func (mr *MockStateMockRecorder) ContainerManagerConfig(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) GetContainerProfileInfo(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) HostChangesForContainer(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) Machines(arg0 ...interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) PrepareContainerInterfaceInfo(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ReleaseContainerAddresses(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) SetHostMachineNetworkConfig(arg0, arg1 interface{}) *gomock.Call
- 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 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 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 MockLock ¶
type MockLock struct {
// contains filtered or unexported fields
}
MockLock is a mock of Lock interface
func NewMockLock ¶
func NewMockLock(ctrl *gomock.Controller) *MockLock
NewMockLock creates a new mock instance
func (*MockLock) Acquire ¶
func (m *MockLock) Acquire(arg0 machinelock.Spec) (func(), error)
Acquire mocks base method
func (*MockLock) EXPECT ¶
func (m *MockLock) EXPECT() *MockLockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLock) Report ¶
func (m *MockLock) Report(arg0 ...machinelock.ReportOption) (string, error)
Report mocks base method
type MockLockMockRecorder ¶
type MockLockMockRecorder struct {
// contains filtered or unexported fields
}
MockLockMockRecorder is the mock recorder for MockLock
func (*MockLockMockRecorder) Acquire ¶
func (mr *MockLockMockRecorder) Acquire(arg0 interface{}) *gomock.Call
Acquire indicates an expected call of Acquire
func (*MockLockMockRecorder) Report ¶
func (mr *MockLockMockRecorder) Report(arg0 ...interface{}) *gomock.Call
Report indicates an expected call of Report
type MockMachineProvisioner ¶
type MockMachineProvisioner struct {
// contains filtered or unexported fields
}
MockMachineProvisioner is a mock of MachineProvisioner interface
func NewMockMachineProvisioner ¶
func NewMockMachineProvisioner(ctrl *gomock.Controller) *MockMachineProvisioner
NewMockMachineProvisioner creates a new mock instance
func (*MockMachineProvisioner) AvailabilityZone ¶
func (m *MockMachineProvisioner) AvailabilityZone() (string, error)
AvailabilityZone mocks base method
func (*MockMachineProvisioner) DistributionGroup ¶
func (m *MockMachineProvisioner) DistributionGroup() ([]instance.Id, error)
DistributionGroup mocks base method
func (*MockMachineProvisioner) EXPECT ¶
func (m *MockMachineProvisioner) EXPECT() *MockMachineProvisionerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMachineProvisioner) EnsureDead ¶
func (m *MockMachineProvisioner) EnsureDead() error
EnsureDead mocks base method
func (*MockMachineProvisioner) Id ¶
func (m *MockMachineProvisioner) Id() string
Id mocks base method
func (*MockMachineProvisioner) InstanceId ¶
func (m *MockMachineProvisioner) InstanceId() (instance.Id, error)
InstanceId mocks base method
func (*MockMachineProvisioner) InstanceStatus ¶
func (m *MockMachineProvisioner) InstanceStatus() (status.Status, string, error)
InstanceStatus mocks base method
func (*MockMachineProvisioner) KeepInstance ¶
func (m *MockMachineProvisioner) KeepInstance() (bool, error)
KeepInstance mocks base method
func (*MockMachineProvisioner) Life ¶
func (m *MockMachineProvisioner) Life() life.Value
Life mocks base method
func (*MockMachineProvisioner) MachineTag ¶
func (m *MockMachineProvisioner) MachineTag() names.MachineTag
MachineTag mocks base method
func (*MockMachineProvisioner) MarkForRemoval ¶
func (m *MockMachineProvisioner) MarkForRemoval() error
MarkForRemoval mocks base method
func (*MockMachineProvisioner) ModelAgentVersion ¶
func (m *MockMachineProvisioner) ModelAgentVersion() (*version.Number, error)
ModelAgentVersion mocks base method
func (*MockMachineProvisioner) ProvisioningInfo ¶
func (m *MockMachineProvisioner) ProvisioningInfo() (*params.ProvisioningInfo, error)
ProvisioningInfo mocks base method
func (*MockMachineProvisioner) Refresh ¶
func (m *MockMachineProvisioner) Refresh() error
Refresh mocks base method
func (*MockMachineProvisioner) Remove ¶
func (m *MockMachineProvisioner) Remove() error
Remove mocks base method
func (*MockMachineProvisioner) SetCharmProfiles ¶
func (m *MockMachineProvisioner) SetCharmProfiles(arg0 []string) error
SetCharmProfiles mocks base method
func (*MockMachineProvisioner) SetInstanceInfo ¶
func (m *MockMachineProvisioner) SetInstanceInfo(arg0 instance.Id, arg1, arg2 string, arg3 *instance.HardwareCharacteristics, arg4 []params.NetworkConfig, arg5 []params.Volume, arg6 map[string]params.VolumeAttachmentInfo, arg7 []string) error
SetInstanceInfo mocks base method
func (*MockMachineProvisioner) SetInstanceStatus ¶
func (m *MockMachineProvisioner) SetInstanceStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
SetInstanceStatus mocks base method
func (*MockMachineProvisioner) SetModificationStatus ¶
func (m *MockMachineProvisioner) SetModificationStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
SetModificationStatus mocks base method
func (*MockMachineProvisioner) SetPassword ¶
func (m *MockMachineProvisioner) SetPassword(arg0 string) error
SetPassword mocks base method
func (*MockMachineProvisioner) SetStatus ¶
func (m *MockMachineProvisioner) SetStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
SetStatus mocks base method
func (*MockMachineProvisioner) SetSupportedContainers ¶
func (m *MockMachineProvisioner) SetSupportedContainers(arg0 ...instance.ContainerType) error
SetSupportedContainers mocks base method
func (*MockMachineProvisioner) Status ¶
func (m *MockMachineProvisioner) Status() (status.Status, string, error)
Status mocks base method
func (*MockMachineProvisioner) String ¶
func (m *MockMachineProvisioner) String() string
String mocks base method
func (*MockMachineProvisioner) SupportedContainers ¶
func (m *MockMachineProvisioner) SupportedContainers() ([]instance.ContainerType, bool, error)
SupportedContainers mocks base method
func (*MockMachineProvisioner) SupportsNoContainers ¶
func (m *MockMachineProvisioner) SupportsNoContainers() error
SupportsNoContainers mocks base method
func (*MockMachineProvisioner) Tag ¶
func (m *MockMachineProvisioner) Tag() names.Tag
Tag mocks base method
func (*MockMachineProvisioner) WatchAllContainers ¶
func (m *MockMachineProvisioner) WatchAllContainers() (watcher.StringsWatcher, error)
WatchAllContainers mocks base method
func (*MockMachineProvisioner) WatchContainers ¶
func (m *MockMachineProvisioner) WatchContainers(arg0 instance.ContainerType) (watcher.StringsWatcher, error)
WatchContainers mocks base method
type MockMachineProvisionerMockRecorder ¶
type MockMachineProvisionerMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineProvisionerMockRecorder is the mock recorder for MockMachineProvisioner
func (*MockMachineProvisionerMockRecorder) AvailabilityZone ¶
func (mr *MockMachineProvisionerMockRecorder) AvailabilityZone() *gomock.Call
AvailabilityZone indicates an expected call of AvailabilityZone
func (*MockMachineProvisionerMockRecorder) DistributionGroup ¶
func (mr *MockMachineProvisionerMockRecorder) DistributionGroup() *gomock.Call
DistributionGroup indicates an expected call of DistributionGroup
func (*MockMachineProvisionerMockRecorder) EnsureDead ¶
func (mr *MockMachineProvisionerMockRecorder) EnsureDead() *gomock.Call
EnsureDead indicates an expected call of EnsureDead
func (*MockMachineProvisionerMockRecorder) Id ¶
func (mr *MockMachineProvisionerMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id
func (*MockMachineProvisionerMockRecorder) InstanceId ¶
func (mr *MockMachineProvisionerMockRecorder) InstanceId() *gomock.Call
InstanceId indicates an expected call of InstanceId
func (*MockMachineProvisionerMockRecorder) InstanceStatus ¶
func (mr *MockMachineProvisionerMockRecorder) InstanceStatus() *gomock.Call
InstanceStatus indicates an expected call of InstanceStatus
func (*MockMachineProvisionerMockRecorder) KeepInstance ¶
func (mr *MockMachineProvisionerMockRecorder) KeepInstance() *gomock.Call
KeepInstance indicates an expected call of KeepInstance
func (*MockMachineProvisionerMockRecorder) Life ¶
func (mr *MockMachineProvisionerMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life
func (*MockMachineProvisionerMockRecorder) MachineTag ¶
func (mr *MockMachineProvisionerMockRecorder) MachineTag() *gomock.Call
MachineTag indicates an expected call of MachineTag
func (*MockMachineProvisionerMockRecorder) MarkForRemoval ¶
func (mr *MockMachineProvisionerMockRecorder) MarkForRemoval() *gomock.Call
MarkForRemoval indicates an expected call of MarkForRemoval
func (*MockMachineProvisionerMockRecorder) ModelAgentVersion ¶
func (mr *MockMachineProvisionerMockRecorder) ModelAgentVersion() *gomock.Call
ModelAgentVersion indicates an expected call of ModelAgentVersion
func (*MockMachineProvisionerMockRecorder) ProvisioningInfo ¶
func (mr *MockMachineProvisionerMockRecorder) ProvisioningInfo() *gomock.Call
ProvisioningInfo indicates an expected call of ProvisioningInfo
func (*MockMachineProvisionerMockRecorder) Refresh ¶
func (mr *MockMachineProvisionerMockRecorder) Refresh() *gomock.Call
Refresh indicates an expected call of Refresh
func (*MockMachineProvisionerMockRecorder) Remove ¶
func (mr *MockMachineProvisionerMockRecorder) Remove() *gomock.Call
Remove indicates an expected call of Remove
func (*MockMachineProvisionerMockRecorder) SetCharmProfiles ¶
func (mr *MockMachineProvisionerMockRecorder) SetCharmProfiles(arg0 interface{}) *gomock.Call
SetCharmProfiles indicates an expected call of SetCharmProfiles
func (*MockMachineProvisionerMockRecorder) SetInstanceInfo ¶
func (mr *MockMachineProvisionerMockRecorder) SetInstanceInfo(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
SetInstanceInfo indicates an expected call of SetInstanceInfo
func (*MockMachineProvisionerMockRecorder) SetInstanceStatus ¶
func (mr *MockMachineProvisionerMockRecorder) SetInstanceStatus(arg0, arg1, arg2 interface{}) *gomock.Call
SetInstanceStatus indicates an expected call of SetInstanceStatus
func (*MockMachineProvisionerMockRecorder) SetModificationStatus ¶
func (mr *MockMachineProvisionerMockRecorder) SetModificationStatus(arg0, arg1, arg2 interface{}) *gomock.Call
SetModificationStatus indicates an expected call of SetModificationStatus
func (*MockMachineProvisionerMockRecorder) SetPassword ¶
func (mr *MockMachineProvisionerMockRecorder) SetPassword(arg0 interface{}) *gomock.Call
SetPassword indicates an expected call of SetPassword
func (*MockMachineProvisionerMockRecorder) SetStatus ¶
func (mr *MockMachineProvisionerMockRecorder) SetStatus(arg0, arg1, arg2 interface{}) *gomock.Call
SetStatus indicates an expected call of SetStatus
func (*MockMachineProvisionerMockRecorder) SetSupportedContainers ¶
func (mr *MockMachineProvisionerMockRecorder) SetSupportedContainers(arg0 ...interface{}) *gomock.Call
SetSupportedContainers indicates an expected call of SetSupportedContainers
func (*MockMachineProvisionerMockRecorder) Status ¶
func (mr *MockMachineProvisionerMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status
func (*MockMachineProvisionerMockRecorder) String ¶
func (mr *MockMachineProvisionerMockRecorder) String() *gomock.Call
String indicates an expected call of String
func (*MockMachineProvisionerMockRecorder) SupportedContainers ¶
func (mr *MockMachineProvisionerMockRecorder) SupportedContainers() *gomock.Call
SupportedContainers indicates an expected call of SupportedContainers
func (*MockMachineProvisionerMockRecorder) SupportsNoContainers ¶
func (mr *MockMachineProvisionerMockRecorder) SupportsNoContainers() *gomock.Call
SupportsNoContainers indicates an expected call of SupportsNoContainers
func (*MockMachineProvisionerMockRecorder) Tag ¶
func (mr *MockMachineProvisionerMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag
func (*MockMachineProvisionerMockRecorder) WatchAllContainers ¶
func (mr *MockMachineProvisionerMockRecorder) WatchAllContainers() *gomock.Call
WatchAllContainers indicates an expected call of WatchAllContainers
func (*MockMachineProvisionerMockRecorder) WatchContainers ¶
func (mr *MockMachineProvisionerMockRecorder) WatchContainers(arg0 interface{}) *gomock.Call
WatchContainers indicates an expected call of WatchContainers
type MockState ¶
type MockState struct {
// contains filtered or unexported fields
}
MockState is a mock of State interface
func NewMockState ¶
func NewMockState(ctrl *gomock.Controller) *MockState
NewMockState creates a new mock instance
func (*MockState) ContainerConfig ¶
func (m *MockState) ContainerConfig() (params.ContainerConfig, error)
ContainerConfig mocks base method
func (*MockState) ContainerManagerConfig ¶
func (m *MockState) ContainerManagerConfig(arg0 params.ContainerManagerConfigParams) (params.ContainerManagerConfig, error)
ContainerManagerConfig mocks base method
func (*MockState) EXPECT ¶
func (m *MockState) EXPECT() *MockStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockState) GetContainerProfileInfo ¶
func (m *MockState) GetContainerProfileInfo(arg0 names.MachineTag) ([]*provisioner.LXDProfileResult, error)
GetContainerProfileInfo mocks base method
func (*MockState) HostChangesForContainer ¶
func (m *MockState) HostChangesForContainer(arg0 names.MachineTag) ([]network0.DeviceToBridge, int, error)
HostChangesForContainer mocks base method
func (*MockState) Machines ¶
func (m *MockState) Machines(arg0 ...names.MachineTag) ([]provisioner.MachineResult, error)
Machines mocks base method
func (*MockState) PrepareContainerInterfaceInfo ¶
func (m *MockState) PrepareContainerInterfaceInfo(arg0 names.MachineTag) (network.InterfaceInfos, error)
PrepareContainerInterfaceInfo mocks base method
func (*MockState) ReleaseContainerAddresses ¶
func (m *MockState) ReleaseContainerAddresses(arg0 names.MachineTag) error
ReleaseContainerAddresses mocks base method
func (*MockState) SetHostMachineNetworkConfig ¶
func (m *MockState) SetHostMachineNetworkConfig(arg0 names.MachineTag, arg1 []params.NetworkConfig) error
SetHostMachineNetworkConfig mocks base method
type MockStateMockRecorder ¶
type MockStateMockRecorder struct {
// contains filtered or unexported fields
}
MockStateMockRecorder is the mock recorder for MockState
func (*MockStateMockRecorder) ContainerConfig ¶
func (mr *MockStateMockRecorder) ContainerConfig() *gomock.Call
ContainerConfig indicates an expected call of ContainerConfig
func (*MockStateMockRecorder) ContainerManagerConfig ¶
func (mr *MockStateMockRecorder) ContainerManagerConfig(arg0 interface{}) *gomock.Call
ContainerManagerConfig indicates an expected call of ContainerManagerConfig
func (*MockStateMockRecorder) GetContainerProfileInfo ¶
func (mr *MockStateMockRecorder) GetContainerProfileInfo(arg0 interface{}) *gomock.Call
GetContainerProfileInfo indicates an expected call of GetContainerProfileInfo
func (*MockStateMockRecorder) HostChangesForContainer ¶
func (mr *MockStateMockRecorder) HostChangesForContainer(arg0 interface{}) *gomock.Call
HostChangesForContainer indicates an expected call of HostChangesForContainer
func (*MockStateMockRecorder) Machines ¶
func (mr *MockStateMockRecorder) Machines(arg0 ...interface{}) *gomock.Call
Machines indicates an expected call of Machines
func (*MockStateMockRecorder) PrepareContainerInterfaceInfo ¶
func (mr *MockStateMockRecorder) PrepareContainerInterfaceInfo(arg0 interface{}) *gomock.Call
PrepareContainerInterfaceInfo indicates an expected call of PrepareContainerInterfaceInfo
func (*MockStateMockRecorder) ReleaseContainerAddresses ¶
func (mr *MockStateMockRecorder) ReleaseContainerAddresses(arg0 interface{}) *gomock.Call
ReleaseContainerAddresses indicates an expected call of ReleaseContainerAddresses
func (*MockStateMockRecorder) SetHostMachineNetworkConfig ¶
func (mr *MockStateMockRecorder) SetHostMachineNetworkConfig(arg0, arg1 interface{}) *gomock.Call
SetHostMachineNetworkConfig indicates an expected call of SetHostMachineNetworkConfig
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