mocks

package
v0.0.0-...-cf01e4d Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 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) 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

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) 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]any) error

SetInstanceStatus mocks base method.

func (*MockMachineProvisioner) SetModificationStatus

func (m *MockMachineProvisioner) SetModificationStatus(arg0 status.Status, arg1 string, arg2 map[string]any) 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]any) error

SetStatus mocks base method.

func (*MockMachineProvisioner) SetSupportedContainers

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

SetSupportedContainers mocks base method.

func (*MockMachineProvisioner) Status

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

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

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

Refresh indicates an expected call of Refresh.

func (*MockMachineProvisionerMockRecorder) Remove

Remove indicates an expected call of Remove.

func (*MockMachineProvisionerMockRecorder) SetCharmProfiles

func (mr *MockMachineProvisionerMockRecorder) SetCharmProfiles(arg0 any) *gomock.Call

SetCharmProfiles indicates an expected call of SetCharmProfiles.

func (*MockMachineProvisionerMockRecorder) SetInstanceInfo

func (mr *MockMachineProvisionerMockRecorder) SetInstanceInfo(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 any) *gomock.Call

SetInstanceInfo indicates an expected call of SetInstanceInfo.

func (*MockMachineProvisionerMockRecorder) SetInstanceStatus

func (mr *MockMachineProvisionerMockRecorder) SetInstanceStatus(arg0, arg1, arg2 any) *gomock.Call

SetInstanceStatus indicates an expected call of SetInstanceStatus.

func (*MockMachineProvisionerMockRecorder) SetModificationStatus

func (mr *MockMachineProvisionerMockRecorder) SetModificationStatus(arg0, arg1, arg2 any) *gomock.Call

SetModificationStatus indicates an expected call of SetModificationStatus.

func (*MockMachineProvisionerMockRecorder) SetPassword

func (mr *MockMachineProvisionerMockRecorder) SetPassword(arg0 any) *gomock.Call

SetPassword indicates an expected call of SetPassword.

func (*MockMachineProvisionerMockRecorder) SetStatus

func (mr *MockMachineProvisionerMockRecorder) SetStatus(arg0, arg1, arg2 any) *gomock.Call

SetStatus indicates an expected call of SetStatus.

func (*MockMachineProvisionerMockRecorder) SetSupportedContainers

func (mr *MockMachineProvisionerMockRecorder) SetSupportedContainers(arg0 ...any) *gomock.Call

SetSupportedContainers indicates an expected call of SetSupportedContainers.

func (*MockMachineProvisionerMockRecorder) Status

Status indicates an expected call of Status.

func (*MockMachineProvisionerMockRecorder) String

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

Tag indicates an expected call of Tag.

func (*MockMachineProvisionerMockRecorder) WatchContainers

func (mr *MockMachineProvisionerMockRecorder) WatchContainers(arg0 any) *gomock.Call

WatchContainers indicates an expected call of WatchContainers.

Jump to

Keyboard shortcuts

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