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: 28 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockAPIHostPortsForAgentsGetter

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

MockAPIHostPortsForAgentsGetter is a mock of APIHostPortsForAgentsGetter interface.

func NewMockAPIHostPortsForAgentsGetter

func NewMockAPIHostPortsForAgentsGetter(ctrl *gomock.Controller) *MockAPIHostPortsForAgentsGetter

NewMockAPIHostPortsForAgentsGetter creates a new mock instance.

func (*MockAPIHostPortsForAgentsGetter) APIHostPortsForAgents

func (m *MockAPIHostPortsForAgentsGetter) APIHostPortsForAgents(arg0 controller.Config) ([]network.SpaceHostPorts, error)

APIHostPortsForAgents mocks base method.

func (*MockAPIHostPortsForAgentsGetter) EXPECT

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

type MockAPIHostPortsForAgentsGetterAPIHostPortsForAgentsCall

type MockAPIHostPortsForAgentsGetterAPIHostPortsForAgentsCall struct {
	*gomock.Call
}

MockAPIHostPortsForAgentsGetterAPIHostPortsForAgentsCall wrap *gomock.Call

func (*MockAPIHostPortsForAgentsGetterAPIHostPortsForAgentsCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPIHostPortsForAgentsGetterAPIHostPortsForAgentsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPIHostPortsForAgentsGetterAPIHostPortsForAgentsCall) Return

Return rewrite *gomock.Call.Return

type MockAPIHostPortsForAgentsGetterMockRecorder

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

MockAPIHostPortsForAgentsGetterMockRecorder is the mock recorder for MockAPIHostPortsForAgentsGetter.

func (*MockAPIHostPortsForAgentsGetterMockRecorder) APIHostPortsForAgents

APIHostPortsForAgents indicates an expected call of APIHostPortsForAgents.

type MockAgentTooler

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

MockAgentTooler is a mock of AgentTooler interface.

func NewMockAgentTooler

func NewMockAgentTooler(ctrl *gomock.Controller) *MockAgentTooler

NewMockAgentTooler creates a new mock instance.

func (*MockAgentTooler) AgentTools

func (m *MockAgentTooler) AgentTools() (*tools.Tools, error)

AgentTools mocks base method.

func (*MockAgentTooler) EXPECT

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

func (*MockAgentTooler) SetAgentVersion

func (m *MockAgentTooler) SetAgentVersion(arg0 version.Binary) error

SetAgentVersion mocks base method.

func (*MockAgentTooler) Tag

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

Tag mocks base method.

type MockAgentToolerAgentToolsCall

type MockAgentToolerAgentToolsCall struct {
	*gomock.Call
}

MockAgentToolerAgentToolsCall wrap *gomock.Call

func (*MockAgentToolerAgentToolsCall) Do

Do rewrite *gomock.Call.Do

func (*MockAgentToolerAgentToolsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAgentToolerAgentToolsCall) Return

Return rewrite *gomock.Call.Return

type MockAgentToolerMockRecorder

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

MockAgentToolerMockRecorder is the mock recorder for MockAgentTooler.

func (*MockAgentToolerMockRecorder) AgentTools

AgentTools indicates an expected call of AgentTools.

func (*MockAgentToolerMockRecorder) SetAgentVersion

SetAgentVersion indicates an expected call of SetAgentVersion.

func (*MockAgentToolerMockRecorder) Tag

Tag indicates an expected call of Tag.

type MockAgentToolerSetAgentVersionCall

type MockAgentToolerSetAgentVersionCall struct {
	*gomock.Call
}

MockAgentToolerSetAgentVersionCall wrap *gomock.Call

func (*MockAgentToolerSetAgentVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockAgentToolerSetAgentVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAgentToolerSetAgentVersionCall) Return

Return rewrite *gomock.Call.Return

type MockAgentToolerTagCall

type MockAgentToolerTagCall struct {
	*gomock.Call
}

MockAgentToolerTagCall wrap *gomock.Call

func (*MockAgentToolerTagCall) Do

Do rewrite *gomock.Call.Do

func (*MockAgentToolerTagCall) DoAndReturn

func (c *MockAgentToolerTagCall) DoAndReturn(f func() names.Tag) *MockAgentToolerTagCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAgentToolerTagCall) Return

Return rewrite *gomock.Call.Return

type MockAuthorizer

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

MockAuthorizer is a mock of Authorizer interface.

func NewMockAuthorizer

func NewMockAuthorizer(ctrl *gomock.Controller) *MockAuthorizer

NewMockAuthorizer creates a new mock instance.

func (*MockAuthorizer) AuthController

func (m *MockAuthorizer) AuthController() bool

AuthController mocks base method.

func (*MockAuthorizer) AuthMachineAgent

func (m *MockAuthorizer) AuthMachineAgent() bool

AuthMachineAgent mocks base method.

func (*MockAuthorizer) EXPECT

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

func (*MockAuthorizer) GetAuthTag

func (m *MockAuthorizer) GetAuthTag() names.Tag

GetAuthTag mocks base method.

type MockAuthorizerAuthControllerCall

type MockAuthorizerAuthControllerCall struct {
	*gomock.Call
}

MockAuthorizerAuthControllerCall wrap *gomock.Call

func (*MockAuthorizerAuthControllerCall) Do

Do rewrite *gomock.Call.Do

func (*MockAuthorizerAuthControllerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAuthorizerAuthControllerCall) Return

Return rewrite *gomock.Call.Return

type MockAuthorizerAuthMachineAgentCall

type MockAuthorizerAuthMachineAgentCall struct {
	*gomock.Call
}

MockAuthorizerAuthMachineAgentCall wrap *gomock.Call

func (*MockAuthorizerAuthMachineAgentCall) Do

Do rewrite *gomock.Call.Do

func (*MockAuthorizerAuthMachineAgentCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAuthorizerAuthMachineAgentCall) Return

Return rewrite *gomock.Call.Return

type MockAuthorizerGetAuthTagCall

type MockAuthorizerGetAuthTagCall struct {
	*gomock.Call
}

MockAuthorizerGetAuthTagCall wrap *gomock.Call

func (*MockAuthorizerGetAuthTagCall) Do

Do rewrite *gomock.Call.Do

func (*MockAuthorizerGetAuthTagCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAuthorizerGetAuthTagCall) Return

Return rewrite *gomock.Call.Return

type MockAuthorizerMockRecorder

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

MockAuthorizerMockRecorder is the mock recorder for MockAuthorizer.

func (*MockAuthorizerMockRecorder) AuthController

AuthController indicates an expected call of AuthController.

func (*MockAuthorizerMockRecorder) AuthMachineAgent

AuthMachineAgent indicates an expected call of AuthMachineAgent.

func (*MockAuthorizerMockRecorder) GetAuthTag

GetAuthTag indicates an expected call of GetAuthTag.

type MockBlockCommandService

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

MockBlockCommandService is a mock of BlockCommandService interface.

func NewMockBlockCommandService

func NewMockBlockCommandService(ctrl *gomock.Controller) *MockBlockCommandService

NewMockBlockCommandService creates a new mock instance.

func (*MockBlockCommandService) EXPECT

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

func (*MockBlockCommandService) GetBlockSwitchedOn

func (m *MockBlockCommandService) GetBlockSwitchedOn(arg0 context.Context, arg1 blockcommand.BlockType) (string, error)

GetBlockSwitchedOn mocks base method.

func (*MockBlockCommandService) GetBlocks

GetBlocks mocks base method.

type MockBlockCommandServiceGetBlockSwitchedOnCall

type MockBlockCommandServiceGetBlockSwitchedOnCall struct {
	*gomock.Call
}

MockBlockCommandServiceGetBlockSwitchedOnCall wrap *gomock.Call

func (*MockBlockCommandServiceGetBlockSwitchedOnCall) Do

Do rewrite *gomock.Call.Do

func (*MockBlockCommandServiceGetBlockSwitchedOnCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBlockCommandServiceGetBlockSwitchedOnCall) Return

Return rewrite *gomock.Call.Return

type MockBlockCommandServiceGetBlocksCall

type MockBlockCommandServiceGetBlocksCall struct {
	*gomock.Call
}

MockBlockCommandServiceGetBlocksCall wrap *gomock.Call

func (*MockBlockCommandServiceGetBlocksCall) Do

Do rewrite *gomock.Call.Do

func (*MockBlockCommandServiceGetBlocksCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBlockCommandServiceGetBlocksCall) Return

Return rewrite *gomock.Call.Return

type MockBlockCommandServiceMockRecorder

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

MockBlockCommandServiceMockRecorder is the mock recorder for MockBlockCommandService.

func (*MockBlockCommandServiceMockRecorder) GetBlockSwitchedOn

GetBlockSwitchedOn indicates an expected call of GetBlockSwitchedOn.

func (*MockBlockCommandServiceMockRecorder) GetBlocks

