Documentation ¶
Index ¶
- type DBAdapter
- func (_m *DBAdapter) CreateVolume(ctx context.Context, volume *model.Volume) (*model.Volume, error)
- func (_m *DBAdapter) DeleteVolume(ctx context.Context, id string) error
- func (_m *DBAdapter) GetVolume(ctx context.Context, id string) (*model.Volume, error)
- func (_m *DBAdapter) ListVolume(ctx context.Context, limit int, offset int, query interface{}) ([]*model.Volume, error)
- func (_m *DBAdapter) UpdateVolume(ctx context.Context, volume *model.Volume) (*model.Volume, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBAdapter ¶
DBAdapter is an autogenerated mock type for the DBAdapter type
func (*DBAdapter) CreateVolume ¶
CreateVolume provides a mock function with given fields: ctx, volume
func (*DBAdapter) DeleteVolume ¶
DeleteVolume provides a mock function with given fields: ctx, id
Click to show internal directories.
Click to hide internal directories.