juju: github.com/juju/juju/worker/containerbroker/mocks Index | Files

package mocks

import "github.com/juju/juju/worker/containerbroker/mocks"

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

Package Files

agent_mock.go base_mock.go dependency_mock.go environs_mock.go machine_lock_mock.go machine_mock.go state_mock.go worker_mock.go

type MockAPICaller Uses

type MockAPICaller struct {
    // contains filtered or unexported fields
}

MockAPICaller is a mock of APICaller interface

func NewMockAPICaller Uses

func NewMockAPICaller(ctrl *gomock.Controller) *MockAPICaller

NewMockAPICaller creates a new mock instance

func (*MockAPICaller) APICall Uses

func (m *MockAPICaller) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error

APICall mocks base method

func (*MockAPICaller) BakeryClient Uses

func (m *MockAPICaller) BakeryClient() *httpbakery.Client

BakeryClient mocks base method

func (*MockAPICaller) BestFacadeVersion Uses

func (m *MockAPICaller) BestFacadeVersion(arg0 string) int

BestFacadeVersion mocks base method

func (*MockAPICaller) ConnectControllerStream Uses

func (m *MockAPICaller) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)

ConnectControllerStream mocks base method

func (*MockAPICaller) ConnectStream Uses

func (m *MockAPICaller) ConnectStream(arg0 string, arg1 url.Values) (base.Stream, error)

ConnectStream mocks base method

func (*MockAPICaller) EXPECT Uses

func (m *MockAPICaller) EXPECT() *MockAPICallerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAPICaller) HTTPClient Uses

func (m *MockAPICaller) HTTPClient() (*httprequest.Client, error)

HTTPClient mocks base method

func (*MockAPICaller) ModelTag Uses

func (m *MockAPICaller) ModelTag() (names_v3.ModelTag, bool)

ModelTag mocks base method

type MockAPICallerMockRecorder Uses

type MockAPICallerMockRecorder struct {
    // contains filtered or unexported fields
}

MockAPICallerMockRecorder is the mock recorder for MockAPICaller

func (*MockAPICallerMockRecorder) APICall Uses

func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

APICall indicates an expected call of APICall

func (*MockAPICallerMockRecorder) BakeryClient Uses

func (mr *MockAPICallerMockRecorder) BakeryClient() *gomock.Call

BakeryClient indicates an expected call of BakeryClient

func (*MockAPICallerMockRecorder) BestFacadeVersion Uses

func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call

BestFacadeVersion indicates an expected call of BestFacadeVersion

func (*MockAPICallerMockRecorder) ConnectControllerStream Uses

func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call

ConnectControllerStream indicates an expected call of ConnectControllerStream

func (*MockAPICallerMockRecorder) ConnectStream Uses

func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call

ConnectStream indicates an expected call of ConnectStream

func (*MockAPICallerMockRecorder) HTTPClient Uses

func (mr *MockAPICallerMockRecorder) HTTPClient() *gomock.Call

HTTPClient indicates an expected call of HTTPClient

func (*MockAPICallerMockRecorder) ModelTag Uses

func (mr *MockAPICallerMockRecorder) ModelTag() *gomock.Call

ModelTag indicates an expected call of ModelTag

type MockAgent Uses

type MockAgent struct {
    // contains filtered or unexported fields
}

MockAgent is a mock of Agent interface

func NewMockAgent Uses

func NewMockAgent(ctrl *gomock.Controller) *MockAgent

NewMockAgent creates a new mock instance

func (*MockAgent) ChangeConfig Uses

func (m *MockAgent) ChangeConfig(arg0 agent.ConfigMutator) error

ChangeConfig mocks base method

func (*MockAgent) CurrentConfig Uses

func (m *MockAgent) CurrentConfig() agent.Config

CurrentConfig mocks base method

func (*MockAgent) EXPECT Uses

func (m *MockAgent) EXPECT() *MockAgentMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

type MockAgentMockRecorder Uses

type MockAgentMockRecorder struct {
    // contains filtered or unexported fields
}

MockAgentMockRecorder is the mock recorder for MockAgent

func (*MockAgentMockRecorder) ChangeConfig Uses

func (mr *MockAgentMockRecorder) ChangeConfig(arg0 interface{}) *gomock.Call

ChangeConfig indicates an expected call of ChangeConfig

func (*MockAgentMockRecorder) CurrentConfig Uses

func (mr *MockAgentMockRecorder) CurrentConfig() *gomock.Call

CurrentConfig indicates an expected call of CurrentConfig

type MockConfig Uses

type MockConfig struct {
    // contains filtered or unexported fields
}

MockConfig is a mock of Config interface