GetBlocks indicates an expected call of GetBlocks.

type MockBootstrapEnviron

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

MockBootstrapEnviron is a mock of BootstrapEnviron interface.

func NewMockBootstrapEnviron

func NewMockBootstrapEnviron(ctrl *gomock.Controller) *MockBootstrapEnviron

NewMockBootstrapEnviron creates a new mock instance.

func (*MockBootstrapEnviron) Bootstrap

Bootstrap mocks base method.

func (*MockBootstrapEnviron) Config

func (m *MockBootstrapEnviron) Config() *config.Config

Config mocks base method.

func (*MockBootstrapEnviron) ConstraintsValidator

ConstraintsValidator mocks base method.

func (*MockBootstrapEnviron) Create

Create mocks base method.

func (*MockBootstrapEnviron) Destroy

Destroy mocks base method.

func (*MockBootstrapEnviron) DestroyController

func (m *MockBootstrapEnviron) DestroyController(arg0 envcontext.ProviderCallContext, arg1 string) error

DestroyController mocks base method.

func (*MockBootstrapEnviron) EXPECT

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

func (*MockBootstrapEnviron) PrepareForBootstrap

func (m *MockBootstrapEnviron) PrepareForBootstrap(arg0 environs.BootstrapContext, arg1 string) error

PrepareForBootstrap mocks base method.

func (*MockBootstrapEnviron) SetConfig

func (m *MockBootstrapEnviron) SetConfig(arg0 context.Context, arg1 *config.Config) error

SetConfig mocks base method.

func (*MockBootstrapEnviron) StorageProvider

func (m *MockBootstrapEnviron) StorageProvider(arg0 storage.ProviderType) (storage.Provider, error)

StorageProvider mocks base method.

func (*MockBootstrapEnviron) StorageProviderTypes

func (m *MockBootstrapEnviron) StorageProviderTypes() ([]storage.ProviderType, error)

StorageProviderTypes mocks base method.

type MockBootstrapEnvironBootstrapCall

type MockBootstrapEnvironBootstrapCall struct {
	*gomock.Call
}

MockBootstrapEnvironBootstrapCall wrap *gomock.Call

func (*MockBootstrapEnvironBootstrapCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBootstrapEnvironBootstrapCall) Return

Return rewrite *gomock.Call.Return

type MockBootstrapEnvironConfigCall

type MockBootstrapEnvironConfigCall struct {
	*gomock.Call
}

MockBootstrapEnvironConfigCall wrap *gomock.Call

func (*MockBootstrapEnvironConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockBootstrapEnvironConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBootstrapEnvironConfigCall) Return

Return rewrite *gomock.Call.Return

type MockBootstrapEnvironConstraintsValidatorCall

type MockBootstrapEnvironConstraintsValidatorCall struct {
	*gomock.Call
}

MockBootstrapEnvironConstraintsValidatorCall wrap *gomock.Call

func (*MockBootstrapEnvironConstraintsValidatorCall) Do

Do rewrite *gomock.Call.Do

func (*MockBootstrapEnvironConstraintsValidatorCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBootstrapEnvironConstraintsValidatorCall) Return

Return rewrite *gomock.Call.Return

type MockBootstrapEnvironCreateCall

type MockBootstrapEnvironCreateCall struct {
	*gomock.Call
}

MockBootstrapEnvironCreateCall wrap *gomock.Call

func (*MockBootstrapEnvironCreateCall) Do

Do rewrite *gomock.Call.Do

func (*MockBootstrapEnvironCreateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBootstrapEnvironCreateCall) Return

Return rewrite *gomock.Call.Return

type MockBootstrapEnvironDestroyCall

type MockBootstrapEnvironDestroyCall struct {
	*gomock.Call
}

MockBootstrapEnvironDestroyCall wrap *gomock.Call

func (*MockBootstrapEnvironDestroyCall) Do

Do rewrite *gomock.Call.Do

func (*MockBootstrapEnvironDestroyCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBootstrapEnvironDestroyCall) Return

Return rewrite *gomock.Call.Return

type MockBootstrapEnvironDestroyControllerCall

type MockBootstrapEnvironDestroyControllerCall struct {
	*gomock.Call
}

MockBootstrapEnvironDestroyControllerCall wrap *gomock.Call

func (*MockBootstrapEnvironDestroyControllerCall) Do

Do rewrite *gomock.Call.Do

func (*MockBootstrapEnvironDestroyControllerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBootstrapEnvironDestroyControllerCall) Return

Return rewrite *gomock.Call.Return

type MockBootstrapEnvironMockRecorder

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

MockBootstrapEnvironMockRecorder is the mock recorder for MockBootstrapEnviron.

func (*MockBootstrapEnvironMockRecorder) Bootstrap

Bootstrap indicates an expected call of Bootstrap.

func (*MockBootstrapEnvironMockRecorder) Config

Config indicates an expected call of Config.

func (*MockBootstrapEnvironMockRecorder) ConstraintsValidator

ConstraintsValidator indicates an expected call of ConstraintsValidator.

func (*MockBootstrapEnvironMockRecorder) Create

Create indicates an expected call of Create.

func (*MockBootstrapEnvironMockRecorder) Destroy

Destroy indicates an expected call of Destroy.

func (*MockBootstrapEnvironMockRecorder) DestroyController

DestroyController indicates an expected call of DestroyController.

func (*MockBootstrapEnvironMockRecorder) PrepareForBootstrap

PrepareForBootstrap indicates an expected call of PrepareForBootstrap.

func (*MockBootstrapEnvironMockRecorder) SetConfig

SetConfig indicates an expected call of SetConfig.

func (*MockBootstrapEnvironMockRecorder) StorageProvider

StorageProvider indicates an expected call of StorageProvider.

func (*MockBootstrapEnvironMockRecorder) StorageProviderTypes

StorageProviderTypes indicates an expected call of StorageProviderTypes.

type MockBootstrapEnvironPrepareForBootstrapCall

type MockBootstrapEnvironPrepareForBootstrapCall struct {
	*gomock.Call
}

MockBootstrapEnvironPrepareForBootstrapCall wrap *gomock.Call

func (*MockBootstrapEnvironPrepareForBootstrapCall) Do

Do rewrite *gomock.Call.Do

func (*MockBootstrapEnvironPrepareForBootstrapCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBootstrapEnvironPrepareForBootstrapCall) Return

Return rewrite *gomock.Call.Return

type MockBootstrapEnvironSetConfigCall

type MockBootstrapEnvironSetConfigCall struct {
	*gomock.Call
}

MockBootstrapEnvironSetConfigCall wrap *gomock.Call

func (*MockBootstrapEnvironSetConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockBootstrapEnvironSetConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBootstrapEnvironSetConfigCall) Return

Return rewrite *gomock.Call.Return

type MockBootstrapEnvironStorageProviderCall

type MockBootstrapEnvironStorageProviderCall struct {
	*gomock.Call
}

MockBootstrapEnvironStorageProviderCall wrap *gomock.Call

func (*MockBootstrapEnvironStorageProviderCall) Do

Do rewrite *gomock.Call.Do

func (*MockBootstrapEnvironStorageProviderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBootstrapEnvironStorageProviderCall) Return

Return rewrite *gomock.Call.Return

type MockBootstrapEnvironStorageProviderTypesCall

type MockBootstrapEnvironStorageProviderTypesCall struct {
	*gomock.Call
}

MockBootstrapEnvironStorageProviderTypesCall wrap *gomock.Call

func (*MockBootstrapEnvironStorageProviderTypesCall) Do

Do rewrite *gomock.Call.Do

func (*MockBootstrapEnvironStorageProviderTypesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBootstrapEnvironStorageProviderTypesCall) Return

Return rewrite *gomock.Call.Return

type MockCloudService

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

MockCloudService is a mock of CloudService interface.

func NewMockCloudService

func NewMockCloudService(ctrl *gomock.Controller) *MockCloudService

NewMockCloudService creates a new mock instance.

func (*MockCloudService) Cloud

func (m *MockCloudService) Cloud(arg0 context.Context, arg1 string) (*cloud.Cloud, error)

Cloud mocks base method.

func (*MockCloudService) EXPECT

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

func (*MockCloudService) WatchCloud

func (m *MockCloudService) WatchCloud(arg0 context.Context, arg1 string) (watcher.Watcher[struct{}], error)

WatchCloud mocks base method.

type MockCloudServiceCloudCall

type MockCloudServiceCloudCall struct {
	*gomock.Call
}

MockCloudServiceCloudCall wrap *gomock.Call

func (*MockCloudServiceCloudCall) Do

Do rewrite *gomock.Call.Do

func (*MockCloudServiceCloudCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCloudServiceCloudCall) Return

Return rewrite *gomock.Call.Return

type MockCloudServiceMockRecorder

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

