Documentation ¶
Index ¶
- type Client
- func (_m *Client) Delete(path string) error
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) GetEntry(p string) (*ftp.Entry, error)
- func (_m *Client) IsSetTimeSupported() bool
- func (_m *Client) IsTimePreciseInList() bool
- func (_m *Client) List(p string) ([]*ftp.Entry, error)
- func (_m *Client) Login(user string, password string) error
- func (_m *Client) MakeDir(path string) error
- func (_m *Client) Quit() error
- func (_m *Client) Rename(from string, to string) error
- func (_m *Client) RetrFrom(path string, offset uint64) (*ftp.Response, error)
- func (_m *Client) SetTime(path string, t time.Time) error
- func (_m *Client) StorFrom(path string, r io.Reader, offset uint64) error
- type Client_Delete_Call
- type Client_Expecter
- func (_e *Client_Expecter) Delete(path interface{}) *Client_Delete_Call
- func (_e *Client_Expecter) GetEntry(p interface{}) *Client_GetEntry_Call
- func (_e *Client_Expecter) IsSetTimeSupported() *Client_IsSetTimeSupported_Call
- func (_e *Client_Expecter) IsTimePreciseInList() *Client_IsTimePreciseInList_Call
- func (_e *Client_Expecter) List(p interface{}) *Client_List_Call
- func (_e *Client_Expecter) Login(user interface{}, password interface{}) *Client_Login_Call
- func (_e *Client_Expecter) MakeDir(path interface{}) *Client_MakeDir_Call
- func (_e *Client_Expecter) Quit() *Client_Quit_Call
- func (_e *Client_Expecter) Rename(from interface{}, to interface{}) *Client_Rename_Call
- func (_e *Client_Expecter) RetrFrom(path interface{}, offset interface{}) *Client_RetrFrom_Call
- func (_e *Client_Expecter) SetTime(path interface{}, t interface{}) *Client_SetTime_Call
- func (_e *Client_Expecter) StorFrom(path interface{}, r interface{}, offset interface{}) *Client_StorFrom_Call
- type Client_GetEntry_Call
- type Client_IsSetTimeSupported_Call
- type Client_IsTimePreciseInList_Call
- type Client_List_Call
- type Client_Login_Call
- type Client_MakeDir_Call
- type Client_Quit_Call
- type Client_Rename_Call
- type Client_RetrFrom_Call
- func (_c *Client_RetrFrom_Call) Return(_a0 *ftp.Response, _a1 error) *Client_RetrFrom_Call
- func (_c *Client_RetrFrom_Call) Run(run func(path string, offset uint64)) *Client_RetrFrom_Call
- func (_c *Client_RetrFrom_Call) RunAndReturn(run func(string, uint64) (*ftp.Response, error)) *Client_RetrFrom_Call
- type Client_SetTime_Call
- type Client_StorFrom_Call
- type DataConn
- func (_m *DataConn) Close() error
- func (_m *DataConn) Delete(path string) error
- func (_m *DataConn) EXPECT() *DataConn_Expecter
- func (_m *DataConn) GetEntry(p string) (*ftp.Entry, error)
- func (_m *DataConn) IsSetTimeSupported() bool
- func (_m *DataConn) IsTimePreciseInList() bool
- func (_m *DataConn) List(p string) ([]*ftp.Entry, error)
- func (_m *DataConn) MakeDir(path string) error
- func (_m *DataConn) Mode() types.OpenType
- func (_m *DataConn) Read(p []byte) (int, error)
- func (_m *DataConn) Rename(from string, to string) error
- func (_m *DataConn) SetTime(path string, t time.Time) error
- func (_m *DataConn) Write(p []byte) (int, error)
- type DataConn_Close_Call
- type DataConn_Delete_Call
- type DataConn_Expecter
- func (_e *DataConn_Expecter) Close() *DataConn_Close_Call
- func (_e *DataConn_Expecter) Delete(path interface{}) *DataConn_Delete_Call
- func (_e *DataConn_Expecter) GetEntry(p interface{}) *DataConn_GetEntry_Call
- func (_e *DataConn_Expecter) IsSetTimeSupported() *DataConn_IsSetTimeSupported_Call
- func (_e *DataConn_Expecter) IsTimePreciseInList() *DataConn_IsTimePreciseInList_Call
- func (_e *DataConn_Expecter) List(p interface{}) *DataConn_List_Call
- func (_e *DataConn_Expecter) MakeDir(path interface{}) *DataConn_MakeDir_Call
- func (_e *DataConn_Expecter) Mode() *DataConn_Mode_Call
- func (_e *DataConn_Expecter) Read(p interface{}) *DataConn_Read_Call
- func (_e *DataConn_Expecter) Rename(from interface{}, to interface{}) *DataConn_Rename_Call
- func (_e *DataConn_Expecter) SetTime(path interface{}, t interface{}) *DataConn_SetTime_Call
- func (_e *DataConn_Expecter) Write(p interface{}) *DataConn_Write_Call
- type DataConn_GetEntry_Call
- type DataConn_IsSetTimeSupported_Call
- type DataConn_IsTimePreciseInList_Call
- func (_c *DataConn_IsTimePreciseInList_Call) Return(_a0 bool) *DataConn_IsTimePreciseInList_Call
- func (_c *DataConn_IsTimePreciseInList_Call) Run(run func()) *DataConn_IsTimePreciseInList_Call
- func (_c *DataConn_IsTimePreciseInList_Call) RunAndReturn(run func() bool) *DataConn_IsTimePreciseInList_Call
- type DataConn_List_Call
- type DataConn_MakeDir_Call
- type DataConn_Mode_Call
- type DataConn_Read_Call
- type DataConn_Rename_Call
- type DataConn_SetTime_Call
- type DataConn_Write_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
func NewClient(t mockConstructorTestingTNewClient) *Client
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) IsSetTimeSupported ¶
IsSetTimeSupported provides a mock function with given fields:
func (*Client) IsTimePreciseInList ¶
IsTimePreciseInList provides a mock function with given fields:
type Client_Delete_Call ¶
Client_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Client_Delete_Call) Return ¶
func (_c *Client_Delete_Call) Return(_a0 error) *Client_Delete_Call
func (*Client_Delete_Call) Run ¶
func (_c *Client_Delete_Call) Run(run func(path string)) *Client_Delete_Call
func (*Client_Delete_Call) RunAndReturn ¶
func (_c *Client_Delete_Call) RunAndReturn(run func(string) error) *Client_Delete_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) Delete ¶
func (_e *Client_Expecter) Delete(path interface{}) *Client_Delete_Call
Delete is a helper method to define mock.On call
- path string
func (*Client_Expecter) GetEntry ¶
func (_e *Client_Expecter) GetEntry(p interface{}) *Client_GetEntry_Call
GetEntry is a helper method to define mock.On call
- p string
func (*Client_Expecter) IsSetTimeSupported ¶
func (_e *Client_Expecter) IsSetTimeSupported() *Client_IsSetTimeSupported_Call
IsSetTimeSupported is a helper method to define mock.On call
func (*Client_Expecter) IsTimePreciseInList ¶
func (_e *Client_Expecter) IsTimePreciseInList() *Client_IsTimePreciseInList_Call
IsTimePreciseInList is a helper method to define mock.On call
func (*Client_Expecter) List ¶
func (_e *Client_Expecter) List(p interface{}) *Client_List_Call
List is a helper method to define mock.On call
- p string
func (*Client_Expecter) Login ¶
func (_e *Client_Expecter) Login(user interface{}, password interface{}) *Client_Login_Call
Login is a helper method to define mock.On call
- user string
- password string
func (*Client_Expecter) MakeDir ¶
func (_e *Client_Expecter) MakeDir(path interface{}) *Client_MakeDir_Call
MakeDir is a helper method to define mock.On call
- path string
func (*Client_Expecter) Quit ¶
func (_e *Client_Expecter) Quit() *Client_Quit_Call
Quit is a helper method to define mock.On call
func (*Client_Expecter) Rename ¶
func (_e *Client_Expecter) Rename(from interface{}, to interface{}) *Client_Rename_Call
Rename is a helper method to define mock.On call
- from string
- to string
func (*Client_Expecter) RetrFrom ¶
func (_e *Client_Expecter) RetrFrom(path interface{}, offset interface{}) *Client_RetrFrom_Call
RetrFrom is a helper method to define mock.On call
- path string
- offset uint64
func (*Client_Expecter) SetTime ¶
func (_e *Client_Expecter) SetTime(path interface{}, t interface{}) *Client_SetTime_Call
SetTime is a helper method to define mock.On call
- path string
- t time.Time
func (*Client_Expecter) StorFrom ¶
func (_e *Client_Expecter) StorFrom(path interface{}, r interface{}, offset interface{}) *Client_StorFrom_Call
StorFrom is a helper method to define mock.On call
- path string
- r io.Reader
- offset uint64
type Client_GetEntry_Call ¶
Client_GetEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEntry'
func (*Client_GetEntry_Call) Return ¶
func (_c *Client_GetEntry_Call) Return(_a0 *ftp.Entry, _a1 error) *Client_GetEntry_Call
func (*Client_GetEntry_Call) Run ¶
func (_c *Client_GetEntry_Call) Run(run func(p string)) *Client_GetEntry_Call
func (*Client_GetEntry_Call) RunAndReturn ¶
func (_c *Client_GetEntry_Call) RunAndReturn(run func(string) (*ftp.Entry, error)) *Client_GetEntry_Call
type Client_IsSetTimeSupported_Call ¶
Client_IsSetTimeSupported_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSetTimeSupported'
func (*Client_IsSetTimeSupported_Call) Return ¶
func (_c *Client_IsSetTimeSupported_Call) Return(_a0 bool) *Client_IsSetTimeSupported_Call
func (*Client_IsSetTimeSupported_Call) Run ¶
func (_c *Client_IsSetTimeSupported_Call) Run(run func()) *Client_IsSetTimeSupported_Call
func (*Client_IsSetTimeSupported_Call) RunAndReturn ¶
func (_c *Client_IsSetTimeSupported_Call) RunAndReturn(run func() bool) *Client_IsSetTimeSupported_Call
type Client_IsTimePreciseInList_Call ¶
Client_IsTimePreciseInList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsTimePreciseInList'
func (*Client_IsTimePreciseInList_Call) Return ¶
func (_c *Client_IsTimePreciseInList_Call) Return(_a0 bool) *Client_IsTimePreciseInList_Call
func (*Client_IsTimePreciseInList_Call) Run ¶
func (_c *Client_IsTimePreciseInList_Call) Run(run func()) *Client_IsTimePreciseInList_Call
func (*Client_IsTimePreciseInList_Call) RunAndReturn ¶
func (_c *Client_IsTimePreciseInList_Call) RunAndReturn(run func() bool) *Client_IsTimePreciseInList_Call
type Client_List_Call ¶
Client_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*Client_List_Call) Return ¶
func (_c *Client_List_Call) Return(_a0 []*ftp.Entry, _a1 error) *Client_List_Call
func (*Client_List_Call) Run ¶
func (_c *Client_List_Call) Run(run func(p string)) *Client_List_Call
func (*Client_List_Call) RunAndReturn ¶
func (_c *Client_List_Call) RunAndReturn(run func(string) ([]*ftp.Entry, error)) *Client_List_Call
type Client_Login_Call ¶
Client_Login_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Login'
func (*Client_Login_Call) Return ¶
func (_c *Client_Login_Call) Return(_a0 error) *Client_Login_Call
func (*Client_Login_Call) Run ¶
func (_c *Client_Login_Call) Run(run func(user string, password string)) *Client_Login_Call
func (*Client_Login_Call) RunAndReturn ¶
func (_c *Client_Login_Call) RunAndReturn(run func(string, string) error) *Client_Login_Call
type Client_MakeDir_Call ¶
Client_MakeDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeDir'
func (*Client_MakeDir_Call) Return ¶
func (_c *Client_MakeDir_Call) Return(_a0 error) *Client_MakeDir_Call
func (*Client_MakeDir_Call) Run ¶
func (_c *Client_MakeDir_Call) Run(run func(path string)) *Client_MakeDir_Call
func (*Client_MakeDir_Call) RunAndReturn ¶
func (_c *Client_MakeDir_Call) RunAndReturn(run func(string) error) *Client_MakeDir_Call
type Client_Quit_Call ¶
Client_Quit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Quit'
func (*Client_Quit_Call) Return ¶
func (_c *Client_Quit_Call) Return(_a0 error) *Client_Quit_Call
func (*Client_Quit_Call) Run ¶
func (_c *Client_Quit_Call) Run(run func()) *Client_Quit_Call
func (*Client_Quit_Call) RunAndReturn ¶
func (_c *Client_Quit_Call) RunAndReturn(run func() error) *Client_Quit_Call
type Client_Rename_Call ¶
Client_Rename_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rename'
func (*Client_Rename_Call) Return ¶
func (_c *Client_Rename_Call) Return(_a0 error) *Client_Rename_Call
func (*Client_Rename_Call) Run ¶
func (_c *Client_Rename_Call) Run(run func(from string, to string)) *Client_Rename_Call
func (*Client_Rename_Call) RunAndReturn ¶
func (_c *Client_Rename_Call) RunAndReturn(run func(string, string) error) *Client_Rename_Call
type Client_RetrFrom_Call ¶
Client_RetrFrom_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrFrom'
func (*Client_RetrFrom_Call) Return ¶
func (_c *Client_RetrFrom_Call) Return(_a0 *ftp.Response, _a1 error) *Client_RetrFrom_Call
func (*Client_RetrFrom_Call) Run ¶
func (_c *Client_RetrFrom_Call) Run(run func(path string, offset uint64)) *Client_RetrFrom_Call
func (*Client_RetrFrom_Call) RunAndReturn ¶
func (_c *Client_RetrFrom_Call) RunAndReturn(run func(string, uint64) (*ftp.Response, error)) *Client_RetrFrom_Call
type Client_SetTime_Call ¶
Client_SetTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTime'
func (*Client_SetTime_Call) Return ¶
func (_c *Client_SetTime_Call) Return(_a0 error) *Client_SetTime_Call
func (*Client_SetTime_Call) Run ¶
func (_c *Client_SetTime_Call) Run(run func(path string, t time.Time)) *Client_SetTime_Call
func (*Client_SetTime_Call) RunAndReturn ¶
func (_c *Client_SetTime_Call) RunAndReturn(run func(string, time.Time) error) *Client_SetTime_Call
type Client_StorFrom_Call ¶
Client_StorFrom_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StorFrom'
func (*Client_StorFrom_Call) Return ¶
func (_c *Client_StorFrom_Call) Return(_a0 error) *Client_StorFrom_Call
func (*Client_StorFrom_Call) Run ¶
func (_c *Client_StorFrom_Call) Run(run func(path string, r io.Reader, offset uint64)) *Client_StorFrom_Call
func (*Client_StorFrom_Call) RunAndReturn ¶
func (_c *Client_StorFrom_Call) RunAndReturn(run func(string, io.Reader, uint64) error) *Client_StorFrom_Call
type DataConn ¶
DataConn is an autogenerated mock type for the DataConn type
func NewDataConn ¶
func NewDataConn(t mockConstructorTestingTNewDataConn) *DataConn
NewDataConn creates a new instance of DataConn. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DataConn) EXPECT ¶
func (_m *DataConn) EXPECT() *DataConn_Expecter
func (*DataConn) IsSetTimeSupported ¶
IsSetTimeSupported provides a mock function with given fields:
func (*DataConn) IsTimePreciseInList ¶
IsTimePreciseInList provides a mock function with given fields:
type DataConn_Close_Call ¶
DataConn_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*DataConn_Close_Call) Return ¶
func (_c *DataConn_Close_Call) Return(_a0 error) *DataConn_Close_Call
func (*DataConn_Close_Call) Run ¶
func (_c *DataConn_Close_Call) Run(run func()) *DataConn_Close_Call
func (*DataConn_Close_Call) RunAndReturn ¶
func (_c *DataConn_Close_Call) RunAndReturn(run func() error) *DataConn_Close_Call
type DataConn_Delete_Call ¶
DataConn_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*DataConn_Delete_Call) Return ¶
func (_c *DataConn_Delete_Call) Return(_a0 error) *DataConn_Delete_Call
func (*DataConn_Delete_Call) Run ¶
func (_c *DataConn_Delete_Call) Run(run func(path string)) *DataConn_Delete_Call
func (*DataConn_Delete_Call) RunAndReturn ¶
func (_c *DataConn_Delete_Call) RunAndReturn(run func(string) error) *DataConn_Delete_Call
type DataConn_Expecter ¶
type DataConn_Expecter struct {
// contains filtered or unexported fields
}
func (*DataConn_Expecter) Close ¶
func (_e *DataConn_Expecter) Close() *DataConn_Close_Call
Close is a helper method to define mock.On call
func (*DataConn_Expecter) Delete ¶
func (_e *DataConn_Expecter) Delete(path interface{}) *DataConn_Delete_Call
Delete is a helper method to define mock.On call
- path string
func (*DataConn_Expecter) GetEntry ¶
func (_e *DataConn_Expecter) GetEntry(p interface{}) *DataConn_GetEntry_Call
GetEntry is a helper method to define mock.On call
- p string
func (*DataConn_Expecter) IsSetTimeSupported ¶
func (_e *DataConn_Expecter) IsSetTimeSupported() *DataConn_IsSetTimeSupported_Call
IsSetTimeSupported is a helper method to define mock.On call
func (*DataConn_Expecter) IsTimePreciseInList ¶
func (_e *DataConn_Expecter) IsTimePreciseInList() *DataConn_IsTimePreciseInList_Call
IsTimePreciseInList is a helper method to define mock.On call
func (*DataConn_Expecter) List ¶
func (_e *DataConn_Expecter) List(p interface{}) *DataConn_List_Call
List is a helper method to define mock.On call
- p string
func (*DataConn_Expecter) MakeDir ¶
func (_e *DataConn_Expecter) MakeDir(path interface{}) *DataConn_MakeDir_Call
MakeDir is a helper method to define mock.On call
- path string
func (*DataConn_Expecter) Mode ¶
func (_e *DataConn_Expecter) Mode() *DataConn_Mode_Call
Mode is a helper method to define mock.On call
func (*DataConn_Expecter) Read ¶
func (_e *DataConn_Expecter) Read(p interface{}) *DataConn_Read_Call
Read is a helper method to define mock.On call
- p []byte
func (*DataConn_Expecter) Rename ¶
func (_e *DataConn_Expecter) Rename(from interface{}, to interface{}) *DataConn_Rename_Call
Rename is a helper method to define mock.On call
- from string
- to string
func (*DataConn_Expecter) SetTime ¶
func (_e *DataConn_Expecter) SetTime(path interface{}, t interface{}) *DataConn_SetTime_Call
SetTime is a helper method to define mock.On call
- path string
- t time.Time
func (*DataConn_Expecter) Write ¶
func (_e *DataConn_Expecter) Write(p interface{}) *DataConn_Write_Call
Write is a helper method to define mock.On call
- p []byte
type DataConn_GetEntry_Call ¶
DataConn_GetEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEntry'
func (*DataConn_GetEntry_Call) Return ¶
func (_c *DataConn_GetEntry_Call) Return(_a0 *ftp.Entry, _a1 error) *DataConn_GetEntry_Call
func (*DataConn_GetEntry_Call) Run ¶
func (_c *DataConn_GetEntry_Call) Run(run func(p string)) *DataConn_GetEntry_Call
func (*DataConn_GetEntry_Call) RunAndReturn ¶
func (_c *DataConn_GetEntry_Call) RunAndReturn(run func(string) (*ftp.Entry, error)) *DataConn_GetEntry_Call
type DataConn_IsSetTimeSupported_Call ¶
DataConn_IsSetTimeSupported_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSetTimeSupported'
func (*DataConn_IsSetTimeSupported_Call) Return ¶
func (_c *DataConn_IsSetTimeSupported_Call) Return(_a0 bool) *DataConn_IsSetTimeSupported_Call
func (*DataConn_IsSetTimeSupported_Call) Run ¶
func (_c *DataConn_IsSetTimeSupported_Call) Run(run func()) *DataConn_IsSetTimeSupported_Call
func (*DataConn_IsSetTimeSupported_Call) RunAndReturn ¶
func (_c *DataConn_IsSetTimeSupported_Call) RunAndReturn(run func() bool) *DataConn_IsSetTimeSupported_Call
type DataConn_IsTimePreciseInList_Call ¶
DataConn_IsTimePreciseInList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsTimePreciseInList'
func (*DataConn_IsTimePreciseInList_Call) Return ¶
func (_c *DataConn_IsTimePreciseInList_Call) Return(_a0 bool) *DataConn_IsTimePreciseInList_Call
func (*DataConn_IsTimePreciseInList_Call) Run ¶
func (_c *DataConn_IsTimePreciseInList_Call) Run(run func()) *DataConn_IsTimePreciseInList_Call
func (*DataConn_IsTimePreciseInList_Call) RunAndReturn ¶
func (_c *DataConn_IsTimePreciseInList_Call) RunAndReturn(run func() bool) *DataConn_IsTimePreciseInList_Call
type DataConn_List_Call ¶
DataConn_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*DataConn_List_Call) Return ¶
func (_c *DataConn_List_Call) Return(_a0 []*ftp.Entry, _a1 error) *DataConn_List_Call
func (*DataConn_List_Call) Run ¶
func (_c *DataConn_List_Call) Run(run func(p string)) *DataConn_List_Call
func (*DataConn_List_Call) RunAndReturn ¶
func (_c *DataConn_List_Call) RunAndReturn(run func(string) ([]*ftp.Entry, error)) *DataConn_List_Call
type DataConn_MakeDir_Call ¶
DataConn_MakeDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeDir'
func (*DataConn_MakeDir_Call) Return ¶
func (_c *DataConn_MakeDir_Call) Return(_a0 error) *DataConn_MakeDir_Call
func (*DataConn_MakeDir_Call) Run ¶
func (_c *DataConn_MakeDir_Call) Run(run func(path string)) *DataConn_MakeDir_Call
func (*DataConn_MakeDir_Call) RunAndReturn ¶
func (_c *DataConn_MakeDir_Call) RunAndReturn(run func(string) error) *DataConn_MakeDir_Call
type DataConn_Mode_Call ¶
DataConn_Mode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Mode'
func (*DataConn_Mode_Call) Return ¶
func (_c *DataConn_Mode_Call) Return(_a0 types.OpenType) *DataConn_Mode_Call
func (*DataConn_Mode_Call) Run ¶
func (_c *DataConn_Mode_Call) Run(run func()) *DataConn_Mode_Call
func (*DataConn_Mode_Call) RunAndReturn ¶
func (_c *DataConn_Mode_Call) RunAndReturn(run func() types.OpenType) *DataConn_Mode_Call
type DataConn_Read_Call ¶
DataConn_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'
func (*DataConn_Read_Call) Return ¶
func (_c *DataConn_Read_Call) Return(n int, err error) *DataConn_Read_Call
func (*DataConn_Read_Call) Run ¶
func (_c *DataConn_Read_Call) Run(run func(p []byte)) *DataConn_Read_Call
func (*DataConn_Read_Call) RunAndReturn ¶
func (_c *DataConn_Read_Call) RunAndReturn(run func([]byte) (int, error)) *DataConn_Read_Call
type DataConn_Rename_Call ¶
DataConn_Rename_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rename'
func (*DataConn_Rename_Call) Return ¶
func (_c *DataConn_Rename_Call) Return(_a0 error) *DataConn_Rename_Call
func (*DataConn_Rename_Call) Run ¶
func (_c *DataConn_Rename_Call) Run(run func(from string, to string)) *DataConn_Rename_Call
func (*DataConn_Rename_Call) RunAndReturn ¶
func (_c *DataConn_Rename_Call) RunAndReturn(run func(string, string) error) *DataConn_Rename_Call
type DataConn_SetTime_Call ¶
DataConn_SetTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTime'
func (*DataConn_SetTime_Call) Return ¶
func (_c *DataConn_SetTime_Call) Return(_a0 error) *DataConn_SetTime_Call
func (*DataConn_SetTime_Call) Run ¶
func (_c *DataConn_SetTime_Call) Run(run func(path string, t time.Time)) *DataConn_SetTime_Call
func (*DataConn_SetTime_Call) RunAndReturn ¶
func (_c *DataConn_SetTime_Call) RunAndReturn(run func(string, time.Time) error) *DataConn_SetTime_Call
type DataConn_Write_Call ¶
DataConn_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*DataConn_Write_Call) Return ¶
func (_c *DataConn_Write_Call) Return(n int, err error) *DataConn_Write_Call
func (*DataConn_Write_Call) Run ¶
func (_c *DataConn_Write_Call) Run(run func(p []byte)) *DataConn_Write_Call
func (*DataConn_Write_Call) RunAndReturn ¶
func (_c *DataConn_Write_Call) RunAndReturn(run func([]byte) (int, error)) *DataConn_Write_Call