func NewMockConfig Uses

func NewMockConfig(ctrl *gomock.Controller) *MockConfig

NewMockConfig creates a new mock instance

func (*MockConfig) APIAddresses Uses

func (m *MockConfig) APIAddresses() ([]string, error)

APIAddresses mocks base method

func (*MockConfig) APIInfo Uses

func (m *MockConfig) APIInfo() (*api.Info, bool)

APIInfo mocks base method

func (*MockConfig) CACert Uses

func (m *MockConfig) CACert() string

CACert mocks base method

func (*MockConfig) Controller Uses

func (m *MockConfig) Controller() names_v3.ControllerTag

Controller mocks base method

func (*MockConfig) DataDir Uses

func (m *MockConfig) DataDir() string

DataDir mocks base method

func (*MockConfig) Dir Uses

func (m *MockConfig) Dir() string

Dir mocks base method

func (*MockConfig) EXPECT Uses

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockConfig) Jobs Uses

func (m *MockConfig) Jobs() []multiwatcher.MachineJob

Jobs mocks base method

func (*MockConfig) LogDir Uses

func (m *MockConfig) LogDir() string

LogDir mocks base method

func (*MockConfig) LoggingConfig Uses

func (m *MockConfig) LoggingConfig() string

LoggingConfig mocks base method

func (*MockConfig) MetricsSpoolDir Uses

func (m *MockConfig) MetricsSpoolDir() string

MetricsSpoolDir mocks base method

func (*MockConfig) Model Uses

func (m *MockConfig) Model() names_v3.ModelTag

Model mocks base method

func (*MockConfig) MongoInfo Uses

func (m *MockConfig) MongoInfo() (*mongo.MongoInfo, bool)

MongoInfo mocks base method

func (*MockConfig) MongoMemoryProfile Uses

func (m *MockConfig) MongoMemoryProfile() mongo.MemoryProfile

MongoMemoryProfile mocks base method

func (*MockConfig) MongoVersion Uses

func (m *MockConfig) MongoVersion() mongo.Version

MongoVersion mocks base method

func (*MockConfig) Nonce Uses

func (m *MockConfig) Nonce() string

Nonce mocks base method

func (*MockConfig) OldPassword Uses

func (m *MockConfig) OldPassword() string

OldPassword mocks base method

func (*MockConfig) StateServingInfo Uses

func (m *MockConfig) StateServingInfo() (params.StateServingInfo, bool)

StateServingInfo mocks base method

func (*MockConfig) SystemIdentityPath Uses

func (m *MockConfig) SystemIdentityPath() string

SystemIdentityPath mocks base method

func (*MockConfig) Tag Uses

func (m *MockConfig) Tag() names_v3.Tag

Tag mocks base method

func (*MockConfig) UpgradedToVersion Uses

func (m *MockConfig) UpgradedToVersion() version.Number

UpgradedToVersion mocks base method

func (*MockConfig) Value Uses

func (m *MockConfig) Value(arg0 string) string

Value mocks base method

func (*MockConfig) WriteCommands Uses

func (m *MockConfig) WriteCommands(arg0 shell.Renderer) ([]string, error)

WriteCommands mocks base method

type MockConfigMockRecorder Uses

type MockConfigMockRecorder struct {
    // contains filtered or unexported fields
}

MockConfigMockRecorder is the mock recorder for MockConfig

func (*MockConfigMockRecorder) APIAddresses Uses

func (mr *MockConfigMockRecorder) APIAddresses() *gomock.Call

APIAddresses indicates an expected call of APIAddresses

func (*MockConfigMockRecorder) APIInfo Uses

func (mr *MockConfigMockRecorder) APIInfo() *gomock.Call

APIInfo indicates an expected call of APIInfo

func (*MockConfigMockRecorder) CACert Uses

func (mr *MockConfigMockRecorder) CACert() *gomock.Call

CACert indicates an expected call of CACert

func (*MockConfigMockRecorder) Controller Uses

func (mr *MockConfigMockRecorder) Controller() *gomock.Call

Controller indicates an expected call of Controller

func (*MockConfigMockRecorder) DataDir Uses

func (mr *MockConfigMockRecorder) DataDir() *gomock.Call

DataDir indicates an expected call of DataDir

func (*MockConfigMockRecorder) Dir Uses

func (mr *MockConfigMockRecorder) Dir() *gomock.Call

Dir indicates an expected call of Dir

func (*MockConfigMockRecorder) Jobs Uses

func (mr *MockConfigMockRecorder) Jobs() *gomock.Call

Jobs indicates an expected call of Jobs

func (*MockConfigMockRecorder) LogDir Uses

