mocks

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 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 DBAdapter

type DBAdapter struct {
	mock.Mock
}

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

func (_m *DBAdapter) DeleteFileShare(ctx context.Context, id string) error

DeleteFileShare provides a mock function with given fields: ctx, id

func (*DBAdapter) GetFileShare

func (_m *DBAdapter) GetFileShare(ctx context.Context, id string) (*model.FileShare, error)

GetFileShare provides a mock function with given fields: ctx, id

func (*DBAdapter) GetFileShareByName

func (_m *DBAdapter) GetFileShareByName(ctx context.Context, id string) (*model.FileShare, error)

GetFileShareByName provides a mock function with given fields: ctx, id

func (*DBAdapter) ListFileShare

func (_m *DBAdapter) ListFileShare(ctx context.Context, limit int, offset int, query interface{}) ([]*model.FileShare, error)

ListFileShare provides a mock function with given fields: ctx, limit, offset, query

func (*DBAdapter) UpdateFileShare

func (_m *DBAdapter) UpdateFileShare(ctx context.Context, fileshare *model.FileShare) (*model.FileShare, error)

UpdateFileShare provides a mock function with given fields: ctx, fileshare

Jump to

Keyboard shortcuts

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