mocks

package
v0.0.0-...-b9bb202 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 12 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 MockApplication

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

MockApplication is a mock of Application interface.

func NewMockApplication

func NewMockApplication(ctrl *gomock.Controller) *MockApplication

NewMockApplication creates a new mock instance.

func (*MockApplication) AllUnits

func (m *MockApplication) AllUnits() ([]interfaces.Unit, error)

AllUnits mocks base method.

func (*MockApplication) Constraints

func (m *MockApplication) Constraints() (constraints.Value, error)

Constraints mocks base method.

func (*MockApplication) EXPECT

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

func (*MockApplication) IsPrincipal

func (m *MockApplication) IsPrincipal() bool

IsPrincipal mocks base method.

type MockApplicationAllUnitsCall

type MockApplicationAllUnitsCall struct {
	*gomock.Call
}

MockApplicationAllUnitsCall wrap *gomock.Call

func (*MockApplicationAllUnitsCall) Do

Do rewrite *gomock.Call.Do

func (*MockApplicationAllUnitsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationAllUnitsCall) Return

Return rewrite *gomock.Call.Return

type MockApplicationConstraintsCall

type MockApplicationConstraintsCall struct {
	*gomock.Call
}

MockApplicationConstraintsCall wrap *gomock.Call

func (*MockApplicationConstraintsCall) Do

Do rewrite *gomock.Call.Do

func (*MockApplicationConstraintsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationConstraintsCall) Return

Return rewrite *gomock.Call.Return

type MockApplicationIsPrincipalCall

type MockApplicationIsPrincipalCall struct {
	*gomock.Call
}

MockApplicationIsPrincipalCall wrap *gomock.Call

func (*MockApplicationIsPrincipalCall) Do

Do rewrite *gomock.Call.Do

func (*MockApplicationIsPrincipalCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationIsPrincipalCall) Return

Return rewrite *gomock.Call.Return

type MockApplicationMockRecorder

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

MockApplicationMockRecorder is the mock recorder for MockApplication.

func (*MockApplicationMockRecorder) AllUnits

AllUnits indicates an expected call of AllUnits.

func (*MockApplicationMockRecorder) Constraints

Constraints indicates an expected call of Constraints.

func (*MockApplicationMockRecorder) IsPrincipal

IsPrincipal indicates an expected call of IsPrincipal.

type MockBackendState

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

MockBackendState is a mock of BackendState interface.

func NewMockBackendState

func NewMockBackendState(ctrl *gomock.Controller) *MockBackendState

NewMockBackendState creates a new mock instance.

func (*MockBackendState) AddCharmMetadata

func (m *MockBackendState) AddCharmMetadata(arg0 state.CharmInfo) (state.CharmRefFull, error)

AddCharmMetadata mocks base method.

func (*MockBackendState) Application

func (m *MockBackendState) Application(arg0 string) (interfaces.Application, error)

Application mocks base method.

func (*MockBackendState) Charm

func (m *MockBackendState) Charm(arg0 string) (state.CharmRefFull, error)

Charm mocks base method.

func (*MockBackendState) ControllerTag

func (m *MockBackendState) ControllerTag() names.ControllerTag

ControllerTag mocks base method.

func (*MockBackendState) EXPECT

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

func (*MockBackendState) Machine

func (m *MockBackendState) Machine(arg0 string) (interfaces.Machine, error)

Machine mocks base method.

func (*MockBackendState) ModelConstraints

func (m *MockBackendState) ModelConstraints() (constraints.Value, error)

ModelConstraints mocks base method.

type MockBackendStateAddCharmMetadataCall

type MockBackendStateAddCharmMetadataCall struct {
	*gomock.Call
}

MockBackendStateAddCharmMetadataCall wrap *gomock.Call

func (*MockBackendStateAddCharmMetadataCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendStateAddCharmMetadataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendStateAddCharmMetadataCall) Return

Return rewrite *gomock.Call.Return

type MockBackendStateApplicationCall

type MockBackendStateApplicationCall struct {
	*gomock.Call
}

MockBackendStateApplicationCall wrap *gomock.Call

func (*MockBackendStateApplicationCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendStateApplicationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendStateApplicationCall) Return

Return rewrite *gomock.Call.Return

type MockBackendStateCharmCall

type MockBackendStateCharmCall struct {
	*gomock.Call
}

MockBackendStateCharmCall wrap *gomock.Call

func (*MockBackendStateCharmCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendStateCharmCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendStateCharmCall) Return

Return rewrite *gomock.Call.Return

type MockBackendStateControllerTagCall

type MockBackendStateControllerTagCall struct {
	*gomock.Call
}

MockBackendStateControllerTagCall wrap *gomock.Call

func (*MockBackendStateControllerTagCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendStateControllerTagCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendStateControllerTagCall) Return

Return rewrite *gomock.Call.Return

type MockBackendStateMachineCall

type MockBackendStateMachineCall struct {
	*gomock.Call
}

MockBackendStateMachineCall wrap *gomock.Call

func (*MockBackendStateMachineCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendStateMachineCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendStateMachineCall) Return

Return rewrite *gomock.Call.Return

type MockBackendStateMockRecorder

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

MockBackendStateMockRecorder is the mock recorder for MockBackendState.

func (*MockBackendStateMockRecorder) AddCharmMetadata

AddCharmMetadata indicates an expected call of AddCharmMetadata.

func (*MockBackendStateMockRecorder) Application

Application indicates an expected call of Application.

func (*MockBackendStateMockRecorder) Charm

Charm indicates an expected call of Charm.

func (*MockBackendStateMockRecorder) ControllerTag

ControllerTag indicates an expected call of ControllerTag.

func (*MockBackendStateMockRecorder) Machine

Machine indicates an expected call of Machine.

func (*MockBackendStateMockRecorder) ModelConstraints

ModelConstraints indicates an expected call of ModelConstraints.

type MockBackendStateModelConstraintsCall

type MockBackendStateModelConstraintsCall struct {
	*gomock.Call
}

MockBackendStateModelConstraintsCall wrap *gomock.Call

func (*MockBackendStateModelConstraintsCall) Do

Do rewrite *gomock.Call.Do

func (*MockBackendStateModelConstraintsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBackendStateModelConstraintsCall) Return

Return rewrite *gomock.Call.Return

type MockCharmArchive

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

MockCharmArchive is a mock of CharmArchive interface.

func NewMockCharmArchive

func NewMockCharmArchive(ctrl *gomock.Controller) *MockCharmArchive

NewMockCharmArchive creates a new mock instance.

func (*MockCharmArchive) Actions

func (m *MockCharmArchive) Actions() *charm0.Actions

Actions mocks base method.

func (*MockCharmArchive) Config

func (m *MockCharmArchive) Config() *charm0.Config

Config mocks base method.

func (*MockCharmArchive) EXPECT

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

func (*MockCharmArchive) LXDProfile

func (m *MockCharmArchive) LXDProfile() *charm0.LXDProfile

LXDProfile mocks base method.

func (*MockCharmArchive) Manifest

func (m *MockCharmArchive) Manifest() *charm0.Manifest

Manifest mocks base method.

func (*MockCharmArchive) Meta

func (m *MockCharmArchive) Meta() *charm0.Meta

Meta mocks base method.

func (*MockCharmArchive) Revision

func (m *MockCharmArchive) Revision() int

Revision mocks base method.

func (*MockCharmArchive) Version

func (m *MockCharmArchive) Version() string

Version mocks base method.

type MockCharmArchiveActionsCall

type MockCharmArchiveActionsCall struct {
	*gomock.Call
}

MockCharmArchiveActionsCall wrap *gomock.Call

func (*MockCharmArchiveActionsCall) Do

Do rewrite *gomock.Call.Do

func (*MockCharmArchiveActionsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCharmArchiveActionsCall) Return

Return rewrite *gomock.Call.Return

type MockCharmArchiveConfigCall

type MockCharmArchiveConfigCall struct {
	*gomock.Call
}

MockCharmArchiveConfigCall wrap *gomock.Call

func (*MockCharmArchiveConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockCharmArchiveConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCharmArchiveConfigCall) Return

Return rewrite *gomock.Call.Return

type MockCharmArchiveLXDProfileCall

type MockCharmArchiveLXDProfileCall struct {
	*gomock.Call
}

MockCharmArchiveLXDProfileCall wrap *gomock.Call

func (*MockCharmArchiveLXDProfileCall) Do

Do rewrite *gomock.Call.Do

func (*MockCharmArchiveLXDProfileCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCharmArchiveLXDProfileCall) Return

Return rewrite *gomock.Call.Return

type MockCharmArchiveManifestCall

type MockCharmArchiveManifestCall struct {
	*gomock.Call
}

MockCharmArchiveManifestCall wrap *gomock.Call

func (*MockCharmArchiveManifestCall) Do

Do rewrite *gomock.Call.Do

func (*MockCharmArchiveManifestCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCharmArchiveManifestCall) Return

Return rewrite *gomock.Call.Return

