Documentation ¶
Index ¶
- type BatchRunner
- type BatchRunner_Expecter
- type BatchRunner_Run_Call
- type ReadCloser
- type ReadCloser_Close_Call
- type ReadCloser_Expecter
- type ReadCloser_Read_Call
- type ReadSeekerCloser
- type ReadSeekerCloser_Close_Call
- type ReadSeekerCloser_Expecter
- type ReadSeekerCloser_Read_Call
- type ReadSeekerCloser_Seek_Call
- func (_c *ReadSeekerCloser_Seek_Call) Return(_a0 int64, _a1 error) *ReadSeekerCloser_Seek_Call
- func (_c *ReadSeekerCloser_Seek_Call) Run(run func(offset int64, whence int)) *ReadSeekerCloser_Seek_Call
- func (_c *ReadSeekerCloser_Seek_Call) RunAndReturn(run func(int64, int) (int64, error)) *ReadSeekerCloser_Seek_Call
- type Store
- func (_m *Store) BucketName() string
- func (_m *Store) Copy(batch blob.CopyBatch)
- func (_m *Store) CopyOne(obj *blob.CopyObject) error
- func (_m *Store) CreateBucket(ctx context.Context) error
- func (_m *Store) Delete(batch blob.Batch)
- func (_m *Store) DeleteBucket(ctx context.Context) error
- func (_m *Store) DeleteOne(obj *blob.Object) error
- func (_m *Store) EXPECT() *Store_Expecter
- func (_m *Store) Read(batch blob.Batch)
- func (_m *Store) ReadOne(obj *blob.Object) error
- func (_m *Store) Write(batch blob.Batch) error
- func (_m *Store) WriteOne(obj *blob.Object) error
- type Store_BucketName_Call
- type Store_CopyOne_Call
- type Store_Copy_Call
- type Store_CreateBucket_Call
- type Store_DeleteBucket_Call
- type Store_DeleteOne_Call
- type Store_Delete_Call
- type Store_Expecter
- func (_e *Store_Expecter) BucketName() *Store_BucketName_Call
- func (_e *Store_Expecter) Copy(batch interface{}) *Store_Copy_Call
- func (_e *Store_Expecter) CopyOne(obj interface{}) *Store_CopyOne_Call
- func (_e *Store_Expecter) CreateBucket(ctx interface{}) *Store_CreateBucket_Call
- func (_e *Store_Expecter) Delete(batch interface{}) *Store_Delete_Call
- func (_e *Store_Expecter) DeleteBucket(ctx interface{}) *Store_DeleteBucket_Call
- func (_e *Store_Expecter) DeleteOne(obj interface{}) *Store_DeleteOne_Call
- func (_e *Store_Expecter) Read(batch interface{}) *Store_Read_Call
- func (_e *Store_Expecter) ReadOne(obj interface{}) *Store_ReadOne_Call
- func (_e *Store_Expecter) Write(batch interface{}) *Store_Write_Call
- func (_e *Store_Expecter) WriteOne(obj interface{}) *Store_WriteOne_Call
- type Store_ReadOne_Call
- type Store_Read_Call
- type Store_WriteOne_Call
- type Store_Write_Call
- type Stream
- type Stream_AsReader_Call
- type Stream_Expecter
- type Stream_ReadAll_Call
- type UrlBuilder
- type UrlBuilder_Expecter
- type UrlBuilder_GetAbsoluteUrl_Call
- func (_c *UrlBuilder_GetAbsoluteUrl_Call) Return(_a0 string, _a1 error) *UrlBuilder_GetAbsoluteUrl_Call
- func (_c *UrlBuilder_GetAbsoluteUrl_Call) Run(run func(path string)) *UrlBuilder_GetAbsoluteUrl_Call
- func (_c *UrlBuilder_GetAbsoluteUrl_Call) RunAndReturn(run func(string) (string, error)) *UrlBuilder_GetAbsoluteUrl_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchRunner ¶
BatchRunner is an autogenerated mock type for the BatchRunner type
func NewBatchRunner ¶
func NewBatchRunner(t interface { mock.TestingT Cleanup(func()) }) *BatchRunner
NewBatchRunner creates a new instance of BatchRunner. 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 (*BatchRunner) EXPECT ¶
func (_m *BatchRunner) EXPECT() *BatchRunner_Expecter
type BatchRunner_Expecter ¶
type BatchRunner_Expecter struct {
// contains filtered or unexported fields
}
func (*BatchRunner_Expecter) Run ¶
func (_e *BatchRunner_Expecter) Run(ctx interface{}) *BatchRunner_Run_Call
Run is a helper method to define mock.On call
- ctx context.Context
type BatchRunner_Run_Call ¶
BatchRunner_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*BatchRunner_Run_Call) Return ¶
func (_c *BatchRunner_Run_Call) Return(_a0 error) *BatchRunner_Run_Call
func (*BatchRunner_Run_Call) Run ¶
func (_c *BatchRunner_Run_Call) Run(run func(ctx context.Context)) *BatchRunner_Run_Call
func (*BatchRunner_Run_Call) RunAndReturn ¶
func (_c *BatchRunner_Run_Call) RunAndReturn(run func(context.Context) error) *BatchRunner_Run_Call
type ReadCloser ¶
ReadCloser is an autogenerated mock type for the ReadCloser type
func NewReadCloser ¶
func NewReadCloser(t interface { mock.TestingT Cleanup(func()) }) *ReadCloser
NewReadCloser creates a new instance of ReadCloser. 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 (*ReadCloser) Close ¶
func (_m *ReadCloser) Close() error
Close provides a mock function with given fields:
func (*ReadCloser) EXPECT ¶
func (_m *ReadCloser) EXPECT() *ReadCloser_Expecter
type ReadCloser_Close_Call ¶
ReadCloser_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*ReadCloser_Close_Call) Return ¶
func (_c *ReadCloser_Close_Call) Return(_a0 error) *ReadCloser_Close_Call
func (*ReadCloser_Close_Call) Run ¶
func (_c *ReadCloser_Close_Call) Run(run func()) *ReadCloser_Close_Call
func (*ReadCloser_Close_Call) RunAndReturn ¶
func (_c *ReadCloser_Close_Call) RunAndReturn(run func() error) *ReadCloser_Close_Call
type ReadCloser_Expecter ¶
type ReadCloser_Expecter struct {
// contains filtered or unexported fields
}
func (*ReadCloser_Expecter) Close ¶
func (_e *ReadCloser_Expecter) Close() *ReadCloser_Close_Call
Close is a helper method to define mock.On call
func (*ReadCloser_Expecter) Read ¶
func (_e *ReadCloser_Expecter) Read(p interface{}) *ReadCloser_Read_Call
Read is a helper method to define mock.On call
- p []byte
type ReadCloser_Read_Call ¶
ReadCloser_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'
func (*ReadCloser_Read_Call) Return ¶
func (_c *ReadCloser_Read_Call) Return(n int, err error) *ReadCloser_Read_Call
func (*ReadCloser_Read_Call) Run ¶
func (_c *ReadCloser_Read_Call) Run(run func(p []byte)) *ReadCloser_Read_Call
func (*ReadCloser_Read_Call) RunAndReturn ¶
func (_c *ReadCloser_Read_Call) RunAndReturn(run func([]byte) (int, error)) *ReadCloser_Read_Call
type ReadSeekerCloser ¶
ReadSeekerCloser is an autogenerated mock type for the ReadSeekerCloser type
func NewReadSeekerCloser ¶
func NewReadSeekerCloser(t interface { mock.TestingT Cleanup(func()) }) *ReadSeekerCloser
NewReadSeekerCloser creates a new instance of ReadSeekerCloser. 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 (*ReadSeekerCloser) Close ¶
func (_m *ReadSeekerCloser) Close() error
Close provides a mock function with given fields:
func (*ReadSeekerCloser) EXPECT ¶
func (_m *ReadSeekerCloser) EXPECT() *ReadSeekerCloser_Expecter
type ReadSeekerCloser_Close_Call ¶
ReadSeekerCloser_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*ReadSeekerCloser_Close_Call) Return ¶
func (_c *ReadSeekerCloser_Close_Call) Return(_a0 error) *ReadSeekerCloser_Close_Call
func (*ReadSeekerCloser_Close_Call) Run ¶
func (_c *ReadSeekerCloser_Close_Call) Run(run func()) *ReadSeekerCloser_Close_Call
func (*ReadSeekerCloser_Close_Call) RunAndReturn ¶
func (_c *ReadSeekerCloser_Close_Call) RunAndReturn(run func() error) *ReadSeekerCloser_Close_Call
type ReadSeekerCloser_Expecter ¶
type ReadSeekerCloser_Expecter struct {
// contains filtered or unexported fields
}
func (*ReadSeekerCloser_Expecter) Close ¶
func (_e *ReadSeekerCloser_Expecter) Close() *ReadSeekerCloser_Close_Call
Close is a helper method to define mock.On call
func (*ReadSeekerCloser_Expecter) Read ¶
func (_e *ReadSeekerCloser_Expecter) Read(p interface{}) *ReadSeekerCloser_Read_Call
Read is a helper method to define mock.On call
- p []byte
func (*ReadSeekerCloser_Expecter) Seek ¶
func (_e *ReadSeekerCloser_Expecter) Seek(offset interface{}, whence interface{}) *ReadSeekerCloser_Seek_Call
Seek is a helper method to define mock.On call
- offset int64
- whence int
type ReadSeekerCloser_Read_Call ¶
ReadSeekerCloser_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'
func (*ReadSeekerCloser_Read_Call) Return ¶
func (_c *ReadSeekerCloser_Read_Call) Return(n int, err error) *ReadSeekerCloser_Read_Call
func (*ReadSeekerCloser_Read_Call) Run ¶
func (_c *ReadSeekerCloser_Read_Call) Run(run func(p []byte)) *ReadSeekerCloser_Read_Call
func (*ReadSeekerCloser_Read_Call) RunAndReturn ¶
func (_c *ReadSeekerCloser_Read_Call) RunAndReturn(run func([]byte) (int, error)) *ReadSeekerCloser_Read_Call
type ReadSeekerCloser_Seek_Call ¶
ReadSeekerCloser_Seek_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Seek'
func (*ReadSeekerCloser_Seek_Call) Return ¶
func (_c *ReadSeekerCloser_Seek_Call) Return(_a0 int64, _a1 error) *ReadSeekerCloser_Seek_Call
func (*ReadSeekerCloser_Seek_Call) Run ¶
func (_c *ReadSeekerCloser_Seek_Call) Run(run func(offset int64, whence int)) *ReadSeekerCloser_Seek_Call
func (*ReadSeekerCloser_Seek_Call) RunAndReturn ¶
func (_c *ReadSeekerCloser_Seek_Call) RunAndReturn(run func(int64, int) (int64, error)) *ReadSeekerCloser_Seek_Call
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. 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 (*Store) BucketName ¶
BucketName provides a mock function with given fields:
func (*Store) CopyOne ¶
func (_m *Store) CopyOne(obj *blob.CopyObject) error
CopyOne provides a mock function with given fields: obj
func (*Store) CreateBucket ¶
CreateBucket provides a mock function with given fields: ctx
func (*Store) DeleteBucket ¶
DeleteBucket provides a mock function with given fields: ctx
func (*Store) EXPECT ¶
func (_m *Store) EXPECT() *Store_Expecter
type Store_BucketName_Call ¶
Store_BucketName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BucketName'
func (*Store_BucketName_Call) Return ¶
func (_c *Store_BucketName_Call) Return(_a0 string) *Store_BucketName_Call
func (*Store_BucketName_Call) Run ¶
func (_c *Store_BucketName_Call) Run(run func()) *Store_BucketName_Call
func (*Store_BucketName_Call) RunAndReturn ¶
func (_c *Store_BucketName_Call) RunAndReturn(run func() string) *Store_BucketName_Call
type Store_CopyOne_Call ¶
Store_CopyOne_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyOne'
func (*Store_CopyOne_Call) Return ¶
func (_c *Store_CopyOne_Call) Return(_a0 error) *Store_CopyOne_Call
func (*Store_CopyOne_Call) Run ¶
func (_c *Store_CopyOne_Call) Run(run func(obj *blob.CopyObject)) *Store_CopyOne_Call
func (*Store_CopyOne_Call) RunAndReturn ¶
func (_c *Store_CopyOne_Call) RunAndReturn(run func(*blob.CopyObject) error) *Store_CopyOne_Call
type Store_Copy_Call ¶
Store_Copy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Copy'
func (*Store_Copy_Call) Return ¶
func (_c *Store_Copy_Call) Return() *Store_Copy_Call
func (*Store_Copy_Call) Run ¶
func (_c *Store_Copy_Call) Run(run func(batch blob.CopyBatch)) *Store_Copy_Call
func (*Store_Copy_Call) RunAndReturn ¶
func (_c *Store_Copy_Call) RunAndReturn(run func(blob.CopyBatch)) *Store_Copy_Call
type Store_CreateBucket_Call ¶
Store_CreateBucket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateBucket'
func (*Store_CreateBucket_Call) Return ¶
func (_c *Store_CreateBucket_Call) Return(_a0 error) *Store_CreateBucket_Call
func (*Store_CreateBucket_Call) Run ¶
func (_c *Store_CreateBucket_Call) Run(run func(ctx context.Context)) *Store_CreateBucket_Call
func (*Store_CreateBucket_Call) RunAndReturn ¶
func (_c *Store_CreateBucket_Call) RunAndReturn(run func(context.Context) error) *Store_CreateBucket_Call
type Store_DeleteBucket_Call ¶
Store_DeleteBucket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteBucket'
func (*Store_DeleteBucket_Call) Return ¶
func (_c *Store_DeleteBucket_Call) Return(_a0 error) *Store_DeleteBucket_Call
func (*Store_DeleteBucket_Call) Run ¶
func (_c *Store_DeleteBucket_Call) Run(run func(ctx context.Context)) *Store_DeleteBucket_Call
func (*Store_DeleteBucket_Call) RunAndReturn ¶
func (_c *Store_DeleteBucket_Call) RunAndReturn(run func(context.Context) error) *Store_DeleteBucket_Call
type Store_DeleteOne_Call ¶
Store_DeleteOne_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteOne'
func (*Store_DeleteOne_Call) Return ¶
func (_c *Store_DeleteOne_Call) Return(_a0 error) *Store_DeleteOne_Call
func (*Store_DeleteOne_Call) Run ¶
func (_c *Store_DeleteOne_Call) Run(run func(obj *blob.Object)) *Store_DeleteOne_Call
func (*Store_DeleteOne_Call) RunAndReturn ¶
func (_c *Store_DeleteOne_Call) RunAndReturn(run func(*blob.Object) error) *Store_DeleteOne_Call
type Store_Delete_Call ¶
Store_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Store_Delete_Call) Return ¶
func (_c *Store_Delete_Call) Return() *Store_Delete_Call
func (*Store_Delete_Call) Run ¶
func (_c *Store_Delete_Call) Run(run func(batch blob.Batch)) *Store_Delete_Call
func (*Store_Delete_Call) RunAndReturn ¶
func (_c *Store_Delete_Call) RunAndReturn(run func(blob.Batch)) *Store_Delete_Call
type Store_Expecter ¶
type Store_Expecter struct {
// contains filtered or unexported fields
}
func (*Store_Expecter) BucketName ¶
func (_e *Store_Expecter) BucketName() *Store_BucketName_Call
BucketName is a helper method to define mock.On call
func (*Store_Expecter) Copy ¶
func (_e *Store_Expecter) Copy(batch interface{}) *Store_Copy_Call
Copy is a helper method to define mock.On call
- batch blob.CopyBatch
func (*Store_Expecter) CopyOne ¶
func (_e *Store_Expecter) CopyOne(obj interface{}) *Store_CopyOne_Call
CopyOne is a helper method to define mock.On call
- obj *blob.CopyObject
func (*Store_Expecter) CreateBucket ¶
func (_e *Store_Expecter) CreateBucket(ctx interface{}) *Store_CreateBucket_Call
CreateBucket is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) Delete ¶
func (_e *Store_Expecter) Delete(batch interface{}) *Store_Delete_Call
Delete is a helper method to define mock.On call
- batch blob.Batch
func (*Store_Expecter) DeleteBucket ¶
func (_e *Store_Expecter) DeleteBucket(ctx interface{}) *Store_DeleteBucket_Call
DeleteBucket is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) DeleteOne ¶
func (_e *Store_Expecter) DeleteOne(obj interface{}) *Store_DeleteOne_Call
DeleteOne is a helper method to define mock.On call
- obj *blob.Object
func (*Store_Expecter) Read ¶
func (_e *Store_Expecter) Read(batch interface{}) *Store_Read_Call
Read is a helper method to define mock.On call
- batch blob.Batch
func (*Store_Expecter) ReadOne ¶
func (_e *Store_Expecter) ReadOne(obj interface{}) *Store_ReadOne_Call
ReadOne is a helper method to define mock.On call
- obj *blob.Object
func (*Store_Expecter) Write ¶
func (_e *Store_Expecter) Write(batch interface{}) *Store_Write_Call
Write is a helper method to define mock.On call
- batch blob.Batch
func (*Store_Expecter) WriteOne ¶
func (_e *Store_Expecter) WriteOne(obj interface{}) *Store_WriteOne_Call
WriteOne is a helper method to define mock.On call
- obj *blob.Object
type Store_ReadOne_Call ¶
Store_ReadOne_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadOne'
func (*Store_ReadOne_Call) Return ¶
func (_c *Store_ReadOne_Call) Return(_a0 error) *Store_ReadOne_Call
func (*Store_ReadOne_Call) Run ¶
func (_c *Store_ReadOne_Call) Run(run func(obj *blob.Object)) *Store_ReadOne_Call
func (*Store_ReadOne_Call) RunAndReturn ¶
func (_c *Store_ReadOne_Call) RunAndReturn(run func(*blob.Object) error) *Store_ReadOne_Call
type Store_Read_Call ¶
Store_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'
func (*Store_Read_Call) Return ¶
func (_c *Store_Read_Call) Return() *Store_Read_Call
func (*Store_Read_Call) Run ¶
func (_c *Store_Read_Call) Run(run func(batch blob.Batch)) *Store_Read_Call
func (*Store_Read_Call) RunAndReturn ¶
func (_c *Store_Read_Call) RunAndReturn(run func(blob.Batch)) *Store_Read_Call
type Store_WriteOne_Call ¶
Store_WriteOne_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteOne'
func (*Store_WriteOne_Call) Return ¶
func (_c *Store_WriteOne_Call) Return(_a0 error) *Store_WriteOne_Call
func (*Store_WriteOne_Call) Run ¶
func (_c *Store_WriteOne_Call) Run(run func(obj *blob.Object)) *Store_WriteOne_Call
func (*Store_WriteOne_Call) RunAndReturn ¶
func (_c *Store_WriteOne_Call) RunAndReturn(run func(*blob.Object) error) *Store_WriteOne_Call
type Store_Write_Call ¶
Store_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*Store_Write_Call) Return ¶
func (_c *Store_Write_Call) Return(_a0 error) *Store_Write_Call
func (*Store_Write_Call) Run ¶
func (_c *Store_Write_Call) Run(run func(batch blob.Batch)) *Store_Write_Call
func (*Store_Write_Call) RunAndReturn ¶
func (_c *Store_Write_Call) RunAndReturn(run func(blob.Batch) error) *Store_Write_Call
type Stream ¶
Stream is an autogenerated mock type for the Stream type
func NewStream ¶
NewStream creates a new instance of Stream. 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 (*Stream) AsReader ¶
func (_m *Stream) AsReader() blob.ReadSeekerCloser
AsReader provides a mock function with given fields:
func (*Stream) EXPECT ¶
func (_m *Stream) EXPECT() *Stream_Expecter
type Stream_AsReader_Call ¶
Stream_AsReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsReader'
func (*Stream_AsReader_Call) Return ¶
func (_c *Stream_AsReader_Call) Return(_a0 blob.ReadSeekerCloser) *Stream_AsReader_Call
func (*Stream_AsReader_Call) Run ¶
func (_c *Stream_AsReader_Call) Run(run func()) *Stream_AsReader_Call
func (*Stream_AsReader_Call) RunAndReturn ¶
func (_c *Stream_AsReader_Call) RunAndReturn(run func() blob.ReadSeekerCloser) *Stream_AsReader_Call
type Stream_Expecter ¶
type Stream_Expecter struct {
// contains filtered or unexported fields
}
func (*Stream_Expecter) AsReader ¶
func (_e *Stream_Expecter) AsReader() *Stream_AsReader_Call
AsReader is a helper method to define mock.On call
func (*Stream_Expecter) ReadAll ¶
func (_e *Stream_Expecter) ReadAll() *Stream_ReadAll_Call
ReadAll is a helper method to define mock.On call
type Stream_ReadAll_Call ¶
Stream_ReadAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAll'
func (*Stream_ReadAll_Call) Return ¶
func (_c *Stream_ReadAll_Call) Return(_a0 []byte, _a1 error) *Stream_ReadAll_Call
func (*Stream_ReadAll_Call) Run ¶
func (_c *Stream_ReadAll_Call) Run(run func()) *Stream_ReadAll_Call
func (*Stream_ReadAll_Call) RunAndReturn ¶
func (_c *Stream_ReadAll_Call) RunAndReturn(run func() ([]byte, error)) *Stream_ReadAll_Call
type UrlBuilder ¶
UrlBuilder is an autogenerated mock type for the UrlBuilder type
func NewUrlBuilder ¶
func NewUrlBuilder(t interface { mock.TestingT Cleanup(func()) }) *UrlBuilder
NewUrlBuilder creates a new instance of UrlBuilder. 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 (*UrlBuilder) EXPECT ¶
func (_m *UrlBuilder) EXPECT() *UrlBuilder_Expecter
func (*UrlBuilder) GetAbsoluteUrl ¶
func (_m *UrlBuilder) GetAbsoluteUrl(path string) (string, error)
GetAbsoluteUrl provides a mock function with given fields: path
type UrlBuilder_Expecter ¶
type UrlBuilder_Expecter struct {
// contains filtered or unexported fields
}
func (*UrlBuilder_Expecter) GetAbsoluteUrl ¶
func (_e *UrlBuilder_Expecter) GetAbsoluteUrl(path interface{}) *UrlBuilder_GetAbsoluteUrl_Call
GetAbsoluteUrl is a helper method to define mock.On call
- path string
type UrlBuilder_GetAbsoluteUrl_Call ¶
UrlBuilder_GetAbsoluteUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAbsoluteUrl'
func (*UrlBuilder_GetAbsoluteUrl_Call) Return ¶
func (_c *UrlBuilder_GetAbsoluteUrl_Call) Return(_a0 string, _a1 error) *UrlBuilder_GetAbsoluteUrl_Call
func (*UrlBuilder_GetAbsoluteUrl_Call) Run ¶
func (_c *UrlBuilder_GetAbsoluteUrl_Call) Run(run func(path string)) *UrlBuilder_GetAbsoluteUrl_Call
func (*UrlBuilder_GetAbsoluteUrl_Call) RunAndReturn ¶
func (_c *UrlBuilder_GetAbsoluteUrl_Call) RunAndReturn(run func(string) (string, error)) *UrlBuilder_GetAbsoluteUrl_Call