func (mr *MockConfigMockRecorder) LogDir() *gomock.Call

LogDir indicates an expected call of LogDir

func (*MockConfigMockRecorder) LoggingConfig Uses

func (mr *MockConfigMockRecorder) LoggingConfig() *gomock.Call

LoggingConfig indicates an expected call of LoggingConfig

func (*MockConfigMockRecorder) MetricsSpoolDir Uses

func (mr *MockConfigMockRecorder) MetricsSpoolDir() *gomock.Call

MetricsSpoolDir indicates an expected call of MetricsSpoolDir

func (*MockConfigMockRecorder) Model Uses

func (mr *MockConfigMockRecorder) Model() *gomock.Call

Model indicates an expected call of Model

func (*MockConfigMockRecorder) MongoInfo Uses

func (mr *MockConfigMockRecorder) MongoInfo() *gomock.Call

MongoInfo indicates an expected call of MongoInfo

func (*MockConfigMockRecorder) MongoMemoryProfile Uses

func (mr *MockConfigMockRecorder) MongoMemoryProfile() *gomock.Call

MongoMemoryProfile indicates an expected call of MongoMemoryProfile

func (*MockConfigMockRecorder) MongoVersion Uses

func (mr *MockConfigMockRecorder) MongoVersion() *gomock.Call

MongoVersion indicates an expected call of MongoVersion

func (*MockConfigMockRecorder) Nonce Uses

func (mr *MockConfigMockRecorder) Nonce() *gomock.Call

Nonce indicates an expected call of Nonce

func (*MockConfigMockRecorder) OldPassword Uses

func (mr *MockConfigMockRecorder) OldPassword() *gomock.Call

OldPassword indicates an expected call of OldPassword

func (*MockConfigMockRecorder) StateServingInfo Uses

func (mr *MockConfigMockRecorder) StateServingInfo() *gomock.Call

StateServingInfo indicates an expected call of StateServingInfo

func (*MockConfigMockRecorder) SystemIdentityPath Uses

func (mr *MockConfigMockRecorder) SystemIdentityPath() *gomock.Call

SystemIdentityPath indicates an expected call of SystemIdentityPath

func (*MockConfigMockRecorder) Tag Uses

func (mr *MockConfigMockRecorder) Tag() *gomock.Call

Tag indicates an expected call of Tag

func (*MockConfigMockRecorder) UpgradedToVersion Uses

func (mr *MockConfigMockRecorder) UpgradedToVersion() *gomock.Call

UpgradedToVersion indicates an expected call of UpgradedToVersion

func (*MockConfigMockRecorder) Value Uses

func (mr *MockConfigMockRecorder) Value(arg0 interface{}) *gomock.Call

Value indicates an expected call of Value

func (*MockConfigMockRecorder) WriteCommands Uses

func (mr *MockConfigMockRecorder) WriteCommands(arg0 interface{}) *gomock.Call

WriteCommands indicates an expected call of WriteCommands

type MockContext Uses

type MockContext struct {
    // contains filtered or unexported fields
}

MockContext is a mock of Context interface

func NewMockContext Uses

func NewMockContext(ctrl *gomock.Controller) *MockContext

NewMockContext creates a new mock instance

func (*MockContext) Abort Uses

func (m *MockContext) Abort() <-chan struct{}

Abort mocks base method

func (*MockContext) EXPECT Uses

func (m *MockContext) EXPECT() *MockContextMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockContext) Get Uses

func (m *MockContext) Get(arg0 string, arg1 interface{}) error

Get mocks base method

type MockContextMockRecorder Uses

type MockContextMockRecorder struct {
    // contains filtered or unexported fields
}

MockContextMockRecorder is the mock recorder for MockContext

func (*MockContextMockRecorder) Abort Uses

func (mr *MockContextMockRecorder) Abort() *gomock.Call

Abort indicates an expected call of Abort

func (*MockContextMockRecorder) Get Uses

func (mr *MockContextMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

type MockInstanceBroker Uses

type MockInstanceBroker struct {
    // contains filtered or unexported fields
}

MockInstanceBroker is a mock of InstanceBroker interface

func NewMockInstanceBroker Uses

func NewMockInstanceBroker(ctrl *gomock.Controller) *MockInstanceBroker

NewMockInstanceBroker creates a new mock instance

func (*MockInstanceBroker) AllInstances Uses

func (m *MockInstanceBroker) AllInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)

AllInstances mocks base method

func (*MockInstanceBroker) AllRunningInstances Uses

func (m *MockInstanceBroker) AllRunningInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)

AllRunningInstances mocks base method

func (*MockInstanceBroker) EXPECT Uses

