Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB is an autogenerated mock type for the DB type
func NewDB ¶
NewDB creates a new instance of DB. 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 (*DB) History ¶
func (_m *DB) History(ctx context.Context, rollerID string, limit int) ([]*roller_cleanup.CleanupRequest, error)
History provides a mock function with given fields: ctx, rollerID, limit
func (*DB) RequestCleanup ¶
func (_m *DB) RequestCleanup(ctx context.Context, req *roller_cleanup.CleanupRequest) error
RequestCleanup provides a mock function with given fields: ctx, req
Click to show internal directories.
Click to hide internal directories.