mocks

package
v0.0.0-...-3d086f3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockLXDProfileBackend

type MockLXDProfileBackend struct {
	// contains filtered or unexported fields
}

MockLXDProfileBackend is a mock of LXDProfileBackend interface.

func NewMockLXDProfileBackend

func NewMockLXDProfileBackend(ctrl *gomock.Controller) *MockLXDProfileBackend

NewMockLXDProfileBackend creates a new mock instance.

func (*MockLXDProfileBackend) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLXDProfileBackend) Machine

Machine mocks base method.

func (*MockLXDProfileBackend) Unit

Unit mocks base method.

type MockLXDProfileBackendMockRecorder

type MockLXDProfileBackendMockRecorder struct {
	// contains filtered or unexported fields
}

MockLXDProfileBackendMockRecorder is the mock recorder for MockLXDProfileBackend.

func (*MockLXDProfileBackendMockRecorder) Machine

func (mr *MockLXDProfileBackendMockRecorder) Machine(arg0 any) *gomock.Call

Machine indicates an expected call of Machine.

func (*MockLXDProfileBackendMockRecorder) Unit

Unit indicates an expected call of Unit.

type MockLXDProfileBackendV2

type MockLXDProfileBackendV2 struct {
	// contains filtered or unexported fields
}

MockLXDProfileBackendV2 is a mock of LXDProfileBackendV2 interface.

func NewMockLXDProfileBackendV2

func NewMockLXDProfileBackendV2(ctrl *gomock.Controller) *MockLXDProfileBackendV2

NewMockLXDProfileBackendV2 creates a new mock instance.

func (*MockLXDProfileBackendV2) Charm

Charm mocks base method.

func (*MockLXDProfileBackendV2) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLXDProfileBackendV2) Machine

Machine mocks base method.

func (*MockLXDProfileBackendV2) Model

Model mocks base method.

func (*MockLXDProfileBackendV2) Unit

Unit mocks base method.

type MockLXDProfileBackendV2MockRecorder

type MockLXDProfileBackendV2MockRecorder struct {
	// contains filtered or unexported fields
}

MockLXDProfileBackendV2MockRecorder is the mock recorder for MockLXDProfileBackendV2.

func (*MockLXDProfileBackendV2MockRecorder) Charm

Charm indicates an expected call of Charm.

func (*MockLXDProfileBackendV2MockRecorder) Machine

Machine indicates an expected call of Machine.

func (*MockLXDProfileBackendV2MockRecorder) Model

Model indicates an expected call of Model.

func (*MockLXDProfileBackendV2MockRecorder) Unit

Unit indicates an expected call of Unit.

type MockLXDProfileCharmV2

type MockLXDProfileCharmV2 struct {
	// contains filtered or unexported fields
}

MockLXDProfileCharmV2 is a mock of LXDProfileCharmV2 interface.

func NewMockLXDProfileCharmV2

func NewMockLXDProfileCharmV2(ctrl *gomock.Controller) *MockLXDProfileCharmV2

NewMockLXDProfileCharmV2 creates a new mock instance.

func (*MockLXDProfileCharmV2) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLXDProfileCharmV2) LXDProfile

func (m *MockLXDProfileCharmV2) LXDProfile() lxdprofile.Profile

LXDProfile mocks base method.

type MockLXDProfileCharmV2MockRecorder

type MockLXDProfileCharmV2MockRecorder struct {
	// contains filtered or unexported fields
}

MockLXDProfileCharmV2MockRecorder is the mock recorder for MockLXDProfileCharmV2.

func (*MockLXDProfileCharmV2MockRecorder) LXDProfile

func (mr *MockLXDProfileCharmV2MockRecorder) LXDProfile() *gomock.Call

LXDProfile indicates an expected call of LXDProfile.

type MockLXDProfileMachine

type MockLXDProfileMachine struct {
	// contains filtered or unexported fields
}

MockLXDProfileMachine is a mock of LXDProfileMachine interface.

func NewMockLXDProfileMachine

func NewMockLXDProfileMachine(ctrl *gomock.Controller) *MockLXDProfileMachine

NewMockLXDProfileMachine creates a new mock instance.

func (*MockLXDProfileMachine) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLXDProfileMachine) WatchLXDProfileUpgradeNotifications

func (m *MockLXDProfileMachine) WatchLXDProfileUpgradeNotifications(arg0 string) (state.StringsWatcher, error)

