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 ¶
- type MockAPICaller
- func (m *MockAPICaller) APICall(arg0 context.Context, arg1 string, arg2 int, arg3, arg4 string, arg5, arg6 any) error
- func (m *MockAPICaller) BakeryClient() base.MacaroonDischarger
- func (m *MockAPICaller) BestFacadeVersion(arg0 string) int
- func (m *MockAPICaller) ConnectControllerStream(arg0 context.Context, arg1 string, arg2 url.Values, arg3 http.Header) (base.Stream, error)
- func (m *MockAPICaller) ConnectStream(arg0 context.Context, arg1 string, arg2 url.Values) (base.Stream, error)
- func (m *MockAPICaller) EXPECT() *MockAPICallerMockRecorder
- func (m *MockAPICaller) HTTPClient() (*httprequest.Client, error)
- func (m *MockAPICaller) ModelTag() (names.ModelTag, bool)
- func (m *MockAPICaller) RootHTTPClient() (*httprequest.Client, error)
- type MockAPICallerAPICallCall
- func (c *MockAPICallerAPICallCall) Do(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallerAPICallCall
- func (c *MockAPICallerAPICallCall) DoAndReturn(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallerAPICallCall
- func (c *MockAPICallerAPICallCall) Return(arg0 error) *MockAPICallerAPICallCall
- type MockAPICallerBakeryClientCall
- func (c *MockAPICallerBakeryClientCall) Do(f func() base.MacaroonDischarger) *MockAPICallerBakeryClientCall
- func (c *MockAPICallerBakeryClientCall) DoAndReturn(f func() base.MacaroonDischarger) *MockAPICallerBakeryClientCall
- func (c *MockAPICallerBakeryClientCall) Return(arg0 base.MacaroonDischarger) *MockAPICallerBakeryClientCall
- type MockAPICallerBestFacadeVersionCall
- func (c *MockAPICallerBestFacadeVersionCall) Do(f func(string) int) *MockAPICallerBestFacadeVersionCall
- func (c *MockAPICallerBestFacadeVersionCall) DoAndReturn(f func(string) int) *MockAPICallerBestFacadeVersionCall
- func (c *MockAPICallerBestFacadeVersionCall) Return(arg0 int) *MockAPICallerBestFacadeVersionCall
- type MockAPICallerConnectControllerStreamCall
- func (c *MockAPICallerConnectControllerStreamCall) Do(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallerConnectControllerStreamCall
- func (c *MockAPICallerConnectControllerStreamCall) DoAndReturn(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallerConnectControllerStreamCall
- func (c *MockAPICallerConnectControllerStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallerConnectControllerStreamCall
- type MockAPICallerConnectStreamCall
- func (c *MockAPICallerConnectStreamCall) Do(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallerConnectStreamCall
- func (c *MockAPICallerConnectStreamCall) DoAndReturn(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallerConnectStreamCall
- func (c *MockAPICallerConnectStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallerConnectStreamCall
- type MockAPICallerHTTPClientCall
- func (c *MockAPICallerHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallerHTTPClientCall
- func (c *MockAPICallerHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallerHTTPClientCall
- func (c *MockAPICallerHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallerHTTPClientCall
- type MockAPICallerMockRecorder
- func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *MockAPICallerAPICallCall
- func (mr *MockAPICallerMockRecorder) BakeryClient() *MockAPICallerBakeryClientCall
- func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 any) *MockAPICallerBestFacadeVersionCall
- func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2, arg3 any) *MockAPICallerConnectControllerStreamCall
- func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1, arg2 any) *MockAPICallerConnectStreamCall
- func (mr *MockAPICallerMockRecorder) HTTPClient() *MockAPICallerHTTPClientCall
- func (mr *MockAPICallerMockRecorder) ModelTag() *MockAPICallerModelTagCall
- func (mr *MockAPICallerMockRecorder) RootHTTPClient() *MockAPICallerRootHTTPClientCall
- type MockAPICallerModelTagCall
- func (c *MockAPICallerModelTagCall) Do(f func() (names.ModelTag, bool)) *MockAPICallerModelTagCall
- func (c *MockAPICallerModelTagCall) DoAndReturn(f func() (names.ModelTag, bool)) *MockAPICallerModelTagCall
- func (c *MockAPICallerModelTagCall) Return(arg0 names.ModelTag, arg1 bool) *MockAPICallerModelTagCall
- type MockAPICallerRootHTTPClientCall
- func (c *MockAPICallerRootHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallerRootHTTPClientCall
- func (c *MockAPICallerRootHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallerRootHTTPClientCall
- func (c *MockAPICallerRootHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallerRootHTTPClientCall
- 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 MockInstanceBroker
- func (m *MockInstanceBroker) AllInstances(arg0 envcontext.ProviderCallContext) ([]instances.Instance, error)
- func (m *MockInstanceBroker) AllRunningInstances(arg0 envcontext.ProviderCallContext) ([]instances.Instance, error)
- func (m *MockInstanceBroker) EXPECT() *MockInstanceBrokerMockRecorder
- func (m *MockInstanceBroker) StartInstance(arg0 envcontext.ProviderCallContext, arg1 environs.StartInstanceParams) (*environs.StartInstanceResult, error)
- func (m *MockInstanceBroker) StopInstances(arg0 envcontext.ProviderCallContext, arg1 ...instance.Id) error
- type MockInstanceBrokerAllInstancesCall
- func (c *MockInstanceBrokerAllInstancesCall) Do(f func(envcontext.ProviderCallContext) ([]instances.Instance, error)) *MockInstanceBrokerAllInstancesCall
- func (c *MockInstanceBrokerAllInstancesCall) DoAndReturn(f func(envcontext.ProviderCallContext) ([]instances.Instance, error)) *MockInstanceBrokerAllInstancesCall
- func (c *MockInstanceBrokerAllInstancesCall) Return(arg0 []instances.Instance, arg1 error) *MockInstanceBrokerAllInstancesCall
- type MockInstanceBrokerAllRunningInstancesCall
- func (c *MockInstanceBrokerAllRunningInstancesCall) Do(f func(envcontext.ProviderCallContext) ([]instances.Instance, error)) *MockInstanceBrokerAllRunningInstancesCall
- func (c *MockInstanceBrokerAllRunningInstancesCall) DoAndReturn(f func(envcontext.ProviderCallContext) ([]instances.Instance, error)) *MockInstanceBrokerAllRunningInstancesCall
- func (c *MockInstanceBrokerAllRunningInstancesCall) Return(arg0 []instances.Instance, arg1 error) *MockInstanceBrokerAllRunningInstancesCall
- type MockInstanceBrokerMockRecorder
- func (mr *MockInstanceBrokerMockRecorder) AllInstances(arg0 any) *MockInstanceBrokerAllInstancesCall
- func (mr *MockInstanceBrokerMockRecorder) AllRunningInstances(arg0 any) *MockInstanceBrokerAllRunningInstancesCall
- func (mr *MockInstanceBrokerMockRecorder) StartInstance(arg0, arg1 any) *MockInstanceBrokerStartInstanceCall
- func (mr *MockInstanceBrokerMockRecorder) StopInstances(arg0 any, arg1 ...any) *MockInstanceBrokerStopInstancesCall
- type MockInstanceBrokerStartInstanceCall
- func (c *MockInstanceBrokerStartInstanceCall) Do(...) *MockInstanceBrokerStartInstanceCall
- func (c *MockInstanceBrokerStartInstanceCall) DoAndReturn(...) *MockInstanceBrokerStartInstanceCall
- func (c *MockInstanceBrokerStartInstanceCall) Return(arg0 *environs.StartInstanceResult, arg1 error) *MockInstanceBrokerStartInstanceCall
- type MockInstanceBrokerStopInstancesCall
- func (c *MockInstanceBrokerStopInstancesCall) Do(f func(envcontext.ProviderCallContext, ...instance.Id) error) *MockInstanceBrokerStopInstancesCall
- func (c *MockInstanceBrokerStopInstancesCall) DoAndReturn(f func(envcontext.ProviderCallContext, ...instance.Id) error) *MockInstanceBrokerStopInstancesCall
- func (c *MockInstanceBrokerStopInstancesCall) Return(arg0 error) *MockInstanceBrokerStopInstancesCall
- type MockLXDProfiler
- func (m *MockLXDProfiler) AssignLXDProfiles(arg0 string, arg1 []string, arg2 []lxdprofile.ProfilePost) ([]string, error)
- func (m *MockLXDProfiler) EXPECT() *MockLXDProfilerMockRecorder
- func (m *MockLXDProfiler) LXDProfileNames(arg0 string) ([]string, error)
- func (m *MockLXDProfiler) MaybeWriteLXDProfile(arg0 string, arg1 lxdprofile.Profile) error
- type MockLXDProfilerAssignLXDProfilesCall
- func (c *MockLXDProfilerAssignLXDProfilesCall) Do(f func(string, []string, []lxdprofile.ProfilePost) ([]string, error)) *MockLXDProfilerAssignLXDProfilesCall
- func (c *MockLXDProfilerAssignLXDProfilesCall) DoAndReturn(f func(string, []string, []lxdprofile.ProfilePost) ([]string, error)) *MockLXDProfilerAssignLXDProfilesCall
- func (c *MockLXDProfilerAssignLXDProfilesCall) Return(arg0 []string, arg1 error) *MockLXDProfilerAssignLXDProfilesCall
- type MockLXDProfilerLXDProfileNamesCall
- func (c *MockLXDProfilerLXDProfileNamesCall) Do(f func(string) ([]string, error)) *MockLXDProfilerLXDProfileNamesCall
- func (c *MockLXDProfilerLXDProfileNamesCall) DoAndReturn(f func(string) ([]string, error)) *MockLXDProfilerLXDProfileNamesCall
- func (c *MockLXDProfilerLXDProfileNamesCall) Return(arg0 []string, arg1 error) *MockLXDProfilerLXDProfileNamesCall
- type MockLXDProfilerMaybeWriteLXDProfileCall
- func (c *MockLXDProfilerMaybeWriteLXDProfileCall) Do(f func(string, lxdprofile.Profile) error) *MockLXDProfilerMaybeWriteLXDProfileCall
- func (c *MockLXDProfilerMaybeWriteLXDProfileCall) DoAndReturn(f func(string, lxdprofile.Profile) error) *MockLXDProfilerMaybeWriteLXDProfileCall
- func (c *MockLXDProfilerMaybeWriteLXDProfileCall) Return(arg0 error) *MockLXDProfilerMaybeWriteLXDProfileCall
- type MockLXDProfilerMockRecorder
- func (mr *MockLXDProfilerMockRecorder) AssignLXDProfiles(arg0, arg1, arg2 any) *MockLXDProfilerAssignLXDProfilesCall
- func (mr *MockLXDProfilerMockRecorder) LXDProfileNames(arg0 any) *MockLXDProfilerLXDProfileNamesCall
- func (mr *MockLXDProfilerMockRecorder) MaybeWriteLXDProfile(arg0, arg1 any) *MockLXDProfilerMaybeWriteLXDProfileCall
- type MockLock
- type MockLockAcquireCall
- type MockLockMockRecorder
- type MockLockReportCall
- type MockMachineProvisioner
- func (m *MockMachineProvisioner) AvailabilityZone(arg0 context.Context) (string, error)
- func (m *MockMachineProvisioner) DistributionGroup(arg0 context.Context) ([]instance.Id, error)
- func (m *MockMachineProvisioner) EXPECT() *MockMachineProvisionerMockRecorder
- func (m *MockMachineProvisioner) EnsureDead(arg0 context.Context) error
- func (m *MockMachineProvisioner) Id() string
- func (m *MockMachineProvisioner) InstanceId(arg0 context.Context) (instance.Id, error)
- func (m *MockMachineProvisioner) InstanceStatus(arg0 context.Context) (status.Status, string, error)
- func (m *MockMachineProvisioner) KeepInstance(arg0 context.Context) (bool, error)
- func (m *MockMachineProvisioner) Life() life.Value
- func (m *MockMachineProvisioner) MachineTag() names.MachineTag
- func (m *MockMachineProvisioner) MarkForRemoval(arg0 context.Context) error
- func (m *MockMachineProvisioner) ModelAgentVersion(arg0 context.Context) (*version.Number, error)
- func (m *MockMachineProvisioner) Refresh(arg0 context.Context) error
- func (m *MockMachineProvisioner) Remove(arg0 context.Context) error
- func (m *MockMachineProvisioner) SetCharmProfiles(arg0 context.Context, arg1 []string) error
- func (m *MockMachineProvisioner) SetInstanceInfo(arg0 context.Context, arg1 instance.Id, arg2, arg3 string, ...) error
- func (m *MockMachineProvisioner) SetInstanceStatus(arg0 context.Context, arg1 status.Status, arg2 string, arg3 map[string]any) error
- func (m *MockMachineProvisioner) SetModificationStatus(arg0 context.Context, arg1 status.Status, arg2 string, arg3 map[string]any) error
- func (m *MockMachineProvisioner) SetPassword(arg0 context.Context, arg1 string) error
- func (m *MockMachineProvisioner) SetStatus(arg0 context.Context, arg1 status.Status, arg2 string, arg3 map[string]any) error
- func (m *MockMachineProvisioner) SetSupportedContainers(arg0 context.Context, arg1 ...instance.ContainerType) error
- func (m *MockMachineProvisioner) Status(arg0 context.Context) (status.Status, string, error)
- func (m *MockMachineProvisioner) String() string
- func (m *MockMachineProvisioner) SupportedContainers(arg0 context.Context) ([]instance.ContainerType, bool, error)
- func (m *MockMachineProvisioner) SupportsNoContainers(arg0 context.Context) error
- func (m *MockMachineProvisioner) Tag() names.Tag
- func (m *MockMachineProvisioner) WatchContainers(arg0 context.Context, arg1 instance.ContainerType) (watcher.Watcher[[]string], error)
- type MockMachineProvisionerAvailabilityZoneCall
- func (c *MockMachineProvisionerAvailabilityZoneCall) Do(f func(context.Context) (string, error)) *MockMachineProvisionerAvailabilityZoneCall
- func (c *MockMachineProvisionerAvailabilityZoneCall) DoAndReturn(f func(context.Context) (string, error)) *MockMachineProvisionerAvailabilityZoneCall
- func (c *MockMachineProvisionerAvailabilityZoneCall) Return(arg0 string, arg1 error) *MockMachineProvisionerAvailabilityZoneCall
- type MockMachineProvisionerDistributionGroupCall
- func (c *MockMachineProvisionerDistributionGroupCall) Do(f func(context.Context) ([]instance.Id, error)) *MockMachineProvisionerDistributionGroupCall
- func (c *MockMachineProvisionerDistributionGroupCall) DoAndReturn(f func(context.Context) ([]instance.Id, error)) *MockMachineProvisionerDistributionGroupCall
- func (c *MockMachineProvisionerDistributionGroupCall) Return(arg0 []instance.Id, arg1 error) *MockMachineProvisionerDistributionGroupCall
- type MockMachineProvisionerEnsureDeadCall
- func (c *MockMachineProvisionerEnsureDeadCall) Do(f func(context.Context) error) *MockMachineProvisionerEnsureDeadCall
- func (c *MockMachineProvisionerEnsureDeadCall) DoAndReturn(f func(context.Context) error) *MockMachineProvisionerEnsureDeadCall
- func (c *MockMachineProvisionerEnsureDeadCall) Return(arg0 error) *MockMachineProvisionerEnsureDeadCall
- type MockMachineProvisionerIdCall
- type MockMachineProvisionerInstanceIdCall
- func (c *MockMachineProvisionerInstanceIdCall) Do(f func(context.Context) (instance.Id, error)) *MockMachineProvisionerInstanceIdCall
- func (c *MockMachineProvisionerInstanceIdCall) DoAndReturn(f func(context.Context) (instance.Id, error)) *MockMachineProvisionerInstanceIdCall
- func (c *MockMachineProvisionerInstanceIdCall) Return(arg0 instance.Id, arg1 error) *MockMachineProvisionerInstanceIdCall
- type MockMachineProvisionerInstanceStatusCall
- func (c *MockMachineProvisionerInstanceStatusCall) Do(f func(context.Context) (status.Status, string, error)) *MockMachineProvisionerInstanceStatusCall
- func (c *MockMachineProvisionerInstanceStatusCall) DoAndReturn(f func(context.Context) (status.Status, string, error)) *MockMachineProvisionerInstanceStatusCall
- func (c *MockMachineProvisionerInstanceStatusCall) Return(arg0 status.Status, arg1 string, arg2 error) *MockMachineProvisionerInstanceStatusCall
- type MockMachineProvisionerKeepInstanceCall
- func (c *MockMachineProvisionerKeepInstanceCall) Do(f func(context.Context) (bool, error)) *MockMachineProvisionerKeepInstanceCall
- func (c *MockMachineProvisionerKeepInstanceCall) DoAndReturn(f func(context.Context) (bool, error)) *MockMachineProvisionerKeepInstanceCall
- func (c *MockMachineProvisionerKeepInstanceCall) Return(arg0 bool, arg1 error) *MockMachineProvisionerKeepInstanceCall
- type MockMachineProvisionerLifeCall
- type MockMachineProvisionerMachineTagCall
- func (c *MockMachineProvisionerMachineTagCall) Do(f func() names.MachineTag) *MockMachineProvisionerMachineTagCall
- func (c *MockMachineProvisionerMachineTagCall) DoAndReturn(f func() names.MachineTag) *MockMachineProvisionerMachineTagCall
- func (c *MockMachineProvisionerMachineTagCall) Return(arg0 names.MachineTag) *MockMachineProvisionerMachineTagCall
- type MockMachineProvisionerMarkForRemovalCall
- func (c *MockMachineProvisionerMarkForRemovalCall) Do(f func(context.Context) error) *MockMachineProvisionerMarkForRemovalCall
- func (c *MockMachineProvisionerMarkForRemovalCall) DoAndReturn(f func(context.Context) error) *MockMachineProvisionerMarkForRemovalCall
- func (c *MockMachineProvisionerMarkForRemovalCall) Return(arg0 error) *MockMachineProvisionerMarkForRemovalCall
- type MockMachineProvisionerMockRecorder
- func (mr *MockMachineProvisionerMockRecorder) AvailabilityZone(arg0 any) *MockMachineProvisionerAvailabilityZoneCall
- func (mr *MockMachineProvisionerMockRecorder) DistributionGroup(arg0 any) *MockMachineProvisionerDistributionGroupCall
- func (mr *MockMachineProvisionerMockRecorder) EnsureDead(arg0 any) *MockMachineProvisionerEnsureDeadCall
- func (mr *MockMachineProvisionerMockRecorder) Id() *MockMachineProvisionerIdCall
- func (mr *MockMachineProvisionerMockRecorder) InstanceId(arg0 any) *MockMachineProvisionerInstanceIdCall
- func (mr *MockMachineProvisionerMockRecorder) InstanceStatus(arg0 any) *MockMachineProvisionerInstanceStatusCall
- func (mr *MockMachineProvisionerMockRecorder) KeepInstance(arg0 any) *MockMachineProvisionerKeepInstanceCall
- func (mr *MockMachineProvisionerMockRecorder) Life() *MockMachineProvisionerLifeCall
- func (mr *MockMachineProvisionerMockRecorder) MachineTag() *MockMachineProvisionerMachineTagCall
- func (mr *MockMachineProvisionerMockRecorder) MarkForRemoval(arg0 any) *MockMachineProvisionerMarkForRemovalCall
- func (mr *MockMachineProvisionerMockRecorder) ModelAgentVersion(arg0 any) *MockMachineProvisionerModelAgentVersionCall
- func (mr *MockMachineProvisionerMockRecorder) Refresh(arg0 any) *MockMachineProvisionerRefreshCall
- func (mr *MockMachineProvisionerMockRecorder) Remove(arg0 any) *MockMachineProvisionerRemoveCall
- func (mr *MockMachineProvisionerMockRecorder) SetCharmProfiles(arg0, arg1 any) *MockMachineProvisionerSetCharmProfilesCall
- func (mr *MockMachineProvisionerMockRecorder) SetInstanceInfo(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 any) *MockMachineProvisionerSetInstanceInfoCall
- func (mr *MockMachineProvisionerMockRecorder) SetInstanceStatus(arg0, arg1, arg2, arg3 any) *MockMachineProvisionerSetInstanceStatusCall
- func (mr *MockMachineProvisionerMockRecorder) SetModificationStatus(arg0, arg1, arg2, arg3 any) *MockMachineProvisionerSetModificationStatusCall
- func (mr *MockMachineProvisionerMockRecorder) SetPassword(arg0, arg1 any) *MockMachineProvisionerSetPasswordCall
- func (mr *MockMachineProvisionerMockRecorder) SetStatus(arg0, arg1, arg2, arg3 any) *MockMachineProvisionerSetStatusCall
- func (mr *MockMachineProvisionerMockRecorder) SetSupportedContainers(arg0 any, arg1 ...any) *MockMachineProvisionerSetSupportedContainersCall
- func (mr *MockMachineProvisionerMockRecorder) Status(arg0 any) *MockMachineProvisionerStatusCall
- func (mr *MockMachineProvisionerMockRecorder) String() *MockMachineProvisionerStringCall
- func (mr *MockMachineProvisionerMockRecorder) SupportedContainers(arg0 any) *MockMachineProvisionerSupportedContainersCall
- func (mr *MockMachineProvisionerMockRecorder) SupportsNoContainers(arg0 any) *MockMachineProvisionerSupportsNoContainersCall
- func (mr *MockMachineProvisionerMockRecorder) Tag() *MockMachineProvisionerTagCall
- func (mr *MockMachineProvisionerMockRecorder) WatchContainers(arg0, arg1 any) *MockMachineProvisionerWatchContainersCall
- type MockMachineProvisionerModelAgentVersionCall
- func (c *MockMachineProvisionerModelAgentVersionCall) Do(f func(context.Context) (*version.Number, error)) *MockMachineProvisionerModelAgentVersionCall
- func (c *MockMachineProvisionerModelAgentVersionCall) DoAndReturn(f func(context.Context) (*version.Number, error)) *MockMachineProvisionerModelAgentVersionCall
- func (c *MockMachineProvisionerModelAgentVersionCall) Return(arg0 *version.Number, arg1 error) *MockMachineProvisionerModelAgentVersionCall
- type MockMachineProvisionerRefreshCall
- func (c *MockMachineProvisionerRefreshCall) Do(f func(context.Context) error) *MockMachineProvisionerRefreshCall
- func (c *MockMachineProvisionerRefreshCall) DoAndReturn(f func(context.Context) error) *MockMachineProvisionerRefreshCall
- func (c *MockMachineProvisionerRefreshCall) Return(arg0 error) *MockMachineProvisionerRefreshCall
- type MockMachineProvisionerRemoveCall
- func (c *MockMachineProvisionerRemoveCall) Do(f func(context.Context) error) *MockMachineProvisionerRemoveCall
- func (c *MockMachineProvisionerRemoveCall) DoAndReturn(f func(context.Context) error) *MockMachineProvisionerRemoveCall
- func (c *MockMachineProvisionerRemoveCall) Return(arg0 error) *MockMachineProvisionerRemoveCall
- type MockMachineProvisionerSetCharmProfilesCall
- func (c *MockMachineProvisionerSetCharmProfilesCall) Do(f func(context.Context, []string) error) *MockMachineProvisionerSetCharmProfilesCall
- func (c *MockMachineProvisionerSetCharmProfilesCall) DoAndReturn(f func(context.Context, []string) error) *MockMachineProvisionerSetCharmProfilesCall
- func (c *MockMachineProvisionerSetCharmProfilesCall) Return(arg0 error) *MockMachineProvisionerSetCharmProfilesCall
- type MockMachineProvisionerSetInstanceInfoCall
- func (c *MockMachineProvisionerSetInstanceInfoCall) Do(f func(context.Context, instance.Id, string, string, ...) error) *MockMachineProvisionerSetInstanceInfoCall
- func (c *MockMachineProvisionerSetInstanceInfoCall) DoAndReturn(f func(context.Context, instance.Id, string, string, ...) error) *MockMachineProvisionerSetInstanceInfoCall
- func (c *MockMachineProvisionerSetInstanceInfoCall) Return(arg0 error) *MockMachineProvisionerSetInstanceInfoCall
- type MockMachineProvisionerSetInstanceStatusCall
- func (c *MockMachineProvisionerSetInstanceStatusCall) Do(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetInstanceStatusCall
- func (c *MockMachineProvisionerSetInstanceStatusCall) DoAndReturn(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetInstanceStatusCall
- func (c *MockMachineProvisionerSetInstanceStatusCall) Return(arg0 error) *MockMachineProvisionerSetInstanceStatusCall
- type MockMachineProvisionerSetModificationStatusCall
- func (c *MockMachineProvisionerSetModificationStatusCall) Do(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetModificationStatusCall
- func (c *MockMachineProvisionerSetModificationStatusCall) DoAndReturn(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetModificationStatusCall
- func (c *MockMachineProvisionerSetModificationStatusCall) Return(arg0 error) *MockMachineProvisionerSetModificationStatusCall
- type MockMachineProvisionerSetPasswordCall
- func (c *MockMachineProvisionerSetPasswordCall) Do(f func(context.Context, string) error) *MockMachineProvisionerSetPasswordCall
- func (c *MockMachineProvisionerSetPasswordCall) DoAndReturn(f func(context.Context, string) error) *MockMachineProvisionerSetPasswordCall
- func (c *MockMachineProvisionerSetPasswordCall) Return(arg0 error) *MockMachineProvisionerSetPasswordCall
- type MockMachineProvisionerSetStatusCall
- func (c *MockMachineProvisionerSetStatusCall) Do(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetStatusCall
- func (c *MockMachineProvisionerSetStatusCall) DoAndReturn(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetStatusCall
- func (c *MockMachineProvisionerSetStatusCall) Return(arg0 error) *MockMachineProvisionerSetStatusCall
- type MockMachineProvisionerSetSupportedContainersCall
- func (c *MockMachineProvisionerSetSupportedContainersCall) Do(f func(context.Context, ...instance.ContainerType) error) *MockMachineProvisionerSetSupportedContainersCall
- func (c *MockMachineProvisionerSetSupportedContainersCall) DoAndReturn(f func(context.Context, ...instance.ContainerType) error) *MockMachineProvisionerSetSupportedContainersCall
- func (c *MockMachineProvisionerSetSupportedContainersCall) Return(arg0 error) *MockMachineProvisionerSetSupportedContainersCall
- type MockMachineProvisionerStatusCall
- func (c *MockMachineProvisionerStatusCall) Do(f func(context.Context) (status.Status, string, error)) *MockMachineProvisionerStatusCall
- func (c *MockMachineProvisionerStatusCall) DoAndReturn(f func(context.Context) (status.Status, string, error)) *MockMachineProvisionerStatusCall
- func (c *MockMachineProvisionerStatusCall) Return(arg0 status.Status, arg1 string, arg2 error) *MockMachineProvisionerStatusCall
- type MockMachineProvisionerStringCall
- type MockMachineProvisionerSupportedContainersCall
- func (c *MockMachineProvisionerSupportedContainersCall) Do(f func(context.Context) ([]instance.ContainerType, bool, error)) *MockMachineProvisionerSupportedContainersCall
- func (c *MockMachineProvisionerSupportedContainersCall) DoAndReturn(f func(context.Context) ([]instance.ContainerType, bool, error)) *MockMachineProvisionerSupportedContainersCall
- func (c *MockMachineProvisionerSupportedContainersCall) Return(arg0 []instance.ContainerType, arg1 bool, arg2 error) *MockMachineProvisionerSupportedContainersCall
- type MockMachineProvisionerSupportsNoContainersCall
- func (c *MockMachineProvisionerSupportsNoContainersCall) Do(f func(context.Context) error) *MockMachineProvisionerSupportsNoContainersCall
- func (c *MockMachineProvisionerSupportsNoContainersCall) DoAndReturn(f func(context.Context) error) *MockMachineProvisionerSupportsNoContainersCall
- func (c *MockMachineProvisionerSupportsNoContainersCall) Return(arg0 error) *MockMachineProvisionerSupportsNoContainersCall
- type MockMachineProvisionerTagCall
- type MockMachineProvisionerWatchContainersCall
- func (c *MockMachineProvisionerWatchContainersCall) Do(...) *MockMachineProvisionerWatchContainersCall
- func (c *MockMachineProvisionerWatchContainersCall) DoAndReturn(...) *MockMachineProvisionerWatchContainersCall
- func (c *MockMachineProvisionerWatchContainersCall) Return(arg0 watcher.Watcher[[]string], arg1 error) *MockMachineProvisionerWatchContainersCall
- type MockState
- func (m *MockState) ContainerConfig(arg0 context.Context) (params.ContainerConfig, error)
- func (m *MockState) ContainerManagerConfig(arg0 context.Context, arg1 params.ContainerManagerConfigParams) (params.ContainerManagerConfig, error)
- func (m *MockState) EXPECT() *MockStateMockRecorder
- func (m *MockState) GetContainerProfileInfo(arg0 context.Context, arg1 names.MachineTag) ([]*provisioner.LXDProfileResult, error)
- func (m *MockState) HostChangesForContainer(arg0 context.Context, arg1 names.MachineTag) ([]network0.DeviceToBridge, int, error)
- func (m *MockState) Machines(arg0 context.Context, arg1 ...names.MachineTag) ([]provisioner.MachineResult, error)
- func (m *MockState) PrepareContainerInterfaceInfo(arg0 context.Context, arg1 names.MachineTag) (network.InterfaceInfos, error)
- func (m *MockState) ReleaseContainerAddresses(arg0 context.Context, arg1 names.MachineTag) error
- func (m *MockState) SetHostMachineNetworkConfig(arg0 context.Context, arg1 names.MachineTag, arg2 []params.NetworkConfig) error
- type MockStateContainerConfigCall
- func (c *MockStateContainerConfigCall) Do(f func(context.Context) (params.ContainerConfig, error)) *MockStateContainerConfigCall
- func (c *MockStateContainerConfigCall) DoAndReturn(f func(context.Context) (params.ContainerConfig, error)) *MockStateContainerConfigCall
- func (c *MockStateContainerConfigCall) Return(arg0 params.ContainerConfig, arg1 error) *MockStateContainerConfigCall
- type MockStateContainerManagerConfigCall
- func (c *MockStateContainerManagerConfigCall) Do(...) *MockStateContainerManagerConfigCall
- func (c *MockStateContainerManagerConfigCall) DoAndReturn(...) *MockStateContainerManagerConfigCall
- func (c *MockStateContainerManagerConfigCall) Return(arg0 params.ContainerManagerConfig, arg1 error) *MockStateContainerManagerConfigCall
- type MockStateGetContainerProfileInfoCall
- func (c *MockStateGetContainerProfileInfoCall) Do(...) *MockStateGetContainerProfileInfoCall
- func (c *MockStateGetContainerProfileInfoCall) DoAndReturn(...) *MockStateGetContainerProfileInfoCall
- func (c *MockStateGetContainerProfileInfoCall) Return(arg0 []*provisioner.LXDProfileResult, arg1 error) *MockStateGetContainerProfileInfoCall
- type MockStateHostChangesForContainerCall
- func (c *MockStateHostChangesForContainerCall) Do(...) *MockStateHostChangesForContainerCall
- func (c *MockStateHostChangesForContainerCall) DoAndReturn(...) *MockStateHostChangesForContainerCall
- func (c *MockStateHostChangesForContainerCall) Return(arg0 []network0.DeviceToBridge, arg1 int, arg2 error) *MockStateHostChangesForContainerCall
- type MockStateMachinesCall
- type MockStateMockRecorder
- func (mr *MockStateMockRecorder) ContainerConfig(arg0 any) *MockStateContainerConfigCall
- func (mr *MockStateMockRecorder) ContainerManagerConfig(arg0, arg1 any) *MockStateContainerManagerConfigCall
- func (mr *MockStateMockRecorder) GetContainerProfileInfo(arg0, arg1 any) *MockStateGetContainerProfileInfoCall
- func (mr *MockStateMockRecorder) HostChangesForContainer(arg0, arg1 any) *MockStateHostChangesForContainerCall
- func (mr *MockStateMockRecorder) Machines(arg0 any, arg1 ...any) *MockStateMachinesCall
- func (mr *MockStateMockRecorder) PrepareContainerInterfaceInfo(arg0, arg1 any) *MockStatePrepareContainerInterfaceInfoCall
- func (mr *MockStateMockRecorder) ReleaseContainerAddresses(arg0, arg1 any) *MockStateReleaseContainerAddressesCall
- func (mr *MockStateMockRecorder) SetHostMachineNetworkConfig(arg0, arg1, arg2 any) *MockStateSetHostMachineNetworkConfigCall
- type MockStatePrepareContainerInterfaceInfoCall
- func (c *MockStatePrepareContainerInterfaceInfoCall) Do(f func(context.Context, names.MachineTag) (network.InterfaceInfos, error)) *MockStatePrepareContainerInterfaceInfoCall
- func (c *MockStatePrepareContainerInterfaceInfoCall) DoAndReturn(f func(context.Context, names.MachineTag) (network.InterfaceInfos, error)) *MockStatePrepareContainerInterfaceInfoCall
- func (c *MockStatePrepareContainerInterfaceInfoCall) Return(arg0 network.InterfaceInfos, arg1 error) *MockStatePrepareContainerInterfaceInfoCall
- type MockStateReleaseContainerAddressesCall
- func (c *MockStateReleaseContainerAddressesCall) Do(f func(context.Context, names.MachineTag) error) *MockStateReleaseContainerAddressesCall
- func (c *MockStateReleaseContainerAddressesCall) DoAndReturn(f func(context.Context, names.MachineTag) error) *MockStateReleaseContainerAddressesCall
- func (c *MockStateReleaseContainerAddressesCall) Return(arg0 error) *MockStateReleaseContainerAddressesCall
- type MockStateSetHostMachineNetworkConfigCall
- func (c *MockStateSetHostMachineNetworkConfigCall) Do(f func(context.Context, names.MachineTag, []params.NetworkConfig) error) *MockStateSetHostMachineNetworkConfigCall
- func (c *MockStateSetHostMachineNetworkConfigCall) DoAndReturn(f func(context.Context, names.MachineTag, []params.NetworkConfig) error) *MockStateSetHostMachineNetworkConfigCall
- func (c *MockStateSetHostMachineNetworkConfigCall) Return(arg0 error) *MockStateSetHostMachineNetworkConfigCall
- type MockWorker
- type MockWorkerKillCall
- type MockWorkerMockRecorder
- type MockWorkerWaitCall
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 ¶
func (m *MockAPICaller) EXPECT() *MockAPICallerMockRecorder
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 ¶
MockAPICallerAPICallCall wrap *gomock.Call
func (*MockAPICallerAPICallCall) Do ¶
func (c *MockAPICallerAPICallCall) Do(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallerAPICallCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerAPICallCall) DoAndReturn ¶
func (c *MockAPICallerAPICallCall) DoAndReturn(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallerAPICallCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerAPICallCall) Return ¶
func (c *MockAPICallerAPICallCall) Return(arg0 error) *MockAPICallerAPICallCall
Return rewrite *gomock.Call.Return
type MockAPICallerBakeryClientCall ¶
MockAPICallerBakeryClientCall wrap *gomock.Call
func (*MockAPICallerBakeryClientCall) Do ¶
func (c *MockAPICallerBakeryClientCall) Do(f func() base.MacaroonDischarger) *MockAPICallerBakeryClientCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerBakeryClientCall) DoAndReturn ¶
func (c *MockAPICallerBakeryClientCall) DoAndReturn(f func() base.MacaroonDischarger) *MockAPICallerBakeryClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerBakeryClientCall) Return ¶
func (c *MockAPICallerBakeryClientCall) Return(arg0 base.MacaroonDischarger) *MockAPICallerBakeryClientCall
Return rewrite *gomock.Call.Return
type MockAPICallerBestFacadeVersionCall ¶
MockAPICallerBestFacadeVersionCall wrap *gomock.Call
func (*MockAPICallerBestFacadeVersionCall) Do ¶
func (c *MockAPICallerBestFacadeVersionCall) Do(f func(string) int) *MockAPICallerBestFacadeVersionCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerBestFacadeVersionCall) DoAndReturn ¶
func (c *MockAPICallerBestFacadeVersionCall) DoAndReturn(f func(string) int) *MockAPICallerBestFacadeVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerBestFacadeVersionCall) Return ¶
func (c *MockAPICallerBestFacadeVersionCall) Return(arg0 int) *MockAPICallerBestFacadeVersionCall
Return rewrite *gomock.Call.Return
type MockAPICallerConnectControllerStreamCall ¶
MockAPICallerConnectControllerStreamCall wrap *gomock.Call
func (*MockAPICallerConnectControllerStreamCall) Do ¶
func (c *MockAPICallerConnectControllerStreamCall) Do(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallerConnectControllerStreamCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerConnectControllerStreamCall) DoAndReturn ¶
func (c *MockAPICallerConnectControllerStreamCall) DoAndReturn(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallerConnectControllerStreamCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerConnectControllerStreamCall) Return ¶
func (c *MockAPICallerConnectControllerStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallerConnectControllerStreamCall
Return rewrite *gomock.Call.Return
type MockAPICallerConnectStreamCall ¶
MockAPICallerConnectStreamCall wrap *gomock.Call
func (*MockAPICallerConnectStreamCall) Do ¶
func (c *MockAPICallerConnectStreamCall) Do(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallerConnectStreamCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerConnectStreamCall) DoAndReturn ¶
func (c *MockAPICallerConnectStreamCall) DoAndReturn(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallerConnectStreamCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerConnectStreamCall) Return ¶
func (c *MockAPICallerConnectStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallerConnectStreamCall
Return rewrite *gomock.Call.Return
type MockAPICallerHTTPClientCall ¶
MockAPICallerHTTPClientCall wrap *gomock.Call
func (*MockAPICallerHTTPClientCall) Do ¶
func (c *MockAPICallerHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallerHTTPClientCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerHTTPClientCall) DoAndReturn ¶
func (c *MockAPICallerHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallerHTTPClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerHTTPClientCall) Return ¶
func (c *MockAPICallerHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallerHTTPClientCall
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 ¶
func (mr *MockAPICallerMockRecorder) BakeryClient() *MockAPICallerBakeryClientCall
BakeryClient indicates an expected call of BakeryClient.
func (*MockAPICallerMockRecorder) BestFacadeVersion ¶
func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 any) *MockAPICallerBestFacadeVersionCall
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 ¶
func (mr *MockAPICallerMockRecorder) HTTPClient() *MockAPICallerHTTPClientCall
HTTPClient indicates an expected call of HTTPClient.
func (*MockAPICallerMockRecorder) ModelTag ¶
func (mr *MockAPICallerMockRecorder) ModelTag() *MockAPICallerModelTagCall
ModelTag indicates an expected call of ModelTag.
func (*MockAPICallerMockRecorder) RootHTTPClient ¶
func (mr *MockAPICallerMockRecorder) RootHTTPClient() *MockAPICallerRootHTTPClientCall
RootHTTPClient indicates an expected call of RootHTTPClient.
type MockAPICallerModelTagCall ¶
MockAPICallerModelTagCall wrap *gomock.Call
func (*MockAPICallerModelTagCall) Do ¶
func (c *MockAPICallerModelTagCall) Do(f func() (names.ModelTag, bool)) *MockAPICallerModelTagCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerModelTagCall) DoAndReturn ¶
func (c *MockAPICallerModelTagCall) DoAndReturn(f func() (names.ModelTag, bool)) *MockAPICallerModelTagCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerModelTagCall) Return ¶
func (c *MockAPICallerModelTagCall) Return(arg0 names.ModelTag, arg1 bool) *MockAPICallerModelTagCall
Return rewrite *gomock.Call.Return
type MockAPICallerRootHTTPClientCall ¶
MockAPICallerRootHTTPClientCall wrap *gomock.Call
func (*MockAPICallerRootHTTPClientCall) Do ¶
func (c *MockAPICallerRootHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallerRootHTTPClientCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerRootHTTPClientCall) DoAndReturn ¶
func (c *MockAPICallerRootHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallerRootHTTPClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerRootHTTPClientCall) Return ¶
func (c *MockAPICallerRootHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallerRootHTTPClientCall
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 ¶
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 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 ¶
func (m *MockInstanceBroker) AllInstances(arg0 envcontext.ProviderCallContext) ([]instances.Instance, error)
AllInstances mocks base method.
func (*MockInstanceBroker) AllRunningInstances ¶
func (m *MockInstanceBroker) AllRunningInstances(arg0 envcontext.ProviderCallContext) ([]instances.Instance, error)
AllRunningInstances mocks base method.
func (*MockInstanceBroker) EXPECT ¶
func (m *MockInstanceBroker) EXPECT() *MockInstanceBrokerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstanceBroker) StartInstance ¶
func (m *MockInstanceBroker) StartInstance(arg0 envcontext.ProviderCallContext, arg1 environs.StartInstanceParams) (*environs.StartInstanceResult, error)
StartInstance mocks base method.
func (*MockInstanceBroker) StopInstances ¶
func (m *MockInstanceBroker) StopInstances(arg0 envcontext.ProviderCallContext, arg1 ...instance.Id) error
StopInstances mocks base method.
type MockInstanceBrokerAllInstancesCall ¶
MockInstanceBrokerAllInstancesCall wrap *gomock.Call
func (*MockInstanceBrokerAllInstancesCall) Do ¶
func (c *MockInstanceBrokerAllInstancesCall) Do(f func(envcontext.ProviderCallContext) ([]instances.Instance, error)) *MockInstanceBrokerAllInstancesCall
Do rewrite *gomock.Call.Do
func (*MockInstanceBrokerAllInstancesCall) DoAndReturn ¶
func (c *MockInstanceBrokerAllInstancesCall) DoAndReturn(f func(envcontext.ProviderCallContext) ([]instances.Instance, error)) *MockInstanceBrokerAllInstancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInstanceBrokerAllInstancesCall) Return ¶
func (c *MockInstanceBrokerAllInstancesCall) Return(arg0 []instances.Instance, arg1 error) *MockInstanceBrokerAllInstancesCall
Return rewrite *gomock.Call.Return
type MockInstanceBrokerAllRunningInstancesCall ¶
MockInstanceBrokerAllRunningInstancesCall wrap *gomock.Call
func (*MockInstanceBrokerAllRunningInstancesCall) Do ¶
func (c *MockInstanceBrokerAllRunningInstancesCall) Do(f func(envcontext.ProviderCallContext) ([]instances.Instance, error)) *MockInstanceBrokerAllRunningInstancesCall
Do rewrite *gomock.Call.Do
func (*MockInstanceBrokerAllRunningInstancesCall) DoAndReturn ¶
func (c *MockInstanceBrokerAllRunningInstancesCall) DoAndReturn(f func(envcontext.ProviderCallContext) ([]instances.Instance, error)) *MockInstanceBrokerAllRunningInstancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInstanceBrokerAllRunningInstancesCall) Return ¶
func (c *MockInstanceBrokerAllRunningInstancesCall) Return(arg0 []instances.Instance, arg1 error) *MockInstanceBrokerAllRunningInstancesCall
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 ¶
func (mr *MockInstanceBrokerMockRecorder) AllInstances(arg0 any) *MockInstanceBrokerAllInstancesCall
AllInstances indicates an expected call of AllInstances.
func (*MockInstanceBrokerMockRecorder) AllRunningInstances ¶
func (mr *MockInstanceBrokerMockRecorder) AllRunningInstances(arg0 any) *MockInstanceBrokerAllRunningInstancesCall
AllRunningInstances indicates an expected call of AllRunningInstances.
func (*MockInstanceBrokerMockRecorder) StartInstance ¶
func (mr *MockInstanceBrokerMockRecorder) StartInstance(arg0, arg1 any) *MockInstanceBrokerStartInstanceCall
StartInstance indicates an expected call of StartInstance.
func (*MockInstanceBrokerMockRecorder) StopInstances ¶
func (mr *MockInstanceBrokerMockRecorder) StopInstances(arg0 any, arg1 ...any) *MockInstanceBrokerStopInstancesCall
StopInstances indicates an expected call of StopInstances.
type MockInstanceBrokerStartInstanceCall ¶
MockInstanceBrokerStartInstanceCall wrap *gomock.Call
func (*MockInstanceBrokerStartInstanceCall) Do ¶
func (c *MockInstanceBrokerStartInstanceCall) Do(f func(envcontext.ProviderCallContext, environs.StartInstanceParams) (*environs.StartInstanceResult, error)) *MockInstanceBrokerStartInstanceCall
Do rewrite *gomock.Call.Do
func (*MockInstanceBrokerStartInstanceCall) DoAndReturn ¶
func (c *MockInstanceBrokerStartInstanceCall) DoAndReturn(f func(envcontext.ProviderCallContext, environs.StartInstanceParams) (*environs.StartInstanceResult, error)) *MockInstanceBrokerStartInstanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInstanceBrokerStartInstanceCall) Return ¶
func (c *MockInstanceBrokerStartInstanceCall) Return(arg0 *environs.StartInstanceResult, arg1 error) *MockInstanceBrokerStartInstanceCall
Return rewrite *gomock.Call.Return
type MockInstanceBrokerStopInstancesCall ¶
MockInstanceBrokerStopInstancesCall wrap *gomock.Call
func (*MockInstanceBrokerStopInstancesCall) Do ¶
func (c *MockInstanceBrokerStopInstancesCall) Do(f func(envcontext.ProviderCallContext, ...instance.Id) error) *MockInstanceBrokerStopInstancesCall
Do rewrite *gomock.Call.Do
func (*MockInstanceBrokerStopInstancesCall) DoAndReturn ¶
func (c *MockInstanceBrokerStopInstancesCall) DoAndReturn(f func(envcontext.ProviderCallContext, ...instance.Id) error) *MockInstanceBrokerStopInstancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInstanceBrokerStopInstancesCall) Return ¶
func (c *MockInstanceBrokerStopInstancesCall) Return(arg0 error) *MockInstanceBrokerStopInstancesCall
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 ¶
func (m *MockLXDProfiler) EXPECT() *MockLXDProfilerMockRecorder
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 ¶
MockLXDProfilerAssignLXDProfilesCall wrap *gomock.Call
func (*MockLXDProfilerAssignLXDProfilesCall) Do ¶
func (c *MockLXDProfilerAssignLXDProfilesCall) Do(f func(string, []string, []lxdprofile.ProfilePost) ([]string, error)) *MockLXDProfilerAssignLXDProfilesCall
Do rewrite *gomock.Call.Do
func (*MockLXDProfilerAssignLXDProfilesCall) DoAndReturn ¶
func (c *MockLXDProfilerAssignLXDProfilesCall) DoAndReturn(f func(string, []string, []lxdprofile.ProfilePost) ([]string, error)) *MockLXDProfilerAssignLXDProfilesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockLXDProfilerAssignLXDProfilesCall) Return ¶
func (c *MockLXDProfilerAssignLXDProfilesCall) Return(arg0 []string, arg1 error) *MockLXDProfilerAssignLXDProfilesCall
Return rewrite *gomock.Call.Return
type MockLXDProfilerLXDProfileNamesCall ¶
MockLXDProfilerLXDProfileNamesCall wrap *gomock.Call
func (*MockLXDProfilerLXDProfileNamesCall) Do ¶
func (c *MockLXDProfilerLXDProfileNamesCall) Do(f func(string) ([]string, error)) *MockLXDProfilerLXDProfileNamesCall
Do rewrite *gomock.Call.Do
func (*MockLXDProfilerLXDProfileNamesCall) DoAndReturn ¶
func (c *MockLXDProfilerLXDProfileNamesCall) DoAndReturn(f func(string) ([]string, error)) *MockLXDProfilerLXDProfileNamesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockLXDProfilerLXDProfileNamesCall) Return ¶
func (c *MockLXDProfilerLXDProfileNamesCall) Return(arg0 []string, arg1 error) *MockLXDProfilerLXDProfileNamesCall
Return rewrite *gomock.Call.Return
type MockLXDProfilerMaybeWriteLXDProfileCall ¶
MockLXDProfilerMaybeWriteLXDProfileCall wrap *gomock.Call
func (*MockLXDProfilerMaybeWriteLXDProfileCall) Do ¶
func (c *MockLXDProfilerMaybeWriteLXDProfileCall) Do(f func(string, lxdprofile.Profile) error) *MockLXDProfilerMaybeWriteLXDProfileCall
Do rewrite *gomock.Call.Do
func (*MockLXDProfilerMaybeWriteLXDProfileCall) DoAndReturn ¶
func (c *MockLXDProfilerMaybeWriteLXDProfileCall) DoAndReturn(f func(string, lxdprofile.Profile) error) *MockLXDProfilerMaybeWriteLXDProfileCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockLXDProfilerMaybeWriteLXDProfileCall) Return ¶
func (c *MockLXDProfilerMaybeWriteLXDProfileCall) Return(arg0 error) *MockLXDProfilerMaybeWriteLXDProfileCall
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 ¶
func (mr *MockLXDProfilerMockRecorder) LXDProfileNames(arg0 any) *MockLXDProfilerLXDProfileNamesCall
LXDProfileNames indicates an expected call of LXDProfileNames.
func (*MockLXDProfilerMockRecorder) MaybeWriteLXDProfile ¶
func (mr *MockLXDProfilerMockRecorder) MaybeWriteLXDProfile(arg0, arg1 any) *MockLXDProfilerMaybeWriteLXDProfileCall
MaybeWriteLXDProfile indicates an expected call of MaybeWriteLXDProfile.
type MockLock ¶
type MockLock struct {
// contains filtered or unexported fields
}
MockLock is a mock of Lock interface.
func NewMockLock ¶
func NewMockLock(ctrl *gomock.Controller) *MockLock
NewMockLock creates a new mock instance.
func (*MockLock) Acquire ¶
func (m *MockLock) Acquire(arg0 machinelock.Spec) (func(), error)
Acquire mocks base method.
func (*MockLock) EXPECT ¶
func (m *MockLock) EXPECT() *MockLockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLock) Report ¶
func (m *MockLock) Report(arg0 ...machinelock.ReportOption) (string, error)
Report mocks base method.
type MockLockAcquireCall ¶
MockLockAcquireCall wrap *gomock.Call
func (*MockLockAcquireCall) Do ¶
func (c *MockLockAcquireCall) Do(f func(machinelock.Spec) (func(), error)) *MockLockAcquireCall
Do rewrite *gomock.Call.Do
func (*MockLockAcquireCall) DoAndReturn ¶
func (c *MockLockAcquireCall) DoAndReturn(f func(machinelock.Spec) (func(), error)) *MockLockAcquireCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockLockAcquireCall) Return ¶
func (c *MockLockAcquireCall) Return(arg0 func(), arg1 error) *MockLockAcquireCall
Return rewrite *gomock.Call.Return
type MockLockMockRecorder ¶
type MockLockMockRecorder struct {
// contains filtered or unexported fields
}
MockLockMockRecorder is the mock recorder for MockLock.
func (*MockLockMockRecorder) Acquire ¶
func (mr *MockLockMockRecorder) Acquire(arg0 any) *MockLockAcquireCall
Acquire indicates an expected call of Acquire.
func (*MockLockMockRecorder) Report ¶
func (mr *MockLockMockRecorder) Report(arg0 ...any) *MockLockReportCall
Report indicates an expected call of Report.
type MockLockReportCall ¶
MockLockReportCall wrap *gomock.Call
func (*MockLockReportCall) Do ¶
func (c *MockLockReportCall) Do(f func(...machinelock.ReportOption) (string, error)) *MockLockReportCall
Do rewrite *gomock.Call.Do
func (*MockLockReportCall) DoAndReturn ¶
func (c *MockLockReportCall) DoAndReturn(f func(...machinelock.ReportOption) (string, error)) *MockLockReportCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockLockReportCall) Return ¶
func (c *MockLockReportCall) Return(arg0 string, arg1 error) *MockLockReportCall
Return rewrite *gomock.Call.Return
type MockMachineProvisioner ¶
type MockMachineProvisioner struct {
// contains filtered or unexported fields
}
MockMachineProvisioner is a mock of MachineProvisioner interface.
func NewMockMachineProvisioner ¶
func NewMockMachineProvisioner(ctrl *gomock.Controller) *MockMachineProvisioner
NewMockMachineProvisioner creates a new mock instance.
func (*MockMachineProvisioner) AvailabilityZone ¶
func (m *MockMachineProvisioner) AvailabilityZone(arg0 context.Context) (string, error)
AvailabilityZone mocks base method.
func (*MockMachineProvisioner) DistributionGroup ¶
DistributionGroup mocks base method.
func (*MockMachineProvisioner) EXPECT ¶
func (m *MockMachineProvisioner) EXPECT() *MockMachineProvisionerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMachineProvisioner) EnsureDead ¶
func (m *MockMachineProvisioner) EnsureDead(arg0 context.Context) error
EnsureDead mocks base method.
func (*MockMachineProvisioner) Id ¶
func (m *MockMachineProvisioner) Id() string
Id mocks base method.
func (*MockMachineProvisioner) InstanceId ¶
InstanceId mocks base method.
func (*MockMachineProvisioner) InstanceStatus ¶
func (m *MockMachineProvisioner) InstanceStatus(arg0 context.Context) (status.Status, string, error)
InstanceStatus mocks base method.
func (*MockMachineProvisioner) KeepInstance ¶
func (m *MockMachineProvisioner) KeepInstance(arg0 context.Context) (bool, error)
KeepInstance mocks base method.
func (*MockMachineProvisioner) Life ¶
func (m *MockMachineProvisioner) Life() life.Value
Life mocks base method.
func (*MockMachineProvisioner) MachineTag ¶
func (m *MockMachineProvisioner) MachineTag() names.MachineTag
MachineTag mocks base method.
func (*MockMachineProvisioner) MarkForRemoval ¶
func (m *MockMachineProvisioner) MarkForRemoval(arg0 context.Context) error
MarkForRemoval mocks base method.
func (*MockMachineProvisioner) ModelAgentVersion ¶
ModelAgentVersion mocks base method.
func (*MockMachineProvisioner) Refresh ¶
func (m *MockMachineProvisioner) Refresh(arg0 context.Context) error
Refresh mocks base method.
func (*MockMachineProvisioner) Remove ¶
func (m *MockMachineProvisioner) Remove(arg0 context.Context) error
Remove mocks base method.
func (*MockMachineProvisioner) SetCharmProfiles ¶
func (m *MockMachineProvisioner) SetCharmProfiles(arg0 context.Context, arg1 []string) error
SetCharmProfiles mocks base method.
func (*MockMachineProvisioner) SetInstanceInfo ¶
func (m *MockMachineProvisioner) SetInstanceInfo(arg0 context.Context, arg1 instance.Id, arg2, arg3 string, arg4 *instance.HardwareCharacteristics, arg5 []params.NetworkConfig, arg6 []params.Volume, arg7 map[string]params.VolumeAttachmentInfo, arg8 []string) error
SetInstanceInfo mocks base method.
func (*MockMachineProvisioner) SetInstanceStatus ¶
func (m *MockMachineProvisioner) SetInstanceStatus(arg0 context.Context, arg1 status.Status, arg2 string, arg3 map[string]any) error
SetInstanceStatus mocks base method.
func (*MockMachineProvisioner) SetModificationStatus ¶
func (m *MockMachineProvisioner) SetModificationStatus(arg0 context.Context, arg1 status.Status, arg2 string, arg3 map[string]any) error
SetModificationStatus mocks base method.
func (*MockMachineProvisioner) SetPassword ¶
func (m *MockMachineProvisioner) SetPassword(arg0 context.Context, arg1 string) error
SetPassword mocks base method.
func (*MockMachineProvisioner) SetStatus ¶
func (m *MockMachineProvisioner) SetStatus(arg0 context.Context, arg1 status.Status, arg2 string, arg3 map[string]any) error
SetStatus mocks base method.
func (*MockMachineProvisioner) SetSupportedContainers ¶
func (m *MockMachineProvisioner) SetSupportedContainers(arg0 context.Context, arg1 ...instance.ContainerType) error
SetSupportedContainers mocks base method.
func (*MockMachineProvisioner) String ¶
func (m *MockMachineProvisioner) String() string
String mocks base method.
func (*MockMachineProvisioner) SupportedContainers ¶
func (m *MockMachineProvisioner) SupportedContainers(arg0 context.Context) ([]instance.ContainerType, bool, error)
SupportedContainers mocks base method.
func (*MockMachineProvisioner) SupportsNoContainers ¶
func (m *MockMachineProvisioner) SupportsNoContainers(arg0 context.Context) error
SupportsNoContainers mocks base method.
func (*MockMachineProvisioner) Tag ¶
func (m *MockMachineProvisioner) Tag() names.Tag
Tag mocks base method.
func (*MockMachineProvisioner) WatchContainers ¶
func (m *MockMachineProvisioner) WatchContainers(arg0 context.Context, arg1 instance.ContainerType) (watcher.Watcher[[]string], error)
WatchContainers mocks base method.
type MockMachineProvisionerAvailabilityZoneCall ¶
MockMachineProvisionerAvailabilityZoneCall wrap *gomock.Call
func (*MockMachineProvisionerAvailabilityZoneCall) Do ¶
func (c *MockMachineProvisionerAvailabilityZoneCall) Do(f func(context.Context) (string, error)) *MockMachineProvisionerAvailabilityZoneCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerAvailabilityZoneCall) DoAndReturn ¶
func (c *MockMachineProvisionerAvailabilityZoneCall) DoAndReturn(f func(context.Context) (string, error)) *MockMachineProvisionerAvailabilityZoneCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerAvailabilityZoneCall) Return ¶
func (c *MockMachineProvisionerAvailabilityZoneCall) Return(arg0 string, arg1 error) *MockMachineProvisionerAvailabilityZoneCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerDistributionGroupCall ¶
MockMachineProvisionerDistributionGroupCall wrap *gomock.Call
func (*MockMachineProvisionerDistributionGroupCall) Do ¶
func (c *MockMachineProvisionerDistributionGroupCall) Do(f func(context.Context) ([]instance.Id, error)) *MockMachineProvisionerDistributionGroupCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerDistributionGroupCall) DoAndReturn ¶
func (c *MockMachineProvisionerDistributionGroupCall) DoAndReturn(f func(context.Context) ([]instance.Id, error)) *MockMachineProvisionerDistributionGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerDistributionGroupCall) Return ¶
func (c *MockMachineProvisionerDistributionGroupCall) Return(arg0 []instance.Id, arg1 error) *MockMachineProvisionerDistributionGroupCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerEnsureDeadCall ¶
MockMachineProvisionerEnsureDeadCall wrap *gomock.Call
func (*MockMachineProvisionerEnsureDeadCall) Do ¶
func (c *MockMachineProvisionerEnsureDeadCall) Do(f func(context.Context) error) *MockMachineProvisionerEnsureDeadCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerEnsureDeadCall) DoAndReturn ¶
func (c *MockMachineProvisionerEnsureDeadCall) DoAndReturn(f func(context.Context) error) *MockMachineProvisionerEnsureDeadCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerEnsureDeadCall) Return ¶
func (c *MockMachineProvisionerEnsureDeadCall) Return(arg0 error) *MockMachineProvisionerEnsureDeadCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerIdCall ¶
MockMachineProvisionerIdCall wrap *gomock.Call
func (*MockMachineProvisionerIdCall) Do ¶
func (c *MockMachineProvisionerIdCall) Do(f func() string) *MockMachineProvisionerIdCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerIdCall) DoAndReturn ¶
func (c *MockMachineProvisionerIdCall) DoAndReturn(f func() string) *MockMachineProvisionerIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerIdCall) Return ¶
func (c *MockMachineProvisionerIdCall) Return(arg0 string) *MockMachineProvisionerIdCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerInstanceIdCall ¶
MockMachineProvisionerInstanceIdCall wrap *gomock.Call
func (*MockMachineProvisionerInstanceIdCall) Do ¶
func (c *MockMachineProvisionerInstanceIdCall) Do(f func(context.Context) (instance.Id, error)) *MockMachineProvisionerInstanceIdCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerInstanceIdCall) DoAndReturn ¶
func (c *MockMachineProvisionerInstanceIdCall) DoAndReturn(f func(context.Context) (instance.Id, error)) *MockMachineProvisionerInstanceIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerInstanceIdCall) Return ¶
func (c *MockMachineProvisionerInstanceIdCall) Return(arg0 instance.Id, arg1 error) *MockMachineProvisionerInstanceIdCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerInstanceStatusCall ¶
MockMachineProvisionerInstanceStatusCall wrap *gomock.Call
func (*MockMachineProvisionerInstanceStatusCall) Do ¶
func (c *MockMachineProvisionerInstanceStatusCall) Do(f func(context.Context) (status.Status, string, error)) *MockMachineProvisionerInstanceStatusCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerInstanceStatusCall) DoAndReturn ¶
func (c *MockMachineProvisionerInstanceStatusCall) DoAndReturn(f func(context.Context) (status.Status, string, error)) *MockMachineProvisionerInstanceStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerInstanceStatusCall) Return ¶
func (c *MockMachineProvisionerInstanceStatusCall) Return(arg0 status.Status, arg1 string, arg2 error) *MockMachineProvisionerInstanceStatusCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerKeepInstanceCall ¶
MockMachineProvisionerKeepInstanceCall wrap *gomock.Call
func (*MockMachineProvisionerKeepInstanceCall) Do ¶
func (c *MockMachineProvisionerKeepInstanceCall) Do(f func(context.Context) (bool, error)) *MockMachineProvisionerKeepInstanceCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerKeepInstanceCall) DoAndReturn ¶
func (c *MockMachineProvisionerKeepInstanceCall) DoAndReturn(f func(context.Context) (bool, error)) *MockMachineProvisionerKeepInstanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerKeepInstanceCall) Return ¶
func (c *MockMachineProvisionerKeepInstanceCall) Return(arg0 bool, arg1 error) *MockMachineProvisionerKeepInstanceCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerLifeCall ¶
MockMachineProvisionerLifeCall wrap *gomock.Call
func (*MockMachineProvisionerLifeCall) Do ¶
func (c *MockMachineProvisionerLifeCall) Do(f func() life.Value) *MockMachineProvisionerLifeCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerLifeCall) DoAndReturn ¶
func (c *MockMachineProvisionerLifeCall) DoAndReturn(f func() life.Value) *MockMachineProvisionerLifeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerLifeCall) Return ¶
func (c *MockMachineProvisionerLifeCall) Return(arg0 life.Value) *MockMachineProvisionerLifeCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerMachineTagCall ¶
MockMachineProvisionerMachineTagCall wrap *gomock.Call
func (*MockMachineProvisionerMachineTagCall) Do ¶
func (c *MockMachineProvisionerMachineTagCall) Do(f func() names.MachineTag) *MockMachineProvisionerMachineTagCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerMachineTagCall) DoAndReturn ¶
func (c *MockMachineProvisionerMachineTagCall) DoAndReturn(f func() names.MachineTag) *MockMachineProvisionerMachineTagCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerMachineTagCall) Return ¶
func (c *MockMachineProvisionerMachineTagCall) Return(arg0 names.MachineTag) *MockMachineProvisionerMachineTagCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerMarkForRemovalCall ¶
MockMachineProvisionerMarkForRemovalCall wrap *gomock.Call
func (*MockMachineProvisionerMarkForRemovalCall) Do ¶
func (c *MockMachineProvisionerMarkForRemovalCall) Do(f func(context.Context) error) *MockMachineProvisionerMarkForRemovalCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerMarkForRemovalCall) DoAndReturn ¶
func (c *MockMachineProvisionerMarkForRemovalCall) DoAndReturn(f func(context.Context) error) *MockMachineProvisionerMarkForRemovalCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerMarkForRemovalCall) Return ¶
func (c *MockMachineProvisionerMarkForRemovalCall) Return(arg0 error) *MockMachineProvisionerMarkForRemovalCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerMockRecorder ¶
type MockMachineProvisionerMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineProvisionerMockRecorder is the mock recorder for MockMachineProvisioner.
func (*MockMachineProvisionerMockRecorder) AvailabilityZone ¶
func (mr *MockMachineProvisionerMockRecorder) AvailabilityZone(arg0 any) *MockMachineProvisionerAvailabilityZoneCall
AvailabilityZone indicates an expected call of AvailabilityZone.
func (*MockMachineProvisionerMockRecorder) DistributionGroup ¶
func (mr *MockMachineProvisionerMockRecorder) DistributionGroup(arg0 any) *MockMachineProvisionerDistributionGroupCall
DistributionGroup indicates an expected call of DistributionGroup.
func (*MockMachineProvisionerMockRecorder) EnsureDead ¶
func (mr *MockMachineProvisionerMockRecorder) EnsureDead(arg0 any) *MockMachineProvisionerEnsureDeadCall
EnsureDead indicates an expected call of EnsureDead.
func (*MockMachineProvisionerMockRecorder) Id ¶
func (mr *MockMachineProvisionerMockRecorder) Id() *MockMachineProvisionerIdCall
Id indicates an expected call of Id.
func (*MockMachineProvisionerMockRecorder) InstanceId ¶
func (mr *MockMachineProvisionerMockRecorder) InstanceId(arg0 any) *MockMachineProvisionerInstanceIdCall
InstanceId indicates an expected call of InstanceId.
func (*MockMachineProvisionerMockRecorder) InstanceStatus ¶
func (mr *MockMachineProvisionerMockRecorder) InstanceStatus(arg0 any) *MockMachineProvisionerInstanceStatusCall
InstanceStatus indicates an expected call of InstanceStatus.
func (*MockMachineProvisionerMockRecorder) KeepInstance ¶
func (mr *MockMachineProvisionerMockRecorder) KeepInstance(arg0 any) *MockMachineProvisionerKeepInstanceCall
KeepInstance indicates an expected call of KeepInstance.
func (*MockMachineProvisionerMockRecorder) Life ¶
func (mr *MockMachineProvisionerMockRecorder) Life() *MockMachineProvisionerLifeCall
Life indicates an expected call of Life.
func (*MockMachineProvisionerMockRecorder) MachineTag ¶
func (mr *MockMachineProvisionerMockRecorder) MachineTag() *MockMachineProvisionerMachineTagCall
MachineTag indicates an expected call of MachineTag.
func (*MockMachineProvisionerMockRecorder) MarkForRemoval ¶
func (mr *MockMachineProvisionerMockRecorder) MarkForRemoval(arg0 any) *MockMachineProvisionerMarkForRemovalCall
MarkForRemoval indicates an expected call of MarkForRemoval.
func (*MockMachineProvisionerMockRecorder) ModelAgentVersion ¶
func (mr *MockMachineProvisionerMockRecorder) ModelAgentVersion(arg0 any) *MockMachineProvisionerModelAgentVersionCall
ModelAgentVersion indicates an expected call of ModelAgentVersion.
func (*MockMachineProvisionerMockRecorder) Refresh ¶
func (mr *MockMachineProvisionerMockRecorder) Refresh(arg0 any) *MockMachineProvisionerRefreshCall
Refresh indicates an expected call of Refresh.
func (*MockMachineProvisionerMockRecorder) Remove ¶
func (mr *MockMachineProvisionerMockRecorder) Remove(arg0 any) *MockMachineProvisionerRemoveCall
Remove indicates an expected call of Remove.
func (*MockMachineProvisionerMockRecorder) SetCharmProfiles ¶
func (mr *MockMachineProvisionerMockRecorder) SetCharmProfiles(arg0, arg1 any) *MockMachineProvisionerSetCharmProfilesCall
SetCharmProfiles indicates an expected call of SetCharmProfiles.
func (*MockMachineProvisionerMockRecorder) SetInstanceInfo ¶
func (mr *MockMachineProvisionerMockRecorder) SetInstanceInfo(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 any) *MockMachineProvisionerSetInstanceInfoCall
SetInstanceInfo indicates an expected call of SetInstanceInfo.
func (*MockMachineProvisionerMockRecorder) SetInstanceStatus ¶
func (mr *MockMachineProvisionerMockRecorder) SetInstanceStatus(arg0, arg1, arg2, arg3 any) *MockMachineProvisionerSetInstanceStatusCall
SetInstanceStatus indicates an expected call of SetInstanceStatus.
func (*MockMachineProvisionerMockRecorder) SetModificationStatus ¶
func (mr *MockMachineProvisionerMockRecorder) SetModificationStatus(arg0, arg1, arg2, arg3 any) *MockMachineProvisionerSetModificationStatusCall
SetModificationStatus indicates an expected call of SetModificationStatus.
func (*MockMachineProvisionerMockRecorder) SetPassword ¶
func (mr *MockMachineProvisionerMockRecorder) SetPassword(arg0, arg1 any) *MockMachineProvisionerSetPasswordCall
SetPassword indicates an expected call of SetPassword.
func (*MockMachineProvisionerMockRecorder) SetStatus ¶
func (mr *MockMachineProvisionerMockRecorder) SetStatus(arg0, arg1, arg2, arg3 any) *MockMachineProvisionerSetStatusCall
SetStatus indicates an expected call of SetStatus.
func (*MockMachineProvisionerMockRecorder) SetSupportedContainers ¶
func (mr *MockMachineProvisionerMockRecorder) SetSupportedContainers(arg0 any, arg1 ...any) *MockMachineProvisionerSetSupportedContainersCall
SetSupportedContainers indicates an expected call of SetSupportedContainers.
func (*MockMachineProvisionerMockRecorder) Status ¶
func (mr *MockMachineProvisionerMockRecorder) Status(arg0 any) *MockMachineProvisionerStatusCall
Status indicates an expected call of Status.
func (*MockMachineProvisionerMockRecorder) String ¶
func (mr *MockMachineProvisionerMockRecorder) String() *MockMachineProvisionerStringCall
String indicates an expected call of String.
func (*MockMachineProvisionerMockRecorder) SupportedContainers ¶
func (mr *MockMachineProvisionerMockRecorder) SupportedContainers(arg0 any) *MockMachineProvisionerSupportedContainersCall
SupportedContainers indicates an expected call of SupportedContainers.
func (*MockMachineProvisionerMockRecorder) SupportsNoContainers ¶
func (mr *MockMachineProvisionerMockRecorder) SupportsNoContainers(arg0 any) *MockMachineProvisionerSupportsNoContainersCall
SupportsNoContainers indicates an expected call of SupportsNoContainers.
func (*MockMachineProvisionerMockRecorder) Tag ¶
func (mr *MockMachineProvisionerMockRecorder) Tag() *MockMachineProvisionerTagCall
Tag indicates an expected call of Tag.
func (*MockMachineProvisionerMockRecorder) WatchContainers ¶
func (mr *MockMachineProvisionerMockRecorder) WatchContainers(arg0, arg1 any) *MockMachineProvisionerWatchContainersCall
WatchContainers indicates an expected call of WatchContainers.
type MockMachineProvisionerModelAgentVersionCall ¶
MockMachineProvisionerModelAgentVersionCall wrap *gomock.Call
func (*MockMachineProvisionerModelAgentVersionCall) Do ¶
func (c *MockMachineProvisionerModelAgentVersionCall) Do(f func(context.Context) (*version.Number, error)) *MockMachineProvisionerModelAgentVersionCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerModelAgentVersionCall) DoAndReturn ¶
func (c *MockMachineProvisionerModelAgentVersionCall) DoAndReturn(f func(context.Context) (*version.Number, error)) *MockMachineProvisionerModelAgentVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerModelAgentVersionCall) Return ¶
func (c *MockMachineProvisionerModelAgentVersionCall) Return(arg0 *version.Number, arg1 error) *MockMachineProvisionerModelAgentVersionCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerRefreshCall ¶
MockMachineProvisionerRefreshCall wrap *gomock.Call
func (*MockMachineProvisionerRefreshCall) Do ¶
func (c *MockMachineProvisionerRefreshCall) Do(f func(context.Context) error) *MockMachineProvisionerRefreshCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerRefreshCall) DoAndReturn ¶
func (c *MockMachineProvisionerRefreshCall) DoAndReturn(f func(context.Context) error) *MockMachineProvisionerRefreshCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerRefreshCall) Return ¶
func (c *MockMachineProvisionerRefreshCall) Return(arg0 error) *MockMachineProvisionerRefreshCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerRemoveCall ¶
MockMachineProvisionerRemoveCall wrap *gomock.Call
func (*MockMachineProvisionerRemoveCall) Do ¶
func (c *MockMachineProvisionerRemoveCall) Do(f func(context.Context) error) *MockMachineProvisionerRemoveCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerRemoveCall) DoAndReturn ¶
func (c *MockMachineProvisionerRemoveCall) DoAndReturn(f func(context.Context) error) *MockMachineProvisionerRemoveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerRemoveCall) Return ¶
func (c *MockMachineProvisionerRemoveCall) Return(arg0 error) *MockMachineProvisionerRemoveCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerSetCharmProfilesCall ¶
MockMachineProvisionerSetCharmProfilesCall wrap *gomock.Call
func (*MockMachineProvisionerSetCharmProfilesCall) Do ¶
func (c *MockMachineProvisionerSetCharmProfilesCall) Do(f func(context.Context, []string) error) *MockMachineProvisionerSetCharmProfilesCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerSetCharmProfilesCall) DoAndReturn ¶
func (c *MockMachineProvisionerSetCharmProfilesCall) DoAndReturn(f func(context.Context, []string) error) *MockMachineProvisionerSetCharmProfilesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerSetCharmProfilesCall) Return ¶
func (c *MockMachineProvisionerSetCharmProfilesCall) Return(arg0 error) *MockMachineProvisionerSetCharmProfilesCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerSetInstanceInfoCall ¶
MockMachineProvisionerSetInstanceInfoCall wrap *gomock.Call
func (*MockMachineProvisionerSetInstanceInfoCall) Do ¶
func (c *MockMachineProvisionerSetInstanceInfoCall) Do(f func(context.Context, instance.Id, string, string, *instance.HardwareCharacteristics, []params.NetworkConfig, []params.Volume, map[string]params.VolumeAttachmentInfo, []string) error) *MockMachineProvisionerSetInstanceInfoCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerSetInstanceInfoCall) DoAndReturn ¶
func (c *MockMachineProvisionerSetInstanceInfoCall) DoAndReturn(f func(context.Context, instance.Id, string, string, *instance.HardwareCharacteristics, []params.NetworkConfig, []params.Volume, map[string]params.VolumeAttachmentInfo, []string) error) *MockMachineProvisionerSetInstanceInfoCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerSetInstanceInfoCall) Return ¶
func (c *MockMachineProvisionerSetInstanceInfoCall) Return(arg0 error) *MockMachineProvisionerSetInstanceInfoCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerSetInstanceStatusCall ¶
MockMachineProvisionerSetInstanceStatusCall wrap *gomock.Call
func (*MockMachineProvisionerSetInstanceStatusCall) Do ¶
func (c *MockMachineProvisionerSetInstanceStatusCall) Do(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetInstanceStatusCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerSetInstanceStatusCall) DoAndReturn ¶
func (c *MockMachineProvisionerSetInstanceStatusCall) DoAndReturn(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetInstanceStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerSetInstanceStatusCall) Return ¶
func (c *MockMachineProvisionerSetInstanceStatusCall) Return(arg0 error) *MockMachineProvisionerSetInstanceStatusCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerSetModificationStatusCall ¶
MockMachineProvisionerSetModificationStatusCall wrap *gomock.Call
func (*MockMachineProvisionerSetModificationStatusCall) Do ¶
func (c *MockMachineProvisionerSetModificationStatusCall) Do(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetModificationStatusCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerSetModificationStatusCall) DoAndReturn ¶
func (c *MockMachineProvisionerSetModificationStatusCall) DoAndReturn(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetModificationStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerSetModificationStatusCall) Return ¶
func (c *MockMachineProvisionerSetModificationStatusCall) Return(arg0 error) *MockMachineProvisionerSetModificationStatusCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerSetPasswordCall ¶
MockMachineProvisionerSetPasswordCall wrap *gomock.Call
func (*MockMachineProvisionerSetPasswordCall) Do ¶
func (c *MockMachineProvisionerSetPasswordCall) Do(f func(context.Context, string) error) *MockMachineProvisionerSetPasswordCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerSetPasswordCall) DoAndReturn ¶
func (c *MockMachineProvisionerSetPasswordCall) DoAndReturn(f func(context.Context, string) error) *MockMachineProvisionerSetPasswordCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerSetPasswordCall) Return ¶
func (c *MockMachineProvisionerSetPasswordCall) Return(arg0 error) *MockMachineProvisionerSetPasswordCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerSetStatusCall ¶
MockMachineProvisionerSetStatusCall wrap *gomock.Call
func (*MockMachineProvisionerSetStatusCall) Do ¶
func (c *MockMachineProvisionerSetStatusCall) Do(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetStatusCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerSetStatusCall) DoAndReturn ¶
func (c *MockMachineProvisionerSetStatusCall) DoAndReturn(f func(context.Context, status.Status, string, map[string]any) error) *MockMachineProvisionerSetStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerSetStatusCall) Return ¶
func (c *MockMachineProvisionerSetStatusCall) Return(arg0 error) *MockMachineProvisionerSetStatusCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerSetSupportedContainersCall ¶
MockMachineProvisionerSetSupportedContainersCall wrap *gomock.Call
func (*MockMachineProvisionerSetSupportedContainersCall) Do ¶
func (c *MockMachineProvisionerSetSupportedContainersCall) Do(f func(context.Context, ...instance.ContainerType) error) *MockMachineProvisionerSetSupportedContainersCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerSetSupportedContainersCall) DoAndReturn ¶
func (c *MockMachineProvisionerSetSupportedContainersCall) DoAndReturn(f func(context.Context, ...instance.ContainerType) error) *MockMachineProvisionerSetSupportedContainersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerSetSupportedContainersCall) Return ¶
func (c *MockMachineProvisionerSetSupportedContainersCall) Return(arg0 error) *MockMachineProvisionerSetSupportedContainersCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerStatusCall ¶
MockMachineProvisionerStatusCall wrap *gomock.Call
func (*MockMachineProvisionerStatusCall) Do ¶
func (c *MockMachineProvisionerStatusCall) Do(f func(context.Context) (status.Status, string, error)) *MockMachineProvisionerStatusCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerStatusCall) DoAndReturn ¶
func (c *MockMachineProvisionerStatusCall) DoAndReturn(f func(context.Context) (status.Status, string, error)) *MockMachineProvisionerStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerStatusCall) Return ¶
func (c *MockMachineProvisionerStatusCall) Return(arg0 status.Status, arg1 string, arg2 error) *MockMachineProvisionerStatusCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerStringCall ¶
MockMachineProvisionerStringCall wrap *gomock.Call
func (*MockMachineProvisionerStringCall) Do ¶
func (c *MockMachineProvisionerStringCall) Do(f func() string) *MockMachineProvisionerStringCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerStringCall) DoAndReturn ¶
func (c *MockMachineProvisionerStringCall) DoAndReturn(f func() string) *MockMachineProvisionerStringCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerStringCall) Return ¶
func (c *MockMachineProvisionerStringCall) Return(arg0 string) *MockMachineProvisionerStringCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerSupportedContainersCall ¶
MockMachineProvisionerSupportedContainersCall wrap *gomock.Call
func (*MockMachineProvisionerSupportedContainersCall) Do ¶
func (c *MockMachineProvisionerSupportedContainersCall) Do(f func(context.Context) ([]instance.ContainerType, bool, error)) *MockMachineProvisionerSupportedContainersCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerSupportedContainersCall) DoAndReturn ¶
func (c *MockMachineProvisionerSupportedContainersCall) DoAndReturn(f func(context.Context) ([]instance.ContainerType, bool, error)) *MockMachineProvisionerSupportedContainersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerSupportedContainersCall) Return ¶
func (c *MockMachineProvisionerSupportedContainersCall) Return(arg0 []instance.ContainerType, arg1 bool, arg2 error) *MockMachineProvisionerSupportedContainersCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerSupportsNoContainersCall ¶
MockMachineProvisionerSupportsNoContainersCall wrap *gomock.Call
func (*MockMachineProvisionerSupportsNoContainersCall) Do ¶
func (c *MockMachineProvisionerSupportsNoContainersCall) Do(f func(context.Context) error) *MockMachineProvisionerSupportsNoContainersCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerSupportsNoContainersCall) DoAndReturn ¶
func (c *MockMachineProvisionerSupportsNoContainersCall) DoAndReturn(f func(context.Context) error) *MockMachineProvisionerSupportsNoContainersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerSupportsNoContainersCall) Return ¶
func (c *MockMachineProvisionerSupportsNoContainersCall) Return(arg0 error) *MockMachineProvisionerSupportsNoContainersCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerTagCall ¶
MockMachineProvisionerTagCall wrap *gomock.Call
func (*MockMachineProvisionerTagCall) Do ¶
func (c *MockMachineProvisionerTagCall) Do(f func() names.Tag) *MockMachineProvisionerTagCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerTagCall) DoAndReturn ¶
func (c *MockMachineProvisionerTagCall) DoAndReturn(f func() names.Tag) *MockMachineProvisionerTagCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerTagCall) Return ¶
func (c *MockMachineProvisionerTagCall) Return(arg0 names.Tag) *MockMachineProvisionerTagCall
Return rewrite *gomock.Call.Return
type MockMachineProvisionerWatchContainersCall ¶
MockMachineProvisionerWatchContainersCall wrap *gomock.Call
func (*MockMachineProvisionerWatchContainersCall) Do ¶
func (c *MockMachineProvisionerWatchContainersCall) Do(f func(context.Context, instance.ContainerType) (watcher.Watcher[[]string], error)) *MockMachineProvisionerWatchContainersCall
Do rewrite *gomock.Call.Do
func (*MockMachineProvisionerWatchContainersCall) DoAndReturn ¶
func (c *MockMachineProvisionerWatchContainersCall) DoAndReturn(f func(context.Context, instance.ContainerType) (watcher.Watcher[[]string], error)) *MockMachineProvisionerWatchContainersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMachineProvisionerWatchContainersCall) Return ¶
func (c *MockMachineProvisionerWatchContainersCall) Return(arg0 watcher.Watcher[[]string], arg1 error) *MockMachineProvisionerWatchContainersCall
Return rewrite *gomock.Call.Return
type MockState ¶
type MockState struct {
// contains filtered or unexported fields
}
MockState is a mock of State interface.
func NewMockState ¶
func NewMockState(ctrl *gomock.Controller) *MockState
NewMockState creates a new mock instance.
func (*MockState) ContainerConfig ¶
ContainerConfig mocks base method.
func (*MockState) ContainerManagerConfig ¶
func (m *MockState) ContainerManagerConfig(arg0 context.Context, arg1 params.ContainerManagerConfigParams) (params.ContainerManagerConfig, error)
ContainerManagerConfig mocks base method.
func (*MockState) EXPECT ¶
func (m *MockState) EXPECT() *MockStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockState) GetContainerProfileInfo ¶
func (m *MockState) GetContainerProfileInfo(arg0 context.Context, arg1 names.MachineTag) ([]*provisioner.LXDProfileResult, error)
GetContainerProfileInfo mocks base method.
func (*MockState) HostChangesForContainer ¶
func (m *MockState) HostChangesForContainer(arg0 context.Context, arg1 names.MachineTag) ([]network0.DeviceToBridge, int, error)
HostChangesForContainer mocks base method.
func (*MockState) Machines ¶
func (m *MockState) Machines(arg0 context.Context, arg1 ...names.MachineTag) ([]provisioner.MachineResult, error)
Machines mocks base method.
func (*MockState) PrepareContainerInterfaceInfo ¶
func (m *MockState) PrepareContainerInterfaceInfo(arg0 context.Context, arg1 names.MachineTag) (network.InterfaceInfos, error)
PrepareContainerInterfaceInfo mocks base method.
func (*MockState) ReleaseContainerAddresses ¶
ReleaseContainerAddresses mocks base method.
func (*MockState) SetHostMachineNetworkConfig ¶
func (m *MockState) SetHostMachineNetworkConfig(arg0 context.Context, arg1 names.MachineTag, arg2 []params.NetworkConfig) error
SetHostMachineNetworkConfig mocks base method.
type MockStateContainerConfigCall ¶
MockStateContainerConfigCall wrap *gomock.Call
func (*MockStateContainerConfigCall) Do ¶
func (c *MockStateContainerConfigCall) Do(f func(context.Context) (params.ContainerConfig, error)) *MockStateContainerConfigCall
Do rewrite *gomock.Call.Do
func (*MockStateContainerConfigCall) DoAndReturn ¶
func (c *MockStateContainerConfigCall) DoAndReturn(f func(context.Context) (params.ContainerConfig, error)) *MockStateContainerConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStateContainerConfigCall) Return ¶
func (c *MockStateContainerConfigCall) Return(arg0 params.ContainerConfig, arg1 error) *MockStateContainerConfigCall
Return rewrite *gomock.Call.Return
type MockStateContainerManagerConfigCall ¶
MockStateContainerManagerConfigCall wrap *gomock.Call
func (*MockStateContainerManagerConfigCall) Do ¶
func (c *MockStateContainerManagerConfigCall) Do(f func(context.Context, params.ContainerManagerConfigParams) (params.ContainerManagerConfig, error)) *MockStateContainerManagerConfigCall
Do rewrite *gomock.Call.Do
func (*MockStateContainerManagerConfigCall) DoAndReturn ¶
func (c *MockStateContainerManagerConfigCall) DoAndReturn(f func(context.Context, params.ContainerManagerConfigParams) (params.ContainerManagerConfig, error)) *MockStateContainerManagerConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStateContainerManagerConfigCall) Return ¶
func (c *MockStateContainerManagerConfigCall) Return(arg0 params.ContainerManagerConfig, arg1 error) *MockStateContainerManagerConfigCall
Return rewrite *gomock.Call.Return
type MockStateGetContainerProfileInfoCall ¶
MockStateGetContainerProfileInfoCall wrap *gomock.Call
func (*MockStateGetContainerProfileInfoCall) Do ¶
func (c *MockStateGetContainerProfileInfoCall) Do(f func(context.Context, names.MachineTag) ([]*provisioner.LXDProfileResult, error)) *MockStateGetContainerProfileInfoCall
Do rewrite *gomock.Call.Do
func (*MockStateGetContainerProfileInfoCall) DoAndReturn ¶
func (c *MockStateGetContainerProfileInfoCall) DoAndReturn(f func(context.Context, names.MachineTag) ([]*provisioner.LXDProfileResult, error)) *MockStateGetContainerProfileInfoCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStateGetContainerProfileInfoCall) Return ¶
func (c *MockStateGetContainerProfileInfoCall) Return(arg0 []*provisioner.LXDProfileResult, arg1 error) *MockStateGetContainerProfileInfoCall
Return rewrite *gomock.Call.Return
type MockStateHostChangesForContainerCall ¶
MockStateHostChangesForContainerCall wrap *gomock.Call
func (*MockStateHostChangesForContainerCall) Do ¶
func (c *MockStateHostChangesForContainerCall) Do(f func(context.Context, names.MachineTag) ([]network0.DeviceToBridge, int, error)) *MockStateHostChangesForContainerCall
Do rewrite *gomock.Call.Do
func (*MockStateHostChangesForContainerCall) DoAndReturn ¶
func (c *MockStateHostChangesForContainerCall) DoAndReturn(f func(context.Context, names.MachineTag) ([]network0.DeviceToBridge, int, error)) *MockStateHostChangesForContainerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStateHostChangesForContainerCall) Return ¶
func (c *MockStateHostChangesForContainerCall) Return(arg0 []network0.DeviceToBridge, arg1 int, arg2 error) *MockStateHostChangesForContainerCall
Return rewrite *gomock.Call.Return
type MockStateMachinesCall ¶
MockStateMachinesCall wrap *gomock.Call
func (*MockStateMachinesCall) Do ¶
func (c *MockStateMachinesCall) Do(f func(context.Context, ...names.MachineTag) ([]provisioner.MachineResult, error)) *MockStateMachinesCall
Do rewrite *gomock.Call.Do
func (*MockStateMachinesCall) DoAndReturn ¶
func (c *MockStateMachinesCall) DoAndReturn(f func(context.Context, ...names.MachineTag) ([]provisioner.MachineResult, error)) *MockStateMachinesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStateMachinesCall) Return ¶
func (c *MockStateMachinesCall) Return(arg0 []provisioner.MachineResult, arg1 error) *MockStateMachinesCall
Return rewrite *gomock.Call.Return
type MockStateMockRecorder ¶
type MockStateMockRecorder struct {
// contains filtered or unexported fields
}
MockStateMockRecorder is the mock recorder for MockState.
func (*MockStateMockRecorder) ContainerConfig ¶
func (mr *MockStateMockRecorder) ContainerConfig(arg0 any) *MockStateContainerConfigCall
ContainerConfig indicates an expected call of ContainerConfig.
func (*MockStateMockRecorder) ContainerManagerConfig ¶
func (mr *MockStateMockRecorder) ContainerManagerConfig(arg0, arg1 any) *MockStateContainerManagerConfigCall
ContainerManagerConfig indicates an expected call of ContainerManagerConfig.
func (*MockStateMockRecorder) GetContainerProfileInfo ¶
func (mr *MockStateMockRecorder) GetContainerProfileInfo(arg0, arg1 any) *MockStateGetContainerProfileInfoCall
GetContainerProfileInfo indicates an expected call of GetContainerProfileInfo.
func (*MockStateMockRecorder) HostChangesForContainer ¶
func (mr *MockStateMockRecorder) HostChangesForContainer(arg0, arg1 any) *MockStateHostChangesForContainerCall
HostChangesForContainer indicates an expected call of HostChangesForContainer.
func (*MockStateMockRecorder) Machines ¶
func (mr *MockStateMockRecorder) Machines(arg0 any, arg1 ...any) *MockStateMachinesCall
Machines indicates an expected call of Machines.
func (*MockStateMockRecorder) PrepareContainerInterfaceInfo ¶
func (mr *MockStateMockRecorder) PrepareContainerInterfaceInfo(arg0, arg1 any) *MockStatePrepareContainerInterfaceInfoCall
PrepareContainerInterfaceInfo indicates an expected call of PrepareContainerInterfaceInfo.
func (*MockStateMockRecorder) ReleaseContainerAddresses ¶
func (mr *MockStateMockRecorder) ReleaseContainerAddresses(arg0, arg1 any) *MockStateReleaseContainerAddressesCall
ReleaseContainerAddresses indicates an expected call of ReleaseContainerAddresses.
func (*MockStateMockRecorder) SetHostMachineNetworkConfig ¶
func (mr *MockStateMockRecorder) SetHostMachineNetworkConfig(arg0, arg1, arg2 any) *MockStateSetHostMachineNetworkConfigCall
SetHostMachineNetworkConfig indicates an expected call of SetHostMachineNetworkConfig.
type MockStatePrepareContainerInterfaceInfoCall ¶
MockStatePrepareContainerInterfaceInfoCall wrap *gomock.Call
func (*MockStatePrepareContainerInterfaceInfoCall) Do ¶
func (c *MockStatePrepareContainerInterfaceInfoCall) Do(f func(context.Context, names.MachineTag) (network.InterfaceInfos, error)) *MockStatePrepareContainerInterfaceInfoCall
Do rewrite *gomock.Call.Do
func (*MockStatePrepareContainerInterfaceInfoCall) DoAndReturn ¶
func (c *MockStatePrepareContainerInterfaceInfoCall) DoAndReturn(f func(context.Context, names.MachineTag) (network.InterfaceInfos, error)) *MockStatePrepareContainerInterfaceInfoCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStatePrepareContainerInterfaceInfoCall) Return ¶
func (c *MockStatePrepareContainerInterfaceInfoCall) Return(arg0 network.InterfaceInfos, arg1 error) *MockStatePrepareContainerInterfaceInfoCall
Return rewrite *gomock.Call.Return
type MockStateReleaseContainerAddressesCall ¶
MockStateReleaseContainerAddressesCall wrap *gomock.Call
func (*MockStateReleaseContainerAddressesCall) Do ¶
func (c *MockStateReleaseContainerAddressesCall) Do(f func(context.Context, names.MachineTag) error) *MockStateReleaseContainerAddressesCall
Do rewrite *gomock.Call.Do
func (*MockStateReleaseContainerAddressesCall) DoAndReturn ¶
func (c *MockStateReleaseContainerAddressesCall) DoAndReturn(f func(context.Context, names.MachineTag) error) *MockStateReleaseContainerAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStateReleaseContainerAddressesCall) Return ¶
func (c *MockStateReleaseContainerAddressesCall) Return(arg0 error) *MockStateReleaseContainerAddressesCall
Return rewrite *gomock.Call.Return
type MockStateSetHostMachineNetworkConfigCall ¶
MockStateSetHostMachineNetworkConfigCall wrap *gomock.Call
func (*MockStateSetHostMachineNetworkConfigCall) Do ¶
func (c *MockStateSetHostMachineNetworkConfigCall) Do(f func(context.Context, names.MachineTag, []params.NetworkConfig) error) *MockStateSetHostMachineNetworkConfigCall
Do rewrite *gomock.Call.Do
func (*MockStateSetHostMachineNetworkConfigCall) DoAndReturn ¶
func (c *MockStateSetHostMachineNetworkConfigCall) DoAndReturn(f func(context.Context, names.MachineTag, []params.NetworkConfig) error) *MockStateSetHostMachineNetworkConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStateSetHostMachineNetworkConfigCall) Return ¶
func (c *MockStateSetHostMachineNetworkConfigCall) Return(arg0 error) *MockStateSetHostMachineNetworkConfigCall
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.
type MockWorkerKillCall ¶
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 ¶
func (c *MockWorkerKillCall) Return() *MockWorkerKillCall
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 ¶
func (mr *MockWorkerMockRecorder) Kill() *MockWorkerKillCall
Kill indicates an expected call of Kill.
func (*MockWorkerMockRecorder) Wait ¶
func (mr *MockWorkerMockRecorder) Wait() *MockWorkerWaitCall
Wait indicates an expected call of Wait.
type MockWorkerWaitCall ¶
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