mocks

package
v0.0.0-...-67f085a Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageRepository

type ImageRepository struct {
	mock.Mock
}

ImageRepository is an autogenerated mock type for the ImageRepository type

func NewImageRepository

func NewImageRepository(t mockConstructorTestingTNewImageRepository) *ImageRepository

NewImageRepository creates a new instance of ImageRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ImageRepository) CreateImage

func (_m *ImageRepository) CreateImage(ctx context.Context, image image_model.Image) error

CreateImage provides a mock function with given fields: ctx, image

func (*ImageRepository) DeleteImage

func (_m *ImageRepository) DeleteImage(ctx context.Context, id uuid.UUID) error

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

func (*ImageRepository) GetImage

func (_m *ImageRepository) GetImage(ctx context.Context, id uuid.UUID) (image_model.Image, error)

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

func (*ImageRepository) SearchImages

func (_m *ImageRepository) SearchImages(ctx context.Context) (image_model.Images, error)

SearchImages provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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