type MockCharmArchiveMetaCall

type MockCharmArchiveMetaCall struct {
	*gomock.Call
}

MockCharmArchiveMetaCall wrap *gomock.Call

func (*MockCharmArchiveMetaCall) Do

Do rewrite *gomock.Call.Do

func (*MockCharmArchiveMetaCall) DoAndReturn

func (c *MockCharmArchiveMetaCall) DoAndReturn(f func() *charm0.Meta) *MockCharmArchiveMetaCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCharmArchiveMetaCall) Return

Return rewrite *gomock.Call.Return

type MockCharmArchiveMockRecorder

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

MockCharmArchiveMockRecorder is the mock recorder for MockCharmArchive.

func (*MockCharmArchiveMockRecorder) Actions

Actions indicates an expected call of Actions.

func (*MockCharmArchiveMockRecorder) Config

Config indicates an expected call of Config.

func (*MockCharmArchiveMockRecorder) LXDProfile

LXDProfile indicates an expected call of LXDProfile.

func (*MockCharmArchiveMockRecorder) Manifest

Manifest indicates an expected call of Manifest.

func (*MockCharmArchiveMockRecorder) Meta

Meta indicates an expected call of Meta.

func (*MockCharmArchiveMockRecorder) Revision

Revision indicates an expected call of Revision.

func (*MockCharmArchiveMockRecorder) Version

Version indicates an expected call of Version.

type MockCharmArchiveRevisionCall

type MockCharmArchiveRevisionCall struct {
	*gomock.Call
}

MockCharmArchiveRevisionCall wrap *gomock.Call

func (*MockCharmArchiveRevisionCall) Do

Do rewrite *gomock.Call.Do

func (*MockCharmArchiveRevisionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCharmArchiveRevisionCall) Return

Return rewrite *gomock.Call.Return

type MockCharmArchiveVersionCall

type MockCharmArchiveVersionCall struct {
	*gomock.Call
}

MockCharmArchiveVersionCall wrap *gomock.Call

func (*MockCharmArchiveVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockCharmArchiveVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCharmArchiveVersionCall) Return

Return rewrite *gomock.Call.Return

type MockDownloader

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

MockDownloader is a mock of Downloader interface.

func NewMockDownloader

func NewMockDownloader(ctrl *gomock.Controller) *MockDownloader

NewMockDownloader creates a new mock instance.

func (*MockDownloader) DownloadAndStore

func (m *MockDownloader) DownloadAndStore(arg0 context.Context, arg1 *charm0.URL, arg2 charm.Origin, arg3 bool) (charm.Origin, error)

DownloadAndStore mocks base method.

func (*MockDownloader) EXPECT

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

type MockDownloaderDownloadAndStoreCall

type MockDownloaderDownloadAndStoreCall struct {
	*gomock.Call
}

MockDownloaderDownloadAndStoreCall wrap *gomock.Call

func (*MockDownloaderDownloadAndStoreCall) Do

Do rewrite *gomock.Call.Do

func (*MockDownloaderDownloadAndStoreCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockDownloaderDownloadAndStoreCall) Return

Return rewrite *gomock.Call.Return

type MockDownloaderMockRecorder

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

MockDownloaderMockRecorder is the mock recorder for MockDownloader.

func (*MockDownloaderMockRecorder) DownloadAndStore

func (mr *MockDownloaderMockRecorder) DownloadAndStore(arg0, arg1, arg2, arg3 any) *MockDownloaderDownloadAndStoreCall

DownloadAndStore indicates an expected call of DownloadAndStore.

type MockMachine

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

MockMachine is a mock of Machine interface.

func NewMockMachine

func NewMockMachine(ctrl *gomock.Controller) *MockMachine

NewMockMachine creates a new mock instance.

func (*MockMachine) Constraints

func (m *MockMachine) Constraints() (constraints.Value, error)

Constraints mocks base method.

func (*MockMachine) EXPECT

func (m *MockMachine) EXPECT() *MockMachineMockRecorder

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

type MockMachineConstraintsCall

type MockMachineConstraintsCall struct {
	*gomock.Call
}

MockMachineConstraintsCall wrap *gomock.Call

func (*MockMachineConstraintsCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineConstraintsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineConstraintsCall) Return

Return rewrite *gomock.Call.Return

type MockMachineMockRecorder

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

MockMachineMockRecorder is the mock recorder for MockMachine.

func (*MockMachineMockRecorder) Constraints

Constraints indicates an expected call of Constraints.

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) Download