WatchLXDProfileUpgradeNotifications mocks base method.

type MockLXDProfileMachineMockRecorder

type MockLXDProfileMachineMockRecorder struct {
	// contains filtered or unexported fields
}

MockLXDProfileMachineMockRecorder is the mock recorder for MockLXDProfileMachine.

func (*MockLXDProfileMachineMockRecorder) WatchLXDProfileUpgradeNotifications

func (mr *MockLXDProfileMachineMockRecorder) WatchLXDProfileUpgradeNotifications(arg0 any) *gomock.Call

WatchLXDProfileUpgradeNotifications indicates an expected call of WatchLXDProfileUpgradeNotifications.

type MockLXDProfileMachineV2

type MockLXDProfileMachineV2 struct {
	// contains filtered or unexported fields
}

MockLXDProfileMachineV2 is a mock of LXDProfileMachineV2 interface.

func NewMockLXDProfileMachineV2

func NewMockLXDProfileMachineV2(ctrl *gomock.Controller) *MockLXDProfileMachineV2

NewMockLXDProfileMachineV2 creates a new mock instance.

func (*MockLXDProfileMachineV2) CharmProfiles

func (m *MockLXDProfileMachineV2) CharmProfiles() ([]string, error)

CharmProfiles mocks base method.

func (*MockLXDProfileMachineV2) ContainerType

func (m *MockLXDProfileMachineV2) ContainerType() instance.ContainerType

ContainerType mocks base method.

func (*MockLXDProfileMachineV2) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLXDProfileMachineV2) IsManual

func (m *MockLXDProfileMachineV2) IsManual() (bool, error)

IsManual mocks base method.

func (*MockLXDProfileMachineV2) WatchInstanceData

func (m *MockLXDProfileMachineV2) WatchInstanceData() state.NotifyWatcher

WatchInstanceData mocks base method.

type MockLXDProfileMachineV2MockRecorder

type MockLXDProfileMachineV2MockRecorder struct {
	// contains filtered or unexported fields
}

MockLXDProfileMachineV2MockRecorder is the mock recorder for MockLXDProfileMachineV2.

func (*MockLXDProfileMachineV2MockRecorder) CharmProfiles

func (mr *MockLXDProfileMachineV2MockRecorder) CharmProfiles() *gomock.Call

CharmProfiles indicates an expected call of CharmProfiles.

func (*MockLXDProfileMachineV2MockRecorder) ContainerType

func (mr *MockLXDProfileMachineV2MockRecorder) ContainerType() *gomock.Call

ContainerType indicates an expected call of ContainerType.

func (*MockLXDProfileMachineV2MockRecorder) IsManual

IsManual indicates an expected call of IsManual.

func (*MockLXDProfileMachineV2MockRecorder) WatchInstanceData

func (mr *MockLXDProfileMachineV2MockRecorder) WatchInstanceData() *gomock.Call

WatchInstanceData indicates an expected call of WatchInstanceData.

type MockLXDProfileModelV2

type MockLXDProfileModelV2 struct {
	// contains filtered or unexported fields
}

MockLXDProfileModelV2 is a mock of LXDProfileModelV2 interface.

func NewMockLXDProfileModelV2

func NewMockLXDProfileModelV2(ctrl *gomock.Controller) *MockLXDProfileModelV2

NewMockLXDProfileModelV2 creates a new mock instance.

func (*MockLXDProfileModelV2) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLXDProfileModelV2) ModelConfig

func (m *MockLXDProfileModelV2) ModelConfig() (*config.Config, error)

ModelConfig mocks base method.

func (*MockLXDProfileModelV2) Type

Type mocks base method.

type MockLXDProfileModelV2MockRecorder

type MockLXDProfileModelV2MockRecorder struct {
	// contains filtered or unexported fields
}

MockLXDProfileModelV2MockRecorder is the mock recorder for MockLXDProfileModelV2.

func (*MockLXDProfileModelV2MockRecorder) ModelConfig

func (mr *MockLXDProfileModelV2MockRecorder) ModelConfig() *gomock.Call

ModelConfig indicates an expected call of ModelConfig.

func (*MockLXDProfileModelV2MockRecorder) Type

Type indicates an expected call of Type.

type MockLXDProfileUnit

type MockLXDProfileUnit struct {
	// contains filtered or unexported fields
}

