Documentation ¶
Index ¶
- type DBAdapter
- func (_m *DBAdapter) CreateFileShare(ctx context.Context, fileshare *model.FileShare) (*model.FileShare, error)
- func (_m *DBAdapter) DeleteFileShare(ctx context.Context, id string) error
- func (_m *DBAdapter) GetFileShare(ctx context.Context, id string) (*model.FileShare, error)
- func (_m *DBAdapter) GetFileShareByName(ctx context.Context, id string) (*model.FileShare, error)
- func (_m *DBAdapter) ListFileShare(ctx context.Context, limit int, offset int, query interface{}) ([]*model.FileShare, error)
- func (_m *DBAdapter) UpdateFileShare(ctx context.Context, fileshare *model.FileShare) (*model.FileShare, 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) CreateFileShare ¶
func (_m *DBAdapter) CreateFileShare(ctx context.Context, fileshare *model.FileShare) (*model.FileShare, error)
CreateFileShare provides a mock function with given fields: ctx, fileshare
func (*DBAdapter) DeleteFileShare ¶
DeleteFileShare provides a mock function with given fields: ctx, id
func (*DBAdapter) GetFileShare ¶
GetFileShare provides a mock function with given fields: ctx, id
func (*DBAdapter) GetFileShareByName ¶
GetFileShareByName provides a mock function with given fields: ctx, id
Click to show internal directories.
Click to hide internal directories.