func (m *MockRepository) Download(arg0 context.Context, arg1 string, arg2 charm.Origin, arg3 string) (charm.Origin, *charmhub.Digest, error)

Download mocks base method.

func (*MockRepository) DownloadCharm

func (m *MockRepository) DownloadCharm(arg0 context.Context, arg1 string, arg2 charm.Origin, arg3 string) (charm.CharmArchive, charm.Origin, *charmhub.Digest, error)

DownloadCharm mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) GetDownloadURL

func (m *MockRepository) GetDownloadURL(arg0 context.Context, arg1 string, arg2 charm.Origin) (*url.URL, charm.Origin, error)

GetDownloadURL mocks base method.

func (*MockRepository) ListResources

func (m *MockRepository) ListResources(arg0 context.Context, arg1 string, arg2 charm.Origin) ([]resource.Resource, error)

ListResources mocks base method.

func (*MockRepository) ResolveForDeploy

func (m *MockRepository) ResolveForDeploy(arg0 context.Context, arg1 charm.CharmID) (charm.ResolvedDataForDeploy, error)

ResolveForDeploy mocks base method.

func (*MockRepository) ResolveResources

func (m *MockRepository) ResolveResources(arg0 context.Context, arg1 []resource.Resource, arg2 charm.CharmID) ([]resource.Resource, error)

ResolveResources mocks base method.

func (*MockRepository) ResolveWithPreferredChannel

func (m *MockRepository) ResolveWithPreferredChannel(arg0 context.Context, arg1 string, arg2 charm.Origin) (charm.ResolvedData, error)

ResolveWithPreferredChannel mocks base method.

type MockRepositoryDownloadCall

type MockRepositoryDownloadCall struct {
	*gomock.Call
}

MockRepositoryDownloadCall wrap *gomock.Call

func (*MockRepositoryDownloadCall) Do

Do rewrite *gomock.Call.Do

func (*MockRepositoryDownloadCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRepositoryDownloadCall) Return

Return rewrite *gomock.Call.Return

type MockRepositoryDownloadCharmCall

type MockRepositoryDownloadCharmCall struct {
	*gomock.Call
}

MockRepositoryDownloadCharmCall wrap *gomock.Call

func (*MockRepositoryDownloadCharmCall) Do

Do rewrite *gomock.Call.Do

func (*MockRepositoryDownloadCharmCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRepositoryDownloadCharmCall) Return

Return rewrite *gomock.Call.Return

type MockRepositoryFactory

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

MockRepositoryFactory is a mock of RepositoryFactory interface.

func NewMockRepositoryFactory

func NewMockRepositoryFactory(ctrl *gomock.Controller) *MockRepositoryFactory

NewMockRepositoryFactory creates a new mock instance.

func (*MockRepositoryFactory) EXPECT

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

func (*MockRepositoryFactory) GetCharmRepository

func (m *MockRepositoryFactory) GetCharmRepository(arg0 context.Context, arg1 charm.Source) (charm.Repository, error)

GetCharmRepository mocks base method.

type MockRepositoryFactoryGetCharmRepositoryCall

type MockRepositoryFactoryGetCharmRepositoryCall struct {
	*gomock.Call
}

MockRepositoryFactoryGetCharmRepositoryCall wrap *gomock.Call

func (*MockRepositoryFactoryGetCharmRepositoryCall) Do

Do rewrite *gomock.Call.Do

func (*MockRepositoryFactoryGetCharmRepositoryCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRepositoryFactoryGetCharmRepositoryCall) Return

Return rewrite *gomock.Call.Return

type MockRepositoryFactoryMockRecorder

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

MockRepositoryFactoryMockRecorder is the mock recorder for MockRepositoryFactory.

func (*MockRepositoryFactoryMockRecorder) GetCharmRepository

GetCharmRepository indicates an expected call of GetCharmRepository.

type MockRepositoryGetDownloadURLCall

type MockRepositoryGetDownloadURLCall struct {
	*gomock.Call
}

MockRepositoryGetDownloadURLCall wrap *gomock.Call

func (*MockRepositoryGetDownloadURLCall) Do

Do rewrite *gomock.Call.Do

func (*MockRepositoryGetDownloadURLCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRepositoryGetDownloadURLCall) Return

Return rewrite *gomock.Call.Return

type MockRepositoryListResourcesCall

type MockRepositoryListResourcesCall struct {
	*gomock.Call
}

MockRepositoryListResourcesCall wrap *gomock.Call

func (*MockRepositoryListResourcesCall) Do

Do rewrite *gomock.Call.Do

