Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockResources
- func (m *MockResources) AddPendingResource(arg0, arg1 string, arg2 resource0.Resource) (string, error)
- func (m *MockResources) EXPECT() *MockResourcesMockRecorder
- func (m *MockResources) GetPendingResource(arg0, arg1, arg2 string) (resource.Resource, error)
- func (m *MockResources) GetResource(arg0, arg1 string) (resource.Resource, error)
- func (m *MockResources) ListPendingResources(arg0 string) (resource.ApplicationResources, error)
- func (m *MockResources) ListResources(arg0 string) (resource.ApplicationResources, error)
- func (m *MockResources) OpenResource(arg0, arg1 string) (resource.Resource, io.ReadCloser, error)
- func (m *MockResources) OpenResourceForUniter(arg0, arg1 string) (resource.Resource, io.ReadCloser, error)
- func (m *MockResources) RemovePendingAppResources(arg0 string, arg1 map[string]string) error
- func (m *MockResources) SetCharmStoreResources(arg0 string, arg1 []resource0.Resource, arg2 time.Time) error
- func (m *MockResources) SetResource(arg0, arg1 string, arg2 resource0.Resource, arg3 io.Reader, ...) (resource.Resource, error)
- func (m *MockResources) SetUnitResource(arg0, arg1 string, arg2 resource0.Resource) (resource.Resource, error)
- func (m *MockResources) UpdatePendingResource(arg0, arg1, arg2 string, arg3 resource0.Resource, arg4 io.Reader) (resource.Resource, error)
- type MockResourcesAddPendingResourceCall
- func (c *MockResourcesAddPendingResourceCall) Do(f func(string, string, resource0.Resource) (string, error)) *MockResourcesAddPendingResourceCall
- func (c *MockResourcesAddPendingResourceCall) DoAndReturn(f func(string, string, resource0.Resource) (string, error)) *MockResourcesAddPendingResourceCall
- func (c *MockResourcesAddPendingResourceCall) Return(arg0 string, arg1 error) *MockResourcesAddPendingResourceCall
- type MockResourcesGetPendingResourceCall
- func (c *MockResourcesGetPendingResourceCall) Do(f func(string, string, string) (resource.Resource, error)) *MockResourcesGetPendingResourceCall
- func (c *MockResourcesGetPendingResourceCall) DoAndReturn(f func(string, string, string) (resource.Resource, error)) *MockResourcesGetPendingResourceCall
- func (c *MockResourcesGetPendingResourceCall) Return(arg0 resource.Resource, arg1 error) *MockResourcesGetPendingResourceCall
- type MockResourcesGetResourceCall
- func (c *MockResourcesGetResourceCall) Do(f func(string, string) (resource.Resource, error)) *MockResourcesGetResourceCall
- func (c *MockResourcesGetResourceCall) DoAndReturn(f func(string, string) (resource.Resource, error)) *MockResourcesGetResourceCall
- func (c *MockResourcesGetResourceCall) Return(arg0 resource.Resource, arg1 error) *MockResourcesGetResourceCall
- type MockResourcesListPendingResourcesCall
- func (c *MockResourcesListPendingResourcesCall) Do(f func(string) (resource.ApplicationResources, error)) *MockResourcesListPendingResourcesCall
- func (c *MockResourcesListPendingResourcesCall) DoAndReturn(f func(string) (resource.ApplicationResources, error)) *MockResourcesListPendingResourcesCall
- func (c *MockResourcesListPendingResourcesCall) Return(arg0 resource.ApplicationResources, arg1 error) *MockResourcesListPendingResourcesCall
- type MockResourcesListResourcesCall
- func (c *MockResourcesListResourcesCall) Do(f func(string) (resource.ApplicationResources, error)) *MockResourcesListResourcesCall
- func (c *MockResourcesListResourcesCall) DoAndReturn(f func(string) (resource.ApplicationResources, error)) *MockResourcesListResourcesCall
- func (c *MockResourcesListResourcesCall) Return(arg0 resource.ApplicationResources, arg1 error) *MockResourcesListResourcesCall
- type MockResourcesMockRecorder
- func (mr *MockResourcesMockRecorder) AddPendingResource(arg0, arg1, arg2 any) *MockResourcesAddPendingResourceCall
- func (mr *MockResourcesMockRecorder) GetPendingResource(arg0, arg1, arg2 any) *MockResourcesGetPendingResourceCall
- func (mr *MockResourcesMockRecorder) GetResource(arg0, arg1 any) *MockResourcesGetResourceCall
- func (mr *MockResourcesMockRecorder) ListPendingResources(arg0 any) *MockResourcesListPendingResourcesCall
- func (mr *MockResourcesMockRecorder) ListResources(arg0 any) *MockResourcesListResourcesCall
- func (mr *MockResourcesMockRecorder) OpenResource(arg0, arg1 any) *MockResourcesOpenResourceCall
- func (mr *MockResourcesMockRecorder) OpenResourceForUniter(arg0, arg1 any) *MockResourcesOpenResourceForUniterCall
- func (mr *MockResourcesMockRecorder) RemovePendingAppResources(arg0, arg1 any) *MockResourcesRemovePendingAppResourcesCall
- func (mr *MockResourcesMockRecorder) SetCharmStoreResources(arg0, arg1, arg2 any) *MockResourcesSetCharmStoreResourcesCall
- func (mr *MockResourcesMockRecorder) SetResource(arg0, arg1, arg2, arg3, arg4 any) *MockResourcesSetResourceCall
- func (mr *MockResourcesMockRecorder) SetUnitResource(arg0, arg1, arg2 any) *MockResourcesSetUnitResourceCall
- func (mr *MockResourcesMockRecorder) UpdatePendingResource(arg0, arg1, arg2, arg3, arg4 any) *MockResourcesUpdatePendingResourceCall
- type MockResourcesOpenResourceCall
- func (c *MockResourcesOpenResourceCall) Do(f func(string, string) (resource.Resource, io.ReadCloser, error)) *MockResourcesOpenResourceCall
- func (c *MockResourcesOpenResourceCall) DoAndReturn(f func(string, string) (resource.Resource, io.ReadCloser, error)) *MockResourcesOpenResourceCall
- func (c *MockResourcesOpenResourceCall) Return(arg0 resource.Resource, arg1 io.ReadCloser, arg2 error) *MockResourcesOpenResourceCall
- type MockResourcesOpenResourceForUniterCall
- func (c *MockResourcesOpenResourceForUniterCall) Do(f func(string, string) (resource.Resource, io.ReadCloser, error)) *MockResourcesOpenResourceForUniterCall
- func (c *MockResourcesOpenResourceForUniterCall) DoAndReturn(f func(string, string) (resource.Resource, io.ReadCloser, error)) *MockResourcesOpenResourceForUniterCall
- func (c *MockResourcesOpenResourceForUniterCall) Return(arg0 resource.Resource, arg1 io.ReadCloser, arg2 error) *MockResourcesOpenResourceForUniterCall
- type MockResourcesRemovePendingAppResourcesCall
- func (c *MockResourcesRemovePendingAppResourcesCall) Do(f func(string, map[string]string) error) *MockResourcesRemovePendingAppResourcesCall
- func (c *MockResourcesRemovePendingAppResourcesCall) DoAndReturn(f func(string, map[string]string) error) *MockResourcesRemovePendingAppResourcesCall
- func (c *MockResourcesRemovePendingAppResourcesCall) Return(arg0 error) *MockResourcesRemovePendingAppResourcesCall
- type MockResourcesSetCharmStoreResourcesCall
- func (c *MockResourcesSetCharmStoreResourcesCall) Do(f func(string, []resource0.Resource, time.Time) error) *MockResourcesSetCharmStoreResourcesCall
- func (c *MockResourcesSetCharmStoreResourcesCall) DoAndReturn(f func(string, []resource0.Resource, time.Time) error) *MockResourcesSetCharmStoreResourcesCall
- func (c *MockResourcesSetCharmStoreResourcesCall) Return(arg0 error) *MockResourcesSetCharmStoreResourcesCall
- type MockResourcesSetResourceCall
- type MockResourcesSetUnitResourceCall
- func (c *MockResourcesSetUnitResourceCall) Do(f func(string, string, resource0.Resource) (resource.Resource, error)) *MockResourcesSetUnitResourceCall
- func (c *MockResourcesSetUnitResourceCall) DoAndReturn(f func(string, string, resource0.Resource) (resource.Resource, error)) *MockResourcesSetUnitResourceCall
- func (c *MockResourcesSetUnitResourceCall) Return(arg0 resource.Resource, arg1 error) *MockResourcesSetUnitResourceCall
- type MockResourcesUpdatePendingResourceCall
- func (c *MockResourcesUpdatePendingResourceCall) Do(...) *MockResourcesUpdatePendingResourceCall
- func (c *MockResourcesUpdatePendingResourceCall) DoAndReturn(...) *MockResourcesUpdatePendingResourceCall
- func (c *MockResourcesUpdatePendingResourceCall) Return(arg0 resource.Resource, arg1 error) *MockResourcesUpdatePendingResourceCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockResources ¶
type MockResources struct {
// contains filtered or unexported fields
}
MockResources is a mock of Resources interface.
func NewMockResources ¶
func NewMockResources(ctrl *gomock.Controller) *MockResources
NewMockResources creates a new mock instance.
func (*MockResources) AddPendingResource ¶
func (m *MockResources) AddPendingResource(arg0, arg1 string, arg2 resource0.Resource) (string, error)
AddPendingResource mocks base method.
func (*MockResources) EXPECT ¶
func (m *MockResources) EXPECT() *MockResourcesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResources) GetPendingResource ¶
func (m *MockResources) GetPendingResource(arg0, arg1, arg2 string) (resource.Resource, error)
GetPendingResource mocks base method.
func (*MockResources) GetResource ¶
func (m *MockResources) GetResource(arg0, arg1 string) (resource.Resource, error)
GetResource mocks base method.
func (*MockResources) ListPendingResources ¶
func (m *MockResources) ListPendingResources(arg0 string) (resource.ApplicationResources, error)
ListPendingResources mocks base method.
func (*MockResources) ListResources ¶
func (m *MockResources) ListResources(arg0 string) (resource.ApplicationResources, error)
ListResources mocks base method.
func (*MockResources) OpenResource ¶
func (m *MockResources) OpenResource(arg0, arg1 string) (resource.Resource, io.ReadCloser, error)
OpenResource mocks base method.
func (*MockResources) OpenResourceForUniter ¶
func (m *MockResources) OpenResourceForUniter(arg0, arg1 string) (resource.Resource, io.ReadCloser, error)
OpenResourceForUniter mocks base method.
func (*MockResources) RemovePendingAppResources ¶
func (m *MockResources) RemovePendingAppResources(arg0 string, arg1 map[string]string) error
RemovePendingAppResources mocks base method.
func (*MockResources) SetCharmStoreResources ¶
func (m *MockResources) SetCharmStoreResources(arg0 string, arg1 []resource0.Resource, arg2 time.Time) error
SetCharmStoreResources mocks base method.
func (*MockResources) SetResource ¶
func (m *MockResources) SetResource(arg0, arg1 string, arg2 resource0.Resource, arg3 io.Reader, arg4 state.IncrementCharmModifiedVersionType) (resource.Resource, error)
SetResource mocks base method.
func (*MockResources) SetUnitResource ¶
func (m *MockResources) SetUnitResource(arg0, arg1 string, arg2 resource0.Resource) (resource.Resource, error)
SetUnitResource mocks base method.
type MockResourcesAddPendingResourceCall ¶
MockResourcesAddPendingResourceCall wrap *gomock.Call
func (*MockResourcesAddPendingResourceCall) Do ¶
func (c *MockResourcesAddPendingResourceCall) Do(f func(string, string, resource0.Resource) (string, error)) *MockResourcesAddPendingResourceCall
Do rewrite *gomock.Call.Do
func (*MockResourcesAddPendingResourceCall) DoAndReturn ¶
func (c *MockResourcesAddPendingResourceCall) DoAndReturn(f func(string, string, resource0.Resource) (string, error)) *MockResourcesAddPendingResourceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesAddPendingResourceCall) Return ¶
func (c *MockResourcesAddPendingResourceCall) Return(arg0 string, arg1 error) *MockResourcesAddPendingResourceCall
Return rewrite *gomock.Call.Return
type MockResourcesGetPendingResourceCall ¶
MockResourcesGetPendingResourceCall wrap *gomock.Call
func (*MockResourcesGetPendingResourceCall) Do ¶
func (c *MockResourcesGetPendingResourceCall) Do(f func(string, string, string) (resource.Resource, error)) *MockResourcesGetPendingResourceCall
Do rewrite *gomock.Call.Do
func (*MockResourcesGetPendingResourceCall) DoAndReturn ¶
func (c *MockResourcesGetPendingResourceCall) DoAndReturn(f func(string, string, string) (resource.Resource, error)) *MockResourcesGetPendingResourceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesGetPendingResourceCall) Return ¶
func (c *MockResourcesGetPendingResourceCall) Return(arg0 resource.Resource, arg1 error) *MockResourcesGetPendingResourceCall
Return rewrite *gomock.Call.Return
type MockResourcesGetResourceCall ¶
MockResourcesGetResourceCall wrap *gomock.Call
func (*MockResourcesGetResourceCall) Do ¶
func (c *MockResourcesGetResourceCall) Do(f func(string, string) (resource.Resource, error)) *MockResourcesGetResourceCall
Do rewrite *gomock.Call.Do
func (*MockResourcesGetResourceCall) DoAndReturn ¶
func (c *MockResourcesGetResourceCall) DoAndReturn(f func(string, string) (resource.Resource, error)) *MockResourcesGetResourceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesGetResourceCall) Return ¶
func (c *MockResourcesGetResourceCall) Return(arg0 resource.Resource, arg1 error) *MockResourcesGetResourceCall
Return rewrite *gomock.Call.Return
type MockResourcesListPendingResourcesCall ¶
MockResourcesListPendingResourcesCall wrap *gomock.Call
func (*MockResourcesListPendingResourcesCall) Do ¶
func (c *MockResourcesListPendingResourcesCall) Do(f func(string) (resource.ApplicationResources, error)) *MockResourcesListPendingResourcesCall
Do rewrite *gomock.Call.Do
func (*MockResourcesListPendingResourcesCall) DoAndReturn ¶
func (c *MockResourcesListPendingResourcesCall) DoAndReturn(f func(string) (resource.ApplicationResources, error)) *MockResourcesListPendingResourcesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesListPendingResourcesCall) Return ¶
func (c *MockResourcesListPendingResourcesCall) Return(arg0 resource.ApplicationResources, arg1 error) *MockResourcesListPendingResourcesCall
Return rewrite *gomock.Call.Return
type MockResourcesListResourcesCall ¶
MockResourcesListResourcesCall wrap *gomock.Call
func (*MockResourcesListResourcesCall) Do ¶
func (c *MockResourcesListResourcesCall) Do(f func(string) (resource.ApplicationResources, error)) *MockResourcesListResourcesCall
Do rewrite *gomock.Call.Do
func (*MockResourcesListResourcesCall) DoAndReturn ¶
func (c *MockResourcesListResourcesCall) DoAndReturn(f func(string) (resource.ApplicationResources, error)) *MockResourcesListResourcesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesListResourcesCall) Return ¶
func (c *MockResourcesListResourcesCall) Return(arg0 resource.ApplicationResources, arg1 error) *MockResourcesListResourcesCall
Return rewrite *gomock.Call.Return
type MockResourcesMockRecorder ¶
type MockResourcesMockRecorder struct {
// contains filtered or unexported fields
}
MockResourcesMockRecorder is the mock recorder for MockResources.
func (*MockResourcesMockRecorder) AddPendingResource ¶
func (mr *MockResourcesMockRecorder) AddPendingResource(arg0, arg1, arg2 any) *MockResourcesAddPendingResourceCall
AddPendingResource indicates an expected call of AddPendingResource.
func (*MockResourcesMockRecorder) GetPendingResource ¶
func (mr *MockResourcesMockRecorder) GetPendingResource(arg0, arg1, arg2 any) *MockResourcesGetPendingResourceCall
GetPendingResource indicates an expected call of GetPendingResource.
func (*MockResourcesMockRecorder) GetResource ¶
func (mr *MockResourcesMockRecorder) GetResource(arg0, arg1 any) *MockResourcesGetResourceCall
GetResource indicates an expected call of GetResource.
func (*MockResourcesMockRecorder) ListPendingResources ¶
func (mr *MockResourcesMockRecorder) ListPendingResources(arg0 any) *MockResourcesListPendingResourcesCall
ListPendingResources indicates an expected call of ListPendingResources.
func (*MockResourcesMockRecorder) ListResources ¶
func (mr *MockResourcesMockRecorder) ListResources(arg0 any) *MockResourcesListResourcesCall
ListResources indicates an expected call of ListResources.
func (*MockResourcesMockRecorder) OpenResource ¶
func (mr *MockResourcesMockRecorder) OpenResource(arg0, arg1 any) *MockResourcesOpenResourceCall
OpenResource indicates an expected call of OpenResource.
func (*MockResourcesMockRecorder) OpenResourceForUniter ¶
func (mr *MockResourcesMockRecorder) OpenResourceForUniter(arg0, arg1 any) *MockResourcesOpenResourceForUniterCall
OpenResourceForUniter indicates an expected call of OpenResourceForUniter.
func (*MockResourcesMockRecorder) RemovePendingAppResources ¶
func (mr *MockResourcesMockRecorder) RemovePendingAppResources(arg0, arg1 any) *MockResourcesRemovePendingAppResourcesCall
RemovePendingAppResources indicates an expected call of RemovePendingAppResources.
func (*MockResourcesMockRecorder) SetCharmStoreResources ¶
func (mr *MockResourcesMockRecorder) SetCharmStoreResources(arg0, arg1, arg2 any) *MockResourcesSetCharmStoreResourcesCall
SetCharmStoreResources indicates an expected call of SetCharmStoreResources.
func (*MockResourcesMockRecorder) SetResource ¶
func (mr *MockResourcesMockRecorder) SetResource(arg0, arg1, arg2, arg3, arg4 any) *MockResourcesSetResourceCall
SetResource indicates an expected call of SetResource.
func (*MockResourcesMockRecorder) SetUnitResource ¶
func (mr *MockResourcesMockRecorder) SetUnitResource(arg0, arg1, arg2 any) *MockResourcesSetUnitResourceCall
SetUnitResource indicates an expected call of SetUnitResource.
func (*MockResourcesMockRecorder) UpdatePendingResource ¶
func (mr *MockResourcesMockRecorder) UpdatePendingResource(arg0, arg1, arg2, arg3, arg4 any) *MockResourcesUpdatePendingResourceCall
UpdatePendingResource indicates an expected call of UpdatePendingResource.
type MockResourcesOpenResourceCall ¶
MockResourcesOpenResourceCall wrap *gomock.Call
func (*MockResourcesOpenResourceCall) Do ¶
func (c *MockResourcesOpenResourceCall) Do(f func(string, string) (resource.Resource, io.ReadCloser, error)) *MockResourcesOpenResourceCall
Do rewrite *gomock.Call.Do
func (*MockResourcesOpenResourceCall) DoAndReturn ¶
func (c *MockResourcesOpenResourceCall) DoAndReturn(f func(string, string) (resource.Resource, io.ReadCloser, error)) *MockResourcesOpenResourceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesOpenResourceCall) Return ¶
func (c *MockResourcesOpenResourceCall) Return(arg0 resource.Resource, arg1 io.ReadCloser, arg2 error) *MockResourcesOpenResourceCall
Return rewrite *gomock.Call.Return
type MockResourcesOpenResourceForUniterCall ¶
MockResourcesOpenResourceForUniterCall wrap *gomock.Call
func (*MockResourcesOpenResourceForUniterCall) Do ¶
func (c *MockResourcesOpenResourceForUniterCall) Do(f func(string, string) (resource.Resource, io.ReadCloser, error)) *MockResourcesOpenResourceForUniterCall
Do rewrite *gomock.Call.Do
func (*MockResourcesOpenResourceForUniterCall) DoAndReturn ¶
func (c *MockResourcesOpenResourceForUniterCall) DoAndReturn(f func(string, string) (resource.Resource, io.ReadCloser, error)) *MockResourcesOpenResourceForUniterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesOpenResourceForUniterCall) Return ¶
func (c *MockResourcesOpenResourceForUniterCall) Return(arg0 resource.Resource, arg1 io.ReadCloser, arg2 error) *MockResourcesOpenResourceForUniterCall
Return rewrite *gomock.Call.Return
type MockResourcesRemovePendingAppResourcesCall ¶
MockResourcesRemovePendingAppResourcesCall wrap *gomock.Call
func (*MockResourcesRemovePendingAppResourcesCall) Do ¶
func (c *MockResourcesRemovePendingAppResourcesCall) Do(f func(string, map[string]string) error) *MockResourcesRemovePendingAppResourcesCall
Do rewrite *gomock.Call.Do
func (*MockResourcesRemovePendingAppResourcesCall) DoAndReturn ¶
func (c *MockResourcesRemovePendingAppResourcesCall) DoAndReturn(f func(string, map[string]string) error) *MockResourcesRemovePendingAppResourcesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesRemovePendingAppResourcesCall) Return ¶
func (c *MockResourcesRemovePendingAppResourcesCall) Return(arg0 error) *MockResourcesRemovePendingAppResourcesCall
Return rewrite *gomock.Call.Return
type MockResourcesSetCharmStoreResourcesCall ¶
MockResourcesSetCharmStoreResourcesCall wrap *gomock.Call
func (*MockResourcesSetCharmStoreResourcesCall) Do ¶
func (c *MockResourcesSetCharmStoreResourcesCall) Do(f func(string, []resource0.Resource, time.Time) error) *MockResourcesSetCharmStoreResourcesCall
Do rewrite *gomock.Call.Do
func (*MockResourcesSetCharmStoreResourcesCall) DoAndReturn ¶
func (c *MockResourcesSetCharmStoreResourcesCall) DoAndReturn(f func(string, []resource0.Resource, time.Time) error) *MockResourcesSetCharmStoreResourcesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesSetCharmStoreResourcesCall) Return ¶
func (c *MockResourcesSetCharmStoreResourcesCall) Return(arg0 error) *MockResourcesSetCharmStoreResourcesCall
Return rewrite *gomock.Call.Return
type MockResourcesSetResourceCall ¶
MockResourcesSetResourceCall wrap *gomock.Call
func (*MockResourcesSetResourceCall) Do ¶
func (c *MockResourcesSetResourceCall) Do(f func(string, string, resource0.Resource, io.Reader, state.IncrementCharmModifiedVersionType) (resource.Resource, error)) *MockResourcesSetResourceCall
Do rewrite *gomock.Call.Do
func (*MockResourcesSetResourceCall) DoAndReturn ¶
func (c *MockResourcesSetResourceCall) DoAndReturn(f func(string, string, resource0.Resource, io.Reader, state.IncrementCharmModifiedVersionType) (resource.Resource, error)) *MockResourcesSetResourceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesSetResourceCall) Return ¶
func (c *MockResourcesSetResourceCall) Return(arg0 resource.Resource, arg1 error) *MockResourcesSetResourceCall
Return rewrite *gomock.Call.Return
type MockResourcesSetUnitResourceCall ¶
MockResourcesSetUnitResourceCall wrap *gomock.Call
func (*MockResourcesSetUnitResourceCall) Do ¶
func (c *MockResourcesSetUnitResourceCall) Do(f func(string, string, resource0.Resource) (resource.Resource, error)) *MockResourcesSetUnitResourceCall
Do rewrite *gomock.Call.Do
func (*MockResourcesSetUnitResourceCall) DoAndReturn ¶
func (c *MockResourcesSetUnitResourceCall) DoAndReturn(f func(string, string, resource0.Resource) (resource.Resource, error)) *MockResourcesSetUnitResourceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesSetUnitResourceCall) Return ¶
func (c *MockResourcesSetUnitResourceCall) Return(arg0 resource.Resource, arg1 error) *MockResourcesSetUnitResourceCall
Return rewrite *gomock.Call.Return
type MockResourcesUpdatePendingResourceCall ¶
MockResourcesUpdatePendingResourceCall wrap *gomock.Call
func (*MockResourcesUpdatePendingResourceCall) Do ¶
func (c *MockResourcesUpdatePendingResourceCall) Do(f func(string, string, string, resource0.Resource, io.Reader) (resource.Resource, error)) *MockResourcesUpdatePendingResourceCall
Do rewrite *gomock.Call.Do
func (*MockResourcesUpdatePendingResourceCall) DoAndReturn ¶
func (c *MockResourcesUpdatePendingResourceCall) DoAndReturn(f func(string, string, string, resource0.Resource, io.Reader) (resource.Resource, error)) *MockResourcesUpdatePendingResourceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourcesUpdatePendingResourceCall) Return ¶
func (c *MockResourcesUpdatePendingResourceCall) Return(arg0 resource.Resource, arg1 error) *MockResourcesUpdatePendingResourceCall
Return rewrite *gomock.Call.Return