MockLXDProfileUnit is a mock of LXDProfileUnit interface.

func NewMockLXDProfileUnit

func NewMockLXDProfileUnit(ctrl *gomock.Controller) *MockLXDProfileUnit

NewMockLXDProfileUnit creates a new mock instance.

func (*MockLXDProfileUnit) AssignedMachineId

func (m *MockLXDProfileUnit) AssignedMachineId() (string, error)

AssignedMachineId mocks base method.

func (*MockLXDProfileUnit) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLXDProfileUnit) Name

func (m *MockLXDProfileUnit) Name() string

Name mocks base method.

func (*MockLXDProfileUnit) Tag

func (m *MockLXDProfileUnit) Tag() names.Tag

Tag mocks base method.

func (*MockLXDProfileUnit) WatchLXDProfileUpgradeNotifications

func (m *MockLXDProfileUnit) WatchLXDProfileUpgradeNotifications() (state.StringsWatcher, error)

WatchLXDProfileUpgradeNotifications mocks base method.

type MockLXDProfileUnitMockRecorder

type MockLXDProfileUnitMockRecorder struct {
	// contains filtered or unexported fields
}

MockLXDProfileUnitMockRecorder is the mock recorder for MockLXDProfileUnit.

func (*MockLXDProfileUnitMockRecorder) AssignedMachineId

func (mr *MockLXDProfileUnitMockRecorder) AssignedMachineId() *gomock.Call

AssignedMachineId indicates an expected call of AssignedMachineId.

func (*MockLXDProfileUnitMockRecorder) Name

Name indicates an expected call of Name.

func (*MockLXDProfileUnitMockRecorder) Tag

Tag indicates an expected call of Tag.

func (*MockLXDProfileUnitMockRecorder) WatchLXDProfileUpgradeNotifications

func (mr *MockLXDProfileUnitMockRecorder) WatchLXDProfileUpgradeNotifications() *gomock.Call

WatchLXDProfileUpgradeNotifications indicates an expected call of WatchLXDProfileUpgradeNotifications.

type MockLXDProfileUnitV2

type MockLXDProfileUnitV2 struct {
	// contains filtered or unexported fields
}

MockLXDProfileUnitV2 is a mock of LXDProfileUnitV2 interface.

func NewMockLXDProfileUnitV2

func NewMockLXDProfileUnitV2(ctrl *gomock.Controller) *MockLXDProfileUnitV2

NewMockLXDProfileUnitV2 creates a new mock instance.

func (*MockLXDProfileUnitV2) ApplicationName

func (m *MockLXDProfileUnitV2) ApplicationName() string

ApplicationName mocks base method.

func (*MockLXDProfileUnitV2) AssignedMachineId

func (m *MockLXDProfileUnitV2) AssignedMachineId() (string, error)

AssignedMachineId mocks base method.

func (*MockLXDProfileUnitV2) CharmURL

func (m *MockLXDProfileUnitV2) CharmURL() *string

CharmURL mocks base method.

func (*MockLXDProfileUnitV2) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLXDProfileUnitV2) Name

func (m *MockLXDProfileUnitV2) Name() string

Name mocks base method.

func (*MockLXDProfileUnitV2) Tag

func (m *MockLXDProfileUnitV2) Tag() names.Tag

Tag mocks base method.

type MockLXDProfileUnitV2MockRecorder

type MockLXDProfileUnitV2MockRecorder struct {
	// contains filtered or unexported fields
}

MockLXDProfileUnitV2MockRecorder is the mock recorder for MockLXDProfileUnitV2.

func (*MockLXDProfileUnitV2MockRecorder) ApplicationName

func (mr *MockLXDProfileUnitV2MockRecorder) ApplicationName() *gomock.Call

ApplicationName indicates an expected call of ApplicationName.

func (*MockLXDProfileUnitV2MockRecorder) AssignedMachineId

func (mr *MockLXDProfileUnitV2MockRecorder) AssignedMachineId() *gomock.Call

AssignedMachineId indicates an expected call of AssignedMachineId.

func (*MockLXDProfileUnitV2MockRecorder) CharmURL

CharmURL indicates an expected call of CharmURL.

func (*MockLXDProfileUnitV2MockRecorder) Name

Name indicates an expected call of Name.

func (*MockLXDProfileUnitV2MockRecorder) Tag

Tag indicates an expected call of Tag.

Jump to

Keyboard shortcuts

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