Documentation ¶
Index ¶
- type MockBindFunc
- type MockBindFunc_Execute_Call
- func (_c *MockBindFunc_Execute_Call) Return(_a0 error) *MockBindFunc_Execute_Call
- func (_c *MockBindFunc_Execute_Call) Run(run func(_a0 echox.Context, _a1 interface{})) *MockBindFunc_Execute_Call
- func (_c *MockBindFunc_Execute_Call) RunAndReturn(run func(echox.Context, interface{}) error) *MockBindFunc_Execute_Call
- type MockBindFunc_Expecter
- type MockErrResponseHandler
- type MockErrResponseHandler_Execute_Call
- func (_c *MockErrResponseHandler_Execute_Call) Return(_a0 http.HandlerFunc) *MockErrResponseHandler_Execute_Call
- func (_c *MockErrResponseHandler_Execute_Call) Run(run func(err error, statusCode int)) *MockErrResponseHandler_Execute_Call
- func (_c *MockErrResponseHandler_Execute_Call) RunAndReturn(run func(error, int) http.HandlerFunc) *MockErrResponseHandler_Execute_Call
- type MockErrResponseHandler_Expecter
- type MockNameGeneratorFunc
- type MockNameGeneratorFunc_Execute_Call
- func (_c *MockNameGeneratorFunc_Execute_Call) Return(_a0 string) *MockNameGeneratorFunc_Execute_Call
- func (_c *MockNameGeneratorFunc_Execute_Call) Run(run func(s string)) *MockNameGeneratorFunc_Execute_Call
- func (_c *MockNameGeneratorFunc_Execute_Call) RunAndReturn(run func(string) string) *MockNameGeneratorFunc_Execute_Call
- type MockNameGeneratorFunc_Expecter
- type MockOption
- type MockOption_Execute_Call
- type MockOption_Expecter
- type MockSkipperFunc
- type MockSkipperFunc_Execute_Call
- func (_c *MockSkipperFunc_Execute_Call) Return(_a0 bool) *MockSkipperFunc_Execute_Call
- func (_c *MockSkipperFunc_Execute_Call) Run(run func(r *http.Request)) *MockSkipperFunc_Execute_Call
- func (_c *MockSkipperFunc_Execute_Call) RunAndReturn(run func(*http.Request) bool) *MockSkipperFunc_Execute_Call
- type MockSkipperFunc_Expecter
- type MockStorage
- func (_m *MockStorage) Close() error
- func (_m *MockStorage) Download(_a0 context.Context, _a1 *objects.DownloadFileOptions) (*objects.DownloadFileMetadata, error)
- func (_m *MockStorage) EXPECT() *MockStorage_Expecter
- func (_m *MockStorage) GetPresignedURL(_a0 context.Context, _a1 string, _a2 time.Duration) (string, error)
- func (_m *MockStorage) GetScheme() *string
- func (_m *MockStorage) ListBuckets() ([]string, error)
- func (_m *MockStorage) ManagerUpload(_a0 context.Context, _a1 [][]byte) error
- func (_m *MockStorage) Upload(_a0 context.Context, _a1 io.Reader, _a2 *objects.UploadFileOptions) (*objects.UploadedFileMetadata, error)
- type MockStorage_Close_Call
- type MockStorage_Download_Call
- func (_c *MockStorage_Download_Call) Return(_a0 *objects.DownloadFileMetadata, _a1 error) *MockStorage_Download_Call
- func (_c *MockStorage_Download_Call) Run(run func(_a0 context.Context, _a1 *objects.DownloadFileOptions)) *MockStorage_Download_Call
- func (_c *MockStorage_Download_Call) RunAndReturn(...) *MockStorage_Download_Call
- type MockStorage_Expecter
- func (_e *MockStorage_Expecter) Close() *MockStorage_Close_Call
- func (_e *MockStorage_Expecter) Download(_a0 interface{}, _a1 interface{}) *MockStorage_Download_Call
- func (_e *MockStorage_Expecter) GetPresignedURL(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockStorage_GetPresignedURL_Call
- func (_e *MockStorage_Expecter) GetScheme() *MockStorage_GetScheme_Call
- func (_e *MockStorage_Expecter) ListBuckets() *MockStorage_ListBuckets_Call
- func (_e *MockStorage_Expecter) ManagerUpload(_a0 interface{}, _a1 interface{}) *MockStorage_ManagerUpload_Call
- func (_e *MockStorage_Expecter) Upload(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockStorage_Upload_Call
- type MockStorage_GetPresignedURL_Call
- func (_c *MockStorage_GetPresignedURL_Call) Return(_a0 string, _a1 error) *MockStorage_GetPresignedURL_Call
- func (_c *MockStorage_GetPresignedURL_Call) Run(run func(_a0 context.Context, _a1 string, _a2 time.Duration)) *MockStorage_GetPresignedURL_Call
- func (_c *MockStorage_GetPresignedURL_Call) RunAndReturn(run func(context.Context, string, time.Duration) (string, error)) *MockStorage_GetPresignedURL_Call
- type MockStorage_GetScheme_Call
- type MockStorage_ListBuckets_Call
- func (_c *MockStorage_ListBuckets_Call) Return(_a0 []string, _a1 error) *MockStorage_ListBuckets_Call
- func (_c *MockStorage_ListBuckets_Call) Run(run func()) *MockStorage_ListBuckets_Call
- func (_c *MockStorage_ListBuckets_Call) RunAndReturn(run func() ([]string, error)) *MockStorage_ListBuckets_Call
- type MockStorage_ManagerUpload_Call
- func (_c *MockStorage_ManagerUpload_Call) Return(_a0 error) *MockStorage_ManagerUpload_Call
- func (_c *MockStorage_ManagerUpload_Call) Run(run func(_a0 context.Context, _a1 [][]byte)) *MockStorage_ManagerUpload_Call
- func (_c *MockStorage_ManagerUpload_Call) RunAndReturn(run func(context.Context, [][]byte) error) *MockStorage_ManagerUpload_Call
- type MockStorage_Upload_Call
- func (_c *MockStorage_Upload_Call) Return(_a0 *objects.UploadedFileMetadata, _a1 error) *MockStorage_Upload_Call
- func (_c *MockStorage_Upload_Call) Run(run func(_a0 context.Context, _a1 io.Reader, _a2 *objects.UploadFileOptions)) *MockStorage_Upload_Call
- func (_c *MockStorage_Upload_Call) RunAndReturn(...) *MockStorage_Upload_Call
- type MockUploadOption
- type MockUploadOption_Execute_Call
- func (_c *MockUploadOption_Execute_Call) Return() *MockUploadOption_Execute_Call
- func (_c *MockUploadOption_Execute_Call) Run(run func(_a0 *objects.UploadFileOptions)) *MockUploadOption_Execute_Call
- func (_c *MockUploadOption_Execute_Call) RunAndReturn(run func(*objects.UploadFileOptions)) *MockUploadOption_Execute_Call
- type MockUploadOption_Expecter
- type MockUploaderFunc
- type MockUploaderFunc_Execute_Call
- func (_c *MockUploaderFunc_Execute_Call) Return(_a0 []objects.File, _a1 error) *MockUploaderFunc_Execute_Call
- func (_c *MockUploaderFunc_Execute_Call) Run(run func(ctx context.Context, u *objects.Objects, files []objects.FileUpload)) *MockUploaderFunc_Execute_Call
- func (_c *MockUploaderFunc_Execute_Call) RunAndReturn(...) *MockUploaderFunc_Execute_Call
- type MockUploaderFunc_Expecter
- type MockValidationFunc
- type MockValidationFunc_Execute_Call
- func (_c *MockValidationFunc_Execute_Call) Return(_a0 error) *MockValidationFunc_Execute_Call
- func (_c *MockValidationFunc_Execute_Call) Run(run func(f objects.File)) *MockValidationFunc_Execute_Call
- func (_c *MockValidationFunc_Execute_Call) RunAndReturn(run func(objects.File) error) *MockValidationFunc_Execute_Call
- type MockValidationFunc_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBindFunc ¶
MockBindFunc is an autogenerated mock type for the BindFunc type
func NewMockBindFunc ¶
func NewMockBindFunc(t interface { mock.TestingT Cleanup(func()) }) *MockBindFunc
NewMockBindFunc creates a new instance of MockBindFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockBindFunc) EXPECT ¶
func (_m *MockBindFunc) EXPECT() *MockBindFunc_Expecter
type MockBindFunc_Execute_Call ¶
MockBindFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockBindFunc_Execute_Call) Return ¶
func (_c *MockBindFunc_Execute_Call) Return(_a0 error) *MockBindFunc_Execute_Call
func (*MockBindFunc_Execute_Call) Run ¶
func (_c *MockBindFunc_Execute_Call) Run(run func(_a0 echox.Context, _a1 interface{})) *MockBindFunc_Execute_Call
func (*MockBindFunc_Execute_Call) RunAndReturn ¶
func (_c *MockBindFunc_Execute_Call) RunAndReturn(run func(echox.Context, interface{}) error) *MockBindFunc_Execute_Call
type MockBindFunc_Expecter ¶
type MockBindFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MockBindFunc_Expecter) Execute ¶
func (_e *MockBindFunc_Expecter) Execute(_a0 interface{}, _a1 interface{}) *MockBindFunc_Execute_Call
Execute is a helper method to define mock.On call
- _a0 echox.Context
- _a1 interface{}
type MockErrResponseHandler ¶
MockErrResponseHandler is an autogenerated mock type for the ErrResponseHandler type
func NewMockErrResponseHandler ¶
func NewMockErrResponseHandler(t interface { mock.TestingT Cleanup(func()) }) *MockErrResponseHandler
NewMockErrResponseHandler creates a new instance of MockErrResponseHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockErrResponseHandler) EXPECT ¶
func (_m *MockErrResponseHandler) EXPECT() *MockErrResponseHandler_Expecter
func (*MockErrResponseHandler) Execute ¶
func (_m *MockErrResponseHandler) Execute(err error, statusCode int) http.HandlerFunc
Execute provides a mock function with given fields: err, statusCode
type MockErrResponseHandler_Execute_Call ¶
MockErrResponseHandler_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockErrResponseHandler_Execute_Call) Return ¶
func (_c *MockErrResponseHandler_Execute_Call) Return(_a0 http.HandlerFunc) *MockErrResponseHandler_Execute_Call
func (*MockErrResponseHandler_Execute_Call) Run ¶
func (_c *MockErrResponseHandler_Execute_Call) Run(run func(err error, statusCode int)) *MockErrResponseHandler_Execute_Call
func (*MockErrResponseHandler_Execute_Call) RunAndReturn ¶
func (_c *MockErrResponseHandler_Execute_Call) RunAndReturn(run func(error, int) http.HandlerFunc) *MockErrResponseHandler_Execute_Call
type MockErrResponseHandler_Expecter ¶
type MockErrResponseHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockErrResponseHandler_Expecter) Execute ¶
func (_e *MockErrResponseHandler_Expecter) Execute(err interface{}, statusCode interface{}) *MockErrResponseHandler_Execute_Call
Execute is a helper method to define mock.On call
- err error
- statusCode int
type MockNameGeneratorFunc ¶
MockNameGeneratorFunc is an autogenerated mock type for the NameGeneratorFunc type
func NewMockNameGeneratorFunc ¶
func NewMockNameGeneratorFunc(t interface { mock.TestingT Cleanup(func()) }) *MockNameGeneratorFunc
NewMockNameGeneratorFunc creates a new instance of MockNameGeneratorFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockNameGeneratorFunc) EXPECT ¶
func (_m *MockNameGeneratorFunc) EXPECT() *MockNameGeneratorFunc_Expecter
func (*MockNameGeneratorFunc) Execute ¶
func (_m *MockNameGeneratorFunc) Execute(s string) string
Execute provides a mock function with given fields: s
type MockNameGeneratorFunc_Execute_Call ¶
MockNameGeneratorFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockNameGeneratorFunc_Execute_Call) Return ¶
func (_c *MockNameGeneratorFunc_Execute_Call) Return(_a0 string) *MockNameGeneratorFunc_Execute_Call
func (*MockNameGeneratorFunc_Execute_Call) Run ¶
func (_c *MockNameGeneratorFunc_Execute_Call) Run(run func(s string)) *MockNameGeneratorFunc_Execute_Call
func (*MockNameGeneratorFunc_Execute_Call) RunAndReturn ¶
func (_c *MockNameGeneratorFunc_Execute_Call) RunAndReturn(run func(string) string) *MockNameGeneratorFunc_Execute_Call
type MockNameGeneratorFunc_Expecter ¶
type MockNameGeneratorFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MockNameGeneratorFunc_Expecter) Execute ¶
func (_e *MockNameGeneratorFunc_Expecter) Execute(s interface{}) *MockNameGeneratorFunc_Execute_Call
Execute is a helper method to define mock.On call
- s string
type MockOption ¶
MockOption is an autogenerated mock type for the Option type
func NewMockOption ¶
func NewMockOption(t interface { mock.TestingT Cleanup(func()) }) *MockOption
NewMockOption creates a new instance of MockOption. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockOption) EXPECT ¶
func (_m *MockOption) EXPECT() *MockOption_Expecter
func (*MockOption) Execute ¶
func (_m *MockOption) Execute(_a0 *objects.Objects)
Execute provides a mock function with given fields: _a0
type MockOption_Execute_Call ¶
MockOption_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockOption_Execute_Call) Return ¶
func (_c *MockOption_Execute_Call) Return() *MockOption_Execute_Call
func (*MockOption_Execute_Call) Run ¶
func (_c *MockOption_Execute_Call) Run(run func(_a0 *objects.Objects)) *MockOption_Execute_Call
func (*MockOption_Execute_Call) RunAndReturn ¶
func (_c *MockOption_Execute_Call) RunAndReturn(run func(*objects.Objects)) *MockOption_Execute_Call
type MockOption_Expecter ¶
type MockOption_Expecter struct {
// contains filtered or unexported fields
}
func (*MockOption_Expecter) Execute ¶
func (_e *MockOption_Expecter) Execute(_a0 interface{}) *MockOption_Execute_Call
Execute is a helper method to define mock.On call
- _a0 *objects.Objects
type MockSkipperFunc ¶
MockSkipperFunc is an autogenerated mock type for the SkipperFunc type
func NewMockSkipperFunc ¶
func NewMockSkipperFunc(t interface { mock.TestingT Cleanup(func()) }) *MockSkipperFunc
NewMockSkipperFunc creates a new instance of MockSkipperFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockSkipperFunc) EXPECT ¶
func (_m *MockSkipperFunc) EXPECT() *MockSkipperFunc_Expecter
type MockSkipperFunc_Execute_Call ¶
MockSkipperFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockSkipperFunc_Execute_Call) Return ¶
func (_c *MockSkipperFunc_Execute_Call) Return(_a0 bool) *MockSkipperFunc_Execute_Call
func (*MockSkipperFunc_Execute_Call) Run ¶
func (_c *MockSkipperFunc_Execute_Call) Run(run func(r *http.Request)) *MockSkipperFunc_Execute_Call
func (*MockSkipperFunc_Execute_Call) RunAndReturn ¶
func (_c *MockSkipperFunc_Execute_Call) RunAndReturn(run func(*http.Request) bool) *MockSkipperFunc_Execute_Call
type MockSkipperFunc_Expecter ¶
type MockSkipperFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSkipperFunc_Expecter) Execute ¶
func (_e *MockSkipperFunc_Expecter) Execute(r interface{}) *MockSkipperFunc_Execute_Call
Execute is a helper method to define mock.On call
- r *http.Request
type MockStorage ¶
MockStorage is an autogenerated mock type for the Storage type
func NewMockStorage ¶
func NewMockStorage(t interface { mock.TestingT Cleanup(func()) }) *MockStorage
NewMockStorage creates a new instance of MockStorage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockStorage) Close ¶
func (_m *MockStorage) Close() error
Close provides a mock function with no fields
func (*MockStorage) Download ¶
func (_m *MockStorage) Download(_a0 context.Context, _a1 *objects.DownloadFileOptions) (*objects.DownloadFileMetadata, error)
Download provides a mock function with given fields: _a0, _a1
func (*MockStorage) EXPECT ¶
func (_m *MockStorage) EXPECT() *MockStorage_Expecter
func (*MockStorage) GetPresignedURL ¶
func (_m *MockStorage) GetPresignedURL(_a0 context.Context, _a1 string, _a2 time.Duration) (string, error)
GetPresignedURL provides a mock function with given fields: _a0, _a1, _a2
func (*MockStorage) GetScheme ¶
func (_m *MockStorage) GetScheme() *string
GetScheme provides a mock function with no fields
func (*MockStorage) ListBuckets ¶ added in v0.3.1
func (_m *MockStorage) ListBuckets() ([]string, error)
ListBuckets provides a mock function with no fields
func (*MockStorage) ManagerUpload ¶
func (_m *MockStorage) ManagerUpload(_a0 context.Context, _a1 [][]byte) error
ManagerUpload provides a mock function with given fields: _a0, _a1
func (*MockStorage) Upload ¶
func (_m *MockStorage) Upload(_a0 context.Context, _a1 io.Reader, _a2 *objects.UploadFileOptions) (*objects.UploadedFileMetadata, error)
Upload provides a mock function with given fields: _a0, _a1, _a2
type MockStorage_Close_Call ¶
MockStorage_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockStorage_Close_Call) Return ¶
func (_c *MockStorage_Close_Call) Return(_a0 error) *MockStorage_Close_Call
func (*MockStorage_Close_Call) Run ¶
func (_c *MockStorage_Close_Call) Run(run func()) *MockStorage_Close_Call
func (*MockStorage_Close_Call) RunAndReturn ¶
func (_c *MockStorage_Close_Call) RunAndReturn(run func() error) *MockStorage_Close_Call
type MockStorage_Download_Call ¶
MockStorage_Download_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Download'
func (*MockStorage_Download_Call) Return ¶
func (_c *MockStorage_Download_Call) Return(_a0 *objects.DownloadFileMetadata, _a1 error) *MockStorage_Download_Call
func (*MockStorage_Download_Call) Run ¶
func (_c *MockStorage_Download_Call) Run(run func(_a0 context.Context, _a1 *objects.DownloadFileOptions)) *MockStorage_Download_Call
func (*MockStorage_Download_Call) RunAndReturn ¶
func (_c *MockStorage_Download_Call) RunAndReturn(run func(context.Context, *objects.DownloadFileOptions) (*objects.DownloadFileMetadata, error)) *MockStorage_Download_Call
type MockStorage_Expecter ¶
type MockStorage_Expecter struct {
// contains filtered or unexported fields
}
func (*MockStorage_Expecter) Close ¶
func (_e *MockStorage_Expecter) Close() *MockStorage_Close_Call
Close is a helper method to define mock.On call
func (*MockStorage_Expecter) Download ¶
func (_e *MockStorage_Expecter) Download(_a0 interface{}, _a1 interface{}) *MockStorage_Download_Call
Download is a helper method to define mock.On call
- _a0 context.Context
- _a1 *objects.DownloadFileOptions
func (*MockStorage_Expecter) GetPresignedURL ¶
func (_e *MockStorage_Expecter) GetPresignedURL(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockStorage_GetPresignedURL_Call
GetPresignedURL is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
- _a2 time.Duration
func (*MockStorage_Expecter) GetScheme ¶
func (_e *MockStorage_Expecter) GetScheme() *MockStorage_GetScheme_Call
GetScheme is a helper method to define mock.On call
func (*MockStorage_Expecter) ListBuckets ¶ added in v0.3.1
func (_e *MockStorage_Expecter) ListBuckets() *MockStorage_ListBuckets_Call
ListBuckets is a helper method to define mock.On call
func (*MockStorage_Expecter) ManagerUpload ¶
func (_e *MockStorage_Expecter) ManagerUpload(_a0 interface{}, _a1 interface{}) *MockStorage_ManagerUpload_Call
ManagerUpload is a helper method to define mock.On call
- _a0 context.Context
- _a1 [][]byte
func (*MockStorage_Expecter) Upload ¶
func (_e *MockStorage_Expecter) Upload(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockStorage_Upload_Call
Upload is a helper method to define mock.On call
- _a0 context.Context
- _a1 io.Reader
- _a2 *objects.UploadFileOptions
type MockStorage_GetPresignedURL_Call ¶
MockStorage_GetPresignedURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPresignedURL'
func (*MockStorage_GetPresignedURL_Call) Return ¶
func (_c *MockStorage_GetPresignedURL_Call) Return(_a0 string, _a1 error) *MockStorage_GetPresignedURL_Call
func (*MockStorage_GetPresignedURL_Call) Run ¶
func (_c *MockStorage_GetPresignedURL_Call) Run(run func(_a0 context.Context, _a1 string, _a2 time.Duration)) *MockStorage_GetPresignedURL_Call
func (*MockStorage_GetPresignedURL_Call) RunAndReturn ¶
func (_c *MockStorage_GetPresignedURL_Call) RunAndReturn(run func(context.Context, string, time.Duration) (string, error)) *MockStorage_GetPresignedURL_Call
type MockStorage_GetScheme_Call ¶
MockStorage_GetScheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScheme'
func (*MockStorage_GetScheme_Call) Return ¶
func (_c *MockStorage_GetScheme_Call) Return(_a0 *string) *MockStorage_GetScheme_Call
func (*MockStorage_GetScheme_Call) Run ¶
func (_c *MockStorage_GetScheme_Call) Run(run func()) *MockStorage_GetScheme_Call
func (*MockStorage_GetScheme_Call) RunAndReturn ¶
func (_c *MockStorage_GetScheme_Call) RunAndReturn(run func() *string) *MockStorage_GetScheme_Call
type MockStorage_ListBuckets_Call ¶ added in v0.3.1
MockStorage_ListBuckets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListBuckets'
func (*MockStorage_ListBuckets_Call) Return ¶ added in v0.3.1
func (_c *MockStorage_ListBuckets_Call) Return(_a0 []string, _a1 error) *MockStorage_ListBuckets_Call
func (*MockStorage_ListBuckets_Call) Run ¶ added in v0.3.1
func (_c *MockStorage_ListBuckets_Call) Run(run func()) *MockStorage_ListBuckets_Call
func (*MockStorage_ListBuckets_Call) RunAndReturn ¶ added in v0.3.1
func (_c *MockStorage_ListBuckets_Call) RunAndReturn(run func() ([]string, error)) *MockStorage_ListBuckets_Call
type MockStorage_ManagerUpload_Call ¶
MockStorage_ManagerUpload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ManagerUpload'
func (*MockStorage_ManagerUpload_Call) Return ¶
func (_c *MockStorage_ManagerUpload_Call) Return(_a0 error) *MockStorage_ManagerUpload_Call
func (*MockStorage_ManagerUpload_Call) Run ¶
func (_c *MockStorage_ManagerUpload_Call) Run(run func(_a0 context.Context, _a1 [][]byte)) *MockStorage_ManagerUpload_Call
func (*MockStorage_ManagerUpload_Call) RunAndReturn ¶
func (_c *MockStorage_ManagerUpload_Call) RunAndReturn(run func(context.Context, [][]byte) error) *MockStorage_ManagerUpload_Call
type MockStorage_Upload_Call ¶
MockStorage_Upload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upload'
func (*MockStorage_Upload_Call) Return ¶
func (_c *MockStorage_Upload_Call) Return(_a0 *objects.UploadedFileMetadata, _a1 error) *MockStorage_Upload_Call
func (*MockStorage_Upload_Call) Run ¶
func (_c *MockStorage_Upload_Call) Run(run func(_a0 context.Context, _a1 io.Reader, _a2 *objects.UploadFileOptions)) *MockStorage_Upload_Call
func (*MockStorage_Upload_Call) RunAndReturn ¶
func (_c *MockStorage_Upload_Call) RunAndReturn(run func(context.Context, io.Reader, *objects.UploadFileOptions) (*objects.UploadedFileMetadata, error)) *MockStorage_Upload_Call
type MockUploadOption ¶
MockUploadOption is an autogenerated mock type for the UploadOption type
func NewMockUploadOption ¶
func NewMockUploadOption(t interface { mock.TestingT Cleanup(func()) }) *MockUploadOption
NewMockUploadOption creates a new instance of MockUploadOption. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockUploadOption) EXPECT ¶
func (_m *MockUploadOption) EXPECT() *MockUploadOption_Expecter
func (*MockUploadOption) Execute ¶
func (_m *MockUploadOption) Execute(_a0 *objects.UploadFileOptions)
Execute provides a mock function with given fields: _a0
type MockUploadOption_Execute_Call ¶
MockUploadOption_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockUploadOption_Execute_Call) Return ¶
func (_c *MockUploadOption_Execute_Call) Return() *MockUploadOption_Execute_Call
func (*MockUploadOption_Execute_Call) Run ¶
func (_c *MockUploadOption_Execute_Call) Run(run func(_a0 *objects.UploadFileOptions)) *MockUploadOption_Execute_Call
func (*MockUploadOption_Execute_Call) RunAndReturn ¶
func (_c *MockUploadOption_Execute_Call) RunAndReturn(run func(*objects.UploadFileOptions)) *MockUploadOption_Execute_Call
type MockUploadOption_Expecter ¶
type MockUploadOption_Expecter struct {
// contains filtered or unexported fields
}
func (*MockUploadOption_Expecter) Execute ¶
func (_e *MockUploadOption_Expecter) Execute(_a0 interface{}) *MockUploadOption_Execute_Call
Execute is a helper method to define mock.On call
- _a0 *objects.UploadFileOptions
type MockUploaderFunc ¶
MockUploaderFunc is an autogenerated mock type for the UploaderFunc type
func NewMockUploaderFunc ¶
func NewMockUploaderFunc(t interface { mock.TestingT Cleanup(func()) }) *MockUploaderFunc
NewMockUploaderFunc creates a new instance of MockUploaderFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockUploaderFunc) EXPECT ¶
func (_m *MockUploaderFunc) EXPECT() *MockUploaderFunc_Expecter
type MockUploaderFunc_Execute_Call ¶
MockUploaderFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockUploaderFunc_Execute_Call) Return ¶
func (_c *MockUploaderFunc_Execute_Call) Return(_a0 []objects.File, _a1 error) *MockUploaderFunc_Execute_Call
func (*MockUploaderFunc_Execute_Call) Run ¶
func (_c *MockUploaderFunc_Execute_Call) Run(run func(ctx context.Context, u *objects.Objects, files []objects.FileUpload)) *MockUploaderFunc_Execute_Call
func (*MockUploaderFunc_Execute_Call) RunAndReturn ¶
func (_c *MockUploaderFunc_Execute_Call) RunAndReturn(run func(context.Context, *objects.Objects, []objects.FileUpload) ([]objects.File, error)) *MockUploaderFunc_Execute_Call
type MockUploaderFunc_Expecter ¶
type MockUploaderFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MockUploaderFunc_Expecter) Execute ¶
func (_e *MockUploaderFunc_Expecter) Execute(ctx interface{}, u interface{}, files interface{}) *MockUploaderFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- u *objects.Objects
- files []objects.FileUpload
type MockValidationFunc ¶
MockValidationFunc is an autogenerated mock type for the ValidationFunc type
func NewMockValidationFunc ¶
func NewMockValidationFunc(t interface { mock.TestingT Cleanup(func()) }) *MockValidationFunc
NewMockValidationFunc creates a new instance of MockValidationFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockValidationFunc) EXPECT ¶
func (_m *MockValidationFunc) EXPECT() *MockValidationFunc_Expecter
type MockValidationFunc_Execute_Call ¶
MockValidationFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockValidationFunc_Execute_Call) Return ¶
func (_c *MockValidationFunc_Execute_Call) Return(_a0 error) *MockValidationFunc_Execute_Call
func (*MockValidationFunc_Execute_Call) Run ¶
func (_c *MockValidationFunc_Execute_Call) Run(run func(f objects.File)) *MockValidationFunc_Execute_Call
func (*MockValidationFunc_Execute_Call) RunAndReturn ¶
func (_c *MockValidationFunc_Execute_Call) RunAndReturn(run func(objects.File) error) *MockValidationFunc_Execute_Call
type MockValidationFunc_Expecter ¶
type MockValidationFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MockValidationFunc_Expecter) Execute ¶
func (_e *MockValidationFunc_Expecter) Execute(f interface{}) *MockValidationFunc_Execute_Call
Execute is a helper method to define mock.On call
- f objects.File