Skip to content
Snippets Groups Projects
Commit 8302c6fc authored by ko_oler's avatar ko_oler
Browse files

правки по ПР

parent e06cc2c6
No related branches found
No related tags found
No related merge requests found
// Code generated by mockery v2.7.4. DO NOT EDIT.
package mocks
import (
context "context"
file "git.perx.ru/perxis/perxis-go/pkg/files"
image "git.perx.ru/perxis/perxis-go/pkg/images"
mock "github.com/stretchr/testify/mock"
)
// ImageService is an autogenerated mock type for the ImageService type
type ImageService struct {
mock.Mock
}
// Get provides a mock function with given fields: ctx, source, opts
func (_m *ImageService) Get(ctx context.Context, source *file.File, opts *image.GetOptions) (*file.File, error) {
ret := _m.Called(ctx, source, opts)
var r0 *file.File
if rf, ok := ret.Get(0).(func(context.Context, *file.File, *image.GetOptions) *file.File); ok {
r0 = rf(ctx, source, opts)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*file.File)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(context.Context, *file.File, *image.GetOptions) error); ok {
r1 = rf(ctx, source, opts)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// Code generated by mockery (devel). DO NOT EDIT.
package mocks
import (
context "context"
files "git.perx.ru/perxis/perxis-go/pkg/files"
images "git.perx.ru/perxis/perxis-go/pkg/images"
mock "github.com/stretchr/testify/mock"
)
// ImagesService is an autogenerated mock type for the ImagesService type
type ImagesService struct {
mock.Mock
}
// Get provides a mock function with given fields: ctx, source, opts
func (_m *ImagesService) Get(ctx context.Context, source *files.File, opts *images.GetOptions) (*files.File, error) {
ret := _m.Called(ctx, source, opts)
var r0 *files.File
if rf, ok := ret.Get(0).(func(context.Context, *files.File, *images.GetOptions) *files.File); ok {
r0 = rf(ctx, source, opts)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*files.File)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(context.Context, *files.File, *images.GetOptions) error); ok {
r1 = rf(ctx, source, opts)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment