Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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