|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
// Code generated by mockery v2.37.1. DO NOT EDIT.
|
|
|
|
|
// Code generated by mockery v2.41.0. DO NOT EDIT.
|
|
|
|
|
|
|
|
|
|
package mockpbresource |
|
|
|
|
|
|
|
|
@ -26,6 +26,10 @@ func (_m *ResourceServiceServer) EXPECT() *ResourceServiceServer_Expecter {
|
|
|
|
|
func (_m *ResourceServiceServer) Delete(_a0 context.Context, _a1 *pbresource.DeleteRequest) (*pbresource.DeleteResponse, error) { |
|
|
|
|
ret := _m.Called(_a0, _a1) |
|
|
|
|
|
|
|
|
|
if len(ret) == 0 { |
|
|
|
|
panic("no return value specified for Delete") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var r0 *pbresource.DeleteResponse |
|
|
|
|
var r1 error |
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *pbresource.DeleteRequest) (*pbresource.DeleteResponse, error)); ok { |
|
|
|
@ -81,6 +85,10 @@ func (_c *ResourceServiceServer_Delete_Call) RunAndReturn(run func(context.Conte
|
|
|
|
|
func (_m *ResourceServiceServer) List(_a0 context.Context, _a1 *pbresource.ListRequest) (*pbresource.ListResponse, error) { |
|
|
|
|
ret := _m.Called(_a0, _a1) |
|
|
|
|
|
|
|
|
|
if len(ret) == 0 { |
|
|
|
|
panic("no return value specified for List") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var r0 *pbresource.ListResponse |
|
|
|
|
var r1 error |
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *pbresource.ListRequest) (*pbresource.ListResponse, error)); ok { |
|
|
|
@ -136,6 +144,10 @@ func (_c *ResourceServiceServer_List_Call) RunAndReturn(run func(context.Context
|
|
|
|
|
func (_m *ResourceServiceServer) ListByOwner(_a0 context.Context, _a1 *pbresource.ListByOwnerRequest) (*pbresource.ListByOwnerResponse, error) { |
|
|
|
|
ret := _m.Called(_a0, _a1) |
|
|
|
|
|
|
|
|
|
if len(ret) == 0 { |
|
|
|
|
panic("no return value specified for ListByOwner") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var r0 *pbresource.ListByOwnerResponse |
|
|
|
|
var r1 error |
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *pbresource.ListByOwnerRequest) (*pbresource.ListByOwnerResponse, error)); ok { |
|
|
|
@ -191,6 +203,10 @@ func (_c *ResourceServiceServer_ListByOwner_Call) RunAndReturn(run func(context.
|
|
|
|
|
func (_m *ResourceServiceServer) MutateAndValidate(_a0 context.Context, _a1 *pbresource.MutateAndValidateRequest) (*pbresource.MutateAndValidateResponse, error) { |
|
|
|
|
ret := _m.Called(_a0, _a1) |
|
|
|
|
|
|
|
|
|
if len(ret) == 0 { |
|
|
|
|
panic("no return value specified for MutateAndValidate") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var r0 *pbresource.MutateAndValidateResponse |
|
|
|
|
var r1 error |
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *pbresource.MutateAndValidateRequest) (*pbresource.MutateAndValidateResponse, error)); ok { |
|
|
|
@ -246,6 +262,10 @@ func (_c *ResourceServiceServer_MutateAndValidate_Call) RunAndReturn(run func(co
|
|
|
|
|
func (_m *ResourceServiceServer) Read(_a0 context.Context, _a1 *pbresource.ReadRequest) (*pbresource.ReadResponse, error) { |
|
|
|
|
ret := _m.Called(_a0, _a1) |
|
|
|
|
|
|
|
|
|
if len(ret) == 0 { |
|
|
|
|
panic("no return value specified for Read") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var r0 *pbresource.ReadResponse |
|
|
|
|
var r1 error |
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *pbresource.ReadRequest) (*pbresource.ReadResponse, error)); ok { |
|
|
|
@ -301,6 +321,10 @@ func (_c *ResourceServiceServer_Read_Call) RunAndReturn(run func(context.Context
|
|
|
|
|
func (_m *ResourceServiceServer) WatchList(_a0 *pbresource.WatchListRequest, _a1 pbresource.ResourceService_WatchListServer) error { |
|
|
|
|
ret := _m.Called(_a0, _a1) |
|
|
|
|
|
|
|
|
|
if len(ret) == 0 { |
|
|
|
|
panic("no return value specified for WatchList") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var r0 error |
|
|
|
|
if rf, ok := ret.Get(0).(func(*pbresource.WatchListRequest, pbresource.ResourceService_WatchListServer) error); ok { |
|
|
|
|
r0 = rf(_a0, _a1) |
|
|
|
@ -344,6 +368,10 @@ func (_c *ResourceServiceServer_WatchList_Call) RunAndReturn(run func(*pbresourc
|
|
|
|
|
func (_m *ResourceServiceServer) Write(_a0 context.Context, _a1 *pbresource.WriteRequest) (*pbresource.WriteResponse, error) { |
|
|
|
|
ret := _m.Called(_a0, _a1) |
|
|
|
|
|
|
|
|
|
if len(ret) == 0 { |
|
|
|
|
panic("no return value specified for Write") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var r0 *pbresource.WriteResponse |
|
|
|
|
var r1 error |
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *pbresource.WriteRequest) (*pbresource.WriteResponse, error)); ok { |
|
|
|
@ -399,6 +427,10 @@ func (_c *ResourceServiceServer_Write_Call) RunAndReturn(run func(context.Contex
|
|
|
|
|
func (_m *ResourceServiceServer) WriteStatus(_a0 context.Context, _a1 *pbresource.WriteStatusRequest) (*pbresource.WriteStatusResponse, error) { |
|
|
|
|
ret := _m.Called(_a0, _a1) |
|
|
|
|
|
|
|
|
|
if len(ret) == 0 { |
|
|
|
|
panic("no return value specified for WriteStatus") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var r0 *pbresource.WriteStatusResponse |
|
|
|
|
var r1 error |
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *pbresource.WriteStatusRequest) (*pbresource.WriteStatusResponse, error)); ok { |
|
|
|
|