2021-07-23 09:07:30 +00:00
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
2021-10-26 12:54:07 +00:00
|
|
|
// Source: github.com/nspcc-dev/neofs-sdk-go/pool (interfaces: Client)
|
2021-07-23 09:07:30 +00:00
|
|
|
|
|
|
|
// Package pool is a generated GoMock package.
|
|
|
|
package pool
|
|
|
|
|
|
|
|
import (
|
2021-11-25 08:28:23 +00:00
|
|
|
context "context"
|
2021-07-23 09:07:30 +00:00
|
|
|
reflect "reflect"
|
|
|
|
|
|
|
|
gomock "github.com/golang/mock/gomock"
|
2021-11-09 08:20:09 +00:00
|
|
|
client0 "github.com/nspcc-dev/neofs-sdk-go/client"
|
2021-07-23 09:07:30 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// MockClient is a mock of Client interface.
|
|
|
|
type MockClient struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockClientMockRecorder
|
|
|
|
}
|
|
|
|
|
|
|
|
// MockClientMockRecorder is the mock recorder for MockClient.
|
|
|
|
type MockClientMockRecorder struct {
|
|
|
|
mock *MockClient
|
|
|
|
}
|
|
|
|
|
|
|
|
// NewMockClient creates a new mock instance.
|
|
|
|
func NewMockClient(ctrl *gomock.Controller) *MockClient {
|
|
|
|
mock := &MockClient{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockClientMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
|
|
func (m *MockClient) EXPECT() *MockClientMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
2021-11-25 08:28:23 +00:00
|
|
|
// CreateSession mocks base method.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (m *MockClient) CreateSession(arg0 context.Context, arg1 client0.CreateSessionPrm) (*client0.CreateSessionRes, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
ret := m.ctrl.Call(m, "CreateSession", varargs...)
|
|
|
|
ret0, _ := ret[0].(*client0.CreateSessionRes)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:07:30 +00:00
|
|
|
// CreateSession indicates an expected call of CreateSession.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (mr *MockClientMockRecorder) CreateSession(arg0, arg1 interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-07-23 09:07:30 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSession", reflect.TypeOf((*MockClient)(nil).CreateSession), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-11-25 08:28:23 +00:00
|
|
|
// DeleteContainer mocks base method.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (m *MockClient) DeleteContainer(arg0 context.Context, arg1 client0.ContainerDeletePrm) (*client0.ContainerDeleteRes, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
ret := m.ctrl.Call(m, "DeleteContainer", varargs...)
|
|
|
|
ret0, _ := ret[0].(*client0.ContainerDeleteRes)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:07:30 +00:00
|
|
|
// DeleteContainer indicates an expected call of DeleteContainer.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (mr *MockClientMockRecorder) DeleteContainer(arg0, arg1 interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-07-23 09:07:30 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteContainer", reflect.TypeOf((*MockClient)(nil).DeleteContainer), varargs...)
|
|
|
|
}
|
|
|
|
|
2022-02-15 05:36:47 +00:00
|
|
|
// ObjectDelete mocks base method.
|
|
|
|
func (m *MockClient) ObjectDelete(arg0 context.Context, arg1 client0.PrmObjectDelete) (*client0.ResObjectDelete, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
2022-02-15 05:36:47 +00:00
|
|
|
ret := m.ctrl.Call(m, "ObjectDelete", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*client0.ResObjectDelete)
|
2021-11-25 08:28:23 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:07:30 +00:00
|
|
|
// DeleteObject indicates an expected call of DeleteObject.
|
|
|
|
func (mr *MockClientMockRecorder) DeleteObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
2022-02-15 05:36:47 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteObject", reflect.TypeOf((*MockClient)(nil).ObjectDelete), varargs...)
|
2021-07-23 09:07:30 +00:00
|
|
|
}
|
|
|
|
|
2021-11-25 08:28:23 +00:00
|
|
|
// EACL mocks base method.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (m *MockClient) EACL(arg0 context.Context, arg1 client0.EACLPrm) (*client0.EACLRes, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
ret := m.ctrl.Call(m, "EACL", varargs...)
|
|
|
|
ret0, _ := ret[0].(*client0.EACLRes)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// EACL indicates an expected call of EACL.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (mr *MockClientMockRecorder) EACL(arg0, arg1 interface{}) *gomock.Call {
|
2021-11-25 08:28:23 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-11-25 08:28:23 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EACL", reflect.TypeOf((*MockClient)(nil).EACL), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// EndpointInfo mocks base method.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (m *MockClient) EndpointInfo(arg0 context.Context, arg1 client0.EndpointInfoPrm) (*client0.EndpointInfoRes, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-11-25 08:28:23 +00:00
|
|
|
ret := m.ctrl.Call(m, "EndpointInfo", varargs...)
|
|
|
|
ret0, _ := ret[0].(*client0.EndpointInfoRes)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:07:30 +00:00
|
|
|
// EndpointInfo indicates an expected call of EndpointInfo.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (mr *MockClientMockRecorder) EndpointInfo(arg0, arg1 interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-07-23 09:07:30 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EndpointInfo", reflect.TypeOf((*MockClient)(nil).EndpointInfo), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-11-25 08:28:23 +00:00
|
|
|
// GetBalance mocks base method.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (m *MockClient) GetBalance(arg0 context.Context, arg1 client0.GetBalancePrm) (*client0.GetBalanceRes, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
ret := m.ctrl.Call(m, "GetBalance", varargs...)
|
2021-12-02 12:21:54 +00:00
|
|
|
ret0, _ := ret[0].(*client0.GetBalanceRes)
|
2021-11-25 08:28:23 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:07:30 +00:00
|
|
|
// GetBalance indicates an expected call of GetBalance.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (mr *MockClientMockRecorder) GetBalance(arg0, arg1 interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-07-23 09:07:30 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBalance", reflect.TypeOf((*MockClient)(nil).GetBalance), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-11-25 08:28:23 +00:00
|
|
|
// GetContainer mocks base method.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (m *MockClient) GetContainer(arg0 context.Context, arg1 client0.ContainerGetPrm) (*client0.ContainerGetRes, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
ret := m.ctrl.Call(m, "GetContainer", varargs...)
|
|
|
|
ret0, _ := ret[0].(*client0.ContainerGetRes)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:07:30 +00:00
|
|
|
// GetContainer indicates an expected call of GetContainer.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (mr *MockClientMockRecorder) GetContainer(arg0, arg1 interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-07-23 09:07:30 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetContainer", reflect.TypeOf((*MockClient)(nil).GetContainer), varargs...)
|
|
|
|
}
|
|
|
|
|
2022-02-07 20:27:56 +00:00
|
|
|
// ObjectGetInitmocks base method.
|
|
|
|
func (m *MockClient) ObjectGetInit(arg0 context.Context, arg1 client0.PrmObjectGet) (*client0.ObjectReader, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
2022-02-07 20:27:56 +00:00
|
|
|
ret := m.ctrl.Call(m, "GetObject", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*client0.ObjectReader)
|
2021-11-25 08:28:23 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
2021-07-23 09:07:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// GetObject indicates an expected call of GetObject.
|
|
|
|
func (mr *MockClientMockRecorder) GetObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
2022-02-07 20:27:56 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ObjectGetInit", reflect.TypeOf((*MockClient)(nil).ObjectGetInit), varargs...)
|
2021-07-23 09:07:30 +00:00
|
|
|
}
|
|
|
|
|
2022-02-11 16:13:53 +00:00
|
|
|
// ObjectHead mocks base method.
|
|
|
|
func (m *MockClient) ObjectHead(arg0 context.Context, arg1 client0.PrmObjectHead) (*client0.ResObjectHead, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
2022-02-11 16:13:53 +00:00
|
|
|
ret := m.ctrl.Call(m, "HeadObject", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*client0.ResObjectHead)
|
2021-11-25 08:28:23 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// HeadObject indicates an expected call of HeadObject.
|
|
|
|
func (mr *MockClientMockRecorder) HeadObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
2022-02-11 16:13:53 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HeadObject", reflect.TypeOf((*MockClient)(nil).ObjectHead), varargs...)
|
2021-07-23 09:07:30 +00:00
|
|
|
}
|
|
|
|
|
2021-11-25 08:28:23 +00:00
|
|
|
// ListContainers mocks base method.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (m *MockClient) ListContainers(arg0 context.Context, arg1 client0.ContainerListPrm) (*client0.ContainerListRes, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
ret := m.ctrl.Call(m, "ListContainers", varargs...)
|
|
|
|
ret0, _ := ret[0].(*client0.ContainerListRes)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:07:30 +00:00
|
|
|
// ListContainers indicates an expected call of ListContainers.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (mr *MockClientMockRecorder) ListContainers(arg0, arg1 interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-07-23 09:07:30 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListContainers", reflect.TypeOf((*MockClient)(nil).ListContainers), varargs...)
|
|
|
|
}
|
|
|
|
|
2021-11-25 08:28:23 +00:00
|
|
|
// NetworkInfo mocks base method.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (m *MockClient) NetworkInfo(arg0 context.Context, arg1 client0.NetworkInfoPrm) (*client0.NetworkInfoRes, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-11-25 08:28:23 +00:00
|
|
|
ret := m.ctrl.Call(m, "NetworkInfo", varargs...)
|
|
|
|
ret0, _ := ret[0].(*client0.NetworkInfoRes)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:07:30 +00:00
|
|
|
// NetworkInfo indicates an expected call of NetworkInfo.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (mr *MockClientMockRecorder) NetworkInfo(arg0, arg1 interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-07-23 09:07:30 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkInfo", reflect.TypeOf((*MockClient)(nil).NetworkInfo), varargs...)
|
|
|
|
}
|
|
|
|
|
2022-02-12 09:26:38 +00:00
|
|
|
// ObjectRangeInit mocks base method.
|
|
|
|
func (m *MockClient) ObjectRangeInit(arg0 context.Context, arg1 client0.PrmObjectRange) (*client0.ObjectRangeReader, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
2022-02-12 09:26:38 +00:00
|
|
|
ret := m.ctrl.Call(m, "ObjectRangeInit", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*client0.ObjectRangeReader)
|
2021-11-25 08:28:23 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2022-02-12 09:26:38 +00:00
|
|
|
// ObjectRange indicates an expected call of ObjectRangeInit.
|
|
|
|
func (mr *MockClientMockRecorder) ObjectRange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
2022-02-12 09:26:38 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ObjectRangeInit", reflect.TypeOf((*MockClient)(nil).ObjectRangeInit), varargs...)
|
2021-07-23 09:07:30 +00:00
|
|
|
}
|
|
|
|
|
2021-11-25 08:28:23 +00:00
|
|
|
// PutContainer mocks base method.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (m *MockClient) PutContainer(arg0 context.Context, arg1 client0.ContainerPutPrm) (*client0.ContainerPutRes, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
ret := m.ctrl.Call(m, "PutContainer", varargs...)
|
|
|
|
ret0, _ := ret[0].(*client0.ContainerPutRes)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
2021-07-23 09:07:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// PutContainer indicates an expected call of PutContainer.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (mr *MockClientMockRecorder) PutContainer(arg0, arg1 interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-07-23 09:07:30 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutContainer", reflect.TypeOf((*MockClient)(nil).PutContainer), varargs...)
|
|
|
|
}
|
|
|
|
|
2022-02-07 20:27:56 +00:00
|
|
|
// ObjectPutInitmocks base method.
|
|
|
|
func (m *MockClient) ObjectPutInit(arg0 context.Context, arg1 client0.PrmObjectPutInit) (*client0.ObjectWriter, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
2022-02-07 20:27:56 +00:00
|
|
|
ret := m.ctrl.Call(m, "PutObject", arg0)
|
|
|
|
ret0, _ := ret[0].(*client0.ObjectWriter)
|
2021-11-25 08:28:23 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:07:30 +00:00
|
|
|
// PutObject indicates an expected call of PutObject.
|
2022-02-07 20:27:56 +00:00
|
|
|
func (mr *MockClientMockRecorder) PutObject(arg0, arg1 interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2022-02-07 20:27:56 +00:00
|
|
|
varargs := append([]interface{}{arg0, arg1})
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ObjectPutInit", reflect.TypeOf((*MockClient)(nil).ObjectPutInit), varargs...)
|
2021-07-23 09:07:30 +00:00
|
|
|
}
|
|
|
|
|
2022-02-15 05:36:47 +00:00
|
|
|
// ObjectSearchInitmocks base method.
|
|
|
|
func (m *MockClient) ObjectSearchInit(arg0 context.Context, arg1 client0.PrmObjectSearch) (*client0.ObjectListReader, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
2022-02-15 05:36:47 +00:00
|
|
|
ret := m.ctrl.Call(m, "ObjectSearchInit", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*client0.ObjectListReader)
|
2021-11-25 08:28:23 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SearchObjects indicates an expected call of SearchObjects.
|
|
|
|
func (mr *MockClientMockRecorder) SearchObjects(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
2022-02-15 05:36:47 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchObjects", reflect.TypeOf((*MockClient)(nil).ObjectSearchInit), varargs...)
|
2021-07-23 09:07:30 +00:00
|
|
|
}
|
|
|
|
|
2021-11-25 08:28:23 +00:00
|
|
|
// SetEACL mocks base method.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (m *MockClient) SetEACL(arg0 context.Context, arg1 client0.SetEACLPrm) (*client0.SetEACLRes, error) {
|
2021-11-25 08:28:23 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
ret := m.ctrl.Call(m, "SetEACL", varargs...)
|
|
|
|
ret0, _ := ret[0].(*client0.SetEACLRes)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:07:30 +00:00
|
|
|
// SetEACL indicates an expected call of SetEACL.
|
2021-12-02 12:21:54 +00:00
|
|
|
func (mr *MockClientMockRecorder) SetEACL(arg0, arg1 interface{}) *gomock.Call {
|
2021-07-23 09:07:30 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2021-12-02 12:21:54 +00:00
|
|
|
varargs := []interface{}{arg0, arg1}
|
2021-07-23 09:07:30 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEACL", reflect.TypeOf((*MockClient)(nil).SetEACL), varargs...)
|
|
|
|
}
|