mocks

package
v0.0.0-...-acaaaf6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	mock.Mock
}

Exporter is an autogenerated mock type for the Exporter type

func NewExporter

func NewExporter(t interface {
	mock.TestingT
	Cleanup(func())
}) *Exporter

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

func (_m *Exporter) CreateSchema(_a0 feed.Feed, rows interface{}) error

CreateSchema provides a mock function with given fields: _a0, rows

func (*Exporter) DeleteRowsIfExist

func (_m *Exporter) DeleteRowsIfExist(_a0 feed.Feed, query string, args ...interface{}) error

DeleteRowsIfExist provides a mock function with given fields: _a0, query, args

func (*Exporter) FinaliseExport

func (_m *Exporter) FinaliseExport(_a0 feed.Feed, rows interface{}) error

FinaliseExport provides a mock function with given fields: _a0, rows

func (*Exporter) GetDuration

func (_m *Exporter) GetDuration() time.Duration

GetDuration provides a mock function with given fields:

func (*Exporter) InitFeed

func (_m *Exporter) InitFeed(_a0 feed.Feed, opts *feed.InitFeedOptions) error

InitFeed provides a mock function with given fields: _a0, opts

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

func (_m *Exporter) ParameterLimit() int

ParameterLimit provides a mock function with given fields:

func (*Exporter) SupportsUpsert

func (_m *Exporter) SupportsUpsert() bool

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

func (*Exporter) WriteMedia

func (_m *Exporter) WriteMedia(auditID string, mediaID string, contentType string, body []byte) error

WriteMedia provides a mock function with given fields: auditID, mediaID, contentType, body

func (*Exporter) WriteRows

func (_m *Exporter) WriteRows(_a0 feed.Feed, rows interface{}) error

WriteRows provides a mock function with given fields: _a0, rows

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL