Documentation ¶
Index ¶
- type Exporter
- func (_m *Exporter) CreateSchema(_a0 feed.Feed, rows interface{}) error
- func (_m *Exporter) DeleteRowsIfExist(_a0 feed.Feed, query string, args ...interface{}) error
- func (_m *Exporter) FinaliseExport(_a0 feed.Feed, rows interface{}) error
- func (_m *Exporter) GetDuration() time.Duration
- func (_m *Exporter) InitFeed(_a0 feed.Feed, opts *feed.InitFeedOptions) error
- func (_m *Exporter) LastModifiedAt(_a0 feed.Feed, modifiedAfter time.Time, orgID string) (time.Time, error)
- func (_m *Exporter) LastRecord(_a0 feed.Feed, modifiedAfter time.Time, orgID string, sortColumn string) time.Time
- func (_m *Exporter) ParameterLimit() int
- func (_m *Exporter) SupportsUpsert() bool
- func (_m *Exporter) UpdateRows(_a0 feed.Feed, primaryKeys []string, element map[string]interface{}) (int64, error)
- func (_m *Exporter) WriteMedia(auditID string, mediaID string, contentType string, body []byte) error
- func (_m *Exporter) WriteRows(_a0 feed.Feed, rows interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
Exporter is an autogenerated mock type for the Exporter type
func NewExporter ¶
NewExporter creates a new instance of Exporter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Exporter) CreateSchema ¶
CreateSchema provides a mock function with given fields: _a0, rows
func (*Exporter) DeleteRowsIfExist ¶
DeleteRowsIfExist provides a mock function with given fields: _a0, query, args
func (*Exporter) FinaliseExport ¶
FinaliseExport provides a mock function with given fields: _a0, rows
func (*Exporter) GetDuration ¶
GetDuration provides a mock function with given fields:
func (*Exporter) LastModifiedAt ¶
func (_m *Exporter) LastModifiedAt(_a0 feed.Feed, modifiedAfter time.Time, orgID string) (time.Time, error)
LastModifiedAt provides a mock function with given fields: _a0, modifiedAfter, orgID
func (*Exporter) LastRecord ¶
func (_m *Exporter) LastRecord(_a0 feed.Feed, modifiedAfter time.Time, orgID string, sortColumn string) time.Time
LastRecord provides a mock function with given fields: _a0, modifiedAfter, orgID, sortColumn
func (*Exporter) ParameterLimit ¶
ParameterLimit provides a mock function with given fields:
func (*Exporter) SupportsUpsert ¶
SupportsUpsert provides a mock function with given fields:
func (*Exporter) UpdateRows ¶
func (_m *Exporter) UpdateRows(_a0 feed.Feed, primaryKeys []string, element map[string]interface{}) (int64, error)
UpdateRows provides a mock function with given fields: _a0, primaryKeys, element