mocks

package
v0.0.0-...-4308112 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: AGPL-3.0 Imports: 30 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.

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 MockAPICaller

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

MockAPICaller is a mock of APICaller interface.

func NewMockAPICaller

func NewMockAPICaller(ctrl *gomock.Controller) *MockAPICaller

NewMockAPICaller creates a new mock instance.

func (*MockAPICaller) APICall

func (m *MockAPICaller) APICall(arg0 context.Context, arg1 string, arg2 int, arg3, arg4 string, arg5, arg6 any) error

APICall mocks base method.

func (*MockAPICaller) BakeryClient

func (m *MockAPICaller) BakeryClient() base.MacaroonDischarger

BakeryClient mocks base method.

func (*MockAPICaller) BestFacadeVersion

func (m *MockAPICaller) BestFacadeVersion(arg0 string) int

BestFacadeVersion mocks base method.

func (*MockAPICaller) ConnectControllerStream

func (m *MockAPICaller) ConnectControllerStream(arg0 context.Context, arg1 string, arg2 url.Values, arg3 http.Header) (base.Stream, error)

ConnectControllerStream mocks base method.

func (*MockAPICaller) ConnectStream

func (m *MockAPICaller) ConnectStream(arg0 context.Context, arg1 string, arg2 url.Values) (base.Stream, error)

ConnectStream mocks base method.

func (*MockAPICaller) EXPECT

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

func (*MockAPICaller) HTTPClient

func (m *MockAPICaller) HTTPClient() (*httprequest.Client, error)

HTTPClient mocks base method.

func (*MockAPICaller) ModelTag

func (m *MockAPICaller) ModelTag() (names.ModelTag, bool)

ModelTag mocks base method.

func (*MockAPICaller) RootHTTPClient

func (m *MockAPICaller) RootHTTPClient() (*httprequest.Client, error)

RootHTTPClient mocks base method.

type MockAPICallerAPICallCall

type MockAPICallerAPICallCall struct {
	*gomock.Call
}

MockAPICallerAPICallCall wrap *gomock.Call

func (*MockAPICallerAPICallCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerAPICallCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerAPICallCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerBakeryClientCall

type MockAPICallerBakeryClientCall struct {
	*gomock.Call
}

MockAPICallerBakeryClientCall wrap *gomock.Call

func (*MockAPICallerBakeryClientCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerBakeryClientCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerBakeryClientCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerBestFacadeVersionCall

type MockAPICallerBestFacadeVersionCall struct {
	*gomock.Call
}

MockAPICallerBestFacadeVersionCall wrap *gomock.Call

func (*MockAPICallerBestFacadeVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerBestFacadeVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerBestFacadeVersionCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerConnectControllerStreamCall

type MockAPICallerConnectControllerStreamCall struct {
	*gomock.Call
}

MockAPICallerConnectControllerStreamCall wrap *gomock.Call

func (*MockAPICallerConnectControllerStreamCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerConnectControllerStreamCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerConnectControllerStreamCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerConnectStreamCall

type MockAPICallerConnectStreamCall struct {
	*gomock.Call
}

MockAPICallerConnectStreamCall wrap *gomock.Call

func (*MockAPICallerConnectStreamCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerConnectStreamCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerConnectStreamCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerHTTPClientCall

type MockAPICallerHTTPClientCall struct {
	*gomock.Call
}

MockAPICallerHTTPClientCall wrap *gomock.Call

func (*MockAPICallerHTTPClientCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerHTTPClientCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerHTTPClientCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerMockRecorder

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

MockAPICallerMockRecorder is the mock recorder for MockAPICaller.

func (*MockAPICallerMockRecorder) APICall

func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *MockAPICallerAPICallCall

APICall indicates an expected call of APICall.

func (*MockAPICallerMockRecorder) BakeryClient

BakeryClient indicates an expected call of BakeryClient.

func (*MockAPICallerMockRecorder) BestFacadeVersion

BestFacadeVersion indicates an expected call of BestFacadeVersion.

func (*MockAPICallerMockRecorder) ConnectControllerStream

func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2, arg3 any) *MockAPICallerConnectControllerStreamCall

ConnectControllerStream indicates an expected call of ConnectControllerStream.

func (*MockAPICallerMockRecorder) ConnectStream

func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1, arg2 any) *MockAPICallerConnectStreamCall

ConnectStream indicates an expected call of ConnectStream.

func (*MockAPICallerMockRecorder) HTTPClient

HTTPClient indicates an expected call of HTTPClient.

func (*MockAPICallerMockRecorder) ModelTag

ModelTag indicates an expected call of ModelTag.

func (*MockAPICallerMockRecorder) RootHTTPClient

RootHTTPClient indicates an expected call of RootHTTPClient.

type MockAPICallerModelTagCall

type MockAPICallerModelTagCall struct {
	*gomock.Call
}

MockAPICallerModelTagCall wrap *gomock.Call

func (*MockAPICallerModelTagCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerModelTagCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerModelTagCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerRootHTTPClientCall

type MockAPICallerRootHTTPClientCall struct {
	*gomock.Call
}

MockAPICallerRootHTTPClientCall wrap *gomock.Call

func (*MockAPICallerRootHTTPClientCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerRootHTTPClientCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerRootHTTPClientCall) Return

Return rewrite *gomock.Call.Return

type MockAgent

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

MockAgent is a mock of Agent interface.

func NewMockAgent

func NewMockAgent(ctrl *gomock.Controller) *MockAgent

NewMockAgent creates a new mock instance.

func (*MockAgent) ChangeConfig

func (m *MockAgent) ChangeConfig(arg0 agent.ConfigMutator) error

ChangeConfig mocks base method.

func (*MockAgent) CurrentConfig

func (m *MockAgent) CurrentConfig() agent.Config

CurrentConfig mocks base method.

func (*MockAgent) EXPECT

func (m *MockAgent) EXPECT() *MockAgentMockRecorder

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

type MockAgentChangeConfigCall

type MockAgentChangeConfigCall struct {
	*gomock.Call
}

MockAgentChangeConfigCall wrap *gomock.Call

func (*MockAgentChangeConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockAgentChangeConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAgentChangeConfigCall) Return

Return rewrite *gomock.Call.Return

type MockAgentCurrentConfigCall

type MockAgentCurrentConfigCall struct {
	*gomock.Call
}

MockAgentCurrentConfigCall wrap *gomock.Call

func (*MockAgentCurrentConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockAgentCurrentConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAgentCurrentConfigCall) Return

Return rewrite *gomock.Call.Return

type MockAgentMockRecorder

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

MockAgentMockRecorder is the mock recorder for MockAgent.

func (*MockAgentMockRecorder) ChangeConfig

func (mr *MockAgentMockRecorder) ChangeConfig(arg0 any) *MockAgentChangeConfigCall

ChangeConfig indicates an expected call of ChangeConfig.

func (*MockAgentMockRecorder) CurrentConfig

CurrentConfig indicates an expected call of CurrentConfig.

type MockConfig

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

MockConfig is a mock of Config interface.

func NewMockConfig

func NewMockConfig(ctrl *gomock.Controller) *MockConfig

NewMockConfig creates a new mock instance.

func (*MockConfig) APIAddresses

func (m *MockConfig) APIAddresses() ([]string, error)

APIAddresses mocks base method.

func (*MockConfig) APIInfo

func (m *MockConfig) APIInfo() (*api.Info, bool)

APIInfo mocks base method.

func (*MockConfig) AgentLogfileMaxBackups

func (m *MockConfig) AgentLogfileMaxBackups() int

AgentLogfileMaxBackups mocks base method.

func (*MockConfig) AgentLogfileMaxSizeMB

func (m *MockConfig) AgentLogfileMaxSizeMB() int

AgentLogfileMaxSizeMB mocks base method.

func (*MockConfig) CACert

func (m *MockConfig) CACert() string

CACert mocks base method.

func (*MockConfig) Controller

func (m *MockConfig) Controller() names.ControllerTag

Controller mocks base method.

func (*MockConfig) DataDir

func (m *MockConfig) DataDir() string

DataDir mocks base method.

func (*MockConfig) Dir

func (m *MockConfig) Dir() string

Dir mocks base method.

func (*MockConfig) DqlitePort

func (m *MockConfig) DqlitePort() (int, bool)

DqlitePort mocks base method.

func (*MockConfig) EXPECT

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) Jobs

func (m *MockConfig) Jobs() []model.MachineJob

Jobs mocks base method.

func (*MockConfig) JujuDBSnapChannel

func (m *MockConfig) JujuDBSnapChannel() string

JujuDBSnapChannel mocks base method.

func (*MockConfig) LogDir

func (m *MockConfig) LogDir() string

LogDir mocks base method.

func (*MockConfig) LoggingConfig

func (m *MockConfig) LoggingConfig() string

LoggingConfig mocks base method.

func (*MockConfig) MetricsSpoolDir

func (m *MockConfig) MetricsSpoolDir() string

MetricsSpoolDir mocks base method.

func (*MockConfig) Model

func (m *MockConfig) Model() names.ModelTag

Model mocks base method.

func (*MockConfig) MongoInfo

func (m *MockConfig) MongoInfo() (*mongo.MongoInfo, bool)

MongoInfo mocks base method.

func (*MockConfig) MongoMemoryProfile

func (m *MockConfig) MongoMemoryProfile() mongo.MemoryProfile

MongoMemoryProfile mocks base method.

func (*MockConfig) Nonce

func (m *MockConfig) Nonce() string

Nonce mocks base method.

func (*MockConfig) ObjectStoreType

func (m *MockConfig) ObjectStoreType() objectstore.BackendType

ObjectStoreType mocks base method.

func (*MockConfig) OldPassword

func (m *MockConfig) OldPassword() string

OldPassword mocks base method.

func (*MockConfig) OpenTelemetryEnabled

func (m *MockConfig) OpenTelemetryEnabled() bool

OpenTelemetryEnabled mocks base method.

func (*MockConfig) OpenTelemetryEndpoint

func (m *MockConfig) OpenTelemetryEndpoint() string

OpenTelemetryEndpoint mocks base method.

func (*MockConfig) OpenTelemetryInsecure

func (m *MockConfig) OpenTelemetryInsecure() bool

OpenTelemetryInsecure mocks base method.

func (*MockConfig) OpenTelemetrySampleRatio

func (m *MockConfig) OpenTelemetrySampleRatio() float64

OpenTelemetrySampleRatio mocks base method.

func (*MockConfig) OpenTelemetryStackTraces

func (m *MockConfig) OpenTelemetryStackTraces() bool

OpenTelemetryStackTraces mocks base method.

func (*MockConfig) OpenTelemetryTailSamplingThreshold

func (m *MockConfig) OpenTelemetryTailSamplingThreshold() time.Duration

OpenTelemetryTailSamplingThreshold mocks base method.

func (*MockConfig) QueryTracingEnabled

func (m *MockConfig) QueryTracingEnabled() bool

QueryTracingEnabled mocks base method.

func (*MockConfig) QueryTracingThreshold

func (m *MockConfig) QueryTracingThreshold() time.Duration

QueryTracingThreshold mocks base method.

func (*MockConfig) StateServingInfo

func (m *MockConfig) StateServingInfo() (controller.StateServingInfo, bool)

StateServingInfo mocks base method.

func (*MockConfig) SystemIdentityPath

func (m *MockConfig) SystemIdentityPath() string

SystemIdentityPath mocks base method.

func (*MockConfig) Tag

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

Tag mocks base method.

func (*MockConfig) TransientDataDir

func (m *MockConfig) TransientDataDir() string

TransientDataDir mocks base method.

func (*MockConfig) UpgradedToVersion

func (m *MockConfig) UpgradedToVersion() version.Number

UpgradedToVersion mocks base method.

func (*MockConfig) Value

func (m *MockConfig) Value(arg0 string) string

Value mocks base method.

func (*MockConfig) WriteCommands

func (m *MockConfig) WriteCommands(arg0 shell.Renderer) ([]string, error)

WriteCommands mocks base method.

type MockConfigAPIAddressesCall

type MockConfigAPIAddressesCall struct {
	*gomock.Call
}

MockConfigAPIAddressesCall wrap *gomock.Call

func (*MockConfigAPIAddressesCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigAPIAddressesCall) DoAndReturn

func (c *MockConfigAPIAddressesCall) DoAndReturn(f func() ([]string, error)) *MockConfigAPIAddressesCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigAPIAddressesCall) Return

Return rewrite *gomock.Call.Return

type MockConfigAPIInfoCall

type MockConfigAPIInfoCall struct {
	*gomock.Call
}

MockConfigAPIInfoCall wrap *gomock.Call

func (*MockConfigAPIInfoCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigAPIInfoCall) DoAndReturn

func (c *MockConfigAPIInfoCall) DoAndReturn(f func() (*api.Info, bool)) *MockConfigAPIInfoCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigAPIInfoCall) Return

func (c *MockConfigAPIInfoCall) Return(arg0 *api.Info, arg1 bool) *MockConfigAPIInfoCall

Return rewrite *gomock.Call.Return

type MockConfigAgentLogfileMaxBackupsCall

type MockConfigAgentLogfileMaxBackupsCall struct {
	*gomock.Call
}

MockConfigAgentLogfileMaxBackupsCall wrap *gomock.Call

func (*MockConfigAgentLogfileMaxBackupsCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigAgentLogfileMaxBackupsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigAgentLogfileMaxBackupsCall) Return

Return rewrite *gomock.Call.Return

type MockConfigAgentLogfileMaxSizeMBCall

type MockConfigAgentLogfileMaxSizeMBCall struct {
	*gomock.Call
}

MockConfigAgentLogfileMaxSizeMBCall wrap *gomock.Call

func (*MockConfigAgentLogfileMaxSizeMBCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigAgentLogfileMaxSizeMBCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigAgentLogfileMaxSizeMBCall) Return

Return rewrite *gomock.Call.Return

type MockConfigCACertCall

type MockConfigCACertCall struct {
	*gomock.Call
}

MockConfigCACertCall wrap *gomock.Call

func (*MockConfigCACertCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigCACertCall) DoAndReturn

func (c *MockConfigCACertCall) DoAndReturn(f func() string) *MockConfigCACertCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigCACertCall) Return

Return rewrite *gomock.Call.Return

type MockConfigControllerCall

type MockConfigControllerCall struct {
	*gomock.Call
}

MockConfigControllerCall wrap *gomock.Call

func (*MockConfigControllerCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigControllerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigControllerCall) Return

Return rewrite *gomock.Call.Return

type MockConfigDataDirCall

type MockConfigDataDirCall struct {
	*gomock.Call
}

MockConfigDataDirCall wrap *gomock.Call

func (*MockConfigDataDirCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigDataDirCall) DoAndReturn

func (c *MockConfigDataDirCall) DoAndReturn(f func() string) *MockConfigDataDirCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigDataDirCall) Return

Return rewrite *gomock.Call.Return

type MockConfigDirCall

type MockConfigDirCall struct {
	*gomock.Call
}

MockConfigDirCall wrap *gomock.Call

func (*MockConfigDirCall) Do

func (c *MockConfigDirCall) Do(f func() string) *MockConfigDirCall

Do rewrite *gomock.Call.Do

func (*MockConfigDirCall) DoAndReturn

func (c *MockConfigDirCall) DoAndReturn(f func() string) *MockConfigDirCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigDirCall) Return

func (c *MockConfigDirCall) Return(arg0 string) *MockConfigDirCall

Return rewrite *gomock.Call.Return

type MockConfigDqlitePortCall

type MockConfigDqlitePortCall struct {
	*gomock.Call
}

MockConfigDqlitePortCall wrap *gomock.Call

func (*MockConfigDqlitePortCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigDqlitePortCall) DoAndReturn

func (c *MockConfigDqlitePortCall) DoAndReturn(f func() (int, bool)) *MockConfigDqlitePortCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigDqlitePortCall) Return

Return rewrite *gomock.Call.Return

type MockConfigJobsCall

type MockConfigJobsCall struct {
	*gomock.Call
}

MockConfigJobsCall wrap *gomock.Call

func (*MockConfigJobsCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigJobsCall) DoAndReturn

func (c *MockConfigJobsCall) DoAndReturn(f func() []model.MachineJob) *MockConfigJobsCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigJobsCall) Return

Return rewrite *gomock.Call.Return

type MockConfigJujuDBSnapChannelCall

type MockConfigJujuDBSnapChannelCall struct {
	*gomock.Call
}

MockConfigJujuDBSnapChannelCall wrap *gomock.Call

func (*MockConfigJujuDBSnapChannelCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigJujuDBSnapChannelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigJujuDBSnapChannelCall) Return

