mocks

package
v0.0.0-...-23dbee4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: AGPL-3.0 Imports: 31 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 MockEnviron

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

MockEnviron is a mock of Environ interface.

func NewMockEnviron

func NewMockEnviron(ctrl *gomock.Controller) *MockEnviron

NewMockEnviron creates a new mock instance.

func (*MockEnviron) AdoptResources

func (m *MockEnviron) AdoptResources(arg0 envcontext.ProviderCallContext, arg1 string, arg2 version.Number) error

AdoptResources mocks base method.

func (*MockEnviron) AllInstances

AllInstances mocks base method.

func (*MockEnviron) AllRunningInstances

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

AllRunningInstances mocks base method.

func (*MockEnviron) Bootstrap

Bootstrap mocks base method.

func (*MockEnviron) Config

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

Config mocks base method.

func (*MockEnviron) ConstraintsValidator

func (m *MockEnviron) ConstraintsValidator(arg0 envcontext.ProviderCallContext) (constraints.Validator, error)

ConstraintsValidator mocks base method.

func (*MockEnviron) ControllerInstances

func (m *MockEnviron) ControllerInstances(arg0 envcontext.ProviderCallContext, arg1 string) ([]instance.Id, error)

ControllerInstances mocks base method.

func (*MockEnviron) Create

Create mocks base method.

func (*MockEnviron) Destroy

Destroy mocks base method.

func (*MockEnviron) DestroyController

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

DestroyController mocks base method.

func (*MockEnviron) EXPECT

func (m *MockEnviron) EXPECT() *MockEnvironMockRecorder

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

func (*MockEnviron) InstanceTypes

InstanceTypes mocks base method.

func (*MockEnviron) Instances

func (m *MockEnviron) Instances(arg0 envcontext.ProviderCallContext, arg1 []instance.Id) ([]instances.Instance, error)

Instances mocks base method.

func (*MockEnviron) PrecheckInstance

PrecheckInstance mocks base method.

func (*MockEnviron) PrepareForBootstrap

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

PrepareForBootstrap mocks base method.

func (*MockEnviron) Provider

func (m *MockEnviron) Provider() environs.EnvironProvider

Provider mocks base method.

func (*MockEnviron) SetConfig

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

SetConfig mocks base method.

func (*MockEnviron) StartInstance

StartInstance mocks base method.

func (*MockEnviron) StopInstances

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

StopInstances mocks base method.

func (*MockEnviron) StorageProvider

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

StorageProvider mocks base method.

func (*MockEnviron) StorageProviderTypes

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

StorageProviderTypes mocks base method.

type MockEnvironAdoptResourcesCall

type MockEnvironAdoptResourcesCall struct {
	*gomock.Call
}

MockEnvironAdoptResourcesCall wrap *gomock.Call

func (*MockEnvironAdoptResourcesCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironAdoptResourcesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironAdoptResourcesCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironAllInstancesCall

type MockEnvironAllInstancesCall struct {
	*gomock.Call
}

MockEnvironAllInstancesCall wrap *gomock.Call

func (*MockEnvironAllInstancesCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironAllInstancesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironAllInstancesCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironAllRunningInstancesCall

type MockEnvironAllRunningInstancesCall struct {
	*gomock.Call
}

MockEnvironAllRunningInstancesCall wrap *gomock.Call

func (*MockEnvironAllRunningInstancesCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironAllRunningInstancesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironAllRunningInstancesCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironBootstrapCall

type MockEnvironBootstrapCall struct {
	*gomock.Call
}

MockEnvironBootstrapCall wrap *gomock.Call

func (*MockEnvironBootstrapCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironBootstrapCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironConfigCall

type MockEnvironConfigCall struct {
	*gomock.Call
}

MockEnvironConfigCall wrap *gomock.Call

func (*MockEnvironConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironConfigCall) DoAndReturn

func (c *MockEnvironConfigCall) DoAndReturn(f func() *config.Config) *MockEnvironConfigCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironConfigCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironConstraintsValidatorCall

type MockEnvironConstraintsValidatorCall struct {
	*gomock.Call
}

MockEnvironConstraintsValidatorCall wrap *gomock.Call

func (*MockEnvironConstraintsValidatorCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironConstraintsValidatorCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironConstraintsValidatorCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironControllerInstancesCall

type MockEnvironControllerInstancesCall struct {
	*gomock.Call
}

MockEnvironControllerInstancesCall wrap *gomock.Call

func (*MockEnvironControllerInstancesCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironControllerInstancesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironControllerInstancesCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironCreateCall

type MockEnvironCreateCall struct {
	*gomock.Call
}

MockEnvironCreateCall wrap *gomock.Call

func (*MockEnvironCreateCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironCreateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironCreateCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironDestroyCall

type MockEnvironDestroyCall struct {
	*gomock.Call
}

MockEnvironDestroyCall wrap *gomock.Call

func (*MockEnvironDestroyCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironDestroyCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironDestroyCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironDestroyControllerCall

type MockEnvironDestroyControllerCall struct {
	*gomock.Call
}

MockEnvironDestroyControllerCall wrap *gomock.Call

func (*MockEnvironDestroyControllerCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironDestroyControllerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironDestroyControllerCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironInstanceTypesCall

type MockEnvironInstanceTypesCall struct {
	*gomock.Call
}

MockEnvironInstanceTypesCall wrap *gomock.Call

func (*MockEnvironInstanceTypesCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironInstanceTypesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironInstanceTypesCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironInstancesCall

type MockEnvironInstancesCall struct {
	*gomock.Call
}

MockEnvironInstancesCall wrap *gomock.Call

func (*MockEnvironInstancesCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironInstancesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironInstancesCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironMockRecorder

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

MockEnvironMockRecorder is the mock recorder for MockEnviron.

func (*MockEnvironMockRecorder) AdoptResources

func (mr *MockEnvironMockRecorder) AdoptResources(arg0, arg1, arg2 any) *MockEnvironAdoptResourcesCall

AdoptResources indicates an expected call of AdoptResources.

func (*MockEnvironMockRecorder) AllInstances

AllInstances indicates an expected call of AllInstances.

func (*MockEnvironMockRecorder) AllRunningInstances

func (mr *MockEnvironMockRecorder) AllRunningInstances(arg0 any) *MockEnvironAllRunningInstancesCall

AllRunningInstances indicates an expected call of AllRunningInstances.

func (*MockEnvironMockRecorder) Bootstrap

func (mr *MockEnvironMockRecorder) Bootstrap(arg0, arg1, arg2 any) *MockEnvironBootstrapCall

Bootstrap indicates an expected call of Bootstrap.

func (*MockEnvironMockRecorder) Config

Config indicates an expected call of Config.

func (*MockEnvironMockRecorder) ConstraintsValidator

func (mr *MockEnvironMockRecorder) ConstraintsValidator(arg0 any) *MockEnvironConstraintsValidatorCall

ConstraintsValidator indicates an expected call of ConstraintsValidator.

func (*MockEnvironMockRecorder) ControllerInstances

func (mr *MockEnvironMockRecorder) ControllerInstances(arg0, arg1 any) *MockEnvironControllerInstancesCall

ControllerInstances indicates an expected call of ControllerInstances.

func (*MockEnvironMockRecorder) Create

func (mr *MockEnvironMockRecorder) Create(arg0, arg1 any) *MockEnvironCreateCall

Create indicates an expected call of Create.

func (*MockEnvironMockRecorder) Destroy

Destroy indicates an expected call of Destroy.

func (*MockEnvironMockRecorder) DestroyController

func (mr *MockEnvironMockRecorder) DestroyController(arg0, arg1 any) *MockEnvironDestroyControllerCall

DestroyController indicates an expected call of DestroyController.

func (*MockEnvironMockRecorder) InstanceTypes

func (mr *MockEnvironMockRecorder) InstanceTypes(arg0, arg1 any) *MockEnvironInstanceTypesCall

InstanceTypes indicates an expected call of InstanceTypes.

func (*MockEnvironMockRecorder) Instances

func (mr *MockEnvironMockRecorder) Instances(arg0, arg1 any) *MockEnvironInstancesCall

Instances indicates an expected call of Instances.

func (*MockEnvironMockRecorder) PrecheckInstance

func (mr *MockEnvironMockRecorder) PrecheckInstance(arg0, arg1 any) *MockEnvironPrecheckInstanceCall

PrecheckInstance indicates an expected call of PrecheckInstance.

func (*MockEnvironMockRecorder) PrepareForBootstrap

func (mr *MockEnvironMockRecorder) PrepareForBootstrap(arg0, arg1 any) *MockEnvironPrepareForBootstrapCall

PrepareForBootstrap indicates an expected call of PrepareForBootstrap.

func (*MockEnvironMockRecorder) Provider

Provider indicates an expected call of Provider.

func (*MockEnvironMockRecorder) SetConfig

func (mr *MockEnvironMockRecorder) SetConfig(arg0, arg1 any) *MockEnvironSetConfigCall

SetConfig indicates an expected call of SetConfig.

func (*MockEnvironMockRecorder) StartInstance

func (mr *MockEnvironMockRecorder) StartInstance(arg0, arg1 any) *MockEnvironStartInstanceCall

StartInstance indicates an expected call of StartInstance.

func (*MockEnvironMockRecorder) StopInstances

func (mr *MockEnvironMockRecorder) StopInstances(arg0 any, arg1 ...any) *MockEnvironStopInstancesCall

StopInstances indicates an expected call of StopInstances.

func (*MockEnvironMockRecorder) StorageProvider

func (mr *MockEnvironMockRecorder) StorageProvider(arg0 any) *MockEnvironStorageProviderCall

StorageProvider indicates an expected call of StorageProvider.

func (*MockEnvironMockRecorder) StorageProviderTypes

StorageProviderTypes indicates an expected call of StorageProviderTypes.

type MockEnvironPrecheckInstanceCall

type MockEnvironPrecheckInstanceCall struct {
	*gomock.Call
}

MockEnvironPrecheckInstanceCall wrap *gomock.Call

func (*MockEnvironPrecheckInstanceCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironPrecheckInstanceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironPrecheckInstanceCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironPrepareForBootstrapCall

type MockEnvironPrepareForBootstrapCall struct {
	*gomock.Call
}

MockEnvironPrepareForBootstrapCall wrap *gomock.Call

func (*MockEnvironPrepareForBootstrapCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironPrepareForBootstrapCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironPrepareForBootstrapCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironProviderCall

type MockEnvironProviderCall struct {
	*gomock.Call
}

MockEnvironProviderCall wrap *gomock.Call

func (*MockEnvironProviderCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironProviderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironProviderCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironSetConfigCall

type MockEnvironSetConfigCall struct {
	*gomock.Call
}

MockEnvironSetConfigCall wrap *gomock.Call

func (*MockEnvironSetConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironSetConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironSetConfigCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironStartInstanceCall

type MockEnvironStartInstanceCall struct {
	*gomock.Call
}

MockEnvironStartInstanceCall wrap *gomock.Call

func (*MockEnvironStartInstanceCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironStartInstanceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironStartInstanceCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironStopInstancesCall

type MockEnvironStopInstancesCall struct {
	*gomock.Call
}

MockEnvironStopInstancesCall wrap *gomock.Call

func (*MockEnvironStopInstancesCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironStopInstancesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironStopInstancesCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironStorageProviderCall

type MockEnvironStorageProviderCall struct {
	*gomock.Call
}

MockEnvironStorageProviderCall wrap *gomock.Call

func (*MockEnvironStorageProviderCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironStorageProviderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironStorageProviderCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironStorageProviderTypesCall

type MockEnvironStorageProviderTypesCall struct {
	*gomock.Call
}

MockEnvironStorageProviderTypesCall wrap *gomock.Call

func (*MockEnvironStorageProviderTypesCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironStorageProviderTypesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironStorageProviderTypesCall) 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 MockInstanceMutaterAPI

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

MockInstanceMutaterAPI is a mock of InstanceMutaterAPI interface.

func NewMockInstanceMutaterAPI

func NewMockInstanceMutaterAPI(ctrl *gomock.Controller) *MockInstanceMutaterAPI

NewMockInstanceMutaterAPI creates a new mock instance.

func (*MockInstanceMutaterAPI) EXPECT

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

func (*MockInstanceMutaterAPI) Machine

Machine mocks base method.

func (*MockInstanceMutaterAPI) WatchModelMachines

func (m *MockInstanceMutaterAPI) WatchModelMachines(arg0 context.Context) (watcher.Watcher[[]string], error)

WatchModelMachines mocks base method.

type MockInstanceMutaterAPIMachineCall

type MockInstanceMutaterAPIMachineCall struct {
	*gomock.Call
}

MockInstanceMutaterAPIMachineCall wrap *gomock.Call

func (*MockInstanceMutaterAPIMachineCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceMutaterAPIMachineCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceMutaterAPIMachineCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceMutaterAPIMockRecorder

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

MockInstanceMutaterAPIMockRecorder is the mock recorder for MockInstanceMutaterAPI.

func (*MockInstanceMutaterAPIMockRecorder) Machine

Machine indicates an expected call of Machine.

func (*MockInstanceMutaterAPIMockRecorder) WatchModelMachines

WatchModelMachines indicates an expected call of WatchModelMachines.

type MockInstanceMutaterAPIWatchModelMachinesCall

type MockInstanceMutaterAPIWatchModelMachinesCall struct {
	*gomock.Call
}

MockInstanceMutaterAPIWatchModelMachinesCall wrap *gomock.Call

func (*MockInstanceMutaterAPIWatchModelMachinesCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceMutaterAPIWatchModelMachinesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceMutaterAPIWatchModelMachinesCall) 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 MockMutaterContext

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

MockMutaterContext is a mock of MutaterContext interface.

func NewMockMutaterContext

func NewMockMutaterContext(ctrl *gomock.Controller) *MockMutaterContext

NewMockMutaterContext creates a new mock instance.

func (*MockMutaterContext) EXPECT

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

func (*MockMutaterContext) KillWithError

func (m *MockMutaterContext) KillWithError(arg0 error)

KillWithError mocks base method.

type MockMutaterContextKillWithErrorCall

type MockMutaterContextKillWithErrorCall struct {
	*gomock.Call
}

MockMutaterContextKillWithErrorCall wrap *gomock.Call

func (*MockMutaterContextKillWithErrorCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterContextKillWithErrorCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterContextKillWithErrorCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterContextMockRecorder

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

MockMutaterContextMockRecorder is the mock recorder for MockMutaterContext.

func (*MockMutaterContextMockRecorder) KillWithError

KillWithError indicates an expected call of KillWithError.

type MockMutaterContextaddCall

type MockMutaterContextaddCall struct {
	*gomock.Call
}

MockMutaterContextaddCall wrap *gomock.Call

func (*MockMutaterContextaddCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterContextaddCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterContextaddCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterContextdyingCall

type MockMutaterContextdyingCall struct {
	*gomock.Call
}

MockMutaterContextdyingCall wrap *gomock.Call

func (*MockMutaterContextdyingCall) Do

func (c *MockMutaterContextdyingCall) Do(f func() <-chan struct{}) *MockMutaterContextdyingCall

Do rewrite *gomock.Call.Do

func (*MockMutaterContextdyingCall) DoAndReturn

func (c *MockMutaterContextdyingCall) DoAndReturn(f func() <-chan struct{}) *MockMutaterContextdyingCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterContextdyingCall) Return

func (c *MockMutaterContextdyingCall) Return(arg0 <-chan struct{}) *MockMutaterContextdyingCall

Return rewrite *gomock.Call.Return

type MockMutaterContexterrDyingCall

type MockMutaterContexterrDyingCall struct {
	*gomock.Call
}

MockMutaterContexterrDyingCall wrap *gomock.Call

func (*MockMutaterContexterrDyingCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterContexterrDyingCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterContexterrDyingCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterContextgetBrokerCall

type MockMutaterContextgetBrokerCall struct {
	*gomock.Call
}

MockMutaterContextgetBrokerCall wrap *gomock.Call

func (*MockMutaterContextgetBrokerCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterContextgetBrokerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterContextgetBrokerCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterContextgetMachineCall

type MockMutaterContextgetMachineCall struct {
	*gomock.Call
}

MockMutaterContextgetMachineCall wrap *gomock.Call

func (*MockMutaterContextgetMachineCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterContextgetMachineCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterContextgetMachineCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterContextgetRequiredLXDProfilesCall

type MockMutaterContextgetRequiredLXDProfilesCall struct {
	*gomock.Call
}

MockMutaterContextgetRequiredLXDProfilesCall wrap *gomock.Call

func (*MockMutaterContextgetRequiredLXDProfilesCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterContextgetRequiredLXDProfilesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterContextgetRequiredLXDProfilesCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterContextnewMachineContextCall

type MockMutaterContextnewMachineContextCall struct {
	*gomock.Call
}

MockMutaterContextnewMachineContextCall wrap *gomock.Call

func (*MockMutaterContextnewMachineContextCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterContextnewMachineContextCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterContextnewMachineContextCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterMachine

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

MockMutaterMachine is a mock of MutaterMachine interface.

func NewMockMutaterMachine

func NewMockMutaterMachine(ctrl *gomock.Controller) *MockMutaterMachine

NewMockMutaterMachine creates a new mock instance.

func (*MockMutaterMachine) CharmProfilingInfo

func (m *MockMutaterMachine) CharmProfilingInfo(arg0 context.Context) (*instancemutater.UnitProfileInfo, error)

CharmProfilingInfo mocks base method.

func (*MockMutaterMachine) ContainerType

func (m *MockMutaterMachine) ContainerType(arg0 context.Context) (instance.ContainerType, error)

ContainerType mocks base method.

func (*MockMutaterMachine) EXPECT

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

func (*MockMutaterMachine) InstanceId

func (m *MockMutaterMachine) InstanceId(arg0 context.Context) (string, error)

InstanceId mocks base method.

func (*MockMutaterMachine) Life

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

Life mocks base method.

func (*MockMutaterMachine) Refresh

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

Refresh mocks base method.

func (*MockMutaterMachine) SetCharmProfiles

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

SetCharmProfiles mocks base method.

func (*MockMutaterMachine) SetModificationStatus

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

SetModificationStatus mocks base method.

func (*MockMutaterMachine) Tag

Tag mocks base method.

func (*MockMutaterMachine) WatchContainers

func (m *MockMutaterMachine) WatchContainers(arg0 context.Context) (watcher.Watcher[[]string], error)

WatchContainers mocks base method.

func (*MockMutaterMachine) WatchLXDProfileVerificationNeeded

func (m *MockMutaterMachine) WatchLXDProfileVerificationNeeded(arg0 context.Context) (watcher.Watcher[struct{}], error)

WatchLXDProfileVerificationNeeded mocks base method.

func (*MockMutaterMachine) WatchUnits

func (m *MockMutaterMachine) WatchUnits(arg0 context.Context) (watcher.Watcher[[]string], error)

WatchUnits mocks base method.

type MockMutaterMachineCharmProfilingInfoCall

type MockMutaterMachineCharmProfilingInfoCall struct {
	*gomock.Call
}

MockMutaterMachineCharmProfilingInfoCall wrap *gomock.Call

func (*MockMutaterMachineCharmProfilingInfoCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterMachineCharmProfilingInfoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterMachineCharmProfilingInfoCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterMachineContainerTypeCall

type MockMutaterMachineContainerTypeCall struct {
	*gomock.Call
}

MockMutaterMachineContainerTypeCall wrap *gomock.Call

func (*MockMutaterMachineContainerTypeCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterMachineContainerTypeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterMachineContainerTypeCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterMachineInstanceIdCall

type MockMutaterMachineInstanceIdCall struct {
	*gomock.Call
}

MockMutaterMachineInstanceIdCall wrap *gomock.Call

func (*MockMutaterMachineInstanceIdCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterMachineInstanceIdCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterMachineInstanceIdCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterMachineLifeCall

type MockMutaterMachineLifeCall struct {
	*gomock.Call
}

MockMutaterMachineLifeCall wrap *gomock.Call

func (*MockMutaterMachineLifeCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterMachineLifeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterMachineLifeCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterMachineMockRecorder

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

MockMutaterMachineMockRecorder is the mock recorder for MockMutaterMachine.

func (*MockMutaterMachineMockRecorder) CharmProfilingInfo

CharmProfilingInfo indicates an expected call of CharmProfilingInfo.

func (*MockMutaterMachineMockRecorder) ContainerType

ContainerType indicates an expected call of ContainerType.

func (*MockMutaterMachineMockRecorder) InstanceId

InstanceId indicates an expected call of InstanceId.

func (*MockMutaterMachineMockRecorder) Life

Life indicates an expected call of Life.

func (*MockMutaterMachineMockRecorder) Refresh

Refresh indicates an expected call of Refresh.

func (*MockMutaterMachineMockRecorder) SetCharmProfiles

SetCharmProfiles indicates an expected call of SetCharmProfiles.

func (*MockMutaterMachineMockRecorder) SetModificationStatus

func (mr *MockMutaterMachineMockRecorder) SetModificationStatus(arg0, arg1, arg2, arg3 any) *MockMutaterMachineSetModificationStatusCall

SetModificationStatus indicates an expected call of SetModificationStatus.

func (*MockMutaterMachineMockRecorder) Tag

Tag indicates an expected call of Tag.

func (*MockMutaterMachineMockRecorder) WatchContainers

WatchContainers indicates an expected call of WatchContainers.

func (*MockMutaterMachineMockRecorder) WatchLXDProfileVerificationNeeded

WatchLXDProfileVerificationNeeded indicates an expected call of WatchLXDProfileVerificationNeeded.

func (*MockMutaterMachineMockRecorder) WatchUnits

WatchUnits indicates an expected call of WatchUnits.

type MockMutaterMachineRefreshCall

type MockMutaterMachineRefreshCall struct {
	*gomock.Call
}

MockMutaterMachineRefreshCall wrap *gomock.Call

func (*MockMutaterMachineRefreshCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterMachineRefreshCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterMachineRefreshCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterMachineSetCharmProfilesCall

type MockMutaterMachineSetCharmProfilesCall struct {
	*gomock.Call
}

MockMutaterMachineSetCharmProfilesCall wrap *gomock.Call

func (*MockMutaterMachineSetCharmProfilesCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterMachineSetCharmProfilesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterMachineSetCharmProfilesCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterMachineSetModificationStatusCall

type MockMutaterMachineSetModificationStatusCall struct {
	*gomock.Call
}

MockMutaterMachineSetModificationStatusCall wrap *gomock.Call

func (*MockMutaterMachineSetModificationStatusCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterMachineSetModificationStatusCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterMachineSetModificationStatusCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterMachineTagCall

type MockMutaterMachineTagCall struct {
	*gomock.Call
}

MockMutaterMachineTagCall wrap *gomock.Call

func (*MockMutaterMachineTagCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterMachineTagCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterMachineTagCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterMachineWatchContainersCall

type MockMutaterMachineWatchContainersCall struct {
	*gomock.Call
}

MockMutaterMachineWatchContainersCall wrap *gomock.Call

func (*MockMutaterMachineWatchContainersCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterMachineWatchContainersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterMachineWatchContainersCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterMachineWatchLXDProfileVerificationNeededCall

type MockMutaterMachineWatchLXDProfileVerificationNeededCall struct {
	*gomock.Call
}

MockMutaterMachineWatchLXDProfileVerificationNeededCall wrap *gomock.Call

func (*MockMutaterMachineWatchLXDProfileVerificationNeededCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterMachineWatchLXDProfileVerificationNeededCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterMachineWatchLXDProfileVerificationNeededCall) Return

Return rewrite *gomock.Call.Return

type MockMutaterMachineWatchUnitsCall

type MockMutaterMachineWatchUnitsCall struct {
	*gomock.Call
}

MockMutaterMachineWatchUnitsCall wrap *gomock.Call

func (*MockMutaterMachineWatchUnitsCall) Do

Do rewrite *gomock.Call.Do

func (*MockMutaterMachineWatchUnitsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMutaterMachineWatchUnitsCall) 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