Documentation ¶
Index ¶
- type ImageRepository
- func (_m *ImageRepository) CreateImage(ctx context.Context, image image_model.Image) error
- func (_m *ImageRepository) DeleteImage(ctx context.Context, id uuid.UUID) error
- func (_m *ImageRepository) GetImage(ctx context.Context, id uuid.UUID) (image_model.Image, error)
- func (_m *ImageRepository) SearchImages(ctx context.Context) (image_model.Images, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageRepository ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.