func (*MockRepositoryListResourcesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRepositoryListResourcesCall) Return

Return rewrite *gomock.Call.Return

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Download

func (mr *MockRepositoryMockRecorder) Download(arg0, arg1, arg2, arg3 any) *MockRepositoryDownloadCall

Download indicates an expected call of Download.

func (*MockRepositoryMockRecorder) DownloadCharm

func (mr *MockRepositoryMockRecorder) DownloadCharm(arg0, arg1, arg2, arg3 any) *MockRepositoryDownloadCharmCall

DownloadCharm indicates an expected call of DownloadCharm.

func (*MockRepositoryMockRecorder) GetDownloadURL

func (mr *MockRepositoryMockRecorder) GetDownloadURL(arg0, arg1, arg2 any) *MockRepositoryGetDownloadURLCall

GetDownloadURL indicates an expected call of GetDownloadURL.

func (*MockRepositoryMockRecorder) ListResources

func (mr *MockRepositoryMockRecorder) ListResources(arg0, arg1, arg2 any) *MockRepositoryListResourcesCall

ListResources indicates an expected call of ListResources.

func (*MockRepositoryMockRecorder) ResolveForDeploy

func (mr *MockRepositoryMockRecorder) ResolveForDeploy(arg0, arg1 any) *MockRepositoryResolveForDeployCall

ResolveForDeploy indicates an expected call of ResolveForDeploy.

func (*MockRepositoryMockRecorder) ResolveResources

func (mr *MockRepositoryMockRecorder) ResolveResources(arg0, arg1, arg2 any) *MockRepositoryResolveResourcesCall

ResolveResources indicates an expected call of ResolveResources.

func (*MockRepositoryMockRecorder) ResolveWithPreferredChannel

func (mr *MockRepositoryMockRecorder) ResolveWithPreferredChannel(arg0, arg1, arg2 any) *MockRepositoryResolveWithPreferredChannelCall

ResolveWithPreferredChannel indicates an expected call of ResolveWithPreferredChannel.

type MockRepositoryResolveForDeployCall

type MockRepositoryResolveForDeployCall struct {
	*gomock.Call
}

MockRepositoryResolveForDeployCall wrap *gomock.Call

func (*MockRepositoryResolveForDeployCall) Do

Do rewrite *gomock.Call.Do

func (*MockRepositoryResolveForDeployCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRepositoryResolveForDeployCall) Return

Return rewrite *gomock.Call.Return

type MockRepositoryResolveResourcesCall

type MockRepositoryResolveResourcesCall struct {
	*gomock.Call
}

MockRepositoryResolveResourcesCall wrap *gomock.Call

func (*MockRepositoryResolveResourcesCall) Do

Do rewrite *gomock.Call.Do

func (*MockRepositoryResolveResourcesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRepositoryResolveResourcesCall) Return

Return rewrite *gomock.Call.Return

type MockRepositoryResolveWithPreferredChannelCall

type MockRepositoryResolveWithPreferredChannelCall struct {
	*gomock.Call
}

MockRepositoryResolveWithPreferredChannelCall wrap *gomock.Call

func (*MockRepositoryResolveWithPreferredChannelCall) Do

Do rewrite *gomock.Call.Do

func (*MockRepositoryResolveWithPreferredChannelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRepositoryResolveWithPreferredChannelCall) Return

Return rewrite *gomock.Call.Return

type MockUnit

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

MockUnit is a mock of Unit interface.

func NewMockUnit

func NewMockUnit(ctrl *gomock.Controller) *MockUnit

NewMockUnit creates a new mock instance.

func (*MockUnit) AssignedMachineId

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

AssignedMachineId mocks base method.

func (*MockUnit) EXPECT

func (m *MockUnit) EXPECT() *MockUnitMockRecorder

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

type MockUnitAssignedMachineIdCall

type MockUnitAssignedMachineIdCall struct {
	*gomock.Call
}

MockUnitAssignedMachineIdCall wrap *gomock.Call

func (*MockUnitAssignedMachineIdCall) Do

Do rewrite *gomock.Call.Do

func (*MockUnitAssignedMachineIdCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUnitAssignedMachineIdCall) Return

Return rewrite *gomock.Call.Return

type MockUnitMockRecorder

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

MockUnitMockRecorder is the mock recorder for MockUnit.

func (*MockUnitMockRecorder) AssignedMachineId

func (mr *MockUnitMockRecorder) AssignedMachineId() *MockUnitAssignedMachineIdCall

AssignedMachineId indicates an expected call of AssignedMachineId.

Jump to

Keyboard shortcuts

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