Return rewrite *gomock.Call.Return

type MockConfigLogDirCall

type MockConfigLogDirCall struct {
	*gomock.Call
}

MockConfigLogDirCall wrap *gomock.Call

func (*MockConfigLogDirCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigLogDirCall) DoAndReturn

func (c *MockConfigLogDirCall) DoAndReturn(f func() string) *MockConfigLogDirCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigLogDirCall) Return

Return rewrite *gomock.Call.Return

type MockConfigLoggingConfigCall

type MockConfigLoggingConfigCall struct {
	*gomock.Call
}

MockConfigLoggingConfigCall wrap *gomock.Call

func (*MockConfigLoggingConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigLoggingConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigLoggingConfigCall) Return

Return rewrite *gomock.Call.Return

type MockConfigMetricsSpoolDirCall

type MockConfigMetricsSpoolDirCall struct {
	*gomock.Call
}

MockConfigMetricsSpoolDirCall wrap *gomock.Call

func (*MockConfigMetricsSpoolDirCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigMetricsSpoolDirCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigMetricsSpoolDirCall) Return

Return rewrite *gomock.Call.Return

type MockConfigMockRecorder

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

MockConfigMockRecorder is the mock recorder for MockConfig.

func (*MockConfigMockRecorder) APIAddresses

APIAddresses indicates an expected call of APIAddresses.

func (*MockConfigMockRecorder) APIInfo

APIInfo indicates an expected call of APIInfo.

func (*MockConfigMockRecorder) AgentLogfileMaxBackups

func (mr *MockConfigMockRecorder) AgentLogfileMaxBackups() *MockConfigAgentLogfileMaxBackupsCall

AgentLogfileMaxBackups indicates an expected call of AgentLogfileMaxBackups.

func (*MockConfigMockRecorder) AgentLogfileMaxSizeMB

func (mr *MockConfigMockRecorder) AgentLogfileMaxSizeMB() *MockConfigAgentLogfileMaxSizeMBCall

AgentLogfileMaxSizeMB indicates an expected call of AgentLogfileMaxSizeMB.

func (*MockConfigMockRecorder) CACert

CACert indicates an expected call of CACert.

func (*MockConfigMockRecorder) Controller

Controller indicates an expected call of Controller.

func (*MockConfigMockRecorder) DataDir

DataDir indicates an expected call of DataDir.

func (*MockConfigMockRecorder) Dir

Dir indicates an expected call of Dir.

func (*MockConfigMockRecorder) DqlitePort

DqlitePort indicates an expected call of DqlitePort.

func (*MockConfigMockRecorder) Jobs

Jobs indicates an expected call of Jobs.

func (*MockConfigMockRecorder) JujuDBSnapChannel

JujuDBSnapChannel indicates an expected call of JujuDBSnapChannel.

func (*MockConfigMockRecorder) LogDir

LogDir indicates an expected call of LogDir.

func (*MockConfigMockRecorder) LoggingConfig

LoggingConfig indicates an expected call of LoggingConfig.

func (*MockConfigMockRecorder) MetricsSpoolDir

MetricsSpoolDir indicates an expected call of MetricsSpoolDir.

func (*MockConfigMockRecorder) Model

Model indicates an expected call of Model.

func (*MockConfigMockRecorder) MongoInfo

MongoInfo indicates an expected call of MongoInfo.

func (*MockConfigMockRecorder) MongoMemoryProfile

func (mr *MockConfigMockRecorder) MongoMemoryProfile() *MockConfigMongoMemoryProfileCall

MongoMemoryProfile indicates an expected call of MongoMemoryProfile.

func (*MockConfigMockRecorder) Nonce

Nonce indicates an expected call of Nonce.

func (*MockConfigMockRecorder) ObjectStoreType

ObjectStoreType indicates an expected call of ObjectStoreType.

func (*MockConfigMockRecorder) OldPassword

OldPassword indicates an expected call of OldPassword.

func (*MockConfigMockRecorder) OpenTelemetryEnabled

func (mr *MockConfigMockRecorder) OpenTelemetryEnabled() *MockConfigOpenTelemetryEnabledCall

OpenTelemetryEnabled indicates an expected call of OpenTelemetryEnabled.

func (*MockConfigMockRecorder) OpenTelemetryEndpoint

func (mr *MockConfigMockRecorder) OpenTelemetryEndpoint() *MockConfigOpenTelemetryEndpointCall

OpenTelemetryEndpoint indicates an expected call of OpenTelemetryEndpoint.

func (*MockConfigMockRecorder) OpenTelemetryInsecure

func (mr *MockConfigMockRecorder) OpenTelemetryInsecure() *MockConfigOpenTelemetryInsecureCall

OpenTelemetryInsecure indicates an expected call of OpenTelemetryInsecure.

func (*MockConfigMockRecorder) OpenTelemetrySampleRatio

func (mr *MockConfigMockRecorder) OpenTelemetrySampleRatio() *MockConfigOpenTelemetrySampleRatioCall

OpenTelemetrySampleRatio indicates an expected call of OpenTelemetrySampleRatio.

func (*MockConfigMockRecorder) OpenTelemetryStackTraces

func (mr *MockConfigMockRecorder) OpenTelemetryStackTraces() *MockConfigOpenTelemetryStackTracesCall

OpenTelemetryStackTraces indicates an expected call of OpenTelemetryStackTraces.

func (*MockConfigMockRecorder) OpenTelemetryTailSamplingThreshold

func (mr *MockConfigMockRecorder) OpenTelemetryTailSamplingThreshold() *MockConfigOpenTelemetryTailSamplingThresholdCall

OpenTelemetryTailSamplingThreshold indicates an expected call of OpenTelemetryTailSamplingThreshold.

func (*MockConfigMockRecorder) QueryTracingEnabled

func (mr *MockConfigMockRecorder) QueryTracingEnabled() *MockConfigQueryTracingEnabledCall

QueryTracingEnabled indicates an expected call of QueryTracingEnabled.

func (*MockConfigMockRecorder) QueryTracingThreshold

func (mr *MockConfigMockRecorder) QueryTracingThreshold() *MockConfigQueryTracingThresholdCall

QueryTracingThreshold indicates an expected call of QueryTracingThreshold.

func (*MockConfigMockRecorder) StateServingInfo

StateServingInfo indicates an expected call of StateServingInfo.

func (*MockConfigMockRecorder) SystemIdentityPath

func (mr *MockConfigMockRecorder) SystemIdentityPath() *MockConfigSystemIdentityPathCall

SystemIdentityPath indicates an expected call of SystemIdentityPath.

func (*MockConfigMockRecorder) Tag

Tag indicates an expected call of Tag.

func (*MockConfigMockRecorder) TransientDataDir

TransientDataDir indicates an expected call of TransientDataDir.

func (*MockConfigMockRecorder) UpgradedToVersion

UpgradedToVersion indicates an expected call of UpgradedToVersion.

func (*MockConfigMockRecorder) Value

Value indicates an expected call of Value.

func (*MockConfigMockRecorder) WriteCommands

func (mr *MockConfigMockRecorder) WriteCommands(arg0 any) *MockConfigWriteCommandsCall

WriteCommands indicates an expected call of WriteCommands.

type MockConfigModelCall

type MockConfigModelCall struct {
	*gomock.Call
}

MockConfigModelCall wrap *gomock.Call

func (*MockConfigModelCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigModelCall) DoAndReturn

func (c *MockConfigModelCall) DoAndReturn(f func() names.ModelTag) *MockConfigModelCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigModelCall) Return

Return rewrite *gomock.Call.Return

type MockConfigMongoInfoCall

type MockConfigMongoInfoCall struct {
	*gomock.Call
}

MockConfigMongoInfoCall wrap *gomock.Call

func (*MockConfigMongoInfoCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigMongoInfoCall) DoAndReturn

func (c *MockConfigMongoInfoCall) DoAndReturn(f func() (*mongo.MongoInfo, bool)) *MockConfigMongoInfoCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigMongoInfoCall) Return

Return rewrite *gomock.Call.Return

type MockConfigMongoMemoryProfileCall

type MockConfigMongoMemoryProfileCall struct {
	*gomock.Call
}

MockConfigMongoMemoryProfileCall wrap *gomock.Call

func (*MockConfigMongoMemoryProfileCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigMongoMemoryProfileCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigMongoMemoryProfileCall) Return

Return rewrite *gomock.Call.Return

type MockConfigNonceCall

