import "github.com/juju/juju/api/provisioner/mocks"
Package mocks is a generated GoMock package.
type MockMachineProvisioner struct {
// contains filtered or unexported fields
}
MockMachineProvisioner is a mock of MachineProvisioner interface
func NewMockMachineProvisioner(ctrl *gomock.Controller) *MockMachineProvisioner
NewMockMachineProvisioner creates a new mock instance
func (m *MockMachineProvisioner) AvailabilityZone() (string, error)
AvailabilityZone mocks base method
func (m *MockMachineProvisioner) DistributionGroup() ([]instance.Id, error)
DistributionGroup mocks base method
func (m *MockMachineProvisioner) EXPECT() *MockMachineProvisionerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (m *MockMachineProvisioner) EnsureDead() error
EnsureDead mocks base method
func (m *MockMachineProvisioner) Id() string
Id mocks base method
func (m *MockMachineProvisioner) InstanceId() (instance.Id, error)
InstanceId mocks base method
InstanceStatus mocks base method
func (m *MockMachineProvisioner) KeepInstance() (bool, error)
KeepInstance mocks base method
func (m *MockMachineProvisioner) Life() life.Value
Life mocks base method
func (m *MockMachineProvisioner) MachineTag() names.MachineTag
MachineTag mocks base method
func (m *MockMachineProvisioner) MarkForRemoval() error
MarkForRemoval mocks base method
func (m *MockMachineProvisioner) ModelAgentVersion() (*version.Number, error)
ModelAgentVersion mocks base method
func (m *MockMachineProvisioner) ProvisioningInfo() (*params.ProvisioningInfoV10, error)
ProvisioningInfo mocks base method
func (m *MockMachineProvisioner) Refresh() error
Refresh mocks base method
func (m *MockMachineProvisioner) Remove() error
Remove mocks base method
func (m *MockMachineProvisioner) SetCharmProfiles(arg0 []string) error
SetCharmProfiles mocks base method
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 (m *MockMachineProvisioner) SetInstanceStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
SetInstanceStatus mocks base method
func (m *MockMachineProvisioner) SetModificationStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
SetModificationStatus mocks base method
func (m *MockMachineProvisioner) SetPassword(arg0 string) error
SetPassword mocks base method
func (m *MockMachineProvisioner) SetStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
SetStatus mocks base method
func (m *MockMachineProvisioner) SetSupportedContainers(arg0 ...instance.ContainerType) error
SetSupportedContainers mocks base method
Status mocks base method
func (m *MockMachineProvisioner) String() string
String mocks base method
func (m *MockMachineProvisioner) SupportedContainers() ([]instance.ContainerType, bool, error)
SupportedContainers mocks base method
func (m *MockMachineProvisioner) SupportsNoContainers() error
SupportsNoContainers mocks base method
func (m *MockMachineProvisioner) Tag() names.Tag
Tag mocks base method
func (m *MockMachineProvisioner) WatchAllContainers() (watcher.StringsWatcher, error)
WatchAllContainers mocks base method
func (m *MockMachineProvisioner) WatchContainers(arg0 instance.ContainerType) (watcher.StringsWatcher, error)
WatchContainers mocks base method
type MockMachineProvisionerMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineProvisionerMockRecorder is the mock recorder for MockMachineProvisioner
func (mr *MockMachineProvisionerMockRecorder) AvailabilityZone() *gomock.Call
AvailabilityZone indicates an expected call of AvailabilityZone
func (mr *MockMachineProvisionerMockRecorder) DistributionGroup() *gomock.Call
DistributionGroup indicates an expected call of DistributionGroup
func (mr *MockMachineProvisionerMockRecorder) EnsureDead() *gomock.Call
EnsureDead indicates an expected call of EnsureDead
func (mr *MockMachineProvisionerMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id
func (mr *MockMachineProvisionerMockRecorder) InstanceId() *gomock.Call
InstanceId indicates an expected call of InstanceId
func (mr *MockMachineProvisionerMockRecorder) InstanceStatus() *gomock.Call
InstanceStatus indicates an expected call of InstanceStatus
func (mr *MockMachineProvisionerMockRecorder) KeepInstance() *gomock.Call
KeepInstance indicates an expected call of KeepInstance
func (mr *MockMachineProvisionerMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life
func (mr *MockMachineProvisionerMockRecorder) MachineTag() *gomock.Call
MachineTag indicates an expected call of MachineTag
func (mr *MockMachineProvisionerMockRecorder) MarkForRemoval() *gomock.Call
MarkForRemoval indicates an expected call of MarkForRemoval
func (mr *MockMachineProvisionerMockRecorder) ModelAgentVersion() *gomock.Call
ModelAgentVersion indicates an expected call of ModelAgentVersion
func (mr *MockMachineProvisionerMockRecorder) ProvisioningInfo() *gomock.Call
ProvisioningInfo indicates an expected call of ProvisioningInfo
func (mr *MockMachineProvisionerMockRecorder) Refresh() *gomock.Call
Refresh indicates an expected call of Refresh
func (mr *MockMachineProvisionerMockRecorder) Remove() *gomock.Call
Remove indicates an expected call of Remove
func (mr *MockMachineProvisionerMockRecorder) SetCharmProfiles(arg0 interface{}) *gomock.Call
SetCharmProfiles indicates an expected call of SetCharmProfiles
func (mr *MockMachineProvisionerMockRecorder) SetInstanceInfo(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
SetInstanceInfo indicates an expected call of SetInstanceInfo
func (mr *MockMachineProvisionerMockRecorder) SetInstanceStatus(arg0, arg1, arg2 interface{}) *gomock.Call
SetInstanceStatus indicates an expected call of SetInstanceStatus
func (mr *MockMachineProvisionerMockRecorder) SetModificationStatus(arg0, arg1, arg2 interface{}) *gomock.Call
SetModificationStatus indicates an expected call of SetModificationStatus
func (mr *MockMachineProvisionerMockRecorder) SetPassword(arg0 interface{}) *gomock.Call
SetPassword indicates an expected call of SetPassword
func (mr *MockMachineProvisionerMockRecorder) SetStatus(arg0, arg1, arg2 interface{}) *gomock.Call
SetStatus indicates an expected call of SetStatus
func (mr *MockMachineProvisionerMockRecorder) SetSupportedContainers(arg0 ...interface{}) *gomock.Call
SetSupportedContainers indicates an expected call of SetSupportedContainers
func (mr *MockMachineProvisionerMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status
func (mr *MockMachineProvisionerMockRecorder) String() *gomock.Call
String indicates an expected call of String
func (mr *MockMachineProvisionerMockRecorder) SupportedContainers() *gomock.Call
SupportedContainers indicates an expected call of SupportedContainers
func (mr *MockMachineProvisionerMockRecorder) SupportsNoContainers() *gomock.Call
SupportsNoContainers indicates an expected call of SupportsNoContainers
func (mr *MockMachineProvisionerMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag
func (mr *MockMachineProvisionerMockRecorder) WatchAllContainers() *gomock.Call
WatchAllContainers indicates an expected call of WatchAllContainers
func (mr *MockMachineProvisionerMockRecorder) WatchContainers(arg0 interface{}) *gomock.Call
WatchContainers indicates an expected call of WatchContainers
Package mocks imports 9 packages (graph). Updated 2020-07-27. Refresh now. Tools for package owners.