robot

package
v0.0.0-...-44f477e Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	mock.Mock
}

Controller is an autogenerated mock type for the Controller type

func (*Controller) Count

func (_m *Controller) Count(ctx context.Context, query *q.Query) (int64, error)

Count provides a mock function with given fields: ctx, query

func (*Controller) Create

func (_m *Controller) Create(ctx context.Context, r *robot.Robot) (int64, string, error)

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

func (*Controller) Delete

func (_m *Controller) Delete(ctx context.Context, id int64) error

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

func (*Controller) Get

func (_m *Controller) Get(ctx context.Context, id int64, option *robot.Option) (*robot.Robot, error)

Get provides a mock function with given fields: ctx, id, option

func (*Controller) List

func (_m *Controller) List(ctx context.Context, query *q.Query, option *robot.Option) ([]*robot.Robot, error)

List provides a mock function with given fields: ctx, query, option

func (*Controller) Update

func (_m *Controller) Update(ctx context.Context, r *robot.Robot, option *robot.Option) error

Update provides a mock function with given fields: ctx, r, option

Jump to

Keyboard shortcuts

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