Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAgent
- type MockAgentChangeConfigCall
- type MockAgentCurrentConfigCall
- type MockAgentMockRecorder
- type MockConfig
- func (m *MockConfig) APIAddresses() ([]string, error)
- func (m *MockConfig) APIInfo() (*api.Info, bool)
- func (m *MockConfig) AgentLogfileMaxBackups() int
- func (m *MockConfig) AgentLogfileMaxSizeMB() int
- func (m *MockConfig) CACert() string
- func (m *MockConfig) Controller() names.ControllerTag
- func (m *MockConfig) DataDir() string
- func (m *MockConfig) Dir() string
- func (m *MockConfig) DqlitePort() (int, bool)
- func (m *MockConfig) EXPECT() *MockConfigMockRecorder
- func (m *MockConfig) Jobs() []model.MachineJob
- func (m *MockConfig) JujuDBSnapChannel() string
- func (m *MockConfig) LogDir() string
- func (m *MockConfig) LoggingConfig() string
- func (m *MockConfig) MetricsSpoolDir() string
- func (m *MockConfig) Model() names.ModelTag
- func (m *MockConfig) MongoInfo() (*mongo.MongoInfo, bool)
- func (m *MockConfig) MongoMemoryProfile() mongo.MemoryProfile
- func (m *MockConfig) Nonce() string
- func (m *MockConfig) ObjectStoreType() objectstore.BackendType
- func (m *MockConfig) OldPassword() string
- func (m *MockConfig) OpenTelemetryEnabled() bool
- func (m *MockConfig) OpenTelemetryEndpoint() string
- func (m *MockConfig) OpenTelemetryInsecure() bool
- func (m *MockConfig) OpenTelemetrySampleRatio() float64
- func (m *MockConfig) OpenTelemetryStackTraces() bool
- func (m *MockConfig) OpenTelemetryTailSamplingThreshold() time.Duration
- func (m *MockConfig) QueryTracingEnabled() bool
- func (m *MockConfig) QueryTracingThreshold() time.Duration
- func (m *MockConfig) StateServingInfo() (controller.StateServingInfo, bool)
- func (m *MockConfig) SystemIdentityPath() string
- func (m *MockConfig) Tag() names.Tag
- func (m *MockConfig) TransientDataDir() string
- func (m *MockConfig) UpgradedToVersion() version.Number
- func (m *MockConfig) Value(arg0 string) string
- func (m *MockConfig) WriteCommands(arg0 shell.Renderer) ([]string, error)
- type MockConfigAPIAddressesCall
- type MockConfigAPIInfoCall
- type MockConfigAgentLogfileMaxBackupsCall
- func (c *MockConfigAgentLogfileMaxBackupsCall) Do(f func() int) *MockConfigAgentLogfileMaxBackupsCall
- func (c *MockConfigAgentLogfileMaxBackupsCall) DoAndReturn(f func() int) *MockConfigAgentLogfileMaxBackupsCall
- func (c *MockConfigAgentLogfileMaxBackupsCall) Return(arg0 int) *MockConfigAgentLogfileMaxBackupsCall
- type MockConfigAgentLogfileMaxSizeMBCall
- func (c *MockConfigAgentLogfileMaxSizeMBCall) Do(f func() int) *MockConfigAgentLogfileMaxSizeMBCall
- func (c *MockConfigAgentLogfileMaxSizeMBCall) DoAndReturn(f func() int) *MockConfigAgentLogfileMaxSizeMBCall
- func (c *MockConfigAgentLogfileMaxSizeMBCall) Return(arg0 int) *MockConfigAgentLogfileMaxSizeMBCall
- type MockConfigCACertCall
- type MockConfigControllerCall
- type MockConfigDataDirCall
- type MockConfigDirCall
- type MockConfigDqlitePortCall
- type MockConfigJobsCall
- type MockConfigJujuDBSnapChannelCall
- type MockConfigLogDirCall
- type MockConfigLoggingConfigCall
- type MockConfigMetricsSpoolDirCall
- type MockConfigMockRecorder
- func (mr *MockConfigMockRecorder) APIAddresses() *MockConfigAPIAddressesCall
- func (mr *MockConfigMockRecorder) APIInfo() *MockConfigAPIInfoCall
- func (mr *MockConfigMockRecorder) AgentLogfileMaxBackups() *MockConfigAgentLogfileMaxBackupsCall
- func (mr *MockConfigMockRecorder) AgentLogfileMaxSizeMB() *MockConfigAgentLogfileMaxSizeMBCall
- func (mr *MockConfigMockRecorder) CACert() *MockConfigCACertCall
- func (mr *MockConfigMockRecorder) Controller() *MockConfigControllerCall
- func (mr *MockConfigMockRecorder) DataDir() *MockConfigDataDirCall
- func (mr *MockConfigMockRecorder) Dir() *MockConfigDirCall
- func (mr *MockConfigMockRecorder) DqlitePort() *MockConfigDqlitePortCall
- func (mr *MockConfigMockRecorder) Jobs() *MockConfigJobsCall
- func (mr *MockConfigMockRecorder) JujuDBSnapChannel() *MockConfigJujuDBSnapChannelCall
- func (mr *MockConfigMockRecorder) LogDir() *MockConfigLogDirCall
- func (mr *MockConfigMockRecorder) LoggingConfig() *MockConfigLoggingConfigCall
- func (mr *MockConfigMockRecorder) MetricsSpoolDir() *MockConfigMetricsSpoolDirCall
- func (mr *MockConfigMockRecorder) Model() *MockConfigModelCall
- func (mr *MockConfigMockRecorder) MongoInfo() *MockConfigMongoInfoCall
- func (mr *MockConfigMockRecorder) MongoMemoryProfile() *MockConfigMongoMemoryProfileCall
- func (mr *MockConfigMockRecorder) Nonce() *MockConfigNonceCall
- func (mr *MockConfigMockRecorder) ObjectStoreType() *MockConfigObjectStoreTypeCall
- func (mr *MockConfigMockRecorder) OldPassword() *MockConfigOldPasswordCall
- func (mr *MockConfigMockRecorder) OpenTelemetryEnabled() *MockConfigOpenTelemetryEnabledCall
- func (mr *MockConfigMockRecorder) OpenTelemetryEndpoint() *MockConfigOpenTelemetryEndpointCall
- func (mr *MockConfigMockRecorder) OpenTelemetryInsecure() *MockConfigOpenTelemetryInsecureCall
- func (mr *MockConfigMockRecorder) OpenTelemetrySampleRatio() *MockConfigOpenTelemetrySampleRatioCall
- func (mr *MockConfigMockRecorder) OpenTelemetryStackTraces() *MockConfigOpenTelemetryStackTracesCall
- func (mr *MockConfigMockRecorder) OpenTelemetryTailSamplingThreshold() *MockConfigOpenTelemetryTailSamplingThresholdCall
- func (mr *MockConfigMockRecorder) QueryTracingEnabled() *MockConfigQueryTracingEnabledCall
- func (mr *MockConfigMockRecorder) QueryTracingThreshold() *MockConfigQueryTracingThresholdCall
- func (mr *MockConfigMockRecorder) StateServingInfo() *MockConfigStateServingInfoCall
- func (mr *MockConfigMockRecorder) SystemIdentityPath() *MockConfigSystemIdentityPathCall
- func (mr *MockConfigMockRecorder) Tag() *MockConfigTagCall
- func (mr *MockConfigMockRecorder) TransientDataDir() *MockConfigTransientDataDirCall
- func (mr *MockConfigMockRecorder) UpgradedToVersion() *MockConfigUpgradedToVersionCall
- func (mr *MockConfigMockRecorder) Value(arg0 any) *MockConfigValueCall
- func (mr *MockConfigMockRecorder) WriteCommands(arg0 any) *MockConfigWriteCommandsCall
- type MockConfigModelCall
- type MockConfigMongoInfoCall
- func (c *MockConfigMongoInfoCall) Do(f func() (*mongo.MongoInfo, bool)) *MockConfigMongoInfoCall
- func (c *MockConfigMongoInfoCall) DoAndReturn(f func() (*mongo.MongoInfo, bool)) *MockConfigMongoInfoCall
- func (c *MockConfigMongoInfoCall) Return(arg0 *mongo.MongoInfo, arg1 bool) *MockConfigMongoInfoCall
- type MockConfigMongoMemoryProfileCall
- func (c *MockConfigMongoMemoryProfileCall) Do(f func() mongo.MemoryProfile) *MockConfigMongoMemoryProfileCall
- func (c *MockConfigMongoMemoryProfileCall) DoAndReturn(f func() mongo.MemoryProfile) *MockConfigMongoMemoryProfileCall
- func (c *MockConfigMongoMemoryProfileCall) Return(arg0 mongo.MemoryProfile) *MockConfigMongoMemoryProfileCall
- type MockConfigNonceCall
- type MockConfigObjectStoreTypeCall
- func (c *MockConfigObjectStoreTypeCall) Do(f func() objectstore.BackendType) *MockConfigObjectStoreTypeCall
- func (c *MockConfigObjectStoreTypeCall) DoAndReturn(f func() objectstore.BackendType) *MockConfigObjectStoreTypeCall
- func (c *MockConfigObjectStoreTypeCall) Return(arg0 objectstore.BackendType) *MockConfigObjectStoreTypeCall
- type MockConfigOldPasswordCall
- type MockConfigOpenTelemetryEnabledCall
- func (c *MockConfigOpenTelemetryEnabledCall) Do(f func() bool) *MockConfigOpenTelemetryEnabledCall
- func (c *MockConfigOpenTelemetryEnabledCall) DoAndReturn(f func() bool) *MockConfigOpenTelemetryEnabledCall
- func (c *MockConfigOpenTelemetryEnabledCall) Return(arg0 bool) *MockConfigOpenTelemetryEnabledCall
- type MockConfigOpenTelemetryEndpointCall
- func (c *MockConfigOpenTelemetryEndpointCall) Do(f func() string) *MockConfigOpenTelemetryEndpointCall
- func (c *MockConfigOpenTelemetryEndpointCall) DoAndReturn(f func() string) *MockConfigOpenTelemetryEndpointCall
- func (c *MockConfigOpenTelemetryEndpointCall) Return(arg0 string) *MockConfigOpenTelemetryEndpointCall
- type MockConfigOpenTelemetryInsecureCall
- func (c *MockConfigOpenTelemetryInsecureCall) Do(f func() bool) *MockConfigOpenTelemetryInsecureCall
- func (c *MockConfigOpenTelemetryInsecureCall) DoAndReturn(f func() bool) *MockConfigOpenTelemetryInsecureCall
- func (c *MockConfigOpenTelemetryInsecureCall) Return(arg0 bool) *MockConfigOpenTelemetryInsecureCall
- type MockConfigOpenTelemetrySampleRatioCall
- func (c *MockConfigOpenTelemetrySampleRatioCall) Do(f func() float64) *MockConfigOpenTelemetrySampleRatioCall
- func (c *MockConfigOpenTelemetrySampleRatioCall) DoAndReturn(f func() float64) *MockConfigOpenTelemetrySampleRatioCall
- func (c *MockConfigOpenTelemetrySampleRatioCall) Return(arg0 float64) *MockConfigOpenTelemetrySampleRatioCall
- type MockConfigOpenTelemetryStackTracesCall
- func (c *MockConfigOpenTelemetryStackTracesCall) Do(f func() bool) *MockConfigOpenTelemetryStackTracesCall
- func (c *MockConfigOpenTelemetryStackTracesCall) DoAndReturn(f func() bool) *MockConfigOpenTelemetryStackTracesCall
- func (c *MockConfigOpenTelemetryStackTracesCall) Return(arg0 bool) *MockConfigOpenTelemetryStackTracesCall
- type MockConfigOpenTelemetryTailSamplingThresholdCall
- func (c *MockConfigOpenTelemetryTailSamplingThresholdCall) Do(f func() time.Duration) *MockConfigOpenTelemetryTailSamplingThresholdCall
- func (c *MockConfigOpenTelemetryTailSamplingThresholdCall) DoAndReturn(f func() time.Duration) *MockConfigOpenTelemetryTailSamplingThresholdCall
- func (c *MockConfigOpenTelemetryTailSamplingThresholdCall) Return(arg0 time.Duration) *MockConfigOpenTelemetryTailSamplingThresholdCall
- type MockConfigQueryTracingEnabledCall
- type MockConfigQueryTracingThresholdCall
- func (c *MockConfigQueryTracingThresholdCall) Do(f func() time.Duration) *MockConfigQueryTracingThresholdCall
- func (c *MockConfigQueryTracingThresholdCall) DoAndReturn(f func() time.Duration) *MockConfigQueryTracingThresholdCall
- func (c *MockConfigQueryTracingThresholdCall) Return(arg0 time.Duration) *MockConfigQueryTracingThresholdCall
- type MockConfigStateServingInfoCall
- func (c *MockConfigStateServingInfoCall) Do(f func() (controller.StateServingInfo, bool)) *MockConfigStateServingInfoCall
- func (c *MockConfigStateServingInfoCall) DoAndReturn(f func() (controller.StateServingInfo, bool)) *MockConfigStateServingInfoCall
- func (c *MockConfigStateServingInfoCall) Return(arg0 controller.StateServingInfo, arg1 bool) *MockConfigStateServingInfoCall
- type MockConfigSystemIdentityPathCall
- type MockConfigTagCall
- type MockConfigTransientDataDirCall
- type MockConfigUpgradedToVersionCall
- func (c *MockConfigUpgradedToVersionCall) Do(f func() version.Number) *MockConfigUpgradedToVersionCall
- func (c *MockConfigUpgradedToVersionCall) DoAndReturn(f func() version.Number) *MockConfigUpgradedToVersionCall
- func (c *MockConfigUpgradedToVersionCall) Return(arg0 version.Number) *MockConfigUpgradedToVersionCall
- type MockConfigValueCall
- type MockConfigWriteCommandsCall
- func (c *MockConfigWriteCommandsCall) Do(f func(shell.Renderer) ([]string, error)) *MockConfigWriteCommandsCall
- func (c *MockConfigWriteCommandsCall) DoAndReturn(f func(shell.Renderer) ([]string, error)) *MockConfigWriteCommandsCall
- func (c *MockConfigWriteCommandsCall) Return(arg0 []string, arg1 error) *MockConfigWriteCommandsCall
- type MockGetter
- type MockGetterGetCall
- type MockGetterMockRecorder
- type MockMachine
- type MockMachineIsControllerCall
- func (c *MockMachineIsControllerCall) Do(f func(context.Context, string) (bool, error)) *MockMachineIsControllerCall
- func (c *MockMachineIsControllerCall) DoAndReturn(f func(context.Context, string) (bool, error)) *MockMachineIsControllerCall
- func (c *MockMachineIsControllerCall) Return(arg0 bool, arg1 error) *MockMachineIsControllerCall
- type MockMachineMockRecorder
- type MockMachineWatchCall
- func (c *MockMachineWatchCall) Do(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockMachineWatchCall
- func (c *MockMachineWatchCall) DoAndReturn(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockMachineWatchCall
- func (c *MockMachineWatchCall) Return(arg0 watcher.Watcher[struct{}], arg1 error) *MockMachineWatchCall
- type MockMachiner
- type MockMachinerMachineCall
- func (c *MockMachinerMachineCall) Do(f func(context.Context, names.MachineTag) (stateconverter.Machine, error)) *MockMachinerMachineCall
- func (c *MockMachinerMachineCall) DoAndReturn(f func(context.Context, names.MachineTag) (stateconverter.Machine, error)) *MockMachinerMachineCall
- func (c *MockMachinerMachineCall) Return(arg0 stateconverter.Machine, arg1 error) *MockMachinerMachineCall
- type MockMachinerMockRecorder
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 ¶
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 ¶
MockAgentChangeConfigCall wrap *gomock.Call
func (*MockAgentChangeConfigCall) Do ¶
func (c *MockAgentChangeConfigCall) Do(f func(agent.ConfigMutator) error) *MockAgentChangeConfigCall
Do rewrite *gomock.Call.Do
func (*MockAgentChangeConfigCall) DoAndReturn ¶
func (c *MockAgentChangeConfigCall) DoAndReturn(f func(agent.ConfigMutator) error) *MockAgentChangeConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentChangeConfigCall) Return ¶
func (c *MockAgentChangeConfigCall) Return(arg0 error) *MockAgentChangeConfigCall
Return rewrite *gomock.Call.Return
type MockAgentCurrentConfigCall ¶
MockAgentCurrentConfigCall wrap *gomock.Call
func (*MockAgentCurrentConfigCall) Do ¶
func (c *MockAgentCurrentConfigCall) Do(f func() agent.Config) *MockAgentCurrentConfigCall
Do rewrite *gomock.Call.Do
func (*MockAgentCurrentConfigCall) DoAndReturn ¶
func (c *MockAgentCurrentConfigCall) DoAndReturn(f func() agent.Config) *MockAgentCurrentConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentCurrentConfigCall) Return ¶
func (c *MockAgentCurrentConfigCall) Return(arg0 agent.Config) *MockAgentCurrentConfigCall
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 ¶
func (mr *MockAgentMockRecorder) CurrentConfig() *MockAgentCurrentConfigCall
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) Controller ¶
func (m *MockConfig) Controller() names.ControllerTag
Controller 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) JujuDBSnapChannel ¶
func (m *MockConfig) JujuDBSnapChannel() string
JujuDBSnapChannel 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) 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) 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) 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) WriteCommands ¶
func (m *MockConfig) WriteCommands(arg0 shell.Renderer) ([]string, error)
WriteCommands mocks base method.
type MockConfigAPIAddressesCall ¶
MockConfigAPIAddressesCall wrap *gomock.Call
func (*MockConfigAPIAddressesCall) Do ¶
func (c *MockConfigAPIAddressesCall) Do(f func() ([]string, error)) *MockConfigAPIAddressesCall
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 ¶
func (c *MockConfigAPIAddressesCall) Return(arg0 []string, arg1 error) *MockConfigAPIAddressesCall
Return rewrite *gomock.Call.Return
type MockConfigAPIInfoCall ¶
MockConfigAPIInfoCall wrap *gomock.Call
func (*MockConfigAPIInfoCall) Do ¶
func (c *MockConfigAPIInfoCall) Do(f func() (*api.Info, bool)) *MockConfigAPIInfoCall
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 ¶
MockConfigAgentLogfileMaxBackupsCall wrap *gomock.Call
func (*MockConfigAgentLogfileMaxBackupsCall) Do ¶
func (c *MockConfigAgentLogfileMaxBackupsCall) Do(f func() int) *MockConfigAgentLogfileMaxBackupsCall
Do rewrite *gomock.Call.Do
func (*MockConfigAgentLogfileMaxBackupsCall) DoAndReturn ¶
func (c *MockConfigAgentLogfileMaxBackupsCall) DoAndReturn(f func() int) *MockConfigAgentLogfileMaxBackupsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigAgentLogfileMaxBackupsCall) Return ¶
func (c *MockConfigAgentLogfileMaxBackupsCall) Return(arg0 int) *MockConfigAgentLogfileMaxBackupsCall
Return rewrite *gomock.Call.Return
type MockConfigAgentLogfileMaxSizeMBCall ¶
MockConfigAgentLogfileMaxSizeMBCall wrap *gomock.Call
func (*MockConfigAgentLogfileMaxSizeMBCall) Do ¶
func (c *MockConfigAgentLogfileMaxSizeMBCall) Do(f func() int) *MockConfigAgentLogfileMaxSizeMBCall
Do rewrite *gomock.Call.Do
func (*MockConfigAgentLogfileMaxSizeMBCall) DoAndReturn ¶
func (c *MockConfigAgentLogfileMaxSizeMBCall) DoAndReturn(f func() int) *MockConfigAgentLogfileMaxSizeMBCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigAgentLogfileMaxSizeMBCall) Return ¶
func (c *MockConfigAgentLogfileMaxSizeMBCall) Return(arg0 int) *MockConfigAgentLogfileMaxSizeMBCall
Return rewrite *gomock.Call.Return
type MockConfigCACertCall ¶
MockConfigCACertCall wrap *gomock.Call
func (*MockConfigCACertCall) Do ¶
func (c *MockConfigCACertCall) Do(f func() string) *MockConfigCACertCall
Do rewrite *gomock.Call.Do
func (*MockConfigCACertCall) DoAndReturn ¶
func (c *MockConfigCACertCall) DoAndReturn(f func() string) *MockConfigCACertCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigCACertCall) Return ¶
func (c *MockConfigCACertCall) Return(arg0 string) *MockConfigCACertCall
Return rewrite *gomock.Call.Return
type MockConfigControllerCall ¶
MockConfigControllerCall wrap *gomock.Call
func (*MockConfigControllerCall) Do ¶
func (c *MockConfigControllerCall) Do(f func() names.ControllerTag) *MockConfigControllerCall
Do rewrite *gomock.Call.Do
func (*MockConfigControllerCall) DoAndReturn ¶
func (c *MockConfigControllerCall) DoAndReturn(f func() names.ControllerTag) *MockConfigControllerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigControllerCall) Return ¶
func (c *MockConfigControllerCall) Return(arg0 names.ControllerTag) *MockConfigControllerCall
Return rewrite *gomock.Call.Return
type MockConfigDataDirCall ¶
MockConfigDataDirCall wrap *gomock.Call
func (*MockConfigDataDirCall) Do ¶
func (c *MockConfigDataDirCall) Do(f func() string) *MockConfigDataDirCall
Do rewrite *gomock.Call.Do
func (*MockConfigDataDirCall) DoAndReturn ¶
func (c *MockConfigDataDirCall) DoAndReturn(f func() string) *MockConfigDataDirCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigDataDirCall) Return ¶
func (c *MockConfigDataDirCall) Return(arg0 string) *MockConfigDataDirCall
Return rewrite *gomock.Call.Return
type MockConfigDirCall ¶
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 ¶
MockConfigDqlitePortCall wrap *gomock.Call
func (*MockConfigDqlitePortCall) Do ¶
func (c *MockConfigDqlitePortCall) Do(f func() (int, bool)) *MockConfigDqlitePortCall
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 ¶
func (c *MockConfigDqlitePortCall) Return(arg0 int, arg1 bool) *MockConfigDqlitePortCall
Return rewrite *gomock.Call.Return
type MockConfigJobsCall ¶
MockConfigJobsCall wrap *gomock.Call
func (*MockConfigJobsCall) Do ¶
func (c *MockConfigJobsCall) Do(f func() []model.MachineJob) *MockConfigJobsCall
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 ¶
func (c *MockConfigJobsCall) Return(arg0 []model.MachineJob) *MockConfigJobsCall
Return rewrite *gomock.Call.Return
type MockConfigJujuDBSnapChannelCall ¶
MockConfigJujuDBSnapChannelCall wrap *gomock.Call
func (*MockConfigJujuDBSnapChannelCall) Do ¶
func (c *MockConfigJujuDBSnapChannelCall) Do(f func() string) *MockConfigJujuDBSnapChannelCall
Do rewrite *gomock.Call.Do
func (*MockConfigJujuDBSnapChannelCall) DoAndReturn ¶
func (c *MockConfigJujuDBSnapChannelCall) DoAndReturn(f func() string) *MockConfigJujuDBSnapChannelCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigJujuDBSnapChannelCall) Return ¶
func (c *MockConfigJujuDBSnapChannelCall) Return(arg0 string) *MockConfigJujuDBSnapChannelCall
Return rewrite *gomock.Call.Return
type MockConfigLogDirCall ¶
MockConfigLogDirCall wrap *gomock.Call
func (*MockConfigLogDirCall) Do ¶
func (c *MockConfigLogDirCall) Do(f func() string) *MockConfigLogDirCall
Do rewrite *gomock.Call.Do
func (*MockConfigLogDirCall) DoAndReturn ¶
func (c *MockConfigLogDirCall) DoAndReturn(f func() string) *MockConfigLogDirCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigLogDirCall) Return ¶
func (c *MockConfigLogDirCall) Return(arg0 string) *MockConfigLogDirCall
Return rewrite *gomock.Call.Return
type MockConfigLoggingConfigCall ¶
MockConfigLoggingConfigCall wrap *gomock.Call
func (*MockConfigLoggingConfigCall) Do ¶
func (c *MockConfigLoggingConfigCall) Do(f func() string) *MockConfigLoggingConfigCall
Do rewrite *gomock.Call.Do
func (*MockConfigLoggingConfigCall) DoAndReturn ¶
func (c *MockConfigLoggingConfigCall) DoAndReturn(f func() string) *MockConfigLoggingConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigLoggingConfigCall) Return ¶
func (c *MockConfigLoggingConfigCall) Return(arg0 string) *MockConfigLoggingConfigCall
Return rewrite *gomock.Call.Return
type MockConfigMetricsSpoolDirCall ¶
MockConfigMetricsSpoolDirCall wrap *gomock.Call
func (*MockConfigMetricsSpoolDirCall) Do ¶
func (c *MockConfigMetricsSpoolDirCall) Do(f func() string) *MockConfigMetricsSpoolDirCall
Do rewrite *gomock.Call.Do
func (*MockConfigMetricsSpoolDirCall) DoAndReturn ¶
func (c *MockConfigMetricsSpoolDirCall) DoAndReturn(f func() string) *MockConfigMetricsSpoolDirCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigMetricsSpoolDirCall) Return ¶
func (c *MockConfigMetricsSpoolDirCall) Return(arg0 string) *MockConfigMetricsSpoolDirCall
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 ¶
func (mr *MockConfigMockRecorder) APIAddresses() *MockConfigAPIAddressesCall
APIAddresses indicates an expected call of APIAddresses.
func (*MockConfigMockRecorder) APIInfo ¶
func (mr *MockConfigMockRecorder) APIInfo() *MockConfigAPIInfoCall
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 ¶
func (mr *MockConfigMockRecorder) CACert() *MockConfigCACertCall
CACert indicates an expected call of CACert.
func (*MockConfigMockRecorder) Controller ¶
func (mr *MockConfigMockRecorder) Controller() *MockConfigControllerCall
Controller indicates an expected call of Controller.
func (*MockConfigMockRecorder) DataDir ¶
func (mr *MockConfigMockRecorder) DataDir() *MockConfigDataDirCall
DataDir indicates an expected call of DataDir.
func (*MockConfigMockRecorder) Dir ¶
func (mr *MockConfigMockRecorder) Dir() *MockConfigDirCall
Dir indicates an expected call of Dir.
func (*MockConfigMockRecorder) DqlitePort ¶
func (mr *MockConfigMockRecorder) DqlitePort() *MockConfigDqlitePortCall
DqlitePort indicates an expected call of DqlitePort.
func (*MockConfigMockRecorder) Jobs ¶
func (mr *MockConfigMockRecorder) Jobs() *MockConfigJobsCall
Jobs indicates an expected call of Jobs.
func (*MockConfigMockRecorder) JujuDBSnapChannel ¶
func (mr *MockConfigMockRecorder) JujuDBSnapChannel() *MockConfigJujuDBSnapChannelCall
JujuDBSnapChannel indicates an expected call of JujuDBSnapChannel.
func (*MockConfigMockRecorder) LogDir ¶
func (mr *MockConfigMockRecorder) LogDir() *MockConfigLogDirCall
LogDir indicates an expected call of LogDir.
func (*MockConfigMockRecorder) LoggingConfig ¶
func (mr *MockConfigMockRecorder) LoggingConfig() *MockConfigLoggingConfigCall
LoggingConfig indicates an expected call of LoggingConfig.
func (*MockConfigMockRecorder) MetricsSpoolDir ¶
func (mr *MockConfigMockRecorder) MetricsSpoolDir() *MockConfigMetricsSpoolDirCall
MetricsSpoolDir indicates an expected call of MetricsSpoolDir.
func (*MockConfigMockRecorder) Model ¶
func (mr *MockConfigMockRecorder) Model() *MockConfigModelCall
Model indicates an expected call of Model.
func (*MockConfigMockRecorder) MongoInfo ¶
func (mr *MockConfigMockRecorder) MongoInfo() *MockConfigMongoInfoCall
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 ¶
func (mr *MockConfigMockRecorder) Nonce() *MockConfigNonceCall
Nonce indicates an expected call of Nonce.
func (*MockConfigMockRecorder) ObjectStoreType ¶
func (mr *MockConfigMockRecorder) ObjectStoreType() *MockConfigObjectStoreTypeCall
ObjectStoreType indicates an expected call of ObjectStoreType.
func (*MockConfigMockRecorder) OldPassword ¶
func (mr *MockConfigMockRecorder) OldPassword() *MockConfigOldPasswordCall
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 ¶
func (mr *MockConfigMockRecorder) StateServingInfo() *MockConfigStateServingInfoCall
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 ¶
func (mr *MockConfigMockRecorder) Tag() *MockConfigTagCall
Tag indicates an expected call of Tag.
func (*MockConfigMockRecorder) TransientDataDir ¶
func (mr *MockConfigMockRecorder) TransientDataDir() *MockConfigTransientDataDirCall
TransientDataDir indicates an expected call of TransientDataDir.
func (*MockConfigMockRecorder) UpgradedToVersion ¶
func (mr *MockConfigMockRecorder) UpgradedToVersion() *MockConfigUpgradedToVersionCall
UpgradedToVersion indicates an expected call of UpgradedToVersion.
func (*MockConfigMockRecorder) Value ¶
func (mr *MockConfigMockRecorder) Value(arg0 any) *MockConfigValueCall
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 ¶
MockConfigModelCall wrap *gomock.Call
func (*MockConfigModelCall) Do ¶
func (c *MockConfigModelCall) Do(f func() names.ModelTag) *MockConfigModelCall
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 ¶
func (c *MockConfigModelCall) Return(arg0 names.ModelTag) *MockConfigModelCall
Return rewrite *gomock.Call.Return
type MockConfigMongoInfoCall ¶
MockConfigMongoInfoCall wrap *gomock.Call
func (*MockConfigMongoInfoCall) Do ¶
func (c *MockConfigMongoInfoCall) Do(f func() (*mongo.MongoInfo, bool)) *MockConfigMongoInfoCall
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 ¶
func (c *MockConfigMongoInfoCall) Return(arg0 *mongo.MongoInfo, arg1 bool) *MockConfigMongoInfoCall
Return rewrite *gomock.Call.Return
type MockConfigMongoMemoryProfileCall ¶
MockConfigMongoMemoryProfileCall wrap *gomock.Call
func (*MockConfigMongoMemoryProfileCall) Do ¶
func (c *MockConfigMongoMemoryProfileCall) Do(f func() mongo.MemoryProfile) *MockConfigMongoMemoryProfileCall
Do rewrite *gomock.Call.Do
func (*MockConfigMongoMemoryProfileCall) DoAndReturn ¶
func (c *MockConfigMongoMemoryProfileCall) DoAndReturn(f func() mongo.MemoryProfile) *MockConfigMongoMemoryProfileCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigMongoMemoryProfileCall) Return ¶
func (c *MockConfigMongoMemoryProfileCall) Return(arg0 mongo.MemoryProfile) *MockConfigMongoMemoryProfileCall
Return rewrite *gomock.Call.Return
type MockConfigNonceCall ¶
MockConfigNonceCall wrap *gomock.Call
func (*MockConfigNonceCall) Do ¶
func (c *MockConfigNonceCall) Do(f func() string) *MockConfigNonceCall
Do rewrite *gomock.Call.Do
func (*MockConfigNonceCall) DoAndReturn ¶
func (c *MockConfigNonceCall) DoAndReturn(f func() string) *MockConfigNonceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigNonceCall) Return ¶
func (c *MockConfigNonceCall) Return(arg0 string) *MockConfigNonceCall
Return rewrite *gomock.Call.Return
type MockConfigObjectStoreTypeCall ¶
MockConfigObjectStoreTypeCall wrap *gomock.Call
func (*MockConfigObjectStoreTypeCall) Do ¶
func (c *MockConfigObjectStoreTypeCall) Do(f func() objectstore.BackendType) *MockConfigObjectStoreTypeCall
Do rewrite *gomock.Call.Do
func (*MockConfigObjectStoreTypeCall) DoAndReturn ¶
func (c *MockConfigObjectStoreTypeCall) DoAndReturn(f func() objectstore.BackendType) *MockConfigObjectStoreTypeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigObjectStoreTypeCall) Return ¶
func (c *MockConfigObjectStoreTypeCall) Return(arg0 objectstore.BackendType) *MockConfigObjectStoreTypeCall
Return rewrite *gomock.Call.Return
type MockConfigOldPasswordCall ¶
MockConfigOldPasswordCall wrap *gomock.Call
func (*MockConfigOldPasswordCall) Do ¶
func (c *MockConfigOldPasswordCall) Do(f func() string) *MockConfigOldPasswordCall
Do rewrite *gomock.Call.Do
func (*MockConfigOldPasswordCall) DoAndReturn ¶
func (c *MockConfigOldPasswordCall) DoAndReturn(f func() string) *MockConfigOldPasswordCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigOldPasswordCall) Return ¶
func (c *MockConfigOldPasswordCall) Return(arg0 string) *MockConfigOldPasswordCall
Return rewrite *gomock.Call.Return
type MockConfigOpenTelemetryEnabledCall ¶
MockConfigOpenTelemetryEnabledCall wrap *gomock.Call
func (*MockConfigOpenTelemetryEnabledCall) Do ¶
func (c *MockConfigOpenTelemetryEnabledCall) Do(f func() bool) *MockConfigOpenTelemetryEnabledCall
Do rewrite *gomock.Call.Do
func (*MockConfigOpenTelemetryEnabledCall) DoAndReturn ¶
func (c *MockConfigOpenTelemetryEnabledCall) DoAndReturn(f func() bool) *MockConfigOpenTelemetryEnabledCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigOpenTelemetryEnabledCall) Return ¶
func (c *MockConfigOpenTelemetryEnabledCall) Return(arg0 bool) *MockConfigOpenTelemetryEnabledCall
Return rewrite *gomock.Call.Return
type MockConfigOpenTelemetryEndpointCall ¶
MockConfigOpenTelemetryEndpointCall wrap *gomock.Call
func (*MockConfigOpenTelemetryEndpointCall) Do ¶
func (c *MockConfigOpenTelemetryEndpointCall) Do(f func() string) *MockConfigOpenTelemetryEndpointCall
Do rewrite *gomock.Call.Do
func (*MockConfigOpenTelemetryEndpointCall) DoAndReturn ¶
func (c *MockConfigOpenTelemetryEndpointCall) DoAndReturn(f func() string) *MockConfigOpenTelemetryEndpointCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigOpenTelemetryEndpointCall) Return ¶
func (c *MockConfigOpenTelemetryEndpointCall) Return(arg0 string) *MockConfigOpenTelemetryEndpointCall
Return rewrite *gomock.Call.Return
type MockConfigOpenTelemetryInsecureCall ¶
MockConfigOpenTelemetryInsecureCall wrap *gomock.Call
func (*MockConfigOpenTelemetryInsecureCall) Do ¶
func (c *MockConfigOpenTelemetryInsecureCall) Do(f func() bool) *MockConfigOpenTelemetryInsecureCall
Do rewrite *gomock.Call.Do
func (*MockConfigOpenTelemetryInsecureCall) DoAndReturn ¶
func (c *MockConfigOpenTelemetryInsecureCall) DoAndReturn(f func() bool) *MockConfigOpenTelemetryInsecureCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigOpenTelemetryInsecureCall) Return ¶
func (c *MockConfigOpenTelemetryInsecureCall) Return(arg0 bool) *MockConfigOpenTelemetryInsecureCall
Return rewrite *gomock.Call.Return
type MockConfigOpenTelemetrySampleRatioCall ¶
MockConfigOpenTelemetrySampleRatioCall wrap *gomock.Call
func (*MockConfigOpenTelemetrySampleRatioCall) Do ¶
func (c *MockConfigOpenTelemetrySampleRatioCall) Do(f func() float64) *MockConfigOpenTelemetrySampleRatioCall
Do rewrite *gomock.Call.Do
func (*MockConfigOpenTelemetrySampleRatioCall) DoAndReturn ¶
func (c *MockConfigOpenTelemetrySampleRatioCall) DoAndReturn(f func() float64) *MockConfigOpenTelemetrySampleRatioCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigOpenTelemetrySampleRatioCall) Return ¶
func (c *MockConfigOpenTelemetrySampleRatioCall) Return(arg0 float64) *MockConfigOpenTelemetrySampleRatioCall
Return rewrite *gomock.Call.Return
type MockConfigOpenTelemetryStackTracesCall ¶
MockConfigOpenTelemetryStackTracesCall wrap *gomock.Call
func (*MockConfigOpenTelemetryStackTracesCall) Do ¶
func (c *MockConfigOpenTelemetryStackTracesCall) Do(f func() bool) *MockConfigOpenTelemetryStackTracesCall
Do rewrite *gomock.Call.Do
func (*MockConfigOpenTelemetryStackTracesCall) DoAndReturn ¶
func (c *MockConfigOpenTelemetryStackTracesCall) DoAndReturn(f func() bool) *MockConfigOpenTelemetryStackTracesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigOpenTelemetryStackTracesCall) Return ¶
func (c *MockConfigOpenTelemetryStackTracesCall) Return(arg0 bool) *MockConfigOpenTelemetryStackTracesCall
Return rewrite *gomock.Call.Return
type MockConfigOpenTelemetryTailSamplingThresholdCall ¶
MockConfigOpenTelemetryTailSamplingThresholdCall wrap *gomock.Call
func (*MockConfigOpenTelemetryTailSamplingThresholdCall) Do ¶
func (c *MockConfigOpenTelemetryTailSamplingThresholdCall) Do(f func() time.Duration) *MockConfigOpenTelemetryTailSamplingThresholdCall
Do rewrite *gomock.Call.Do
func (*MockConfigOpenTelemetryTailSamplingThresholdCall) DoAndReturn ¶
func (c *MockConfigOpenTelemetryTailSamplingThresholdCall) DoAndReturn(f func() time.Duration) *MockConfigOpenTelemetryTailSamplingThresholdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigOpenTelemetryTailSamplingThresholdCall) Return ¶
func (c *MockConfigOpenTelemetryTailSamplingThresholdCall) Return(arg0 time.Duration) *MockConfigOpenTelemetryTailSamplingThresholdCall
Return rewrite *gomock.Call.Return
type MockConfigQueryTracingEnabledCall ¶
MockConfigQueryTracingEnabledCall wrap *gomock.Call
func (*MockConfigQueryTracingEnabledCall) Do ¶
func (c *MockConfigQueryTracingEnabledCall) Do(f func() bool) *MockConfigQueryTracingEnabledCall
Do rewrite *gomock.Call.Do
func (*MockConfigQueryTracingEnabledCall) DoAndReturn ¶
func (c *MockConfigQueryTracingEnabledCall) DoAndReturn(f func() bool) *MockConfigQueryTracingEnabledCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigQueryTracingEnabledCall) Return ¶
func (c *MockConfigQueryTracingEnabledCall) Return(arg0 bool) *MockConfigQueryTracingEnabledCall
Return rewrite *gomock.Call.Return
type MockConfigQueryTracingThresholdCall ¶
MockConfigQueryTracingThresholdCall wrap *gomock.Call
func (*MockConfigQueryTracingThresholdCall) Do ¶
func (c *MockConfigQueryTracingThresholdCall) Do(f func() time.Duration) *MockConfigQueryTracingThresholdCall
Do rewrite *gomock.Call.Do
func (*MockConfigQueryTracingThresholdCall) DoAndReturn ¶
func (c *MockConfigQueryTracingThresholdCall) DoAndReturn(f func() time.Duration) *MockConfigQueryTracingThresholdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigQueryTracingThresholdCall) Return ¶
func (c *MockConfigQueryTracingThresholdCall) Return(arg0 time.Duration) *MockConfigQueryTracingThresholdCall
Return rewrite *gomock.Call.Return
type MockConfigStateServingInfoCall ¶
MockConfigStateServingInfoCall wrap *gomock.Call
func (*MockConfigStateServingInfoCall) Do ¶
func (c *MockConfigStateServingInfoCall) Do(f func() (controller.StateServingInfo, bool)) *MockConfigStateServingInfoCall
Do rewrite *gomock.Call.Do
func (*MockConfigStateServingInfoCall) DoAndReturn ¶
func (c *MockConfigStateServingInfoCall) DoAndReturn(f func() (controller.StateServingInfo, bool)) *MockConfigStateServingInfoCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigStateServingInfoCall) Return ¶
func (c *MockConfigStateServingInfoCall) Return(arg0 controller.StateServingInfo, arg1 bool) *MockConfigStateServingInfoCall
Return rewrite *gomock.Call.Return
type MockConfigSystemIdentityPathCall ¶
MockConfigSystemIdentityPathCall wrap *gomock.Call
func (*MockConfigSystemIdentityPathCall) Do ¶
func (c *MockConfigSystemIdentityPathCall) Do(f func() string) *MockConfigSystemIdentityPathCall
Do rewrite *gomock.Call.Do
func (*MockConfigSystemIdentityPathCall) DoAndReturn ¶
func (c *MockConfigSystemIdentityPathCall) DoAndReturn(f func() string) *MockConfigSystemIdentityPathCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigSystemIdentityPathCall) Return ¶
func (c *MockConfigSystemIdentityPathCall) Return(arg0 string) *MockConfigSystemIdentityPathCall
Return rewrite *gomock.Call.Return
type MockConfigTagCall ¶
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 ¶
MockConfigTransientDataDirCall wrap *gomock.Call
func (*MockConfigTransientDataDirCall) Do ¶
func (c *MockConfigTransientDataDirCall) Do(f func() string) *MockConfigTransientDataDirCall
Do rewrite *gomock.Call.Do
func (*MockConfigTransientDataDirCall) DoAndReturn ¶
func (c *MockConfigTransientDataDirCall) DoAndReturn(f func() string) *MockConfigTransientDataDirCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigTransientDataDirCall) Return ¶
func (c *MockConfigTransientDataDirCall) Return(arg0 string) *MockConfigTransientDataDirCall
Return rewrite *gomock.Call.Return
type MockConfigUpgradedToVersionCall ¶
MockConfigUpgradedToVersionCall wrap *gomock.Call
func (*MockConfigUpgradedToVersionCall) Do ¶
func (c *MockConfigUpgradedToVersionCall) Do(f func() version.Number) *MockConfigUpgradedToVersionCall
Do rewrite *gomock.Call.Do
func (*MockConfigUpgradedToVersionCall) DoAndReturn ¶
func (c *MockConfigUpgradedToVersionCall) DoAndReturn(f func() version.Number) *MockConfigUpgradedToVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigUpgradedToVersionCall) Return ¶
func (c *MockConfigUpgradedToVersionCall) Return(arg0 version.Number) *MockConfigUpgradedToVersionCall
Return rewrite *gomock.Call.Return
type MockConfigValueCall ¶
MockConfigValueCall wrap *gomock.Call
func (*MockConfigValueCall) Do ¶
func (c *MockConfigValueCall) Do(f func(string) string) *MockConfigValueCall
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 ¶
func (c *MockConfigValueCall) Return(arg0 string) *MockConfigValueCall
Return rewrite *gomock.Call.Return
type MockConfigWriteCommandsCall ¶
MockConfigWriteCommandsCall wrap *gomock.Call
func (*MockConfigWriteCommandsCall) Do ¶
func (c *MockConfigWriteCommandsCall) Do(f func(shell.Renderer) ([]string, error)) *MockConfigWriteCommandsCall
Do rewrite *gomock.Call.Do
func (*MockConfigWriteCommandsCall) DoAndReturn ¶
func (c *MockConfigWriteCommandsCall) DoAndReturn(f func(shell.Renderer) ([]string, error)) *MockConfigWriteCommandsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigWriteCommandsCall) Return ¶
func (c *MockConfigWriteCommandsCall) Return(arg0 []string, arg1 error) *MockConfigWriteCommandsCall
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.
type MockGetterGetCall ¶
MockGetterGetCall wrap *gomock.Call
func (*MockGetterGetCall) Do ¶
func (c *MockGetterGetCall) Do(f func(string, any) error) *MockGetterGetCall
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 ¶
IsController mocks base method.
type MockMachineIsControllerCall ¶
MockMachineIsControllerCall wrap *gomock.Call
func (*MockMachineIsControllerCall) Do ¶
func (c *MockMachineIsControllerCall) Do(f func(context.Context, string) (bool, error)) *MockMachineIsControllerCall
Do rewrite *gomock.Call.Do
func (*MockMachineIsControllerCall) DoAndReturn ¶
func (c *MockMachineIsControllerCall) DoAndReturn(f func(context.Context, string) (bool, error)) *MockMachineIsControllerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineIsControllerCall) Return ¶
func (c *MockMachineIsControllerCall) Return(arg0 bool, arg1 error) *MockMachineIsControllerCall
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 ¶
func (mr *MockMachineMockRecorder) Watch(arg0 any) *MockMachineWatchCall
Watch indicates an expected call of Watch.
type MockMachineWatchCall ¶
MockMachineWatchCall wrap *gomock.Call
func (*MockMachineWatchCall) Do ¶
func (c *MockMachineWatchCall) Do(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockMachineWatchCall
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 ¶
func (m *MockMachiner) EXPECT() *MockMachinerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMachiner) Machine ¶
func (m *MockMachiner) Machine(arg0 context.Context, arg1 names.MachineTag) (stateconverter.Machine, error)
Machine mocks base method.
type MockMachinerMachineCall ¶
MockMachinerMachineCall wrap *gomock.Call
func (*MockMachinerMachineCall) Do ¶
func (c *MockMachinerMachineCall) Do(f func(context.Context, names.MachineTag) (stateconverter.Machine, error)) *MockMachinerMachineCall
Do rewrite *gomock.Call.Do
func (*MockMachinerMachineCall) DoAndReturn ¶
func (c *MockMachinerMachineCall) DoAndReturn(f func(context.Context, names.MachineTag) (stateconverter.Machine, error)) *MockMachinerMachineCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachinerMachineCall) Return ¶
func (c *MockMachinerMachineCall) Return(arg0 stateconverter.Machine, arg1 error) *MockMachinerMachineCall
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.