juju: github.com/juju/juju/api/provisioner/mocks Index | Files

package mocks

import "github.com/juju/juju/api/provisioner/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

machine_mock.go

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

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