Documentation
¶
Overview ¶
Package postgres_mock is a generated GoMock package.
Index ¶
- type MockPostgresClientInterface
- func (m *MockPostgresClientInterface) AutoMigrate(dst ...interface{}) error
- func (m *MockPostgresClientInterface) Clauses(conds ...clause.Expression) *gorm.DB
- func (m *MockPostgresClientInterface) Create(value interface{}) *gorm.DB
- func (m *MockPostgresClientInterface) EXPECT() *MockPostgresClientInterfaceMockRecorder
- func (m *MockPostgresClientInterface) Find(dest interface{}, conds ...interface{}) *gorm.DB
- func (m *MockPostgresClientInterface) First(dest interface{}, conds ...interface{}) *gorm.DB
- func (m *MockPostgresClientInterface) Save(value interface{}) *gorm.DB
- func (m *MockPostgresClientInterface) Where(query interface{}, args ...interface{}) *gorm.DB
- type MockPostgresClientInterfaceMockRecorder
- func (mr *MockPostgresClientInterfaceMockRecorder) AutoMigrate(dst ...interface{}) *gomock.Call
- func (mr *MockPostgresClientInterfaceMockRecorder) Clauses(conds ...interface{}) *gomock.Call
- func (mr *MockPostgresClientInterfaceMockRecorder) Create(value interface{}) *gomock.Call
- func (mr *MockPostgresClientInterfaceMockRecorder) Find(dest interface{}, conds ...interface{}) *gomock.Call
- func (mr *MockPostgresClientInterfaceMockRecorder) First(dest interface{}, conds ...interface{}) *gomock.Call
- func (mr *MockPostgresClientInterfaceMockRecorder) Save(value interface{}) *gomock.Call
- func (mr *MockPostgresClientInterfaceMockRecorder) Where(query interface{}, args ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPostgresClientInterface ¶
type MockPostgresClientInterface struct {
// contains filtered or unexported fields
}
MockPostgresClientInterface is a mock of PostgresClientInterface interface.
func NewMockPostgresClientInterface ¶
func NewMockPostgresClientInterface(ctrl *gomock.Controller) *MockPostgresClientInterface
NewMockPostgresClientInterface creates a new mock instance.
func (*MockPostgresClientInterface) AutoMigrate ¶
func (m *MockPostgresClientInterface) AutoMigrate(dst ...interface{}) error
AutoMigrate mocks base method.
func (*MockPostgresClientInterface) Clauses ¶
func (m *MockPostgresClientInterface) Clauses(conds ...clause.Expression) *gorm.DB
Clauses mocks base method.
func (*MockPostgresClientInterface) Create ¶
func (m *MockPostgresClientInterface) Create(value interface{}) *gorm.DB
Create mocks base method.
func (*MockPostgresClientInterface) EXPECT ¶
func (m *MockPostgresClientInterface) EXPECT() *MockPostgresClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPostgresClientInterface) Find ¶
func (m *MockPostgresClientInterface) Find(dest interface{}, conds ...interface{}) *gorm.DB
Find mocks base method.
func (*MockPostgresClientInterface) First ¶
func (m *MockPostgresClientInterface) First(dest interface{}, conds ...interface{}) *gorm.DB
First mocks base method.
func (*MockPostgresClientInterface) Save ¶
func (m *MockPostgresClientInterface) Save(value interface{}) *gorm.DB
Save mocks base method.
func (*MockPostgresClientInterface) Where ¶
func (m *MockPostgresClientInterface) Where(query interface{}, args ...interface{}) *gorm.DB
Where mocks base method.
type MockPostgresClientInterfaceMockRecorder ¶
type MockPostgresClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPostgresClientInterfaceMockRecorder is the mock recorder for MockPostgresClientInterface.
func (*MockPostgresClientInterfaceMockRecorder) AutoMigrate ¶
func (mr *MockPostgresClientInterfaceMockRecorder) AutoMigrate(dst ...interface{}) *gomock.Call
AutoMigrate indicates an expected call of AutoMigrate.
func (*MockPostgresClientInterfaceMockRecorder) Clauses ¶
func (mr *MockPostgresClientInterfaceMockRecorder) Clauses(conds ...interface{}) *gomock.Call
Clauses indicates an expected call of Clauses.
func (*MockPostgresClientInterfaceMockRecorder) Create ¶
func (mr *MockPostgresClientInterfaceMockRecorder) Create(value interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockPostgresClientInterfaceMockRecorder) Find ¶
func (mr *MockPostgresClientInterfaceMockRecorder) Find(dest interface{}, conds ...interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockPostgresClientInterfaceMockRecorder) First ¶
func (mr *MockPostgresClientInterfaceMockRecorder) First(dest interface{}, conds ...interface{}) *gomock.Call
First indicates an expected call of First.
func (*MockPostgresClientInterfaceMockRecorder) Save ¶
func (mr *MockPostgresClientInterfaceMockRecorder) Save(value interface{}) *gomock.Call
Save indicates an expected call of Save.
func (*MockPostgresClientInterfaceMockRecorder) Where ¶
func (mr *MockPostgresClientInterfaceMockRecorder) Where(query interface{}, args ...interface{}) *gomock.Call
Where indicates an expected call of Where.