Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeServiceUploads ¶
type FakeServiceUploads struct { UploadFn func( ctx context.Context, inp profileutils.UploadInput, ) (*profileutils.Upload, error) FindUploadByIDFn func( ctx context.Context, id string, ) (*profileutils.Upload, error) }
FakeServiceUploads is an defines all interactions with the mock Uploads service
func (*FakeServiceUploads) FindUploadByID ¶
func (u *FakeServiceUploads) FindUploadByID( ctx context.Context, id string, ) (*profileutils.Upload, error)
FindUploadByID is a mock of the FindUploadByID service
func (*FakeServiceUploads) Upload ¶
func (u *FakeServiceUploads) Upload( ctx context.Context, inp profileutils.UploadInput, ) (*profileutils.Upload, error)
Upload is a mock of the Upload service
Click to show internal directories.
Click to hide internal directories.