Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: apiserver/billing/odoostorage/odoo/odoo16/odoo16.go
Generated by this command:
mockgen -source=apiserver/billing/odoostorage/odoo/odoo16/odoo16.go
Package odoo16mock is a generated GoMock package.
Index ¶
- type MockOdoo16Client
- func (m *MockOdoo16Client) CreateResPartner(arg0 *go_odoo.ResPartner) (int64, error)
- func (m *MockOdoo16Client) DeleteResPartners(arg0 []int64) error
- func (m *MockOdoo16Client) EXPECT() *MockOdoo16ClientMockRecorder
- func (m *MockOdoo16Client) FindResPartners(arg0 *go_odoo.Criteria, arg1 *go_odoo.Options) (*go_odoo.ResPartners, error)
- func (m *MockOdoo16Client) Read(arg0 string, arg1 []int64, arg2 *go_odoo.Options, arg3 any) error
- func (m *MockOdoo16Client) Update(arg0 string, arg1 []int64, arg2 any) error
- func (m *MockOdoo16Client) UpdateResPartner(arg0 *go_odoo.ResPartner) error
- type MockOdoo16ClientMockRecorder
- func (mr *MockOdoo16ClientMockRecorder) CreateResPartner(arg0 any) *gomock.Call
- func (mr *MockOdoo16ClientMockRecorder) DeleteResPartners(arg0 any) *gomock.Call
- func (mr *MockOdoo16ClientMockRecorder) FindResPartners(arg0, arg1 any) *gomock.Call
- func (mr *MockOdoo16ClientMockRecorder) Read(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockOdoo16ClientMockRecorder) Update(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockOdoo16ClientMockRecorder) UpdateResPartner(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOdoo16Client ¶
type MockOdoo16Client struct {
// contains filtered or unexported fields
}
MockOdoo16Client is a mock of Odoo16Client interface.
func NewMockOdoo16Client ¶
func NewMockOdoo16Client(ctrl *gomock.Controller) *MockOdoo16Client
NewMockOdoo16Client creates a new mock instance.
func (*MockOdoo16Client) CreateResPartner ¶
func (m *MockOdoo16Client) CreateResPartner(arg0 *go_odoo.ResPartner) (int64, error)
CreateResPartner mocks base method.
func (*MockOdoo16Client) DeleteResPartners ¶
func (m *MockOdoo16Client) DeleteResPartners(arg0 []int64) error
DeleteResPartners mocks base method.
func (*MockOdoo16Client) EXPECT ¶
func (m *MockOdoo16Client) EXPECT() *MockOdoo16ClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOdoo16Client) FindResPartners ¶
func (m *MockOdoo16Client) FindResPartners(arg0 *go_odoo.Criteria, arg1 *go_odoo.Options) (*go_odoo.ResPartners, error)
FindResPartners mocks base method.
func (*MockOdoo16Client) Update ¶
func (m *MockOdoo16Client) Update(arg0 string, arg1 []int64, arg2 any) error
Update mocks base method.
func (*MockOdoo16Client) UpdateResPartner ¶
func (m *MockOdoo16Client) UpdateResPartner(arg0 *go_odoo.ResPartner) error
UpdateResPartner mocks base method.
type MockOdoo16ClientMockRecorder ¶
type MockOdoo16ClientMockRecorder struct {
// contains filtered or unexported fields
}
MockOdoo16ClientMockRecorder is the mock recorder for MockOdoo16Client.
func (*MockOdoo16ClientMockRecorder) CreateResPartner ¶
func (mr *MockOdoo16ClientMockRecorder) CreateResPartner(arg0 any) *gomock.Call
CreateResPartner indicates an expected call of CreateResPartner.
func (*MockOdoo16ClientMockRecorder) DeleteResPartners ¶
func (mr *MockOdoo16ClientMockRecorder) DeleteResPartners(arg0 any) *gomock.Call
DeleteResPartners indicates an expected call of DeleteResPartners.
func (*MockOdoo16ClientMockRecorder) FindResPartners ¶
func (mr *MockOdoo16ClientMockRecorder) FindResPartners(arg0, arg1 any) *gomock.Call
FindResPartners indicates an expected call of FindResPartners.
func (*MockOdoo16ClientMockRecorder) Read ¶
func (mr *MockOdoo16ClientMockRecorder) Read(arg0, arg1, arg2, arg3 any) *gomock.Call
Read indicates an expected call of Read.
func (*MockOdoo16ClientMockRecorder) Update ¶
func (mr *MockOdoo16ClientMockRecorder) Update(arg0, arg1, arg2 any) *gomock.Call
Update indicates an expected call of Update.
func (*MockOdoo16ClientMockRecorder) UpdateResPartner ¶
func (mr *MockOdoo16ClientMockRecorder) UpdateResPartner(arg0 any) *gomock.Call
UpdateResPartner indicates an expected call of UpdateResPartner.