MockCloudServiceMockRecorder is the mock recorder for MockCloudService.

func (*MockCloudServiceMockRecorder) Cloud

Cloud indicates an expected call of Cloud.

func (*MockCloudServiceMockRecorder) WatchCloud

WatchCloud indicates an expected call of WatchCloud.

type MockCloudServiceWatchCloudCall

type MockCloudServiceWatchCloudCall struct {
	*gomock.Call
}

MockCloudServiceWatchCloudCall wrap *gomock.Call

func (*MockCloudServiceWatchCloudCall) Do

Do rewrite *gomock.Call.Do

func (*MockCloudServiceWatchCloudCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCloudServiceWatchCloudCall) Return

Return rewrite *gomock.Call.Return

type MockControllerConfigService

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

MockControllerConfigService is a mock of ControllerConfigService interface.

func NewMockControllerConfigService

func NewMockControllerConfigService(ctrl *gomock.Controller) *MockControllerConfigService

NewMockControllerConfigService creates a new mock instance.

func (*MockControllerConfigService) ControllerConfig

func (m *MockControllerConfigService) ControllerConfig(arg0 context.Context) (controller.Config, error)

ControllerConfig mocks base method.

func (*MockControllerConfigService) EXPECT

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

type MockControllerConfigServiceControllerConfigCall

type MockControllerConfigServiceControllerConfigCall struct {
	*gomock.Call
}

MockControllerConfigServiceControllerConfigCall wrap *gomock.Call

func (*MockControllerConfigServiceControllerConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockControllerConfigServiceControllerConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockControllerConfigServiceControllerConfigCall) Return

Return rewrite *gomock.Call.Return

type MockControllerConfigServiceMockRecorder

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

MockControllerConfigServiceMockRecorder is the mock recorder for MockControllerConfigService.

func (*MockControllerConfigServiceMockRecorder) ControllerConfig

ControllerConfig indicates an expected call of ControllerConfig.

type MockControllerConfigState

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

MockControllerConfigState is a mock of ControllerConfigState interface.

func NewMockControllerConfigState

func NewMockControllerConfigState(ctrl *gomock.Controller) *MockControllerConfigState

NewMockControllerConfigState creates a new mock instance.

func (*MockControllerConfigState) APIHostPortsForAgents

func (m *MockControllerConfigState) APIHostPortsForAgents(arg0 controller.Config) ([]network.SpaceHostPorts, error)

APIHostPortsForAgents mocks base method.

func (*MockControllerConfigState) CompletedMigrationForModel

func (m *MockControllerConfigState) CompletedMigrationForModel(arg0 string) (state.ModelMigration, error)

CompletedMigrationForModel mocks base method.

func (*MockControllerConfigState) EXPECT

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

func (*MockControllerConfigState) ModelExists

func (m *MockControllerConfigState) ModelExists(arg0 string) (bool, error)

ModelExists mocks base method.

type MockControllerConfigStateAPIHostPortsForAgentsCall

type MockControllerConfigStateAPIHostPortsForAgentsCall struct {
	*gomock.Call
}

MockControllerConfigStateAPIHostPortsForAgentsCall wrap *gomock.Call

func (*MockControllerConfigStateAPIHostPortsForAgentsCall) Do

Do rewrite *gomock.Call.Do

func (*MockControllerConfigStateAPIHostPortsForAgentsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockControllerConfigStateAPIHostPortsForAgentsCall) Return

Return rewrite *gomock.Call.Return

type MockControllerConfigStateCompletedMigrationForModelCall

type MockControllerConfigStateCompletedMigrationForModelCall struct {
	*gomock.Call
}

MockControllerConfigStateCompletedMigrationForModelCall wrap *gomock.Call

func (*MockControllerConfigStateCompletedMigrationForModelCall) Do

Do rewrite *gomock.Call.Do

func (*MockControllerConfigStateCompletedMigrationForModelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockControllerConfigStateCompletedMigrationForModelCall) Return

Return rewrite *gomock.Call.Return

type MockControllerConfigStateMockRecorder

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

MockControllerConfigStateMockRecorder is the mock recorder for MockControllerConfigState.

func (*MockControllerConfigStateMockRecorder) APIHostPortsForAgents

APIHostPortsForAgents indicates an expected call of APIHostPortsForAgents.

func (*MockControllerConfigStateMockRecorder) CompletedMigrationForModel

CompletedMigrationForModel indicates an expected call of CompletedMigrationForModel.

func (*MockControllerConfigStateMockRecorder) ModelExists

ModelExists indicates an expected call of ModelExists.

type MockControllerConfigStateModelExistsCall

type MockControllerConfigStateModelExistsCall struct {
	*gomock.Call
}

MockControllerConfigStateModelExistsCall wrap *gomock.Call

func (*MockControllerConfigStateModelExistsCall) Do

Do rewrite *gomock.Call.Do

func (*MockControllerConfigStateModelExistsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockControllerConfigStateModelExistsCall) Return

Return rewrite *gomock.Call.Return

type MockCredentialService

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

MockCredentialService is a mock of CredentialService interface.

func NewMockCredentialService

func NewMockCredentialService(ctrl *gomock.Controller) *MockCredentialService

NewMockCredentialService creates a new mock instance.

func (*MockCredentialService) CloudCredential

func (m *MockCredentialService) CloudCredential(arg0 context.Context, arg1 credential.Key) (cloud.Credential, error)

CloudCredential mocks base method.

func (*MockCredentialService) EXPECT

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

func (*MockCredentialService) WatchCredential

func (m *MockCredentialService) WatchCredential(arg0 context.Context, arg1 credential.Key) (watcher.Watcher[struct{}], error)

WatchCredential mocks base method.

type MockCredentialServiceCloudCredentialCall

type MockCredentialServiceCloudCredentialCall struct {
	*gomock.Call
}

MockCredentialServiceCloudCredentialCall wrap *gomock.Call

func (*MockCredentialServiceCloudCredentialCall) Do

Do rewrite *gomock.Call.Do

func (*MockCredentialServiceCloudCredentialCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCredentialServiceCloudCredentialCall) Return

Return rewrite *gomock.Call.Return

type MockCredentialServiceMockRecorder

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

MockCredentialServiceMockRecorder is the mock recorder for MockCredentialService.

func (*MockCredentialServiceMockRecorder) CloudCredential

CloudCredential indicates an expected call of CloudCredential.

func (*MockCredentialServiceMockRecorder) WatchCredential

WatchCredential indicates an expected call of WatchCredential.

type MockCredentialServiceWatchCredentialCall

type MockCredentialServiceWatchCredentialCall struct {
	*gomock.Call
}

MockCredentialServiceWatchCredentialCall wrap *gomock.Call

func (*MockCredentialServiceWatchCredentialCall) Do

Do rewrite *gomock.Call.Do

func (*MockCredentialServiceWatchCredentialCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCredentialServiceWatchCredentialCall) Return

Return rewrite *gomock.Call.Return

type MockEnsureDeadMachineService

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

MockEnsureDeadMachineService is a mock of EnsureDeadMachineService interface.

func NewMockEnsureDeadMachineService

func NewMockEnsureDeadMachineService(ctrl *gomock.Controller) *MockEnsureDeadMachineService

NewMockEnsureDeadMachineService creates a new mock instance.

func (*MockEnsureDeadMachineService) EXPECT

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

func (*MockEnsureDeadMachineService) EnsureDeadMachine

func (m *MockEnsureDeadMachineService) EnsureDeadMachine(arg0 context.Context, arg1 machine.Name) error

EnsureDeadMachine mocks base method.

type MockEnsureDeadMachineServiceEnsureDeadMachineCall

type MockEnsureDeadMachineServiceEnsureDeadMachineCall struct {
	*gomock.Call
}

MockEnsureDeadMachineServiceEnsureDeadMachineCall wrap *gomock.Call

func (*MockEnsureDeadMachineServiceEnsureDeadMachineCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnsureDeadMachineServiceEnsureDeadMachineCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnsureDeadMachineServiceEnsureDeadMachineCall) Return

Return rewrite *gomock.Call.Return

type MockEnsureDeadMachineServiceMockRecorder

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

MockEnsureDeadMachineServiceMockRecorder is the mock recorder for MockEnsureDeadMachineService.

func (*MockEnsureDeadMachineServiceMockRecorder) EnsureDeadMachine

EnsureDeadMachine indicates an expected call of EnsureDeadMachine.

type MockExternalControllerService

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

MockExternalControllerService is a mock of ExternalControllerService interface.

func NewMockExternalControllerService

func NewMockExternalControllerService(ctrl *gomock.Controller) *MockExternalControllerService

NewMockExternalControllerService creates a new mock instance.

func (*MockExternalControllerService) ControllerForModel

func (m *MockExternalControllerService) ControllerForModel(arg0 context.Context, arg1 string) (*crossmodel.ControllerInfo, error)

