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: 15 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 MockMachine

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

MockMachine is a mock of Machine interface.

func NewMockMachine

func NewMockMachine(ctrl *gomock.Controller) *MockMachine

NewMockMachine creates a new mock instance.

func (*MockMachine) EXPECT

func (m *MockMachine) EXPECT() *MockMachineMockRecorder

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

func (*MockMachine) IsController

func (m *MockMachine) IsController(arg0 context.Context, arg1 string) (bool, error)

IsController mocks base method.

func (*MockMachine) Watch

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

Watch mocks base method.

type MockMachineIsControllerCall

type MockMachineIsControllerCall struct {
	*gomock.Call
}

MockMachineIsControllerCall wrap *gomock.Call

func (*MockMachineIsControllerCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineIsControllerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineIsControllerCall) Return

Return rewrite *gomock.Call.Return

type MockMachineMockRecorder

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

MockMachineMockRecorder is the mock recorder for MockMachine.

func (*MockMachineMockRecorder) IsController

func (mr *MockMachineMockRecorder) IsController(arg0, arg1 any) *MockMachineIsControllerCall

IsController indicates an expected call of IsController.

func (*MockMachineMockRecorder) Watch

Watch indicates an expected call of Watch.

type MockMachineWatchCall

type MockMachineWatchCall struct {
	*gomock.Call
}

MockMachineWatchCall wrap *gomock.Call

func (*MockMachineWatchCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachineWatchCall) DoAndReturn

func (c *MockMachineWatchCall) DoAndReturn(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockMachineWatchCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachineWatchCall) Return

func (c *MockMachineWatchCall) Return(arg0 watcher.Watcher[struct{}], arg1 error) *MockMachineWatchCall

Return rewrite *gomock.Call.Return

type MockMachiner

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

MockMachiner is a mock of Machiner interface.

func NewMockMachiner

func NewMockMachiner(ctrl *gomock.Controller) *MockMachiner

NewMockMachiner creates a new mock instance.

func (*MockMachiner) EXPECT

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

func (*MockMachiner) Machine

Machine mocks base method.

type MockMachinerMachineCall

type MockMachinerMachineCall struct {
	*gomock.Call
}

MockMachinerMachineCall wrap *gomock.Call

func (*MockMachinerMachineCall) Do

Do rewrite *gomock.Call.Do

func (*MockMachinerMachineCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMachinerMachineCall) Return

Return rewrite *gomock.Call.Return

type MockMachinerMockRecorder

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

MockMachinerMockRecorder is the mock recorder for MockMachiner.

func (*MockMachinerMockRecorder) Machine

func (mr *MockMachinerMockRecorder) Machine(arg0, arg1 any) *MockMachinerMachineCall

Machine indicates an expected call of Machine.

Jump to

Keyboard shortcuts

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