func (m *MockInstanceBroker) EXPECT() *MockInstanceBrokerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockInstanceBroker) MaintainInstance Uses

func (m *MockInstanceBroker) MaintainInstance(arg0 context.ProviderCallContext, arg1 environs.StartInstanceParams) error

MaintainInstance mocks base method

func (*MockInstanceBroker) StartInstance Uses

func (m *MockInstanceBroker) StartInstance(arg0 context.ProviderCallContext, arg1 environs.StartInstanceParams) (*environs.StartInstanceResult, error)

StartInstance mocks base method

func (*MockInstanceBroker) StopInstances Uses

func (m *MockInstanceBroker) StopInstances(arg0 context.ProviderCallContext, arg1 ...instance.Id) error

StopInstances mocks base method

type MockInstanceBrokerMockRecorder Uses

type MockInstanceBrokerMockRecorder struct {
    // contains filtered or unexported fields
}

MockInstanceBrokerMockRecorder is the mock recorder for MockInstanceBroker

func (*MockInstanceBrokerMockRecorder) AllInstances Uses

func (mr *MockInstanceBrokerMockRecorder) AllInstances(arg0 interface{}) *gomock.Call

AllInstances indicates an expected call of AllInstances

func (*MockInstanceBrokerMockRecorder) AllRunningInstances Uses

func (mr *MockInstanceBrokerMockRecorder) AllRunningInstances(arg0 interface{}) *gomock.Call

AllRunningInstances indicates an expected call of AllRunningInstances

func (*MockInstanceBrokerMockRecorder) MaintainInstance Uses

func (mr *MockInstanceBrokerMockRecorder) MaintainInstance(arg0, arg1 interface{}) *gomock.Call

MaintainInstance indicates an expected call of MaintainInstance

func (*MockInstanceBrokerMockRecorder) StartInstance Uses

func (mr *MockInstanceBrokerMockRecorder) StartInstance(arg0, arg1 interface{}) *gomock.Call

StartInstance indicates an expected call of StartInstance

func (*MockInstanceBrokerMockRecorder) StopInstances Uses

func (mr *MockInstanceBrokerMockRecorder) StopInstances(arg0 interface{}, arg1 ...interface{}) *gomock.Call

StopInstances indicates an expected call of StopInstances

type MockLXDProfiler Uses

type MockLXDProfiler struct {
    // contains filtered or unexported fields
}

MockLXDProfiler is a mock of LXDProfiler interface

func NewMockLXDProfiler Uses

func NewMockLXDProfiler(ctrl *gomock.Controller) *MockLXDProfiler

NewMockLXDProfiler creates a new mock instance

func (*MockLXDProfiler) AssignLXDProfiles Uses

func (m *MockLXDProfiler) AssignLXDProfiles(arg0 string, arg1 []string, arg2 []lxdprofile.ProfilePost) ([]string, error)

AssignLXDProfiles mocks base method

func (*MockLXDProfiler) EXPECT Uses

func (m *MockLXDProfiler) EXPECT() *MockLXDProfilerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLXDProfiler) LXDProfileNames Uses

func (m *MockLXDProfiler) LXDProfileNames(arg0 string) ([]string, error)

LXDProfileNames mocks base method

func (*MockLXDProfiler) MaybeWriteLXDProfile Uses

func (m *MockLXDProfiler) MaybeWriteLXDProfile(arg0 string, arg1 *charm_v6.LXDProfile) error

MaybeWriteLXDProfile mocks base method

type MockLXDProfilerMockRecorder Uses

type MockLXDProfilerMockRecorder struct {
    // contains filtered or unexported fields
}

MockLXDProfilerMockRecorder is the mock recorder for MockLXDProfiler

func (*MockLXDProfilerMockRecorder) AssignLXDProfiles Uses

func (mr *MockLXDProfilerMockRecorder) AssignLXDProfiles(arg0, arg1, arg2 interface{}) *gomock.Call

AssignLXDProfiles indicates an expected call of AssignLXDProfiles

func (*MockLXDProfilerMockRecorder) LXDProfileNames Uses

func (mr *MockLXDProfilerMockRecorder) LXDProfileNames(arg0 interface{}) *gomock.Call

LXDProfileNames indicates an expected call of LXDProfileNames

func (*MockLXDProfilerMockRecorder) MaybeWriteLXDProfile Uses

func (mr *MockLXDProfilerMockRecorder) MaybeWriteLXDProfile(arg0, arg1 interface{}) *gomock.Call

MaybeWriteLXDProfile indicates an expected call of MaybeWriteLXDProfile

type MockLock Uses

type MockLock struct {
    // contains filtered or unexported fields
}