ControllerForModel mocks base method.

func (*MockExternalControllerService) EXPECT

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

func (*MockExternalControllerService) UpdateExternalController

func (m *MockExternalControllerService) UpdateExternalController(arg0 context.Context, arg1 crossmodel.ControllerInfo) error

UpdateExternalController mocks base method.

type MockExternalControllerServiceControllerForModelCall

type MockExternalControllerServiceControllerForModelCall struct {
	*gomock.Call
}

MockExternalControllerServiceControllerForModelCall wrap *gomock.Call

func (*MockExternalControllerServiceControllerForModelCall) Do

Do rewrite *gomock.Call.Do

func (*MockExternalControllerServiceControllerForModelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExternalControllerServiceControllerForModelCall) Return

Return rewrite *gomock.Call.Return

type MockExternalControllerServiceMockRecorder

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

MockExternalControllerServiceMockRecorder is the mock recorder for MockExternalControllerService.

func (*MockExternalControllerServiceMockRecorder) ControllerForModel

ControllerForModel indicates an expected call of ControllerForModel.

func (*MockExternalControllerServiceMockRecorder) UpdateExternalController

UpdateExternalController indicates an expected call of UpdateExternalController.

type MockExternalControllerServiceUpdateExternalControllerCall

type MockExternalControllerServiceUpdateExternalControllerCall struct {
	*gomock.Call
}

MockExternalControllerServiceUpdateExternalControllerCall wrap *gomock.Call

func (*MockExternalControllerServiceUpdateExternalControllerCall) Do

Do rewrite *gomock.Call.Do

func (*MockExternalControllerServiceUpdateExternalControllerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExternalControllerServiceUpdateExternalControllerCall) Return

Return rewrite *gomock.Call.Return

type MockLeadershipMachine

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

MockLeadershipMachine is a mock of LeadershipMachine interface.

func NewMockLeadershipMachine

func NewMockLeadershipMachine(ctrl *gomock.Controller) *MockLeadershipMachine

NewMockLeadershipMachine creates a new mock instance.

func (*MockLeadershipMachine) ApplicationNames

func (m *MockLeadershipMachine) ApplicationNames() ([]string, error)

ApplicationNames mocks base method.

func (*MockLeadershipMachine) EXPECT

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

type MockLeadershipMachineApplicationNamesCall

type MockLeadershipMachineApplicationNamesCall struct {
	*gomock.Call
}

MockLeadershipMachineApplicationNamesCall wrap *gomock.Call

func (*MockLeadershipMachineApplicationNamesCall) Do

Do rewrite *gomock.Call.Do

func (*MockLeadershipMachineApplicationNamesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLeadershipMachineApplicationNamesCall) Return

Return rewrite *gomock.Call.Return

type MockLeadershipMachineMockRecorder

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

MockLeadershipMachineMockRecorder is the mock recorder for MockLeadershipMachine.

func (*MockLeadershipMachineMockRecorder) ApplicationNames

ApplicationNames indicates an expected call of ApplicationNames.

type MockLeadershipPinningBackend

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

MockLeadershipPinningBackend is a mock of LeadershipPinningBackend interface.

func NewMockLeadershipPinningBackend

func NewMockLeadershipPinningBackend(ctrl *gomock.Controller) *MockLeadershipPinningBackend

NewMockLeadershipPinningBackend creates a new mock instance.

func (*MockLeadershipPinningBackend) EXPECT

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

func (*MockLeadershipPinningBackend) Machine

Machine mocks base method.

type MockLeadershipPinningBackendMachineCall

type MockLeadershipPinningBackendMachineCall struct {
	*gomock.Call
}

MockLeadershipPinningBackendMachineCall wrap *gomock.Call

func (*MockLeadershipPinningBackendMachineCall) Do

Do rewrite *gomock.Call.Do

func (*MockLeadershipPinningBackendMachineCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLeadershipPinningBackendMachineCall) Return

Return rewrite *gomock.Call.Return

type MockLeadershipPinningBackendMockRecorder

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

MockLeadershipPinningBackendMockRecorder is the mock recorder for MockLeadershipPinningBackend.

func (*MockLeadershipPinningBackendMockRecorder) Machine

Machine indicates an expected call of Machine.

type MockMachineRebootService

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

MockMachineRebootService is a mock of MachineRebootService interface.

func NewMockMachineRebootService

func NewMockMachineRebootService(ctrl *gomock.Controller) *MockMachineRebootService

NewMockMachineRebootService creates a new mock instance.

func (*MockMachineRebootService) ClearMachineReboot

func (m *MockMachineRebootService) ClearMachineReboot(arg0 context.Context, arg1 string) error

ClearMachineReboot mocks base method.

func (*MockMachineRebootService) EXPECT

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

func (*MockMachineRebootService) GetMachineUUID

func (m *MockMachineRebootService) GetMachineUUID(arg0 context.Context, arg1 machine.Name) (string, error)

GetMachineUUID mocks base method.

func (*MockMachineRebootService) IsMachineRebootRequired

func (m *MockMachineRebootService) IsMachineRebootRequired(arg0 context.Context, arg1 string) (bool, error)

IsMachineRebootRequired mocks base method.

func (*MockMachineRebootService) RequireMachineReboot

func (m *MockMachineRebootService) RequireMachineReboot(arg0 context.Context, arg1 string) error

RequireMachineReboot mocks base method.

func (*MockMachineRebootService) ShouldRebootOrShutdown

func (m *MockMachineRebootService) ShouldRebootOrShutdown(arg0 context.Context, arg1 string) (machine.RebootAction, error)

ShouldRebootOrShutdown mocks base method.

type MockMachineRebootServiceClearMachineRebootCall

type MockMachineRebootServiceClearMachineRebootCall struct {
	*gomock.Call
}

MockMachineRebootServiceClearMachineRebootCall wrap *gomock.Call

func (*MockMachineRebootServiceClearMachineRebootCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineRebootServiceClearMachineRebootCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineRebootServiceClearMachineRebootCall) Return

Return rewrite *gomock.Call.Return

type MockMachineRebootServiceGetMachineUUIDCall

type MockMachineRebootServiceGetMachineUUIDCall struct {
	*gomock.Call
}

MockMachineRebootServiceGetMachineUUIDCall wrap *gomock.Call

func (*MockMachineRebootServiceGetMachineUUIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineRebootServiceGetMachineUUIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineRebootServiceGetMachineUUIDCall) Return

Return rewrite *gomock.Call.Return

type MockMachineRebootServiceIsMachineRebootRequiredCall

type MockMachineRebootServiceIsMachineRebootRequiredCall struct {
	*gomock.Call
}

MockMachineRebootServiceIsMachineRebootRequiredCall wrap *gomock.Call

func (*MockMachineRebootServiceIsMachineRebootRequiredCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineRebootServiceIsMachineRebootRequiredCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineRebootServiceIsMachineRebootRequiredCall) Return

Return rewrite *gomock.Call.Return

type MockMachineRebootServiceMockRecorder

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

MockMachineRebootServiceMockRecorder is the mock recorder for MockMachineRebootService.

func (*MockMachineRebootServiceMockRecorder) ClearMachineReboot

ClearMachineReboot indicates an expected call of ClearMachineReboot.

func (*MockMachineRebootServiceMockRecorder) GetMachineUUID

GetMachineUUID indicates an expected call of GetMachineUUID.

func (*MockMachineRebootServiceMockRecorder) IsMachineRebootRequired

IsMachineRebootRequired indicates an expected call of IsMachineRebootRequired.

func (*MockMachineRebootServiceMockRecorder) RequireMachineReboot

RequireMachineReboot indicates an expected call of RequireMachineReboot.

func (*MockMachineRebootServiceMockRecorder) ShouldRebootOrShutdown

ShouldRebootOrShutdown indicates an expected call of ShouldRebootOrShutdown.

type MockMachineRebootServiceRequireMachineRebootCall

type MockMachineRebootServiceRequireMachineRebootCall struct {
	*gomock.Call
}

MockMachineRebootServiceRequireMachineRebootCall wrap *gomock.Call

func (*MockMachineRebootServiceRequireMachineRebootCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineRebootServiceRequireMachineRebootCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineRebootServiceRequireMachineRebootCall) Return

Return rewrite *gomock.Call.Return

type MockMachineRebootServiceShouldRebootOrShutdownCall

type MockMachineRebootServiceShouldRebootOrShutdownCall struct {
	*gomock.Call
}

MockMachineRebootServiceShouldRebootOrShutdownCall wrap *gomock.Call

func (*MockMachineRebootServiceShouldRebootOrShutdownCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineRebootServiceShouldRebootOrShutdownCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineRebootServiceShouldRebootOrShutdownCall) Return

Return rewrite *gomock.Call.Return

type MockMachineService

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