type MockConfigNonceCall struct {
	*gomock.Call
}

MockConfigNonceCall wrap *gomock.Call

func (*MockConfigNonceCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigNonceCall) DoAndReturn

func (c *MockConfigNonceCall) DoAndReturn(f func() string) *MockConfigNonceCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigNonceCall) Return

Return rewrite *gomock.Call.Return

type MockConfigObjectStoreTypeCall

type MockConfigObjectStoreTypeCall struct {
	*gomock.Call
}

MockConfigObjectStoreTypeCall wrap *gomock.Call

func (*MockConfigObjectStoreTypeCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigObjectStoreTypeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigObjectStoreTypeCall) Return

Return rewrite *gomock.Call.Return

type MockConfigOldPasswordCall

type MockConfigOldPasswordCall struct {
	*gomock.Call
}

MockConfigOldPasswordCall wrap *gomock.Call

func (*MockConfigOldPasswordCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigOldPasswordCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigOldPasswordCall) Return

Return rewrite *gomock.Call.Return

type MockConfigOpenTelemetryEnabledCall

type MockConfigOpenTelemetryEnabledCall struct {
	*gomock.Call
}

MockConfigOpenTelemetryEnabledCall wrap *gomock.Call

func (*MockConfigOpenTelemetryEnabledCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigOpenTelemetryEnabledCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigOpenTelemetryEnabledCall) Return

Return rewrite *gomock.Call.Return

type MockConfigOpenTelemetryEndpointCall

type MockConfigOpenTelemetryEndpointCall struct {
	*gomock.Call
}

MockConfigOpenTelemetryEndpointCall wrap *gomock.Call

func (*MockConfigOpenTelemetryEndpointCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigOpenTelemetryEndpointCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigOpenTelemetryEndpointCall) Return

Return rewrite *gomock.Call.Return

type MockConfigOpenTelemetryInsecureCall

type MockConfigOpenTelemetryInsecureCall struct {
	*gomock.Call
}

MockConfigOpenTelemetryInsecureCall wrap *gomock.Call

func (*MockConfigOpenTelemetryInsecureCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigOpenTelemetryInsecureCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigOpenTelemetryInsecureCall) Return

Return rewrite *gomock.Call.Return

type MockConfigOpenTelemetrySampleRatioCall

type MockConfigOpenTelemetrySampleRatioCall struct {
	*gomock.Call
}

MockConfigOpenTelemetrySampleRatioCall wrap *gomock.Call

func (*MockConfigOpenTelemetrySampleRatioCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigOpenTelemetrySampleRatioCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigOpenTelemetrySampleRatioCall) Return

Return rewrite *gomock.Call.Return

type MockConfigOpenTelemetryStackTracesCall

type MockConfigOpenTelemetryStackTracesCall struct {
	*gomock.Call
}

MockConfigOpenTelemetryStackTracesCall wrap *gomock.Call

func (*MockConfigOpenTelemetryStackTracesCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigOpenTelemetryStackTracesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigOpenTelemetryStackTracesCall) Return

Return rewrite *gomock.Call.Return

type MockConfigOpenTelemetryTailSamplingThresholdCall

type MockConfigOpenTelemetryTailSamplingThresholdCall struct {
	*gomock.Call
}

MockConfigOpenTelemetryTailSamplingThresholdCall wrap *gomock.Call

func (*MockConfigOpenTelemetryTailSamplingThresholdCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigOpenTelemetryTailSamplingThresholdCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigOpenTelemetryTailSamplingThresholdCall) Return

Return rewrite *gomock.Call.Return

type MockConfigQueryTracingEnabledCall

type MockConfigQueryTracingEnabledCall struct {
	*gomock.Call
}

MockConfigQueryTracingEnabledCall wrap *gomock.Call

func (*MockConfigQueryTracingEnabledCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigQueryTracingEnabledCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigQueryTracingEnabledCall) Return

Return rewrite *gomock.Call.Return

type MockConfigQueryTracingThresholdCall

type MockConfigQueryTracingThresholdCall struct {
	*gomock.Call
}

MockConfigQueryTracingThresholdCall wrap *gomock.Call

func (*MockConfigQueryTracingThresholdCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigQueryTracingThresholdCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigQueryTracingThresholdCall) Return

Return rewrite *gomock.Call.Return

type MockConfigStateServingInfoCall

type MockConfigStateServingInfoCall struct {
	*gomock.Call
}

MockConfigStateServingInfoCall wrap *gomock.Call

func (*MockConfigStateServingInfoCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigStateServingInfoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigStateServingInfoCall) Return

Return rewrite *gomock.Call.Return

type MockConfigSystemIdentityPathCall

type MockConfigSystemIdentityPathCall struct {
	*gomock.Call
}

MockConfigSystemIdentityPathCall wrap *gomock.Call

func (*MockConfigSystemIdentityPathCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigSystemIdentityPathCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigSystemIdentityPathCall) Return

Return rewrite *gomock.Call.Return

type MockConfigTagCall

type MockConfigTagCall struct {
	*gomock.Call
}

MockConfigTagCall wrap *gomock.Call

func (*MockConfigTagCall) Do

func (c *MockConfigTagCall) Do(f func() names.Tag) *MockConfigTagCall

Do rewrite *gomock.Call.Do

func (*MockConfigTagCall) DoAndReturn

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

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigTagCall) Return

func (c *MockConfigTagCall) Return(arg0 names.Tag) *MockConfigTagCall

Return rewrite *gomock.Call.Return

type MockConfigTransientDataDirCall

type MockConfigTransientDataDirCall struct {
	*gomock.Call
}

MockConfigTransientDataDirCall wrap *gomock.Call

func (*MockConfigTransientDataDirCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigTransientDataDirCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigTransientDataDirCall) Return

Return rewrite *gomock.Call.Return

type MockConfigUpgradedToVersionCall

type MockConfigUpgradedToVersionCall struct {
	*gomock.Call
}

MockConfigUpgradedToVersionCall wrap *gomock.Call

func (*MockConfigUpgradedToVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigUpgradedToVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigUpgradedToVersionCall) Return

Return rewrite *gomock.Call.Return

type MockConfigValueCall

type MockConfigValueCall struct {
	*gomock.Call
}

MockConfigValueCall wrap *gomock.Call

func (*MockConfigValueCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigValueCall) DoAndReturn

func (c *MockConfigValueCall) DoAndReturn(f func(string) string) *MockConfigValueCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigValueCall) Return

Return rewrite *gomock.Call.Return

type MockConfigWriteCommandsCall

type MockConfigWriteCommandsCall struct {
	*gomock.Call
}

MockConfigWriteCommandsCall wrap *gomock.Call

func (*MockConfigWriteCommandsCall) Do

Do rewrite *gomock.Call.Do

func (*MockConfigWriteCommandsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigWriteCommandsCall) Return

Return rewrite *gomock.Call.Return

type MockGetter

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

MockGetter is a mock of Getter interface.

func NewMockGetter

func NewMockGetter(ctrl *gomock.Controller) *MockGetter

NewMockGetter creates a new mock instance.

func (*MockGetter) EXPECT

func (m *MockGetter) EXPECT() *MockGetterMockRecorder

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

func (*MockGetter) Get

func (m *MockGetter) Get(arg0 string, arg1 any) error

Get mocks base method.

type MockGetterGetCall

type MockGetterGetCall struct {
	*gomock.Call
}

MockGetterGetCall wrap *gomock.Call

func (*MockGetterGetCall) Do

Do rewrite *gomock.Call.Do

func (*MockGetterGetCall) DoAndReturn

func (c *MockGetterGetCall) DoAndReturn(f func(string, any) error) *MockGetterGetCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGetterGetCall) Return

func (c *MockGetterGetCall) Return(arg0 error) *MockGetterGetCall

Return rewrite *gomock.Call.Return

type MockGetterMockRecorder

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

MockGetterMockRecorder is the mock recorder for MockGetter.

func (*MockGetterMockRecorder) Get

func (mr *MockGetterMockRecorder) Get(arg0, arg1 any) *MockGetterGetCall

Get indicates an expected call of Get.

type MockInstanceBroker

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

MockInstanceBroker is a mock of InstanceBroker interface.

func NewMockInstanceBroker

func NewMockInstanceBroker(ctrl *gomock.Controller) *MockInstanceBroker

NewMockInstanceBroker creates a new mock instance.

func (*MockInstanceBroker) AllInstances

AllInstances mocks base method.

