mocks

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: GPL-3.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 IRepo

type IRepo struct {
	mock.Mock
}

IRepo is an autogenerated mock type for the IRepo type

func (*IRepo) Count

func (_m *IRepo) Count(ctx contextx.Contextx) (int, error)

Count provides a mock function with given fields: ctx

func (*IRepo) Create

func (_m *IRepo) Create(ctx contextx.Contextx, task *pb.Task) (*pb.Task, error)

Create provides a mock function with given fields: ctx, task

func (*IRepo) Delete

func (_m *IRepo) Delete(ctx contextx.Contextx, id string) (int, error)

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

func (*IRepo) List

func (_m *IRepo) List(ctx contextx.Contextx, offset int, limit int) ([]*pb.Task, error)

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

func (*IRepo) QueryByID

func (_m *IRepo) QueryByID(ctx contextx.Contextx, id string) (*pb.Task, error)

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

func (*IRepo) Update

func (_m *IRepo) Update(ctx contextx.Contextx, updated *pb.Task) (*pb.Task, error)

Update provides a mock function with given fields: ctx, updated

Jump to

Keyboard shortcuts

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