MockMachineService is a mock of MachineService interface.

func NewMockMachineService

func NewMockMachineService(ctrl *gomock.Controller) *MockMachineService

NewMockMachineService creates a new mock instance.

func (*MockMachineService) EXPECT

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

func (*MockMachineService) EnsureDeadMachine

func (m *MockMachineService) EnsureDeadMachine(arg0 context.Context, arg1 machine.Name) error

EnsureDeadMachine mocks base method.

func (*MockMachineService) GetMachineUUID

func (m *MockMachineService) GetMachineUUID(arg0 context.Context, arg1 machine.Name) (string, error)

GetMachineUUID mocks base method.

func (*MockMachineService) HardwareCharacteristics

func (m *MockMachineService) HardwareCharacteristics(arg0 context.Context, arg1 string) (*instance.HardwareCharacteristics, error)

HardwareCharacteristics mocks base method.

func (*MockMachineService) InstanceID

func (m *MockMachineService) InstanceID(arg0 context.Context, arg1 string) (instance.Id, error)

InstanceID mocks base method.

func (*MockMachineService) InstanceIDAndName

func (m *MockMachineService) InstanceIDAndName(arg0 context.Context, arg1 string) (instance.Id, string, error)

InstanceIDAndName mocks base method.

type MockMachineServiceEnsureDeadMachineCall

type MockMachineServiceEnsureDeadMachineCall struct {
	*gomock.Call
}

MockMachineServiceEnsureDeadMachineCall wrap *gomock.Call

func (*MockMachineServiceEnsureDeadMachineCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineServiceEnsureDeadMachineCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineServiceEnsureDeadMachineCall) Return

Return rewrite *gomock.Call.Return

type MockMachineServiceGetMachineUUIDCall

type MockMachineServiceGetMachineUUIDCall struct {
	*gomock.Call
}

MockMachineServiceGetMachineUUIDCall wrap *gomock.Call

func (*MockMachineServiceGetMachineUUIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineServiceGetMachineUUIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineServiceGetMachineUUIDCall) Return

Return rewrite *gomock.Call.Return

type MockMachineServiceHardwareCharacteristicsCall

type MockMachineServiceHardwareCharacteristicsCall struct {
	*gomock.Call
}

MockMachineServiceHardwareCharacteristicsCall wrap *gomock.Call

func (*MockMachineServiceHardwareCharacteristicsCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineServiceHardwareCharacteristicsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineServiceHardwareCharacteristicsCall) Return

Return rewrite *gomock.Call.Return

type MockMachineServiceInstanceIDAndNameCall

type MockMachineServiceInstanceIDAndNameCall struct {
	*gomock.Call
}

MockMachineServiceInstanceIDAndNameCall wrap *gomock.Call

func (*MockMachineServiceInstanceIDAndNameCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineServiceInstanceIDAndNameCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineServiceInstanceIDAndNameCall) Return

Return rewrite *gomock.Call.Return

type MockMachineServiceInstanceIDCall

type MockMachineServiceInstanceIDCall struct {
	*gomock.Call
}

MockMachineServiceInstanceIDCall wrap *gomock.Call

func (*MockMachineServiceInstanceIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineServiceInstanceIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineServiceInstanceIDCall) Return

Return rewrite *gomock.Call.Return

type MockMachineServiceMockRecorder

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

MockMachineServiceMockRecorder is the mock recorder for MockMachineService.

func (*MockMachineServiceMockRecorder) EnsureDeadMachine

EnsureDeadMachine indicates an expected call of EnsureDeadMachine.

func (*MockMachineServiceMockRecorder) GetMachineUUID

GetMachineUUID indicates an expected call of GetMachineUUID.

func (*MockMachineServiceMockRecorder) HardwareCharacteristics

func (mr *MockMachineServiceMockRecorder) HardwareCharacteristics(arg0, arg1 any) *MockMachineServiceHardwareCharacteristicsCall

HardwareCharacteristics indicates an expected call of HardwareCharacteristics.

func (*MockMachineServiceMockRecorder) InstanceID

InstanceID indicates an expected call of InstanceID.

func (*MockMachineServiceMockRecorder) InstanceIDAndName

InstanceIDAndName indicates an expected call of InstanceIDAndName.

type MockModelAgentService

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

MockModelAgentService is a mock of ModelAgentService interface.

func NewMockModelAgentService

func NewMockModelAgentService(ctrl *gomock.Controller) *MockModelAgentService

NewMockModelAgentService creates a new mock instance.

func (*MockModelAgentService) EXPECT

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

func (*MockModelAgentService) GetMachineTargetAgentVersion

func (m *MockModelAgentService) GetMachineTargetAgentVersion(arg0 context.Context, arg1 machine.Name) (version.Number, error)

GetMachineTargetAgentVersion mocks base method.

func (*MockModelAgentService) GetModelTargetAgentVersion

func (m *MockModelAgentService) GetModelTargetAgentVersion(arg0 context.Context) (version.Number, error)

GetModelTargetAgentVersion mocks base method.

func (*MockModelAgentService) GetUnitTargetAgentVersion

func (m *MockModelAgentService) GetUnitTargetAgentVersion(arg0 context.Context, arg1 string) (version.Number, error)

GetUnitTargetAgentVersion mocks base method.

type MockModelAgentServiceGetMachineTargetAgentVersionCall

type MockModelAgentServiceGetMachineTargetAgentVersionCall struct {
	*gomock.Call
}

MockModelAgentServiceGetMachineTargetAgentVersionCall wrap *gomock.Call

func (*MockModelAgentServiceGetMachineTargetAgentVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelAgentServiceGetMachineTargetAgentVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelAgentServiceGetMachineTargetAgentVersionCall) Return

Return rewrite *gomock.Call.Return

type MockModelAgentServiceGetModelTargetAgentVersionCall

type MockModelAgentServiceGetModelTargetAgentVersionCall struct {
	*gomock.Call
}

MockModelAgentServiceGetModelTargetAgentVersionCall wrap *gomock.Call

func (*MockModelAgentServiceGetModelTargetAgentVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelAgentServiceGetModelTargetAgentVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelAgentServiceGetModelTargetAgentVersionCall) Return

Return rewrite *gomock.Call.Return

type MockModelAgentServiceGetUnitTargetAgentVersionCall

type MockModelAgentServiceGetUnitTargetAgentVersionCall struct {
	*gomock.Call
}

MockModelAgentServiceGetUnitTargetAgentVersionCall wrap *gomock.Call

func (*MockModelAgentServiceGetUnitTargetAgentVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelAgentServiceGetUnitTargetAgentVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelAgentServiceGetUnitTargetAgentVersionCall) Return

Return rewrite *gomock.Call.Return

type MockModelAgentServiceMockRecorder

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

MockModelAgentServiceMockRecorder is the mock recorder for MockModelAgentService.

func (*MockModelAgentServiceMockRecorder) GetMachineTargetAgentVersion

GetMachineTargetAgentVersion indicates an expected call of GetMachineTargetAgentVersion.

func (*MockModelAgentServiceMockRecorder) GetModelTargetAgentVersion

GetModelTargetAgentVersion indicates an expected call of GetModelTargetAgentVersion.

func (*MockModelAgentServiceMockRecorder) GetUnitTargetAgentVersion

GetUnitTargetAgentVersion indicates an expected call of GetUnitTargetAgentVersion.

type MockModelConfigService

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

MockModelConfigService is a mock of ModelConfigService interface.

func NewMockModelConfigService

func NewMockModelConfigService(ctrl *gomock.Controller) *MockModelConfigService

NewMockModelConfigService creates a new mock instance.

func (*MockModelConfigService) EXPECT

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

func (*MockModelConfigService) ModelConfig

func (m *MockModelConfigService) ModelConfig(arg0 context.Context) (*config.Config, error)

ModelConfig mocks base method.

func (*MockModelConfigService) Watch

Watch mocks base method.

type MockModelConfigServiceMockRecorder

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

MockModelConfigServiceMockRecorder is the mock recorder for MockModelConfigService.

func (*MockModelConfigServiceMockRecorder) ModelConfig

ModelConfig indicates an expected call of ModelConfig.

func (*MockModelConfigServiceMockRecorder) Watch

Watch indicates an expected call of Watch.

type MockModelConfigServiceModelConfigCall

type MockModelConfigServiceModelConfigCall struct {
	*gomock.Call
}

MockModelConfigServiceModelConfigCall wrap *gomock.Call

func (*MockModelConfigServiceModelConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelConfigServiceModelConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelConfigServiceModelConfigCall) Return

Return rewrite *gomock.Call.Return

type MockModelConfigServiceWatchCall

type MockModelConfigServiceWatchCall struct {
	*gomock.Call
}

MockModelConfigServiceWatchCall wrap *gomock.Call

func (*MockModelConfigServiceWatchCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelConfigServiceWatchCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelConfigServiceWatchCall) Return

Return rewrite *gomock.Call.Return

type MockModelOperation

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

MockModelOperation is a mock of ModelOperation interface.

func NewMockModelOperation

func NewMockModelOperation(ctrl *gomock.Controller) *MockModelOperation

NewMockModelOperation creates a new mock instance.

func (*MockModelOperation) Build

func (m *MockModelOperation) Build(arg0 int) ([]txn.Op, error)

Build mocks base method.

func (*MockModelOperation) Done

func (m *MockModelOperation) Done(arg0 error) error

Done mocks base method.

func (*MockModelOperation) EXPECT

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

type MockModelOperationBuildCall

type MockModelOperationBuildCall struct {
	*gomock.Call
}

MockModelOperationBuildCall wrap *gomock.Call

func (*MockModelOperationBuildCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelOperationBuildCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelOperationBuildCall) Return

Return rewrite *gomock.Call.Return

type MockModelOperationDoneCall

type MockModelOperationDoneCall struct {
	*gomock.Call
}

MockModelOperationDoneCall wrap *gomock.Call

func (*MockModelOperationDoneCall) Do

Do rewrite *gomock.Call.Do

func (*MockModelOperationDoneCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockModelOperationDoneCall) Return

Return rewrite *gomock.Call.Return

type MockModelOperationMockRecorder

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

MockModelOperationMockRecorder is the mock recorder for MockModelOperation.

func (*MockModelOperationMockRecorder) Build

Build indicates an expected call of Build.

func (*MockModelOperationMockRecorder) Done

Done indicates an expected call of Done.

type MockObjectStore

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

MockObjectStore is a mock of ObjectStore interface.

func NewMockObjectStore

func NewMockObjectStore(ctrl *gomock.Controller) *MockObjectStore

NewMockObjectStore creates a new mock instance.

func (*MockObjectStore) EXPECT

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

func (*MockObjectStore) Get

func (m *MockObjectStore) Get(arg0 context.Context, arg1 string) (io.ReadCloser, int64, error)

Get mocks base method.

func (*MockObjectStore) GetBySHA256Prefix

func (m *MockObjectStore) GetBySHA256Prefix(arg0 context.Context, arg1 string) (io.ReadCloser, int64, error)

GetBySHA256Prefix mocks base method.

func (*MockObjectStore) Put

func (m *MockObjectStore) Put(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 int64) (objectstore.UUID, error)

Put mocks base method.

func (*MockObjectStore) PutAndCheckHash

func (m *MockObjectStore) PutAndCheckHash(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 int64, arg4 string) (objectstore.UUID, error)

PutAndCheckHash mocks base method.

func (*MockObjectStore) Remove

func (m *MockObjectStore) Remove(arg0 context.Context, arg1 string) error

Remove mocks base method.

type MockObjectStoreGetBySHA256PrefixCall

type MockObjectStoreGetBySHA256PrefixCall struct {
	*gomock.Call
}

MockObjectStoreGetBySHA256PrefixCall wrap *gomock.Call

func (*MockObjectStoreGetBySHA256PrefixCall) Do

Do rewrite *gomock.Call.Do

func (*MockObjectStoreGetBySHA256PrefixCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockObjectStoreGetBySHA256PrefixCall) Return

Return rewrite *gomock.Call.Return

type MockObjectStoreGetCall

type MockObjectStoreGetCall struct {
	*gomock.Call
}

MockObjectStoreGetCall wrap *gomock.Call

func (*MockObjectStoreGetCall) Do

Do rewrite *gomock.Call.Do

func (*MockObjectStoreGetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockObjectStoreGetCall) Return

Return rewrite *gomock.Call.Return

type MockObjectStoreMockRecorder

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

MockObjectStoreMockRecorder is the mock recorder for MockObjectStore.

func (*MockObjectStoreMockRecorder) Get

Get indicates an expected call of Get.

func (*MockObjectStoreMockRecorder) GetBySHA256Prefix

func (mr *MockObjectStoreMockRecorder) GetBySHA256Prefix(arg0, arg1 any) *MockObjectStoreGetBySHA256PrefixCall

GetBySHA256Prefix indicates an expected call of GetBySHA256Prefix.

func (*MockObjectStoreMockRecorder) Put

func (mr *MockObjectStoreMockRecorder) Put(arg0, arg1, arg2, arg3 any) *MockObjectStorePutCall

Put indicates an expected call of Put.

func (*MockObjectStoreMockRecorder) PutAndCheckHash

func (mr *MockObjectStoreMockRecorder) PutAndCheckHash(arg0, arg1, arg2, arg3, arg4 any) *MockObjectStorePutAndCheckHashCall

PutAndCheckHash indicates an expected call of PutAndCheckHash.

func (*MockObjectStoreMockRecorder) Remove

Remove indicates an expected call of Remove.

type MockObjectStorePutAndCheckHashCall

type MockObjectStorePutAndCheckHashCall struct {
	*gomock.Call
}

MockObjectStorePutAndCheckHashCall wrap *gomock.Call

func (*MockObjectStorePutAndCheckHashCall) Do

Do rewrite *gomock.Call.Do

func (*MockObjectStorePutAndCheckHashCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockObjectStorePutAndCheckHashCall) Return

Return rewrite *gomock.Call.Return

type MockObjectStorePutCall

type MockObjectStorePutCall struct {
	*gomock.Call
}

MockObjectStorePutCall wrap *gomock.Call

func (*MockObjectStorePutCall) Do

Do rewrite *gomock.Call.Do

func (*MockObjectStorePutCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockObjectStorePutCall) Return

Return rewrite *gomock.Call.Return

type MockObjectStoreRemoveCall

type MockObjectStoreRemoveCall struct {
	*gomock.Call
}

MockObjectStoreRemoveCall wrap *gomock.Call

func (*MockObjectStoreRemoveCall) Do

Do rewrite *gomock.Call.Do

func (*MockObjectStoreRemoveCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockObjectStoreRemoveCall) Return

Return rewrite *gomock.Call.Return

type MockStorageCloser

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

MockStorageCloser is a mock of StorageCloser interface.

func NewMockStorageCloser

func NewMockStorageCloser(ctrl *gomock.Controller) *MockStorageCloser

NewMockStorageCloser creates a new mock instance.

func (*MockStorageCloser) Add

Add mocks base method.

func (*MockStorageCloser) AllMetadata

func (m *MockStorageCloser) AllMetadata() ([]binarystorage.Metadata, error)

AllMetadata mocks base method.

func (*MockStorageCloser) Close

func (m *MockStorageCloser) Close() error

Close mocks base method.

func (*MockStorageCloser) EXPECT

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

func (*MockStorageCloser) Metadata

func (m *MockStorageCloser) Metadata(arg0 string) (binarystorage.Metadata, error)

Metadata mocks base method.

func (*MockStorageCloser) Open

Open mocks base method.

type MockStorageCloserAddCall

type MockStorageCloserAddCall struct {
	*gomock.Call
}

MockStorageCloserAddCall wrap *gomock.Call

func (*MockStorageCloserAddCall) Do

Do rewrite *gomock.Call.Do

func (*MockStorageCloserAddCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStorageCloserAddCall) Return

Return rewrite *gomock.Call.Return

type MockStorageCloserAllMetadataCall

type MockStorageCloserAllMetadataCall struct {
	*gomock.Call
}

MockStorageCloserAllMetadataCall wrap *gomock.Call

func (*MockStorageCloserAllMetadataCall) Do

Do rewrite *gomock.Call.Do

func (*MockStorageCloserAllMetadataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStorageCloserAllMetadataCall) Return

Return rewrite *gomock.Call.Return

type MockStorageCloserCloseCall

type MockStorageCloserCloseCall struct {
	*gomock.Call
}

MockStorageCloserCloseCall wrap *gomock.Call

func (*MockStorageCloserCloseCall) Do

Do rewrite *gomock.Call.Do

func (*MockStorageCloserCloseCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStorageCloserCloseCall) Return

Return rewrite *gomock.Call.Return

type MockStorageCloserMetadataCall

type MockStorageCloserMetadataCall struct {
	*gomock.Call
}

MockStorageCloserMetadataCall wrap *gomock.Call

func (*MockStorageCloserMetadataCall) Do

Do rewrite *gomock.Call.Do

func (*MockStorageCloserMetadataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStorageCloserMetadataCall) Return

Return rewrite *gomock.Call.Return

type MockStorageCloserMockRecorder

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

MockStorageCloserMockRecorder is the mock recorder for MockStorageCloser.

func (*MockStorageCloserMockRecorder) Add

func (mr *MockStorageCloserMockRecorder) Add(arg0, arg1, arg2 any) *MockStorageCloserAddCall

Add indicates an expected call of Add.

func (*MockStorageCloserMockRecorder) AllMetadata

AllMetadata indicates an expected call of AllMetadata.

func (*MockStorageCloserMockRecorder) Close

Close indicates an expected call of Close.

func (*MockStorageCloserMockRecorder) Metadata

Metadata indicates an expected call of Metadata.

func (*MockStorageCloserMockRecorder) Open

Open indicates an expected call of Open.

type MockStorageCloserOpenCall

type MockStorageCloserOpenCall struct {
	*gomock.Call
}

MockStorageCloserOpenCall wrap *gomock.Call

func (*MockStorageCloserOpenCall) Do

Do rewrite *gomock.Call.Do

func (*MockStorageCloserOpenCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStorageCloserOpenCall) Return

Return rewrite *gomock.Call.Return

type MockToolsFindEntity

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

MockToolsFindEntity is a mock of ToolsFindEntity interface.

func NewMockToolsFindEntity

func NewMockToolsFindEntity(ctrl *gomock.Controller) *MockToolsFindEntity

NewMockToolsFindEntity creates a new mock instance.

func (*MockToolsFindEntity) EXPECT

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

func (*MockToolsFindEntity) FindEntity

func (m *MockToolsFindEntity) FindEntity(arg0 names.Tag) (state.Entity, error)

FindEntity mocks base method.

type MockToolsFindEntityFindEntityCall

type MockToolsFindEntityFindEntityCall struct {
	*gomock.Call
}

MockToolsFindEntityFindEntityCall wrap *gomock.Call

func (*MockToolsFindEntityFindEntityCall) Do

Do rewrite *gomock.Call.Do

func (*MockToolsFindEntityFindEntityCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockToolsFindEntityFindEntityCall) Return

Return rewrite *gomock.Call.Return

type MockToolsFindEntityMockRecorder

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

MockToolsFindEntityMockRecorder is the mock recorder for MockToolsFindEntity.

func (*MockToolsFindEntityMockRecorder) FindEntity

FindEntity indicates an expected call of FindEntity.

type MockToolsFinder

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

MockToolsFinder is a mock of ToolsFinder interface.

func NewMockToolsFinder

func NewMockToolsFinder(ctrl *gomock.Controller) *MockToolsFinder

NewMockToolsFinder creates a new mock instance.

func (*MockToolsFinder) EXPECT

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

func (*MockToolsFinder) FindAgents

func (m *MockToolsFinder) FindAgents(arg0 context.Context, arg1 common.FindAgentsParams) (tools.List, error)

FindAgents mocks base method.

type MockToolsFinderFindAgentsCall

type MockToolsFinderFindAgentsCall struct {
	*gomock.Call
}

MockToolsFinderFindAgentsCall wrap *gomock.Call

func (*MockToolsFinderFindAgentsCall) Do

Do rewrite *gomock.Call.Do

func (*MockToolsFinderFindAgentsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockToolsFinderFindAgentsCall) Return

Return rewrite *gomock.Call.Return

type MockToolsFinderMockRecorder

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

MockToolsFinderMockRecorder is the mock recorder for MockToolsFinder.

func (*MockToolsFinderMockRecorder) FindAgents

FindAgents indicates an expected call of FindAgents.

type MockToolsStorageGetter

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

MockToolsStorageGetter is a mock of ToolsStorageGetter interface.

func NewMockToolsStorageGetter

func NewMockToolsStorageGetter(ctrl *gomock.Controller) *MockToolsStorageGetter

NewMockToolsStorageGetter creates a new mock instance.

func (*MockToolsStorageGetter) EXPECT

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

func (*MockToolsStorageGetter) ToolsStorage

ToolsStorage mocks base method.

type MockToolsStorageGetterMockRecorder

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

MockToolsStorageGetterMockRecorder is the mock recorder for MockToolsStorageGetter.

func (*MockToolsStorageGetterMockRecorder) ToolsStorage

ToolsStorage indicates an expected call of ToolsStorage.

type MockToolsStorageGetterToolsStorageCall

type MockToolsStorageGetterToolsStorageCall struct {
	*gomock.Call
}

MockToolsStorageGetterToolsStorageCall wrap *gomock.Call

func (*MockToolsStorageGetterToolsStorageCall) Do

Do rewrite *gomock.Call.Do

func (*MockToolsStorageGetterToolsStorageCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockToolsStorageGetterToolsStorageCall) Return

Return rewrite *gomock.Call.Return

type MockToolsURLGetter

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

MockToolsURLGetter is a mock of ToolsURLGetter interface.

func NewMockToolsURLGetter

func NewMockToolsURLGetter(ctrl *gomock.Controller) *MockToolsURLGetter

NewMockToolsURLGetter creates a new mock instance.

func (*MockToolsURLGetter) EXPECT

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

func (*MockToolsURLGetter) ToolsURLs

func (m *MockToolsURLGetter) ToolsURLs(arg0 context.Context, arg1 controller.Config, arg2 version.Binary) ([]string, error)

ToolsURLs mocks base method.

type MockToolsURLGetterMockRecorder

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

MockToolsURLGetterMockRecorder is the mock recorder for MockToolsURLGetter.

func (*MockToolsURLGetterMockRecorder) ToolsURLs

func (mr *MockToolsURLGetterMockRecorder) ToolsURLs(arg0, arg1, arg2 any) *MockToolsURLGetterToolsURLsCall

ToolsURLs indicates an expected call of ToolsURLs.

type MockToolsURLGetterToolsURLsCall

type MockToolsURLGetterToolsURLsCall struct {
	*gomock.Call
}

MockToolsURLGetterToolsURLsCall wrap *gomock.Call

func (*MockToolsURLGetterToolsURLsCall) Do

Do rewrite *gomock.Call.Do

func (*MockToolsURLGetterToolsURLsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockToolsURLGetterToolsURLsCall) Return

Return rewrite *gomock.Call.Return

type MockUnitStateBackend

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

MockUnitStateBackend is a mock of UnitStateBackend interface.

func NewMockUnitStateBackend

func NewMockUnitStateBackend(ctrl *gomock.Controller) *MockUnitStateBackend

NewMockUnitStateBackend creates a new mock instance.

func (*MockUnitStateBackend) ApplyOperation

func (m *MockUnitStateBackend) ApplyOperation(arg0 state.ModelOperation) error

ApplyOperation mocks base method.

func (*MockUnitStateBackend) EXPECT

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

func (*MockUnitStateBackend) Unit

Unit mocks base method.

type MockUnitStateBackendApplyOperationCall

type MockUnitStateBackendApplyOperationCall struct {
	*gomock.Call
}

MockUnitStateBackendApplyOperationCall wrap *gomock.Call

func (*MockUnitStateBackendApplyOperationCall) Do

Do rewrite *gomock.Call.Do

func (*MockUnitStateBackendApplyOperationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUnitStateBackendApplyOperationCall) Return

Return rewrite *gomock.Call.Return

type MockUnitStateBackendMockRecorder

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

MockUnitStateBackendMockRecorder is the mock recorder for MockUnitStateBackend.

func (*MockUnitStateBackendMockRecorder) ApplyOperation

ApplyOperation indicates an expected call of ApplyOperation.

func (*MockUnitStateBackendMockRecorder) Unit

Unit indicates an expected call of Unit.

type MockUnitStateBackendUnitCall

type MockUnitStateBackendUnitCall struct {
	*gomock.Call
}

MockUnitStateBackendUnitCall wrap *gomock.Call

func (*MockUnitStateBackendUnitCall) Do

Do rewrite *gomock.Call.Do

func (*MockUnitStateBackendUnitCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUnitStateBackendUnitCall) Return

Return rewrite *gomock.Call.Return

type MockUnitStateService

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

MockUnitStateService is a mock of UnitStateService interface.

func NewMockUnitStateService

func NewMockUnitStateService(ctrl *gomock.Controller) *MockUnitStateService

NewMockUnitStateService creates a new mock instance.

func (*MockUnitStateService) EXPECT

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

func (*MockUnitStateService) GetState

GetState mocks base method.

func (*MockUnitStateService) GetUnitUUIDForName

func (m *MockUnitStateService) GetUnitUUIDForName(arg0 context.Context, arg1 string) (string, error)

GetUnitUUIDForName mocks base method.

func (*MockUnitStateService) SetState

func (m *MockUnitStateService) SetState(arg0 context.Context, arg1 unitstate.UnitState) error

SetState mocks base method.

type MockUnitStateServiceGetStateCall

type MockUnitStateServiceGetStateCall struct {
	*gomock.Call
}

MockUnitStateServiceGetStateCall wrap *gomock.Call

func (*MockUnitStateServiceGetStateCall) Do

Do rewrite *gomock.Call.Do

func (*MockUnitStateServiceGetStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUnitStateServiceGetStateCall) Return

Return rewrite *gomock.Call.Return

