mocks

package
v0.0.0-...-8ff1004 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2019 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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) CharmProfileChangeInfo

func (m *MockMachineProvisioner) CharmProfileChangeInfo() (provisioner.CharmProfileChangeInfo, error)

CharmProfileChangeInfo mocks base method

func (*MockMachineProvisioner) DistributionGroup

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

DistributionGroup mocks base method

func (*MockMachineProvisioner) EXPECT

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

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

Life mocks base method

func (*MockMachineProvisioner) MachineTag

func (m *MockMachineProvisioner) MachineTag() names_v2.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) RemoveUpgradeCharmProfileData

func (m *MockMachineProvisioner) RemoveUpgradeCharmProfileData() error

RemoveUpgradeCharmProfileData 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) 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) SetUpgradeCharmProfileComplete

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

SetUpgradeCharmProfileComplete mocks base method

func (*MockMachineProvisioner) Status

Status mocks base method

func (*MockMachineProvisioner) String

func (m *MockMachineProvisioner) String() string

String mocks base method

func (*MockMachineProvisioner) SupportsNoContainers

func (m *MockMachineProvisioner) SupportsNoContainers() error

SupportsNoContainers mocks base method

func (*MockMachineProvisioner) Tag

Tag mocks base method

func (*MockMachineProvisioner) WatchAllContainers

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

WatchAllContainers mocks base method

func (*MockMachineProvisioner) WatchContainers

WatchContainers mocks base method

func (*MockMachineProvisioner) WatchContainersCharmProfiles

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

WatchContainersCharmProfiles 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) CharmProfileChangeInfo

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

CharmProfileChangeInfo indicates an expected call of CharmProfileChangeInfo

func (*MockMachineProvisionerMockRecorder) DistributionGroup

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

DistributionGroup indicates an expected call of DistributionGroup

func (*MockMachineProvisionerMockRecorder) EnsureDead

EnsureDead indicates an expected call of EnsureDead

func (*MockMachineProvisionerMockRecorder) Id

Id indicates an expected call of Id

func (*MockMachineProvisionerMockRecorder) InstanceId

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

Life indicates an expected call of Life

func (*MockMachineProvisionerMockRecorder) MachineTag

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

Refresh indicates an expected call of Refresh

func (*MockMachineProvisionerMockRecorder) Remove

Remove indicates an expected call of Remove

func (*MockMachineProvisionerMockRecorder) RemoveUpgradeCharmProfileData

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

RemoveUpgradeCharmProfileData indicates an expected call of RemoveUpgradeCharmProfileData

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) 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) SetUpgradeCharmProfileComplete

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

SetUpgradeCharmProfileComplete indicates an expected call of SetUpgradeCharmProfileComplete

func (*MockMachineProvisionerMockRecorder) Status

Status indicates an expected call of Status

func (*MockMachineProvisionerMockRecorder) String

String indicates an expected call of String

func (*MockMachineProvisionerMockRecorder) SupportsNoContainers

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

SupportsNoContainers indicates an expected call of SupportsNoContainers

func (*MockMachineProvisionerMockRecorder) Tag

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

func (*MockMachineProvisionerMockRecorder) WatchContainersCharmProfiles

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

WatchContainersCharmProfiles indicates an expected call of WatchContainersCharmProfiles

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL