Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: controllers/saleorder/saleorder_storage.go
Generated by this command:
mockgen -source=controllers/saleorder/saleorder_storage.go
Package mock_saleorder is a generated GoMock package.
Index ¶
- type MockOdoo16Client
- func (m *MockOdoo16Client) CreateSaleOrder(arg0 *odoo.SaleOrder) (int64, error)
- func (m *MockOdoo16Client) EXPECT() *MockOdoo16ClientMockRecorder
- func (m *MockOdoo16Client) FindResPartners(arg0 *odoo.Criteria, arg1 *odoo.Options) (*odoo.ResPartners, error)
- func (m *MockOdoo16Client) Read(arg0 string, arg1 []int64, arg2 *odoo.Options, arg3 any) error
- type MockOdoo16ClientMockRecorder
- type MockSaleOrderStorage
- type MockSaleOrderStorageMockRecorder
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) CreateSaleOrder ¶
func (m *MockOdoo16Client) CreateSaleOrder(arg0 *odoo.SaleOrder) (int64, error)
CreateSaleOrder 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 ¶ added in v0.31.0
func (m *MockOdoo16Client) FindResPartners(arg0 *odoo.Criteria, arg1 *odoo.Options) (*odoo.ResPartners, error)
FindResPartners mocks base method.
type MockOdoo16ClientMockRecorder ¶
type MockOdoo16ClientMockRecorder struct {
// contains filtered or unexported fields
}
MockOdoo16ClientMockRecorder is the mock recorder for MockOdoo16Client.
func (*MockOdoo16ClientMockRecorder) CreateSaleOrder ¶
func (mr *MockOdoo16ClientMockRecorder) CreateSaleOrder(arg0 any) *gomock.Call
CreateSaleOrder indicates an expected call of CreateSaleOrder.
func (*MockOdoo16ClientMockRecorder) FindResPartners ¶ added in v0.31.0
func (mr *MockOdoo16ClientMockRecorder) FindResPartners(arg0, arg1 any) *gomock.Call
FindResPartners indicates an expected call of FindResPartners.
type MockSaleOrderStorage ¶
type MockSaleOrderStorage struct {
// contains filtered or unexported fields
}
MockSaleOrderStorage is a mock of SaleOrderStorage interface.
func NewMockSaleOrderStorage ¶
func NewMockSaleOrderStorage(ctrl *gomock.Controller) *MockSaleOrderStorage
NewMockSaleOrderStorage creates a new mock instance.
func (*MockSaleOrderStorage) CreateSaleOrder ¶
func (m *MockSaleOrderStorage) CreateSaleOrder(arg0 v1.Organization) (string, error)
CreateSaleOrder mocks base method.
func (*MockSaleOrderStorage) EXPECT ¶
func (m *MockSaleOrderStorage) EXPECT() *MockSaleOrderStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSaleOrderStorage) GetSaleOrderName ¶
func (m *MockSaleOrderStorage) GetSaleOrderName(arg0 v1.Organization) (string, error)
GetSaleOrderName mocks base method.
type MockSaleOrderStorageMockRecorder ¶
type MockSaleOrderStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockSaleOrderStorageMockRecorder is the mock recorder for MockSaleOrderStorage.
func (*MockSaleOrderStorageMockRecorder) CreateSaleOrder ¶
func (mr *MockSaleOrderStorageMockRecorder) CreateSaleOrder(arg0 any) *gomock.Call
CreateSaleOrder indicates an expected call of CreateSaleOrder.
func (*MockSaleOrderStorageMockRecorder) GetSaleOrderName ¶
func (mr *MockSaleOrderStorageMockRecorder) GetSaleOrderName(arg0 any) *gomock.Call
GetSaleOrderName indicates an expected call of GetSaleOrderName.