type MockUnitStateServiceGetUnitUUIDForNameCall

type MockUnitStateServiceGetUnitUUIDForNameCall struct {
	*gomock.Call
}

MockUnitStateServiceGetUnitUUIDForNameCall wrap *gomock.Call

func (*MockUnitStateServiceGetUnitUUIDForNameCall) Do

Do rewrite *gomock.Call.Do

func (*MockUnitStateServiceGetUnitUUIDForNameCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUnitStateServiceGetUnitUUIDForNameCall) Return

Return rewrite *gomock.Call.Return

type MockUnitStateServiceMockRecorder

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

MockUnitStateServiceMockRecorder is the mock recorder for MockUnitStateService.

func (*MockUnitStateServiceMockRecorder) GetState

GetState indicates an expected call of GetState.

func (*MockUnitStateServiceMockRecorder) GetUnitUUIDForName

GetUnitUUIDForName indicates an expected call of GetUnitUUIDForName.

func (*MockUnitStateServiceMockRecorder) SetState

SetState indicates an expected call of SetState.

type MockUnitStateServiceSetStateCall

type MockUnitStateServiceSetStateCall struct {
	*gomock.Call
}

MockUnitStateServiceSetStateCall wrap *gomock.Call

func (*MockUnitStateServiceSetStateCall) Do

Do rewrite *gomock.Call.Do

func (*MockUnitStateServiceSetStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUnitStateServiceSetStateCall) Return

Return rewrite *gomock.Call.Return

type MockUnitStateUnit

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

MockUnitStateUnit is a mock of UnitStateUnit interface.

func NewMockUnitStateUnit

func NewMockUnitStateUnit(ctrl *gomock.Controller) *MockUnitStateUnit

NewMockUnitStateUnit creates a new mock instance.

func (*MockUnitStateUnit) EXPECT

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

func (*MockUnitStateUnit) SetStateOperation

SetStateOperation mocks base method.

func (*MockUnitStateUnit) State

func (m *MockUnitStateUnit) State() (*state.UnitState, error)

State mocks base method.

type MockUnitStateUnitMockRecorder

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

MockUnitStateUnitMockRecorder is the mock recorder for MockUnitStateUnit.

func (*MockUnitStateUnitMockRecorder) SetStateOperation

SetStateOperation indicates an expected call of SetStateOperation.

func (*MockUnitStateUnitMockRecorder) State

State indicates an expected call of State.

type MockUnitStateUnitSetStateOperationCall

type MockUnitStateUnitSetStateOperationCall struct {
	*gomock.Call
}

MockUnitStateUnitSetStateOperationCall wrap *gomock.Call

func (*MockUnitStateUnitSetStateOperationCall) Do

Do rewrite *gomock.Call.Do

func (*MockUnitStateUnitSetStateOperationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUnitStateUnitSetStateOperationCall) Return

Return rewrite *gomock.Call.Return

type MockUnitStateUnitStateCall

type MockUnitStateUnitStateCall struct {
	*gomock.Call
}

MockUnitStateUnitStateCall wrap *gomock.Call

func (*MockUnitStateUnitStateCall) Do

Do rewrite *gomock.Call.Do

func (*MockUnitStateUnitStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUnitStateUnitStateCall) Return

Return rewrite *gomock.Call.Return

type MockWatchableMachineService

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

MockWatchableMachineService is a mock of WatchableMachineService interface.

func NewMockWatchableMachineService

func NewMockWatchableMachineService(ctrl *gomock.Controller) *MockWatchableMachineService

NewMockWatchableMachineService creates a new mock instance.

func (*MockWatchableMachineService) EXPECT

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

func (*MockWatchableMachineService) WatchMachineReboot

func (m *MockWatchableMachineService) WatchMachineReboot(arg0 context.Context, arg1 string) (watcher.Watcher[struct{}], error)

WatchMachineReboot mocks base method.

type MockWatchableMachineServiceMockRecorder

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

MockWatchableMachineServiceMockRecorder is the mock recorder for MockWatchableMachineService.

func (*MockWatchableMachineServiceMockRecorder) WatchMachineReboot

WatchMachineReboot indicates an expected call of WatchMachineReboot.

type MockWatchableMachineServiceWatchMachineRebootCall

type MockWatchableMachineServiceWatchMachineRebootCall struct {
	*gomock.Call
}

MockWatchableMachineServiceWatchMachineRebootCall wrap *gomock.Call

func (*MockWatchableMachineServiceWatchMachineRebootCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatchableMachineServiceWatchMachineRebootCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatchableMachineServiceWatchMachineRebootCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherRegistry

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

MockWatcherRegistry is a mock of WatcherRegistry interface.

func NewMockWatcherRegistry

func NewMockWatcherRegistry(ctrl *gomock.Controller) *MockWatcherRegistry

NewMockWatcherRegistry creates a new mock instance.

func (*MockWatcherRegistry) Count

func (m *MockWatcherRegistry) Count() int

Count mocks base method.

func (*MockWatcherRegistry) EXPECT

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

func (*MockWatcherRegistry) Get

func (m *MockWatcherRegistry) Get(arg0 string) (worker.Worker, error)

Get mocks base method.

func (*MockWatcherRegistry) Kill

func (m *MockWatcherRegistry) Kill()

Kill mocks base method.

func (*MockWatcherRegistry) Register

func (m *MockWatcherRegistry) Register(arg0 worker.Worker) (string, error)

Register mocks base method.

func (*MockWatcherRegistry) RegisterNamed

func (m *MockWatcherRegistry) RegisterNamed(arg0 string, arg1 worker.Worker) error

RegisterNamed mocks base method.

func (*MockWatcherRegistry) Stop

func (m *MockWatcherRegistry) Stop(arg0 string) error

Stop mocks base method.

func (*MockWatcherRegistry) Wait

func (m *MockWatcherRegistry) Wait() error

Wait mocks base method.

type MockWatcherRegistryCountCall

type MockWatcherRegistryCountCall struct {
	*gomock.Call
}

MockWatcherRegistryCountCall wrap *gomock.Call

func (*MockWatcherRegistryCountCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherRegistryCountCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherRegistryCountCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherRegistryGetCall

type MockWatcherRegistryGetCall struct {
	*gomock.Call
}

MockWatcherRegistryGetCall wrap *gomock.Call

func (*MockWatcherRegistryGetCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherRegistryGetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherRegistryGetCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherRegistryKillCall

type MockWatcherRegistryKillCall struct {
	*gomock.Call
}

MockWatcherRegistryKillCall wrap *gomock.Call

func (*MockWatcherRegistryKillCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherRegistryKillCall) DoAndReturn

func (c *MockWatcherRegistryKillCall) DoAndReturn(f func()) *MockWatcherRegistryKillCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherRegistryKillCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherRegistryMockRecorder

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

MockWatcherRegistryMockRecorder is the mock recorder for MockWatcherRegistry.

func (*MockWatcherRegistryMockRecorder) Count

Count indicates an expected call of Count.

func (*MockWatcherRegistryMockRecorder) Get

Get indicates an expected call of Get.

func (*MockWatcherRegistryMockRecorder) Kill

Kill indicates an expected call of Kill.

func (*MockWatcherRegistryMockRecorder) Register

Register indicates an expected call of Register.

func (*MockWatcherRegistryMockRecorder) RegisterNamed

RegisterNamed indicates an expected call of RegisterNamed.

func (*MockWatcherRegistryMockRecorder) Stop

Stop indicates an expected call of Stop.

func (*MockWatcherRegistryMockRecorder) Wait

Wait indicates an expected call of Wait.

type MockWatcherRegistryRegisterCall

type MockWatcherRegistryRegisterCall struct {
	*gomock.Call
}

MockWatcherRegistryRegisterCall wrap *gomock.Call

func (*MockWatcherRegistryRegisterCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherRegistryRegisterCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherRegistryRegisterCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherRegistryRegisterNamedCall

type MockWatcherRegistryRegisterNamedCall struct {
	*gomock.Call
}

MockWatcherRegistryRegisterNamedCall wrap *gomock.Call

func (*MockWatcherRegistryRegisterNamedCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherRegistryRegisterNamedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherRegistryRegisterNamedCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherRegistryStopCall

type MockWatcherRegistryStopCall struct {
	*gomock.Call
}

MockWatcherRegistryStopCall wrap *gomock.Call

func (*MockWatcherRegistryStopCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherRegistryStopCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherRegistryStopCall) Return

Return rewrite *gomock.Call.Return

type MockWatcherRegistryWaitCall

type MockWatcherRegistryWaitCall struct {
	*gomock.Call
}

MockWatcherRegistryWaitCall wrap *gomock.Call

func (*MockWatcherRegistryWaitCall) Do

Do rewrite *gomock.Call.Do

func (*MockWatcherRegistryWaitCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWatcherRegistryWaitCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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