func (*MockInstanceBroker) AllRunningInstances

func (m *MockInstanceBroker) AllRunningInstances(arg0 envcontext.ProviderCallContext) ([]instances.Instance, error)

AllRunningInstances mocks base method.

func (*MockInstanceBroker) EXPECT

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

func (*MockInstanceBroker) StartInstance

StartInstance mocks base method.

func (*MockInstanceBroker) StopInstances

func (m *MockInstanceBroker) StopInstances(arg0 envcontext.ProviderCallContext, arg1 ...instance.Id) error

StopInstances mocks base method.

type MockInstanceBrokerAllInstancesCall

type MockInstanceBrokerAllInstancesCall struct {
	*gomock.Call
}

MockInstanceBrokerAllInstancesCall wrap *gomock.Call

func (*MockInstanceBrokerAllInstancesCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceBrokerAllInstancesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceBrokerAllInstancesCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceBrokerAllRunningInstancesCall

type MockInstanceBrokerAllRunningInstancesCall struct {
	*gomock.Call
}

MockInstanceBrokerAllRunningInstancesCall wrap *gomock.Call

func (*MockInstanceBrokerAllRunningInstancesCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceBrokerAllRunningInstancesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceBrokerAllRunningInstancesCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceBrokerMockRecorder

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

MockInstanceBrokerMockRecorder is the mock recorder for MockInstanceBroker.

func (*MockInstanceBrokerMockRecorder) AllInstances

AllInstances indicates an expected call of AllInstances.

func (*MockInstanceBrokerMockRecorder) AllRunningInstances

AllRunningInstances indicates an expected call of AllRunningInstances.

func (*MockInstanceBrokerMockRecorder) StartInstance

StartInstance indicates an expected call of StartInstance.

func (*MockInstanceBrokerMockRecorder) StopInstances

StopInstances indicates an expected call of StopInstances.

type MockInstanceBrokerStartInstanceCall

type MockInstanceBrokerStartInstanceCall struct {
	*gomock.Call
}

MockInstanceBrokerStartInstanceCall wrap *gomock.Call

func (*MockInstanceBrokerStartInstanceCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceBrokerStartInstanceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceBrokerStartInstanceCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceBrokerStopInstancesCall

type MockInstanceBrokerStopInstancesCall struct {
	*gomock.Call
}

MockInstanceBrokerStopInstancesCall wrap *gomock.Call

func (*MockInstanceBrokerStopInstancesCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceBrokerStopInstancesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceBrokerStopInstancesCall) Return

Return rewrite *gomock.Call.Return

type MockLXDProfiler

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

MockLXDProfiler is a mock of LXDProfiler interface.

func NewMockLXDProfiler

func NewMockLXDProfiler(ctrl *gomock.Controller) *MockLXDProfiler

NewMockLXDProfiler creates a new mock instance.

func (*MockLXDProfiler) AssignLXDProfiles

func (m *MockLXDProfiler) AssignLXDProfiles(arg0 string, arg1 []string, arg2 []lxdprofile.ProfilePost) ([]string, error)

AssignLXDProfiles mocks base method.

func (*MockLXDProfiler) EXPECT

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

func (*MockLXDProfiler) LXDProfileNames

func (m *MockLXDProfiler) LXDProfileNames(arg0 string) ([]string, error)

LXDProfileNames mocks base method.

func (*MockLXDProfiler) MaybeWriteLXDProfile

func (m *MockLXDProfiler) MaybeWriteLXDProfile(arg0 string, arg1 lxdprofile.Profile) error

MaybeWriteLXDProfile mocks base method.

type MockLXDProfilerAssignLXDProfilesCall

type MockLXDProfilerAssignLXDProfilesCall struct {
	*gomock.Call
}

MockLXDProfilerAssignLXDProfilesCall wrap *gomock.Call

func (*MockLXDProfilerAssignLXDProfilesCall) Do

Do rewrite *gomock.Call.Do

func (*MockLXDProfilerAssignLXDProfilesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLXDProfilerAssignLXDProfilesCall) Return

Return rewrite *gomock.Call.Return

type MockLXDProfilerLXDProfileNamesCall

type MockLXDProfilerLXDProfileNamesCall struct {
	*gomock.Call
}

MockLXDProfilerLXDProfileNamesCall wrap *gomock.Call

func (*MockLXDProfilerLXDProfileNamesCall) Do

Do rewrite *gomock.Call.Do

func (*MockLXDProfilerLXDProfileNamesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLXDProfilerLXDProfileNamesCall) Return

Return rewrite *gomock.Call.Return

type MockLXDProfilerMaybeWriteLXDProfileCall

type MockLXDProfilerMaybeWriteLXDProfileCall struct {
	*gomock.Call
}

MockLXDProfilerMaybeWriteLXDProfileCall wrap *gomock.Call

func (*MockLXDProfilerMaybeWriteLXDProfileCall) Do

Do rewrite *gomock.Call.Do

func (*MockLXDProfilerMaybeWriteLXDProfileCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLXDProfilerMaybeWriteLXDProfileCall) Return

Return rewrite *gomock.Call.Return

type MockLXDProfilerMockRecorder

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

MockLXDProfilerMockRecorder is the mock recorder for MockLXDProfiler.

func (*MockLXDProfilerMockRecorder) AssignLXDProfiles

func (mr *MockLXDProfilerMockRecorder) AssignLXDProfiles(arg0, arg1, arg2 any) *MockLXDProfilerAssignLXDProfilesCall

AssignLXDProfiles indicates an expected call of AssignLXDProfiles.

func (*MockLXDProfilerMockRecorder) LXDProfileNames

LXDProfileNames indicates an expected call of LXDProfileNames.

func (*MockLXDProfilerMockRecorder) MaybeWriteLXDProfile

func (mr *MockLXDProfilerMockRecorder) MaybeWriteLXDProfile(arg0, arg1 any) *MockLXDProfilerMaybeWriteLXDProfileCall

MaybeWriteLXDProfile indicates an expected call of MaybeWriteLXDProfile.

type MockLock

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

MockLock is a mock of Lock interface.

func NewMockLock

func NewMockLock(ctrl *gomock.Controller) *MockLock

NewMockLock creates a new mock instance.

func (*MockLock) Acquire

func (m *MockLock) Acquire(arg0 machinelock.Spec) (func(), error)

Acquire mocks base method.

func (*MockLock) EXPECT

func (m *MockLock) EXPECT() *MockLockMockRecorder

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

func (*MockLock) Report

func (m *MockLock) Report(arg0 ...machinelock.ReportOption) (string, error)

Report mocks base method.

type MockLockAcquireCall

type MockLockAcquireCall struct {
	*gomock.Call
}

MockLockAcquireCall wrap *gomock.Call

func (*MockLockAcquireCall) Do

func (c *MockLockAcquireCall) Do(f func(machinelock.Spec) (func(), error)) *MockLockAcquireCall

Do rewrite *gomock.Call.Do

func (*MockLockAcquireCall) DoAndReturn

func (c *MockLockAcquireCall) DoAndReturn(f func(machinelock.Spec) (func(), error)) *MockLockAcquireCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLockAcquireCall) Return

func (c *MockLockAcquireCall) Return(arg0 func(), arg1 error) *MockLockAcquireCall

Return rewrite *gomock.Call.Return

type MockLockMockRecorder

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

MockLockMockRecorder is the mock recorder for MockLock.

func (*MockLockMockRecorder) Acquire

func (mr *MockLockMockRecorder) Acquire(arg0 any) *MockLockAcquireCall

Acquire indicates an expected call of Acquire.

func (*MockLockMockRecorder) Report

func (mr *MockLockMockRecorder) Report(arg0 ...any) *MockLockReportCall

Report indicates an expected call of Report.

type MockLockReportCall

type MockLockReportCall struct {
	*gomock.Call
}

MockLockReportCall wrap *gomock.Call

func (*MockLockReportCall) Do

Do rewrite *gomock.Call.Do

func (*MockLockReportCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLockReportCall) Return

func (c *MockLockReportCall) Return(arg0 string, arg1 error) *MockLockReportCall

Return rewrite *gomock.Call.Return

type MockMachineProvisioner

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

MockMachineProvisioner is a mock of MachineProvisioner interface.

func NewMockMachineProvisioner

func NewMockMachineProvisioner(ctrl *gomock.Controller) *MockMachineProvisioner

NewMockMachineProvisioner creates a new mock instance.

func (*MockMachineProvisioner) AvailabilityZone

func (m *MockMachineProvisioner) AvailabilityZone(arg0 context.Context) (string, error)

AvailabilityZone mocks base method.

func (*MockMachineProvisioner) DistributionGroup

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

DistributionGroup mocks base method.

func (*MockMachineProvisioner) EXPECT

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

func (*MockMachineProvisioner) EnsureDead

func (m *MockMachineProvisioner) EnsureDead(arg0 context.Context) error

EnsureDead mocks base method.

func (*MockMachineProvisioner) Id

Id mocks base method.

func (*MockMachineProvisioner) InstanceId

func (m *MockMachineProvisioner) InstanceId(arg0 context.Context) (instance.Id, error)

InstanceId mocks base method.

func (*MockMachineProvisioner) InstanceStatus

func (m *MockMachineProvisioner) InstanceStatus(arg0 context.Context) (status.Status, string, error)

InstanceStatus mocks base method.

func (*MockMachineProvisioner) KeepInstance

func (m *MockMachineProvisioner) KeepInstance(arg0 context.Context) (bool, error)

KeepInstance mocks base method.

func (*MockMachineProvisioner) Life

func (m *MockMachineProvisioner) Life() life.Value

Life mocks base method.

func (*MockMachineProvisioner) MachineTag

func (m *MockMachineProvisioner) MachineTag() names.MachineTag

MachineTag mocks base method.

func (*MockMachineProvisioner) MarkForRemoval

func (m *MockMachineProvisioner) MarkForRemoval(arg0 context.Context) error

MarkForRemoval mocks base method.

func (*MockMachineProvisioner) ModelAgentVersion

func (m *MockMachineProvisioner) ModelAgentVersion(arg0 context.Context) (*version.Number, error)

ModelAgentVersion mocks base method.

func (*MockMachineProvisioner) Refresh

func (m *MockMachineProvisioner) Refresh(arg0 context.Context) error

Refresh mocks base method.

func (*MockMachineProvisioner) Remove

func (m *MockMachineProvisioner) Remove(arg0 context.Context) error

Remove mocks base method.

func (*MockMachineProvisioner) SetCharmProfiles

func (m *MockMachineProvisioner) SetCharmProfiles(arg0 context.Context, arg1 []string) error

SetCharmProfiles mocks base method.

func (*MockMachineProvisioner) SetInstanceInfo

func (m *MockMachineProvisioner) SetInstanceInfo(arg0 context.Context, arg1 instance.Id, arg2, arg3 string, arg4 *instance.HardwareCharacteristics, arg5 []params.NetworkConfig, arg6 []params.Volume, arg7 map[string]params.VolumeAttachmentInfo, arg8 []string) error

SetInstanceInfo mocks base method.

func (*MockMachineProvisioner) SetInstanceStatus

func (m *MockMachineProvisioner) SetInstanceStatus(arg0 context.Context, arg1 status.Status, arg2 string, arg3 map[string]any) error

SetInstanceStatus mocks base method.

func (*MockMachineProvisioner) SetModificationStatus

func (m *MockMachineProvisioner) SetModificationStatus(arg0 context.Context, arg1 status.Status, arg2 string, arg3 map[string]any) error

SetModificationStatus mocks base method.

func (*MockMachineProvisioner) SetPassword

func (m *MockMachineProvisioner) SetPassword(arg0 context.Context, arg1 string) error

SetPassword mocks base method.

func (*MockMachineProvisioner) SetStatus

func (m *MockMachineProvisioner) SetStatus(arg0 context.Context, arg1 status.Status, arg2 string, arg3 map[string]any) error

SetStatus mocks base method.

func (*MockMachineProvisioner) SetSupportedContainers

func (m *MockMachineProvisioner) SetSupportedContainers(arg0 context.Context, arg1 ...instance.ContainerType) error

SetSupportedContainers mocks base method.

func (*MockMachineProvisioner) Status

Status mocks base method.

func (*MockMachineProvisioner) String

func (m *MockMachineProvisioner) String() string

String mocks base method.

func (*MockMachineProvisioner) SupportedContainers

func (m *MockMachineProvisioner) SupportedContainers(arg0 context.Context) ([]instance.ContainerType, bool, error)

SupportedContainers mocks base method.

func (*MockMachineProvisioner) SupportsNoContainers

func (m *MockMachineProvisioner) SupportsNoContainers(arg0 context.Context) error

SupportsNoContainers mocks base method.

func (*MockMachineProvisioner) Tag

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

Tag mocks base method.

func (*MockMachineProvisioner) WatchContainers

WatchContainers mocks base method.

type MockMachineProvisionerAvailabilityZoneCall

type MockMachineProvisionerAvailabilityZoneCall struct {
	*gomock.Call
}

MockMachineProvisionerAvailabilityZoneCall wrap *gomock.Call

func (*MockMachineProvisionerAvailabilityZoneCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerAvailabilityZoneCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerAvailabilityZoneCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerDistributionGroupCall

type MockMachineProvisionerDistributionGroupCall struct {
	*gomock.Call
}

MockMachineProvisionerDistributionGroupCall wrap *gomock.Call

func (*MockMachineProvisionerDistributionGroupCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerDistributionGroupCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerDistributionGroupCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerEnsureDeadCall

type MockMachineProvisionerEnsureDeadCall struct {
	*gomock.Call
}

MockMachineProvisionerEnsureDeadCall wrap *gomock.Call

func (*MockMachineProvisionerEnsureDeadCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerEnsureDeadCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerEnsureDeadCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerIdCall

type MockMachineProvisionerIdCall struct {
	*gomock.Call
}

MockMachineProvisionerIdCall wrap *gomock.Call

func (*MockMachineProvisionerIdCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerIdCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerIdCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerInstanceIdCall

type MockMachineProvisionerInstanceIdCall struct {
	*gomock.Call
}

MockMachineProvisionerInstanceIdCall wrap *gomock.Call

func (*MockMachineProvisionerInstanceIdCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerInstanceIdCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerInstanceIdCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerInstanceStatusCall

type MockMachineProvisionerInstanceStatusCall struct {
	*gomock.Call
}

MockMachineProvisionerInstanceStatusCall wrap *gomock.Call

func (*MockMachineProvisionerInstanceStatusCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerInstanceStatusCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerInstanceStatusCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerKeepInstanceCall

type MockMachineProvisionerKeepInstanceCall struct {
	*gomock.Call
}

MockMachineProvisionerKeepInstanceCall wrap *gomock.Call

func (*MockMachineProvisionerKeepInstanceCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerKeepInstanceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerKeepInstanceCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerLifeCall

type MockMachineProvisionerLifeCall struct {
	*gomock.Call
}

MockMachineProvisionerLifeCall wrap *gomock.Call

func (*MockMachineProvisionerLifeCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerLifeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerLifeCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerMachineTagCall

type MockMachineProvisionerMachineTagCall struct {
	*gomock.Call
}

MockMachineProvisionerMachineTagCall wrap *gomock.Call

func (*MockMachineProvisionerMachineTagCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerMachineTagCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerMachineTagCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerMarkForRemovalCall

type MockMachineProvisionerMarkForRemovalCall struct {
	*gomock.Call
}

MockMachineProvisionerMarkForRemovalCall wrap *gomock.Call

func (*MockMachineProvisionerMarkForRemovalCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerMarkForRemovalCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerMarkForRemovalCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerMockRecorder

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

MockMachineProvisionerMockRecorder is the mock recorder for MockMachineProvisioner.

func (*MockMachineProvisionerMockRecorder) AvailabilityZone

AvailabilityZone indicates an expected call of AvailabilityZone.

func (*MockMachineProvisionerMockRecorder) DistributionGroup

DistributionGroup indicates an expected call of DistributionGroup.

func (*MockMachineProvisionerMockRecorder) EnsureDead

EnsureDead indicates an expected call of EnsureDead.

func (*MockMachineProvisionerMockRecorder) Id

Id indicates an expected call of Id.

func (*MockMachineProvisionerMockRecorder) InstanceId

InstanceId indicates an expected call of InstanceId.

func (*MockMachineProvisionerMockRecorder) InstanceStatus

InstanceStatus indicates an expected call of InstanceStatus.

func (*MockMachineProvisionerMockRecorder) KeepInstance

KeepInstance indicates an expected call of KeepInstance.

func (*MockMachineProvisionerMockRecorder) Life

Life indicates an expected call of Life.

func (*MockMachineProvisionerMockRecorder) MachineTag

MachineTag indicates an expected call of MachineTag.

func (*MockMachineProvisionerMockRecorder) MarkForRemoval

MarkForRemoval indicates an expected call of MarkForRemoval.

func (*MockMachineProvisionerMockRecorder) ModelAgentVersion

ModelAgentVersion indicates an expected call of ModelAgentVersion.

func (*MockMachineProvisionerMockRecorder) Refresh

Refresh indicates an expected call of Refresh.

func (*MockMachineProvisionerMockRecorder) Remove

Remove indicates an expected call of Remove.

func (*MockMachineProvisionerMockRecorder) SetCharmProfiles

SetCharmProfiles indicates an expected call of SetCharmProfiles.

func (*MockMachineProvisionerMockRecorder) SetInstanceInfo

func (mr *MockMachineProvisionerMockRecorder) SetInstanceInfo(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 any) *MockMachineProvisionerSetInstanceInfoCall

SetInstanceInfo indicates an expected call of SetInstanceInfo.

func (*MockMachineProvisionerMockRecorder) SetInstanceStatus

func (mr *MockMachineProvisionerMockRecorder) SetInstanceStatus(arg0, arg1, arg2, arg3 any) *MockMachineProvisionerSetInstanceStatusCall

SetInstanceStatus indicates an expected call of SetInstanceStatus.

func (*MockMachineProvisionerMockRecorder) SetModificationStatus

func (mr *MockMachineProvisionerMockRecorder) SetModificationStatus(arg0, arg1, arg2, arg3 any) *MockMachineProvisionerSetModificationStatusCall

SetModificationStatus indicates an expected call of SetModificationStatus.

func (*MockMachineProvisionerMockRecorder) SetPassword

SetPassword indicates an expected call of SetPassword.

func (*MockMachineProvisionerMockRecorder) SetStatus

func (mr *MockMachineProvisionerMockRecorder) SetStatus(arg0, arg1, arg2, arg3 any) *MockMachineProvisionerSetStatusCall

SetStatus indicates an expected call of SetStatus.

func (*MockMachineProvisionerMockRecorder) SetSupportedContainers

SetSupportedContainers indicates an expected call of SetSupportedContainers.

func (*MockMachineProvisionerMockRecorder) Status

Status indicates an expected call of Status.

func (*MockMachineProvisionerMockRecorder) String

String indicates an expected call of String.

func (*MockMachineProvisionerMockRecorder) SupportedContainers

SupportedContainers indicates an expected call of SupportedContainers.

func (*MockMachineProvisionerMockRecorder) SupportsNoContainers

SupportsNoContainers indicates an expected call of SupportsNoContainers.

func (*MockMachineProvisionerMockRecorder) Tag

Tag indicates an expected call of Tag.

func (*MockMachineProvisionerMockRecorder) WatchContainers

WatchContainers indicates an expected call of WatchContainers.

type MockMachineProvisionerModelAgentVersionCall

type MockMachineProvisionerModelAgentVersionCall struct {
	*gomock.Call
}

MockMachineProvisionerModelAgentVersionCall wrap *gomock.Call

func (*MockMachineProvisionerModelAgentVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerModelAgentVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerModelAgentVersionCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerRefreshCall

type MockMachineProvisionerRefreshCall struct {
	*gomock.Call
}

MockMachineProvisionerRefreshCall wrap *gomock.Call

func (*MockMachineProvisionerRefreshCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerRefreshCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerRefreshCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerRemoveCall

type MockMachineProvisionerRemoveCall struct {
	*gomock.Call
}

MockMachineProvisionerRemoveCall wrap *gomock.Call

func (*MockMachineProvisionerRemoveCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerRemoveCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerRemoveCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerSetCharmProfilesCall

type MockMachineProvisionerSetCharmProfilesCall struct {
	*gomock.Call
}

MockMachineProvisionerSetCharmProfilesCall wrap *gomock.Call

func (*MockMachineProvisionerSetCharmProfilesCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerSetCharmProfilesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerSetCharmProfilesCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerSetInstanceInfoCall

type MockMachineProvisionerSetInstanceInfoCall struct {
	*gomock.Call
}

MockMachineProvisionerSetInstanceInfoCall wrap *gomock.Call

func (*MockMachineProvisionerSetInstanceInfoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerSetInstanceInfoCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerSetInstanceStatusCall

type MockMachineProvisionerSetInstanceStatusCall struct {
	*gomock.Call
}

MockMachineProvisionerSetInstanceStatusCall wrap *gomock.Call

func (*MockMachineProvisionerSetInstanceStatusCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerSetInstanceStatusCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerSetInstanceStatusCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerSetModificationStatusCall

type MockMachineProvisionerSetModificationStatusCall struct {
	*gomock.Call
}

MockMachineProvisionerSetModificationStatusCall wrap *gomock.Call

func (*MockMachineProvisionerSetModificationStatusCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerSetModificationStatusCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerSetModificationStatusCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerSetPasswordCall

type MockMachineProvisionerSetPasswordCall struct {
	*gomock.Call
}

MockMachineProvisionerSetPasswordCall wrap *gomock.Call

func (*MockMachineProvisionerSetPasswordCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerSetPasswordCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerSetPasswordCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerSetStatusCall

type MockMachineProvisionerSetStatusCall struct {
	*gomock.Call
}

MockMachineProvisionerSetStatusCall wrap *gomock.Call

func (*MockMachineProvisionerSetStatusCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerSetStatusCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerSetStatusCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerSetSupportedContainersCall

type MockMachineProvisionerSetSupportedContainersCall struct {
	*gomock.Call
}

MockMachineProvisionerSetSupportedContainersCall wrap *gomock.Call

func (*MockMachineProvisionerSetSupportedContainersCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerSetSupportedContainersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerSetSupportedContainersCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerStatusCall

type MockMachineProvisionerStatusCall struct {
	*gomock.Call
}

MockMachineProvisionerStatusCall wrap *gomock.Call

func (*MockMachineProvisionerStatusCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerStatusCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerStatusCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerStringCall

type MockMachineProvisionerStringCall struct {
	*gomock.Call
}

MockMachineProvisionerStringCall wrap *gomock.Call

func (*MockMachineProvisionerStringCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerStringCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerStringCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerSupportedContainersCall

type MockMachineProvisionerSupportedContainersCall struct {
	*gomock.Call
}

MockMachineProvisionerSupportedContainersCall wrap *gomock.Call

func (*MockMachineProvisionerSupportedContainersCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerSupportedContainersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerSupportedContainersCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerSupportsNoContainersCall

type MockMachineProvisionerSupportsNoContainersCall struct {
	*gomock.Call
}

MockMachineProvisionerSupportsNoContainersCall wrap *gomock.Call

func (*MockMachineProvisionerSupportsNoContainersCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerSupportsNoContainersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerSupportsNoContainersCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerTagCall

type MockMachineProvisionerTagCall struct {
	*gomock.Call
}

MockMachineProvisionerTagCall wrap *gomock.Call

func (*MockMachineProvisionerTagCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerTagCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerTagCall) Return

Return rewrite *gomock.Call.Return

type MockMachineProvisionerWatchContainersCall

type MockMachineProvisionerWatchContainersCall struct {
	*gomock.Call
}

MockMachineProvisionerWatchContainersCall wrap *gomock.Call

func (*MockMachineProvisionerWatchContainersCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineProvisionerWatchContainersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineProvisionerWatchContainersCall) Return

Return rewrite *gomock.Call.Return

type MockState

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

MockState is a mock of State interface.

func NewMockState

func NewMockState(ctrl *gomock.Controller) *MockState

NewMockState creates a new mock instance.

func (*MockState) ContainerConfig

func (m *MockState) ContainerConfig(arg0 context.Context) (params.ContainerConfig, error)

ContainerConfig mocks base method.

func (*MockState) ContainerManagerConfig

ContainerManagerConfig mocks base method.

func (*MockState) EXPECT

func (m *MockState) EXPECT() *MockStateMockRecorder

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

func (*MockState) GetContainerProfileInfo

func (m *MockState) GetContainerProfileInfo(arg0 context.Context, arg1 names.MachineTag) ([]*provisioner.LXDProfileResult, error)

GetContainerProfileInfo mocks base method.

func (*MockState) HostChangesForContainer

func (m *MockState) HostChangesForContainer(arg0 context.Context, arg1 names.MachineTag) ([]network0.DeviceToBridge, int, error)

HostChangesForContainer mocks base method.

func (*MockState) Machines

func (m *MockState) Machines(arg0 context.Context, arg1 ...names.MachineTag) ([]provisioner.MachineResult, error)

Machines mocks base method.

func (*MockState) PrepareContainerInterfaceInfo

func (m *MockState) PrepareContainerInterfaceInfo(arg0 context.Context, arg1 names.MachineTag) (network.InterfaceInfos, error)

PrepareContainerInterfaceInfo mocks base method.

func (*MockState) ReleaseContainerAddresses

func (m *MockState) ReleaseContainerAddresses(arg0 context.Context, arg1 names.MachineTag) error

ReleaseContainerAddresses mocks base method.

func (*MockState) SetHostMachineNetworkConfig

func (m *MockState) SetHostMachineNetworkConfig(arg0 context.Context, arg1 names.MachineTag, arg2 []params.NetworkConfig) error

SetHostMachineNetworkConfig mocks base method.

type MockStateContainerConfigCall

type MockStateContainerConfigCall struct {
	*gomock.Call
}

MockStateContainerConfigCall wrap *gomock.Call

func (*MockStateContainerConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockStateContainerConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStateContainerConfigCall) Return

Return rewrite *gomock.Call.Return

type MockStateContainerManagerConfigCall

type MockStateContainerManagerConfigCall struct {
	*gomock.Call
}

MockStateContainerManagerConfigCall wrap *gomock.Call

func (*MockStateContainerManagerConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockStateContainerManagerConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStateContainerManagerConfigCall) Return

Return rewrite *gomock.Call.Return

type MockStateGetContainerProfileInfoCall

type MockStateGetContainerProfileInfoCall struct {
	*gomock.Call
}

MockStateGetContainerProfileInfoCall wrap *gomock.Call

func (*MockStateGetContainerProfileInfoCall) Do

Do rewrite *gomock.Call.Do

func (*MockStateGetContainerProfileInfoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStateGetContainerProfileInfoCall) Return

Return rewrite *gomock.Call.Return

type MockStateHostChangesForContainerCall

type MockStateHostChangesForContainerCall struct {
	*gomock.Call
}

MockStateHostChangesForContainerCall wrap *gomock.Call

func (*MockStateHostChangesForContainerCall) Do

Do rewrite *gomock.Call.Do

func (*MockStateHostChangesForContainerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStateHostChangesForContainerCall) Return

Return rewrite *gomock.Call.Return

type MockStateMachinesCall

type MockStateMachinesCall struct {
	*gomock.Call
}

MockStateMachinesCall wrap *gomock.Call

func (*MockStateMachinesCall) Do

Do rewrite *gomock.Call.Do

func (*MockStateMachinesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStateMachinesCall) Return

Return rewrite *gomock.Call.Return

type MockStateMockRecorder

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

MockStateMockRecorder is the mock recorder for MockState.

func (*MockStateMockRecorder) ContainerConfig

func (mr *MockStateMockRecorder) ContainerConfig(arg0 any) *MockStateContainerConfigCall

ContainerConfig indicates an expected call of ContainerConfig.

func (*MockStateMockRecorder) ContainerManagerConfig

func (mr *MockStateMockRecorder) ContainerManagerConfig(arg0, arg1 any) *MockStateContainerManagerConfigCall

ContainerManagerConfig indicates an expected call of ContainerManagerConfig.

func (*MockStateMockRecorder) GetContainerProfileInfo

func (mr *MockStateMockRecorder) GetContainerProfileInfo(arg0, arg1 any) *MockStateGetContainerProfileInfoCall

GetContainerProfileInfo indicates an expected call of GetContainerProfileInfo.

func (*MockStateMockRecorder) HostChangesForContainer

func (mr *MockStateMockRecorder) HostChangesForContainer(arg0, arg1 any) *MockStateHostChangesForContainerCall

HostChangesForContainer indicates an expected call of HostChangesForContainer.

func (*MockStateMockRecorder) Machines

func (mr *MockStateMockRecorder) Machines(arg0 any, arg1 ...any) *MockStateMachinesCall

Machines indicates an expected call of Machines.

func (*MockStateMockRecorder) PrepareContainerInterfaceInfo

func (mr *MockStateMockRecorder) PrepareContainerInterfaceInfo(arg0, arg1 any) *MockStatePrepareContainerInterfaceInfoCall

PrepareContainerInterfaceInfo indicates an expected call of PrepareContainerInterfaceInfo.

func (*MockStateMockRecorder) ReleaseContainerAddresses

func (mr *MockStateMockRecorder) ReleaseContainerAddresses(arg0, arg1 any) *MockStateReleaseContainerAddressesCall

ReleaseContainerAddresses indicates an expected call of ReleaseContainerAddresses.

func (*MockStateMockRecorder) SetHostMachineNetworkConfig

func (mr *MockStateMockRecorder) SetHostMachineNetworkConfig(arg0, arg1, arg2 any) *MockStateSetHostMachineNetworkConfigCall

SetHostMachineNetworkConfig indicates an expected call of SetHostMachineNetworkConfig.

type MockStatePrepareContainerInterfaceInfoCall

type MockStatePrepareContainerInterfaceInfoCall struct {
	*gomock.Call
}

MockStatePrepareContainerInterfaceInfoCall wrap *gomock.Call

func (*MockStatePrepareContainerInterfaceInfoCall) Do

Do rewrite *gomock.Call.Do

func (*MockStatePrepareContainerInterfaceInfoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStatePrepareContainerInterfaceInfoCall) Return

Return rewrite *gomock.Call.Return

type MockStateReleaseContainerAddressesCall

type MockStateReleaseContainerAddressesCall struct {
	*gomock.Call
}

MockStateReleaseContainerAddressesCall wrap *gomock.Call

func (*MockStateReleaseContainerAddressesCall) Do

Do rewrite *gomock.Call.Do

func (*MockStateReleaseContainerAddressesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStateReleaseContainerAddressesCall) Return

Return rewrite *gomock.Call.Return

type MockStateSetHostMachineNetworkConfigCall

type MockStateSetHostMachineNetworkConfigCall struct {
	*gomock.Call
}

MockStateSetHostMachineNetworkConfigCall wrap *gomock.Call

func (*MockStateSetHostMachineNetworkConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockStateSetHostMachineNetworkConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStateSetHostMachineNetworkConfigCall) Return

Return rewrite *gomock.Call.Return

type MockWorker

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

MockWorker is a mock of Worker interface.

func NewMockWorker

func NewMockWorker(ctrl *gomock.Controller) *MockWorker

NewMockWorker creates a new mock instance.

func (*MockWorker) EXPECT

func (m *MockWorker) EXPECT() *MockWorkerMockRecorder

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

func (*MockWorker) Kill

func (m *MockWorker) Kill()

Kill mocks base method.

func (*MockWorker) Wait

func (m *MockWorker) Wait() error

Wait mocks base method.

type MockWorkerKillCall

type MockWorkerKillCall struct {
	*gomock.Call
}

MockWorkerKillCall wrap *gomock.Call

func (*MockWorkerKillCall) Do

func (c *MockWorkerKillCall) Do(f func()) *MockWorkerKillCall

Do rewrite *gomock.Call.Do

func (*MockWorkerKillCall) DoAndReturn

func (c *MockWorkerKillCall) DoAndReturn(f func()) *MockWorkerKillCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWorkerKillCall) Return

Return rewrite *gomock.Call.Return

type MockWorkerMockRecorder

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

MockWorkerMockRecorder is the mock recorder for MockWorker.

func (*MockWorkerMockRecorder) Kill

Kill indicates an expected call of Kill.

func (*MockWorkerMockRecorder) Wait

Wait indicates an expected call of Wait.

type MockWorkerWaitCall

type MockWorkerWaitCall struct {
	*gomock.Call
}

MockWorkerWaitCall wrap *gomock.Call

func (*MockWorkerWaitCall) Do

func (c *MockWorkerWaitCall) Do(f func() error) *MockWorkerWaitCall

Do rewrite *gomock.Call.Do

func (*MockWorkerWaitCall) DoAndReturn

func (c *MockWorkerWaitCall) DoAndReturn(f func() error) *MockWorkerWaitCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWorkerWaitCall) Return

func (c *MockWorkerWaitCall) Return(arg0 error) *MockWorkerWaitCall

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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