Documentation ¶
Index ¶
- type DB
- func (_m *DB) Close() error
- func (_m *DB) Delete(ctx context.Context, rollerID string) error
- func (_m *DB) Get(ctx context.Context, rollerID string) (*config.Config, error)
- func (_m *DB) GetAll(ctx context.Context) ([]*config.Config, error)
- func (_m *DB) Put(ctx context.Context, rollerID string, cfg *config.Config) error
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.
Click to show internal directories.
Click to hide internal directories.