MockLock is a mock of Lock interface

func NewMockLock Uses

func NewMockLock(ctrl *gomock.Controller) *MockLock

NewMockLock creates a new mock instance

func (*MockLock) Acquire Uses

func (m *MockLock) Acquire(arg0 machinelock.Spec) (func(), error)

Acquire mocks base method

func (*MockLock) EXPECT Uses

func (m *MockLock) EXPECT() *MockLockMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLock) Report Uses

func (m *MockLock) Report(arg0 ...machinelock.ReportOption) (string, error)

Report mocks base method

type MockLockMockRecorder Uses

type MockLockMockRecorder struct {
    // contains filtered or unexported fields
}

MockLockMockRecorder is the mock recorder for MockLock

func (*MockLockMockRecorder) Acquire Uses

func (mr *MockLockMockRecorder) Acquire(arg0 interface{}) *gomock.Call

Acquire indicates an expected call of Acquire

func (*MockLockMockRecorder) Report Uses

func (mr *MockLockMockRecorder) Report(arg0 ...interface{}) *gomock.Call

Report indicates an expected call of Report

type MockMachineProvisioner Uses

type MockMachineProvisioner struct {
    // contains filtered or unexported fields
}

MockMachineProvisioner is a mock of MachineProvisioner interface

func NewMockMachineProvisioner Uses

func NewMockMachineProvisioner(ctrl *gomock.Controller) *MockMachineProvisioner

NewMockMachineProvisioner creates a new mock instance

func (*MockMachineProvisioner) AvailabilityZone Uses

func (m *MockMachineProvisioner) AvailabilityZone() (string, error)

AvailabilityZone mocks base method

func (*MockMachineProvisioner) DistributionGroup Uses

func (m *MockMachineProvisioner) DistributionGroup() ([]instance.Id, error)

DistributionGroup mocks base method

func (*MockMachineProvisioner) EXPECT Uses

func (m *MockMachineProvisioner) EXPECT() *MockMachineProvisionerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMachineProvisioner) EnsureDead Uses

func (m *MockMachineProvisioner) EnsureDead() error

EnsureDead mocks base method

func (*MockMachineProvisioner) Id Uses

func (m *MockMachineProvisioner) Id() string

Id mocks base method

func (*MockMachineProvisioner) InstanceId Uses

func (m *MockMachineProvisioner) InstanceId() (instance.Id, error)

InstanceId mocks base method

func (*MockMachineProvisioner) InstanceStatus Uses

func (m *MockMachineProvisioner) InstanceStatus() (status.Status, string, error)

InstanceStatus mocks base method

func (*MockMachineProvisioner) KeepInstance Uses

func (m *MockMachineProvisioner) KeepInstance() (bool, error)

KeepInstance mocks base method

func (*MockMachineProvisioner) Life Uses

func (m *MockMachineProvisioner) Life() params.Life

Life mocks base method

func (*MockMachineProvisioner) MachineTag Uses

func (m *MockMachineProvisioner) MachineTag() names_v3.MachineTag

MachineTag mocks base method

func (*MockMachineProvisioner) MarkForRemoval Uses

func (m *MockMachineProvisioner) MarkForRemoval() error

MarkForRemoval mocks base method

func (*MockMachineProvisioner) ModelAgentVersion Uses

func (m *MockMachineProvisioner) ModelAgentVersion() (*version.Number, error)

ModelAgentVersion mocks base method

func (*MockMachineProvisioner) ProvisioningInfo Uses

func (m *MockMachineProvisioner) ProvisioningInfo() (*params.ProvisioningInfo, error)

ProvisioningInfo mocks base method

func (*MockMachineProvisioner) Refresh Uses

func (m *MockMachineProvisioner) Refresh() error

Refresh mocks base method

func (*MockMachineProvisioner) Remove Uses

func (m *MockMachineProvisioner) Remove() error

Remove mocks base method

func (*MockMachineProvisioner) SetCharmProfiles Uses

func (m *MockMachineProvisioner) SetCharmProfiles(arg0 []string) error

SetCharmProfiles mocks base method

func (*MockMachineProvisioner) SetInstanceInfo Uses

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 Uses

func (m *MockMachineProvisioner) SetInstanceStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error

SetInstanceStatus mocks base method

func (*MockMachineProvisioner) SetModificationStatus Uses

func (m *MockMachineProvisioner) SetModificationStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error

SetModificationStatus mocks base method

func (*MockMachineProvisioner) SetPassword Uses

func (m *MockMachineProvisioner) SetPassword(arg0 string) error

SetPassword mocks base method

func (*MockMachineProvisioner) SetStatus Uses

