mocks

package
v0.0.0-...-d041062 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CanvasRepository

type CanvasRepository struct {
	mock.Mock
}

CanvasRepository is an autogenerated mock type for the CanvasRepository type

func (*CanvasRepository) Create

func (_m *CanvasRepository) Create(ctx context.Context, canvas ascanvas.Canvas) error

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

func (*CanvasRepository) Delete

func (_m *CanvasRepository) Delete(ctx context.Context, id string) error

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

func (*CanvasRepository) Get

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

func (*CanvasRepository) List

func (_m *CanvasRepository) List(ctx context.Context) ([]ascanvas.Canvas, error)

List provides a mock function with given fields: ctx

func (*CanvasRepository) Update

func (_m *CanvasRepository) Update(ctx context.Context, canvas ascanvas.Canvas) error

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

Jump to

Keyboard shortcuts

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