Documentation
¶
Overview ¶
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 MockFacadeCaller
- func (m *MockFacadeCaller) BestAPIVersion() int
- func (m *MockFacadeCaller) EXPECT() *MockFacadeCallerMockRecorder
- func (m *MockFacadeCaller) FacadeCall(arg0 context.Context, arg1 string, arg2, arg3 any) error
- func (m *MockFacadeCaller) Name() string
- func (m *MockFacadeCaller) RawAPICaller() base.APICaller
- type MockFacadeCallerBestAPIVersionCall
- func (c *MockFacadeCallerBestAPIVersionCall) Do(f func() int) *MockFacadeCallerBestAPIVersionCall
- func (c *MockFacadeCallerBestAPIVersionCall) DoAndReturn(f func() int) *MockFacadeCallerBestAPIVersionCall
- func (c *MockFacadeCallerBestAPIVersionCall) Return(arg0 int) *MockFacadeCallerBestAPIVersionCall
- type MockFacadeCallerFacadeCallCall
- func (c *MockFacadeCallerFacadeCallCall) Do(f func(context.Context, string, any, any) error) *MockFacadeCallerFacadeCallCall
- func (c *MockFacadeCallerFacadeCallCall) DoAndReturn(f func(context.Context, string, any, any) error) *MockFacadeCallerFacadeCallCall
- func (c *MockFacadeCallerFacadeCallCall) Return(arg0 error) *MockFacadeCallerFacadeCallCall
- type MockFacadeCallerMockRecorder
- func (mr *MockFacadeCallerMockRecorder) BestAPIVersion() *MockFacadeCallerBestAPIVersionCall
- func (mr *MockFacadeCallerMockRecorder) FacadeCall(arg0, arg1, arg2, arg3 any) *MockFacadeCallerFacadeCallCall
- func (mr *MockFacadeCallerMockRecorder) Name() *MockFacadeCallerNameCall
- func (mr *MockFacadeCallerMockRecorder) RawAPICaller() *MockFacadeCallerRawAPICallerCall
- type MockFacadeCallerNameCall
- type MockFacadeCallerRawAPICallerCall
- func (c *MockFacadeCallerRawAPICallerCall) Do(f func() base.APICaller) *MockFacadeCallerRawAPICallerCall
- func (c *MockFacadeCallerRawAPICallerCall) DoAndReturn(f func() base.APICaller) *MockFacadeCallerRawAPICallerCall
- func (c *MockFacadeCallerRawAPICallerCall) Return(arg0 base.APICaller) *MockFacadeCallerRawAPICallerCall
- type MockMutaterMachine
- func (m *MockMutaterMachine) CharmProfilingInfo(arg0 context.Context) (*instancemutater.UnitProfileInfo, error)
- func (m *MockMutaterMachine) ContainerType(arg0 context.Context) (instance.ContainerType, error)
- func (m *MockMutaterMachine) EXPECT() *MockMutaterMachineMockRecorder
- func (m *MockMutaterMachine) InstanceId(arg0 context.Context) (string, error)
- func (m *MockMutaterMachine) Life() life.Value
- func (m *MockMutaterMachine) Refresh(arg0 context.Context) error
- func (m *MockMutaterMachine) SetCharmProfiles(arg0 context.Context, arg1 []string) error
- func (m *MockMutaterMachine) SetModificationStatus(arg0 context.Context, arg1 status.Status, arg2 string, arg3 map[string]any) error
- func (m *MockMutaterMachine) Tag() names.MachineTag
- func (m *MockMutaterMachine) WatchContainers(arg0 context.Context) (watcher.Watcher[[]string], error)
- func (m *MockMutaterMachine) WatchLXDProfileVerificationNeeded(arg0 context.Context) (watcher.Watcher[struct{}], error)
- func (m *MockMutaterMachine) WatchUnits(arg0 context.Context) (watcher.Watcher[[]string], error)
- type MockMutaterMachineCharmProfilingInfoCall
- func (c *MockMutaterMachineCharmProfilingInfoCall) Do(f func(context.Context) (*instancemutater.UnitProfileInfo, error)) *MockMutaterMachineCharmProfilingInfoCall
- func (c *MockMutaterMachineCharmProfilingInfoCall) DoAndReturn(f func(context.Context) (*instancemutater.UnitProfileInfo, error)) *MockMutaterMachineCharmProfilingInfoCall
- func (c *MockMutaterMachineCharmProfilingInfoCall) Return(arg0 *instancemutater.UnitProfileInfo, arg1 error) *MockMutaterMachineCharmProfilingInfoCall
- type MockMutaterMachineContainerTypeCall
- func (c *MockMutaterMachineContainerTypeCall) Do(f func(context.Context) (instance.ContainerType, error)) *MockMutaterMachineContainerTypeCall
- func (c *MockMutaterMachineContainerTypeCall) DoAndReturn(f func(context.Context) (instance.ContainerType, error)) *MockMutaterMachineContainerTypeCall
- func (c *MockMutaterMachineContainerTypeCall) Return(arg0 instance.ContainerType, arg1 error) *MockMutaterMachineContainerTypeCall
- type MockMutaterMachineInstanceIdCall
- func (c *MockMutaterMachineInstanceIdCall) Do(f func(context.Context) (string, error)) *MockMutaterMachineInstanceIdCall
- func (c *MockMutaterMachineInstanceIdCall) DoAndReturn(f func(context.Context) (string, error)) *MockMutaterMachineInstanceIdCall
- func (c *MockMutaterMachineInstanceIdCall) Return(arg0 string, arg1 error) *MockMutaterMachineInstanceIdCall
- type MockMutaterMachineLifeCall
- type MockMutaterMachineMockRecorder
- func (mr *MockMutaterMachineMockRecorder) CharmProfilingInfo(arg0 any) *MockMutaterMachineCharmProfilingInfoCall
- func (mr *MockMutaterMachineMockRecorder) ContainerType(arg0 any) *MockMutaterMachineContainerTypeCall
- func (mr *MockMutaterMachineMockRecorder) InstanceId(arg0 any) *MockMutaterMachineInstanceIdCall
- func (mr *MockMutaterMachineMockRecorder) Life() *MockMutaterMachineLifeCall
- func (mr *MockMutaterMachineMockRecorder) Refresh(arg0 any) *MockMutaterMachineRefreshCall
- func (mr *MockMutaterMachineMockRecorder) SetCharmProfiles(arg0, arg1 any) *MockMutaterMachineSetCharmProfilesCall
- func (mr *MockMutaterMachineMockRecorder) SetModificationStatus(arg0, arg1, arg2, arg3 any) *MockMutaterMachineSetModificationStatusCall
- func (mr *MockMutaterMachineMockRecorder) Tag() *MockMutaterMachineTagCall
- func (mr *MockMutaterMachineMockRecorder) WatchContainers(arg0 any) *MockMutaterMachineWatchContainersCall
- func (mr *MockMutaterMachineMockRecorder) WatchLXDProfileVerificationNeeded(arg0 any) *MockMutaterMachineWatchLXDProfileVerificationNeededCall
- func (mr *MockMutaterMachineMockRecorder) WatchUnits(arg0 any) *MockMutaterMachineWatchUnitsCall
- type MockMutaterMachineRefreshCall
- func (c *MockMutaterMachineRefreshCall) Do(f func(context.Context) error) *MockMutaterMachineRefreshCall
- func (c *MockMutaterMachineRefreshCall) DoAndReturn(f func(context.Context) error) *MockMutaterMachineRefreshCall
- func (c *MockMutaterMachineRefreshCall) Return(arg0 error) *MockMutaterMachineRefreshCall
- type MockMutaterMachineSetCharmProfilesCall
- func (c *MockMutaterMachineSetCharmProfilesCall) Do(f func(context.Context, []string) error) *MockMutaterMachineSetCharmProfilesCall
- func (c *MockMutaterMachineSetCharmProfilesCall) DoAndReturn(f func(context.Context, []string) error) *MockMutaterMachineSetCharmProfilesCall
- func (c *MockMutaterMachineSetCharmProfilesCall) Return(arg0 error) *MockMutaterMachineSetCharmProfilesCall
- type MockMutaterMachineSetModificationStatusCall
- func (c *MockMutaterMachineSetModificationStatusCall) Do(f func(context.Context, status.Status, string, map[string]any) error) *MockMutaterMachineSetModificationStatusCall
- func (c *MockMutaterMachineSetModificationStatusCall) DoAndReturn(f func(context.Context, status.Status, string, map[string]any) error) *MockMutaterMachineSetModificationStatusCall
- func (c *MockMutaterMachineSetModificationStatusCall) Return(arg0 error) *MockMutaterMachineSetModificationStatusCall
- type MockMutaterMachineTagCall
- type MockMutaterMachineWatchContainersCall
- func (c *MockMutaterMachineWatchContainersCall) Do(f func(context.Context) (watcher.Watcher[[]string], error)) *MockMutaterMachineWatchContainersCall
- func (c *MockMutaterMachineWatchContainersCall) DoAndReturn(f func(context.Context) (watcher.Watcher[[]string], error)) *MockMutaterMachineWatchContainersCall
- func (c *MockMutaterMachineWatchContainersCall) Return(arg0 watcher.Watcher[[]string], arg1 error) *MockMutaterMachineWatchContainersCall
- type MockMutaterMachineWatchLXDProfileVerificationNeededCall
- func (c *MockMutaterMachineWatchLXDProfileVerificationNeededCall) Do(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockMutaterMachineWatchLXDProfileVerificationNeededCall
- func (c *MockMutaterMachineWatchLXDProfileVerificationNeededCall) DoAndReturn(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockMutaterMachineWatchLXDProfileVerificationNeededCall
- func (c *MockMutaterMachineWatchLXDProfileVerificationNeededCall) Return(arg0 watcher.Watcher[struct{}], arg1 error) *MockMutaterMachineWatchLXDProfileVerificationNeededCall
- type MockMutaterMachineWatchUnitsCall
- func (c *MockMutaterMachineWatchUnitsCall) Do(f func(context.Context) (watcher.Watcher[[]string], error)) *MockMutaterMachineWatchUnitsCall
- func (c *MockMutaterMachineWatchUnitsCall) DoAndReturn(f func(context.Context) (watcher.Watcher[[]string], error)) *MockMutaterMachineWatchUnitsCall
- func (c *MockMutaterMachineWatchUnitsCall) Return(arg0 watcher.Watcher[[]string], arg1 error) *MockMutaterMachineWatchUnitsCall
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 MockFacadeCaller ¶
type MockFacadeCaller struct {
// contains filtered or unexported fields
}
MockFacadeCaller is a mock of FacadeCaller interface.
func NewMockFacadeCaller ¶
func NewMockFacadeCaller(ctrl *gomock.Controller) *MockFacadeCaller
NewMockFacadeCaller creates a new mock instance.
func (*MockFacadeCaller) BestAPIVersion ¶
func (m *MockFacadeCaller) BestAPIVersion() int
BestAPIVersion mocks base method.
func (*MockFacadeCaller) EXPECT ¶
func (m *MockFacadeCaller) EXPECT() *MockFacadeCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFacadeCaller) FacadeCall ¶
FacadeCall mocks base method.
func (*MockFacadeCaller) RawAPICaller ¶
func (m *MockFacadeCaller) RawAPICaller() base.APICaller
RawAPICaller mocks base method.
type MockFacadeCallerBestAPIVersionCall ¶
MockFacadeCallerBestAPIVersionCall wrap *gomock.Call
func (*MockFacadeCallerBestAPIVersionCall) Do ¶
func (c *MockFacadeCallerBestAPIVersionCall) Do(f func() int) *MockFacadeCallerBestAPIVersionCall
Do rewrite *gomock.Call.Do
func (*MockFacadeCallerBestAPIVersionCall) DoAndReturn ¶
func (c *MockFacadeCallerBestAPIVersionCall) DoAndReturn(f func() int) *MockFacadeCallerBestAPIVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFacadeCallerBestAPIVersionCall) Return ¶
func (c *MockFacadeCallerBestAPIVersionCall) Return(arg0 int) *MockFacadeCallerBestAPIVersionCall
Return rewrite *gomock.Call.Return
type MockFacadeCallerFacadeCallCall ¶
MockFacadeCallerFacadeCallCall wrap *gomock.Call
func (*MockFacadeCallerFacadeCallCall) Do ¶
func (c *MockFacadeCallerFacadeCallCall) Do(f func(context.Context, string, any, any) error) *MockFacadeCallerFacadeCallCall
Do rewrite *gomock.Call.Do
func (*MockFacadeCallerFacadeCallCall) DoAndReturn ¶
func (c *MockFacadeCallerFacadeCallCall) DoAndReturn(f func(context.Context, string, any, any) error) *MockFacadeCallerFacadeCallCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFacadeCallerFacadeCallCall) Return ¶
func (c *MockFacadeCallerFacadeCallCall) Return(arg0 error) *MockFacadeCallerFacadeCallCall
Return rewrite *gomock.Call.Return
type MockFacadeCallerMockRecorder ¶
type MockFacadeCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockFacadeCallerMockRecorder is the mock recorder for MockFacadeCaller.
func (*MockFacadeCallerMockRecorder) BestAPIVersion ¶
func (mr *MockFacadeCallerMockRecorder) BestAPIVersion() *MockFacadeCallerBestAPIVersionCall
BestAPIVersion indicates an expected call of BestAPIVersion.
func (*MockFacadeCallerMockRecorder) FacadeCall ¶
func (mr *MockFacadeCallerMockRecorder) FacadeCall(arg0, arg1, arg2, arg3 any) *MockFacadeCallerFacadeCallCall
FacadeCall indicates an expected call of FacadeCall.
func (*MockFacadeCallerMockRecorder) Name ¶
func (mr *MockFacadeCallerMockRecorder) Name() *MockFacadeCallerNameCall
Name indicates an expected call of Name.
func (*MockFacadeCallerMockRecorder) RawAPICaller ¶
func (mr *MockFacadeCallerMockRecorder) RawAPICaller() *MockFacadeCallerRawAPICallerCall
RawAPICaller indicates an expected call of RawAPICaller.
type MockFacadeCallerNameCall ¶
MockFacadeCallerNameCall wrap *gomock.Call
func (*MockFacadeCallerNameCall) Do ¶
func (c *MockFacadeCallerNameCall) Do(f func() string) *MockFacadeCallerNameCall
Do rewrite *gomock.Call.Do
func (*MockFacadeCallerNameCall) DoAndReturn ¶
func (c *MockFacadeCallerNameCall) DoAndReturn(f func() string) *MockFacadeCallerNameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFacadeCallerNameCall) Return ¶
func (c *MockFacadeCallerNameCall) Return(arg0 string) *MockFacadeCallerNameCall
Return rewrite *gomock.Call.Return
type MockFacadeCallerRawAPICallerCall ¶
MockFacadeCallerRawAPICallerCall wrap *gomock.Call
func (*MockFacadeCallerRawAPICallerCall) Do ¶
func (c *MockFacadeCallerRawAPICallerCall) Do(f func() base.APICaller) *MockFacadeCallerRawAPICallerCall
Do rewrite *gomock.Call.Do
func (*MockFacadeCallerRawAPICallerCall) DoAndReturn ¶
func (c *MockFacadeCallerRawAPICallerCall) DoAndReturn(f func() base.APICaller) *MockFacadeCallerRawAPICallerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFacadeCallerRawAPICallerCall) Return ¶
func (c *MockFacadeCallerRawAPICallerCall) Return(arg0 base.APICaller) *MockFacadeCallerRawAPICallerCall
Return rewrite *gomock.Call.Return
type MockMutaterMachine ¶
type MockMutaterMachine struct {
// contains filtered or unexported fields
}
MockMutaterMachine is a mock of MutaterMachine interface.
func NewMockMutaterMachine ¶
func NewMockMutaterMachine(ctrl *gomock.Controller) *MockMutaterMachine
NewMockMutaterMachine creates a new mock instance.
func (*MockMutaterMachine) CharmProfilingInfo ¶
func (m *MockMutaterMachine) CharmProfilingInfo(arg0 context.Context) (*instancemutater.UnitProfileInfo, error)
CharmProfilingInfo mocks base method.
func (*MockMutaterMachine) ContainerType ¶
func (m *MockMutaterMachine) ContainerType(arg0 context.Context) (instance.ContainerType, error)
ContainerType mocks base method.
func (*MockMutaterMachine) EXPECT ¶
func (m *MockMutaterMachine) EXPECT() *MockMutaterMachineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMutaterMachine) InstanceId ¶
func (m *MockMutaterMachine) InstanceId(arg0 context.Context) (string, error)
InstanceId mocks base method.
func (*MockMutaterMachine) Life ¶
func (m *MockMutaterMachine) Life() life.Value
Life mocks base method.
func (*MockMutaterMachine) Refresh ¶
func (m *MockMutaterMachine) Refresh(arg0 context.Context) error
Refresh mocks base method.
func (*MockMutaterMachine) SetCharmProfiles ¶
func (m *MockMutaterMachine) SetCharmProfiles(arg0 context.Context, arg1 []string) error
SetCharmProfiles mocks base method.
func (*MockMutaterMachine) SetModificationStatus ¶
func (m *MockMutaterMachine) SetModificationStatus(arg0 context.Context, arg1 status.Status, arg2 string, arg3 map[string]any) error
SetModificationStatus mocks base method.
func (*MockMutaterMachine) Tag ¶
func (m *MockMutaterMachine) Tag() names.MachineTag
Tag mocks base method.
func (*MockMutaterMachine) WatchContainers ¶
func (m *MockMutaterMachine) WatchContainers(arg0 context.Context) (watcher.Watcher[[]string], error)
WatchContainers mocks base method.
func (*MockMutaterMachine) WatchLXDProfileVerificationNeeded ¶
func (m *MockMutaterMachine) WatchLXDProfileVerificationNeeded(arg0 context.Context) (watcher.Watcher[struct{}], error)
WatchLXDProfileVerificationNeeded mocks base method.
func (*MockMutaterMachine) WatchUnits ¶
WatchUnits mocks base method.
type MockMutaterMachineCharmProfilingInfoCall ¶
MockMutaterMachineCharmProfilingInfoCall wrap *gomock.Call
func (*MockMutaterMachineCharmProfilingInfoCall) Do ¶
func (c *MockMutaterMachineCharmProfilingInfoCall) Do(f func(context.Context) (*instancemutater.UnitProfileInfo, error)) *MockMutaterMachineCharmProfilingInfoCall
Do rewrite *gomock.Call.Do
func (*MockMutaterMachineCharmProfilingInfoCall) DoAndReturn ¶
func (c *MockMutaterMachineCharmProfilingInfoCall) DoAndReturn(f func(context.Context) (*instancemutater.UnitProfileInfo, error)) *MockMutaterMachineCharmProfilingInfoCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMutaterMachineCharmProfilingInfoCall) Return ¶
func (c *MockMutaterMachineCharmProfilingInfoCall) Return(arg0 *instancemutater.UnitProfileInfo, arg1 error) *MockMutaterMachineCharmProfilingInfoCall
Return rewrite *gomock.Call.Return
type MockMutaterMachineContainerTypeCall ¶
MockMutaterMachineContainerTypeCall wrap *gomock.Call
func (*MockMutaterMachineContainerTypeCall) Do ¶
func (c *MockMutaterMachineContainerTypeCall) Do(f func(context.Context) (instance.ContainerType, error)) *MockMutaterMachineContainerTypeCall
Do rewrite *gomock.Call.Do
func (*MockMutaterMachineContainerTypeCall) DoAndReturn ¶
func (c *MockMutaterMachineContainerTypeCall) DoAndReturn(f func(context.Context) (instance.ContainerType, error)) *MockMutaterMachineContainerTypeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMutaterMachineContainerTypeCall) Return ¶
func (c *MockMutaterMachineContainerTypeCall) Return(arg0 instance.ContainerType, arg1 error) *MockMutaterMachineContainerTypeCall
Return rewrite *gomock.Call.Return
type MockMutaterMachineInstanceIdCall ¶
MockMutaterMachineInstanceIdCall wrap *gomock.Call
func (*MockMutaterMachineInstanceIdCall) Do ¶
func (c *MockMutaterMachineInstanceIdCall) Do(f func(context.Context) (string, error)) *MockMutaterMachineInstanceIdCall
Do rewrite *gomock.Call.Do
func (*MockMutaterMachineInstanceIdCall) DoAndReturn ¶
func (c *MockMutaterMachineInstanceIdCall) DoAndReturn(f func(context.Context) (string, error)) *MockMutaterMachineInstanceIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMutaterMachineInstanceIdCall) Return ¶
func (c *MockMutaterMachineInstanceIdCall) Return(arg0 string, arg1 error) *MockMutaterMachineInstanceIdCall
Return rewrite *gomock.Call.Return
type MockMutaterMachineLifeCall ¶
MockMutaterMachineLifeCall wrap *gomock.Call
func (*MockMutaterMachineLifeCall) Do ¶
func (c *MockMutaterMachineLifeCall) Do(f func() life.Value) *MockMutaterMachineLifeCall
Do rewrite *gomock.Call.Do
func (*MockMutaterMachineLifeCall) DoAndReturn ¶
func (c *MockMutaterMachineLifeCall) DoAndReturn(f func() life.Value) *MockMutaterMachineLifeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMutaterMachineLifeCall) Return ¶
func (c *MockMutaterMachineLifeCall) Return(arg0 life.Value) *MockMutaterMachineLifeCall
Return rewrite *gomock.Call.Return
type MockMutaterMachineMockRecorder ¶
type MockMutaterMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockMutaterMachineMockRecorder is the mock recorder for MockMutaterMachine.
func (*MockMutaterMachineMockRecorder) CharmProfilingInfo ¶
func (mr *MockMutaterMachineMockRecorder) CharmProfilingInfo(arg0 any) *MockMutaterMachineCharmProfilingInfoCall
CharmProfilingInfo indicates an expected call of CharmProfilingInfo.
func (*MockMutaterMachineMockRecorder) ContainerType ¶
func (mr *MockMutaterMachineMockRecorder) ContainerType(arg0 any) *MockMutaterMachineContainerTypeCall
ContainerType indicates an expected call of ContainerType.
func (*MockMutaterMachineMockRecorder) InstanceId ¶
func (mr *MockMutaterMachineMockRecorder) InstanceId(arg0 any) *MockMutaterMachineInstanceIdCall
InstanceId indicates an expected call of InstanceId.
func (*MockMutaterMachineMockRecorder) Life ¶
func (mr *MockMutaterMachineMockRecorder) Life() *MockMutaterMachineLifeCall
Life indicates an expected call of Life.
func (*MockMutaterMachineMockRecorder) Refresh ¶
func (mr *MockMutaterMachineMockRecorder) Refresh(arg0 any) *MockMutaterMachineRefreshCall
Refresh indicates an expected call of Refresh.
func (*MockMutaterMachineMockRecorder) SetCharmProfiles ¶
func (mr *MockMutaterMachineMockRecorder) SetCharmProfiles(arg0, arg1 any) *MockMutaterMachineSetCharmProfilesCall
SetCharmProfiles indicates an expected call of SetCharmProfiles.
func (*MockMutaterMachineMockRecorder) SetModificationStatus ¶
func (mr *MockMutaterMachineMockRecorder) SetModificationStatus(arg0, arg1, arg2, arg3 any) *MockMutaterMachineSetModificationStatusCall
SetModificationStatus indicates an expected call of SetModificationStatus.
func (*MockMutaterMachineMockRecorder) Tag ¶
func (mr *MockMutaterMachineMockRecorder) Tag() *MockMutaterMachineTagCall
Tag indicates an expected call of Tag.
func (*MockMutaterMachineMockRecorder) WatchContainers ¶
func (mr *MockMutaterMachineMockRecorder) WatchContainers(arg0 any) *MockMutaterMachineWatchContainersCall
WatchContainers indicates an expected call of WatchContainers.
func (*MockMutaterMachineMockRecorder) WatchLXDProfileVerificationNeeded ¶
func (mr *MockMutaterMachineMockRecorder) WatchLXDProfileVerificationNeeded(arg0 any) *MockMutaterMachineWatchLXDProfileVerificationNeededCall
WatchLXDProfileVerificationNeeded indicates an expected call of WatchLXDProfileVerificationNeeded.
func (*MockMutaterMachineMockRecorder) WatchUnits ¶
func (mr *MockMutaterMachineMockRecorder) WatchUnits(arg0 any) *MockMutaterMachineWatchUnitsCall
WatchUnits indicates an expected call of WatchUnits.
type MockMutaterMachineRefreshCall ¶
MockMutaterMachineRefreshCall wrap *gomock.Call
func (*MockMutaterMachineRefreshCall) Do ¶
func (c *MockMutaterMachineRefreshCall) Do(f func(context.Context) error) *MockMutaterMachineRefreshCall
Do rewrite *gomock.Call.Do
func (*MockMutaterMachineRefreshCall) DoAndReturn ¶
func (c *MockMutaterMachineRefreshCall) DoAndReturn(f func(context.Context) error) *MockMutaterMachineRefreshCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMutaterMachineRefreshCall) Return ¶
func (c *MockMutaterMachineRefreshCall) Return(arg0 error) *MockMutaterMachineRefreshCall
Return rewrite *gomock.Call.Return
type MockMutaterMachineSetCharmProfilesCall ¶
MockMutaterMachineSetCharmProfilesCall wrap *gomock.Call
func (*MockMutaterMachineSetCharmProfilesCall) Do ¶
func (c *MockMutaterMachineSetCharmProfilesCall) Do(f func(context.Context, []string) error) *MockMutaterMachineSetCharmProfilesCall
Do rewrite *gomock.Call.Do
func (*MockMutaterMachineSetCharmProfilesCall) DoAndReturn ¶
func (c *MockMutaterMachineSetCharmProfilesCall) DoAndReturn(f func(context.Context, []string) error) *MockMutaterMachineSetCharmProfilesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMutaterMachineSetCharmProfilesCall) Return ¶
func (c *MockMutaterMachineSetCharmProfilesCall) Return(arg0 error) *MockMutaterMachineSetCharmProfilesCall
Return rewrite *gomock.Call.Return
type MockMutaterMachineSetModificationStatusCall ¶
MockMutaterMachineSetModificationStatusCall wrap *gomock.Call
func (*MockMutaterMachineSetModificationStatusCall) Do ¶
func (c *MockMutaterMachineSetModificationStatusCall) Do(f func(context.Context, status.Status, string, map[string]any) error) *MockMutaterMachineSetModificationStatusCall
Do rewrite *gomock.Call.Do
func (*MockMutaterMachineSetModificationStatusCall) DoAndReturn ¶
func (c *MockMutaterMachineSetModificationStatusCall) DoAndReturn(f func(context.Context, status.Status, string, map[string]any) error) *MockMutaterMachineSetModificationStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMutaterMachineSetModificationStatusCall) Return ¶
func (c *MockMutaterMachineSetModificationStatusCall) Return(arg0 error) *MockMutaterMachineSetModificationStatusCall
Return rewrite *gomock.Call.Return
type MockMutaterMachineTagCall ¶
MockMutaterMachineTagCall wrap *gomock.Call
func (*MockMutaterMachineTagCall) Do ¶
func (c *MockMutaterMachineTagCall) Do(f func() names.MachineTag) *MockMutaterMachineTagCall
Do rewrite *gomock.Call.Do
func (*MockMutaterMachineTagCall) DoAndReturn ¶
func (c *MockMutaterMachineTagCall) DoAndReturn(f func() names.MachineTag) *MockMutaterMachineTagCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMutaterMachineTagCall) Return ¶
func (c *MockMutaterMachineTagCall) Return(arg0 names.MachineTag) *MockMutaterMachineTagCall
Return rewrite *gomock.Call.Return
type MockMutaterMachineWatchContainersCall ¶
MockMutaterMachineWatchContainersCall wrap *gomock.Call
func (*MockMutaterMachineWatchContainersCall) Do ¶
func (c *MockMutaterMachineWatchContainersCall) Do(f func(context.Context) (watcher.Watcher[[]string], error)) *MockMutaterMachineWatchContainersCall
Do rewrite *gomock.Call.Do
func (*MockMutaterMachineWatchContainersCall) DoAndReturn ¶
func (c *MockMutaterMachineWatchContainersCall) DoAndReturn(f func(context.Context) (watcher.Watcher[[]string], error)) *MockMutaterMachineWatchContainersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMutaterMachineWatchContainersCall) Return ¶
func (c *MockMutaterMachineWatchContainersCall) Return(arg0 watcher.Watcher[[]string], arg1 error) *MockMutaterMachineWatchContainersCall
Return rewrite *gomock.Call.Return
type MockMutaterMachineWatchLXDProfileVerificationNeededCall ¶
MockMutaterMachineWatchLXDProfileVerificationNeededCall wrap *gomock.Call
func (*MockMutaterMachineWatchLXDProfileVerificationNeededCall) Do ¶
func (c *MockMutaterMachineWatchLXDProfileVerificationNeededCall) Do(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockMutaterMachineWatchLXDProfileVerificationNeededCall
Do rewrite *gomock.Call.Do
func (*MockMutaterMachineWatchLXDProfileVerificationNeededCall) DoAndReturn ¶
func (c *MockMutaterMachineWatchLXDProfileVerificationNeededCall) DoAndReturn(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockMutaterMachineWatchLXDProfileVerificationNeededCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMutaterMachineWatchLXDProfileVerificationNeededCall) Return ¶
func (c *MockMutaterMachineWatchLXDProfileVerificationNeededCall) Return(arg0 watcher.Watcher[struct{}], arg1 error) *MockMutaterMachineWatchLXDProfileVerificationNeededCall
Return rewrite *gomock.Call.Return
type MockMutaterMachineWatchUnitsCall ¶
MockMutaterMachineWatchUnitsCall wrap *gomock.Call
func (*MockMutaterMachineWatchUnitsCall) Do ¶
func (c *MockMutaterMachineWatchUnitsCall) Do(f func(context.Context) (watcher.Watcher[[]string], error)) *MockMutaterMachineWatchUnitsCall
Do rewrite *gomock.Call.Do
func (*MockMutaterMachineWatchUnitsCall) DoAndReturn ¶
func (c *MockMutaterMachineWatchUnitsCall) DoAndReturn(f func(context.Context) (watcher.Watcher[[]string], error)) *MockMutaterMachineWatchUnitsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMutaterMachineWatchUnitsCall) Return ¶
func (c *MockMutaterMachineWatchUnitsCall) Return(arg0 watcher.Watcher[[]string], arg1 error) *MockMutaterMachineWatchUnitsCall
Return rewrite *gomock.Call.Return