func (m *MockMachineProvisioner) SetStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error

SetStatus mocks base method

func (*MockMachineProvisioner) SetSupportedContainers Uses

func (m *MockMachineProvisioner) SetSupportedContainers(arg0 ...instance.ContainerType) error

SetSupportedContainers mocks base method

func (*MockMachineProvisioner) Status Uses

func (m *MockMachineProvisioner) Status() (status.Status, string, error)

Status mocks base method

func (*MockMachineProvisioner) String Uses

func (m *MockMachineProvisioner) String() string

String mocks base method

func (*MockMachineProvisioner) SupportedContainers Uses

func (m *MockMachineProvisioner) SupportedContainers() ([]instance.ContainerType, bool, error)

SupportedContainers mocks base method

func (*MockMachineProvisioner) SupportsNoContainers Uses

func (m *MockMachineProvisioner) SupportsNoContainers() error

SupportsNoContainers mocks base method

func (*MockMachineProvisioner) Tag Uses

func (m *MockMachineProvisioner) Tag() names_v3.Tag

Tag mocks base method

func (*MockMachineProvisioner) WatchAllContainers Uses

func (m *MockMachineProvisioner) WatchAllContainers() (watcher.StringsWatcher, error)

WatchAllContainers mocks base method

func (*MockMachineProvisioner) WatchContainers Uses

func (m *MockMachineProvisioner) WatchContainers(arg0 instance.ContainerType) (watcher.StringsWatcher, error)

WatchContainers mocks base method

type MockMachineProvisionerMockRecorder Uses

type MockMachineProvisionerMockRecorder struct {
    // contains filtered or unexported fields
}

MockMachineProvisionerMockRecorder is the mock recorder for MockMachineProvisioner

func (*MockMachineProvisionerMockRecorder) AvailabilityZone Uses

func (mr *MockMachineProvisionerMockRecorder) AvailabilityZone() *gomock.Call

AvailabilityZone indicates an expected call of AvailabilityZone

func (*MockMachineProvisionerMockRecorder) DistributionGroup Uses

func (mr *MockMachineProvisionerMockRecorder) DistributionGroup() *gomock.Call

DistributionGroup indicates an expected call of DistributionGroup

func (*MockMachineProvisionerMockRecorder) EnsureDead Uses

func (mr *MockMachineProvisionerMockRecorder) EnsureDead() *gomock.Call

EnsureDead indicates an expected call of EnsureDead

func (*MockMachineProvisionerMockRecorder) Id Uses

func (mr *MockMachineProvisionerMockRecorder) Id() *gomock.Call

Id indicates an expected call of Id

func (*MockMachineProvisionerMockRecorder) InstanceId Uses

func (mr *MockMachineProvisionerMockRecorder) InstanceId() *gomock.Call

InstanceId indicates an expected call of InstanceId

func (*MockMachineProvisionerMockRecorder) InstanceStatus Uses

func (mr *MockMachineProvisionerMockRecorder) InstanceStatus() *gomock.Call

InstanceStatus indicates an expected call of InstanceStatus

func (*MockMachineProvisionerMockRecorder) KeepInstance Uses

func (mr *MockMachineProvisionerMockRecorder) KeepInstance() *gomock.Call

KeepInstance indicates an expected call of KeepInstance

func (*MockMachineProvisionerMockRecorder) Life Uses

func (mr *MockMachineProvisionerMockRecorder) Life() *gomock.Call

Life indicates an expected call of Life

func (*MockMachineProvisionerMockRecorder) MachineTag Uses

func (mr *MockMachineProvisionerMockRecorder) MachineTag() *gomock.Call

MachineTag indicates an expected call of MachineTag

func (*MockMachineProvisionerMockRecorder) MarkForRemoval Uses

func (mr *MockMachineProvisionerMockRecorder) MarkForRemoval() *gomock.Call

MarkForRemoval indicates an expected call of MarkForRemoval

func (*MockMachineProvisionerMockRecorder) ModelAgentVersion Uses

func (mr *MockMachineProvisionerMockRecorder) ModelAgentVersion() *gomock.Call

ModelAgentVersion indicates an expected call of ModelAgentVersion

func (*MockMachineProvisionerMockRecorder) ProvisioningInfo Uses

func (mr *MockMachineProvisionerMockRecorder) ProvisioningInfo() *gomock.Call

ProvisioningInfo indicates an expected call of ProvisioningInfo

func (*MockMachineProvisionerMockRecorder) Refresh Uses

func (mr *MockMachineProvisionerMockRecorder) Refresh() *gomock.Call

Refresh indicates an expected call of Refresh

func (*MockMachineProvisionerMockRecorder) Remove Uses

func (mr *MockMachineProvisionerMockRecorder) Remove() *gomock.Call

Remove indicates an expected call of Remove

func (*MockMachineProvisionerMockRecorder) SetCharmProfiles Uses

func (mr *MockMachineProvisionerMockRecorder) SetCharmProfiles(arg0 interface{}) *gomock.Call

SetCharmProfiles indicates an expected call of SetCharmProfiles

func (*MockMachineProvisionerMockRecorder) SetInstanceInfo Uses

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 Uses

func (mr *MockMachineProvisionerMockRecorder) SetInstanceStatus(arg0, arg1, arg2 interface{}) *gomock.Call

SetInstanceStatus indicates an expected call of SetInstanceStatus

func (*MockMachineProvisionerMockRecorder) SetModificationStatus Uses

func (mr *MockMachineProvisionerMockRecorder) SetModificationStatus(arg0, arg1, arg2 interface{}) *gomock.Call

SetModificationStatus indicates an expected call of SetModificationStatus

func (*MockMachineProvisionerMockRecorder) SetPassword Uses

func (mr *MockMachineProvisionerMockRecorder) SetPassword(arg0 interface{}) *gomock.Call

SetPassword indicates an expected call of SetPassword

func (*MockMachineProvisionerMockRecorder) SetStatus Uses

func (mr *MockMachineProvisionerMockRecorder) SetStatus(arg0, arg1, arg2 interface{}) *gomock.Call

SetStatus indicates an expected call of SetStatus

func (*MockMachineProvisionerMockRecorder) SetSupportedContainers Uses

func (mr *MockMachineProvisionerMockRecorder) SetSupportedContainers(arg0 ...interface{}) *gomock.Call

SetSupportedContainers indicates an expected call of SetSupportedContainers

func (*MockMachineProvisionerMockRecorder) Status Uses

func (mr *MockMachineProvisionerMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status

func (*MockMachineProvisionerMockRecorder) String Uses

func (mr *MockMachineProvisionerMockRecorder) String() *gomock.Call

String indicates an expected call of String

func (*MockMachineProvisionerMockRecorder) SupportedContainers Uses

func (mr *MockMachineProvisionerMockRecorder) SupportedContainers() *gomock.Call

SupportedContainers indicates an expected call of SupportedContainers

func (*MockMachineProvisionerMockRecorder) SupportsNoContainers Uses

func (mr *MockMachineProvisionerMockRecorder) SupportsNoContainers() *gomock.Call

SupportsNoContainers indicates an expected call of SupportsNoContainers

func (*MockMachineProvisionerMockRecorder) Tag Uses

func (mr *MockMachineProvisionerMockRecorder) Tag() *gomock.Call

Tag indicates an expected call of Tag

func (*MockMachineProvisionerMockRecorder) WatchAllContainers Uses

func (mr *MockMachineProvisionerMockRecorder) WatchAllContainers() *gomock.Call

WatchAllContainers indicates an expected call of WatchAllContainers

func (*MockMachineProvisionerMockRecorder) WatchContainers Uses

func (mr *MockMachineProvisionerMockRecorder) WatchContainers(arg0 interface{}) *gomock.Call

WatchContainers indicates an expected call of WatchContainers

type MockState Uses

type MockState struct {
    // contains filtered or unexported fields
}

MockState is a mock of State interface

func NewMockState Uses

func NewMockState(ctrl *gomock.Controller) *MockState

NewMockState creates a new mock instance

func (*MockState) ContainerConfig Uses

func (m *MockState) ContainerConfig() (params.ContainerConfig, error)

ContainerConfig mocks base method

func (*MockState) ContainerManagerConfig Uses

func (m *MockState) ContainerManagerConfig(arg0 params.ContainerManagerConfigParams) (params.ContainerManagerConfig, error)

ContainerManagerConfig mocks base method

func (*MockState) EXPECT Uses

func (m *MockState) EXPECT() *MockStateMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockState) GetContainerInterfaceInfo Uses

func (m *MockState) GetContainerInterfaceInfo(arg0 names_v3.MachineTag) ([]network.InterfaceInfo, error)

GetContainerInterfaceInfo mocks base method

func (*MockState) GetContainerProfileInfo Uses

func (m *MockState) GetContainerProfileInfo(arg0 names_v3.MachineTag) ([]*provisioner.LXDProfileResult, error)

GetContainerProfileInfo mocks base method

func (*MockState) HostChangesForContainer Uses

func (m *MockState) HostChangesForContainer(arg0 names_v3.MachineTag) ([]network.DeviceToBridge, int, error)

HostChangesForContainer mocks base method

func (*MockState) Machines Uses

func (m *MockState) Machines(arg0 ...names_v3.MachineTag) ([]provisioner.MachineResult, error)

Machines mocks base method

func (*MockState) PrepareContainerInterfaceInfo Uses

func (m *MockState) PrepareContainerInterfaceInfo(arg0 names_v3.MachineTag) ([]network.InterfaceInfo, error)

PrepareContainerInterfaceInfo mocks base method

func (*MockState) ReleaseContainerAddresses Uses

func (m *MockState) ReleaseContainerAddresses(arg0 names_v3.MachineTag) error

ReleaseContainerAddresses mocks base method

func (*MockState) SetHostMachineNetworkConfig Uses

func (m *MockState) SetHostMachineNetworkConfig(arg0 names_v3.MachineTag, arg1 []params.NetworkConfig) error

SetHostMachineNetworkConfig mocks base method

type MockStateMockRecorder Uses

type MockStateMockRecorder struct {
    // contains filtered or unexported fields
}

MockStateMockRecorder is the mock recorder for MockState

func (*MockStateMockRecorder) ContainerConfig Uses

func (mr *MockStateMockRecorder) ContainerConfig() *gomock.Call

ContainerConfig indicates an expected call of ContainerConfig

func (*MockStateMockRecorder) ContainerManagerConfig Uses

func (mr *MockStateMockRecorder) ContainerManagerConfig(arg0 interface{}) *gomock.Call

ContainerManagerConfig indicates an expected call of ContainerManagerConfig

func (*MockStateMockRecorder) GetContainerInterfaceInfo Uses

func (mr *MockStateMockRecorder) GetContainerInterfaceInfo(arg0 interface{}) *gomock.Call

GetContainerInterfaceInfo indicates an expected call of GetContainerInterfaceInfo

func (*MockStateMockRecorder) GetContainerProfileInfo Uses

func (mr *MockStateMockRecorder) GetContainerProfileInfo(arg0 interface{}) *gomock.Call

GetContainerProfileInfo indicates an expected call of GetContainerProfileInfo

func (*MockStateMockRecorder) HostChangesForContainer Uses

func (mr *MockStateMockRecorder) HostChangesForContainer(arg0 interface{}) *gomock.Call

HostChangesForContainer indicates an expected call of HostChangesForContainer

func (*MockStateMockRecorder) Machines Uses

func (mr *MockStateMockRecorder) Machines(arg0 ...interface{}) *gomock.Call

Machines indicates an expected call of Machines

func (*MockStateMockRecorder) PrepareContainerInterfaceInfo Uses

func (mr *MockStateMockRecorder) PrepareContainerInterfaceInfo(arg0 interface{}) *gomock.Call

PrepareContainerInterfaceInfo indicates an expected call of PrepareContainerInterfaceInfo

func (*MockStateMockRecorder) ReleaseContainerAddresses Uses

func (mr *MockStateMockRecorder) ReleaseContainerAddresses(arg0 interface{}) *gomock.Call

ReleaseContainerAddresses indicates an expected call of ReleaseContainerAddresses

func (*MockStateMockRecorder) SetHostMachineNetworkConfig Uses

func (mr *MockStateMockRecorder) SetHostMachineNetworkConfig(arg0, arg1 interface{}) *gomock.Call

SetHostMachineNetworkConfig indicates an expected call of SetHostMachineNetworkConfig

type MockWorker Uses

type MockWorker struct {
    // contains filtered or unexported fields
}

MockWorker is a mock of Worker interface

func NewMockWorker Uses

func NewMockWorker(ctrl *gomock.Controller) *MockWorker

NewMockWorker creates a new mock instance

func (*MockWorker) EXPECT Uses

func (m *MockWorker) EXPECT() *MockWorkerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockWorker) Kill Uses

func (m *MockWorker) Kill()

Kill mocks base method

func (*MockWorker) Wait Uses

func (m *MockWorker) Wait() error

Wait mocks base method

type MockWorkerMockRecorder Uses

type MockWorkerMockRecorder struct {
    // contains filtered or unexported fields
}

MockWorkerMockRecorder is the mock recorder for MockWorker

func (*MockWorkerMockRecorder) Kill Uses

func (mr *MockWorkerMockRecorder) Kill() *gomock.Call

Kill indicates an expected call of Kill

func (*MockWorkerMockRecorder) Wait Uses

func (mr *MockWorkerMockRecorder) Wait() *gomock.Call

Wait indicates an expected call of Wait

Package mocks imports 26 packages (graph). Updated 2019-09-23. Refresh now. Tools for package owners.