Documentation ¶
Index ¶
- type DataSourceFileCreator
- func (_m *DataSourceFileCreator) AddDataObjects(dataObjects ...*data_source.DataObject) error
- func (_m *DataSourceFileCreator) Close()
- func (_m *DataSourceFileCreator) EXPECT() *DataSourceFileCreator_Expecter
- func (_m *DataSourceFileCreator) GetDataObjectCount() int
- func (_m *DataSourceFileCreator) GetDataSourceDetails() *data_source.DataSourceDetails
- func (_m *DataSourceFileCreator) SetDataSourceDescription(desc string)
- func (_m *DataSourceFileCreator) SetDataSourceFullname(name string)
- func (_m *DataSourceFileCreator) SetDataSourceName(name string)
- type DataSourceFileCreator_AddDataObjects_Call
- func (_c *DataSourceFileCreator_AddDataObjects_Call) Return(_a0 error) *DataSourceFileCreator_AddDataObjects_Call
- func (_c *DataSourceFileCreator_AddDataObjects_Call) Run(run func(dataObjects ...*data_source.DataObject)) *DataSourceFileCreator_AddDataObjects_Call
- func (_c *DataSourceFileCreator_AddDataObjects_Call) RunAndReturn(run func(...*data_source.DataObject) error) *DataSourceFileCreator_AddDataObjects_Call
- type DataSourceFileCreator_Close_Call
- type DataSourceFileCreator_Expecter
- func (_e *DataSourceFileCreator_Expecter) AddDataObjects(dataObjects ...interface{}) *DataSourceFileCreator_AddDataObjects_Call
- func (_e *DataSourceFileCreator_Expecter) Close() *DataSourceFileCreator_Close_Call
- func (_e *DataSourceFileCreator_Expecter) GetDataObjectCount() *DataSourceFileCreator_GetDataObjectCount_Call
- func (_e *DataSourceFileCreator_Expecter) GetDataSourceDetails() *DataSourceFileCreator_GetDataSourceDetails_Call
- func (_e *DataSourceFileCreator_Expecter) SetDataSourceDescription(desc interface{}) *DataSourceFileCreator_SetDataSourceDescription_Call
- func (_e *DataSourceFileCreator_Expecter) SetDataSourceFullname(name interface{}) *DataSourceFileCreator_SetDataSourceFullname_Call
- func (_e *DataSourceFileCreator_Expecter) SetDataSourceName(name interface{}) *DataSourceFileCreator_SetDataSourceName_Call
- type DataSourceFileCreator_GetDataObjectCount_Call
- func (_c *DataSourceFileCreator_GetDataObjectCount_Call) Return(_a0 int) *DataSourceFileCreator_GetDataObjectCount_Call
- func (_c *DataSourceFileCreator_GetDataObjectCount_Call) Run(run func()) *DataSourceFileCreator_GetDataObjectCount_Call
- func (_c *DataSourceFileCreator_GetDataObjectCount_Call) RunAndReturn(run func() int) *DataSourceFileCreator_GetDataObjectCount_Call
- type DataSourceFileCreator_GetDataSourceDetails_Call
- func (_c *DataSourceFileCreator_GetDataSourceDetails_Call) Return(_a0 *data_source.DataSourceDetails) *DataSourceFileCreator_GetDataSourceDetails_Call
- func (_c *DataSourceFileCreator_GetDataSourceDetails_Call) Run(run func()) *DataSourceFileCreator_GetDataSourceDetails_Call
- func (_c *DataSourceFileCreator_GetDataSourceDetails_Call) RunAndReturn(run func() *data_source.DataSourceDetails) *DataSourceFileCreator_GetDataSourceDetails_Call
- type DataSourceFileCreator_SetDataSourceDescription_Call
- func (_c *DataSourceFileCreator_SetDataSourceDescription_Call) Return() *DataSourceFileCreator_SetDataSourceDescription_Call
- func (_c *DataSourceFileCreator_SetDataSourceDescription_Call) Run(run func(desc string)) *DataSourceFileCreator_SetDataSourceDescription_Call
- func (_c *DataSourceFileCreator_SetDataSourceDescription_Call) RunAndReturn(run func(string)) *DataSourceFileCreator_SetDataSourceDescription_Call
- type DataSourceFileCreator_SetDataSourceFullname_Call
- func (_c *DataSourceFileCreator_SetDataSourceFullname_Call) Return() *DataSourceFileCreator_SetDataSourceFullname_Call
- func (_c *DataSourceFileCreator_SetDataSourceFullname_Call) Run(run func(name string)) *DataSourceFileCreator_SetDataSourceFullname_Call
- func (_c *DataSourceFileCreator_SetDataSourceFullname_Call) RunAndReturn(run func(string)) *DataSourceFileCreator_SetDataSourceFullname_Call
- type DataSourceFileCreator_SetDataSourceName_Call
- func (_c *DataSourceFileCreator_SetDataSourceName_Call) Return() *DataSourceFileCreator_SetDataSourceName_Call
- func (_c *DataSourceFileCreator_SetDataSourceName_Call) Run(run func(name string)) *DataSourceFileCreator_SetDataSourceName_Call
- func (_c *DataSourceFileCreator_SetDataSourceName_Call) RunAndReturn(run func(string)) *DataSourceFileCreator_SetDataSourceName_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSourceFileCreator ¶
DataSourceFileCreator is an autogenerated mock type for the DataSourceFileCreator type
func NewDataSourceFileCreator ¶
func NewDataSourceFileCreator(t interface { mock.TestingT Cleanup(func()) }) *DataSourceFileCreator
NewDataSourceFileCreator creates a new instance of DataSourceFileCreator. 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 (*DataSourceFileCreator) AddDataObjects ¶
func (_m *DataSourceFileCreator) AddDataObjects(dataObjects ...*data_source.DataObject) error
AddDataObjects provides a mock function with given fields: dataObjects
func (*DataSourceFileCreator) Close ¶
func (_m *DataSourceFileCreator) Close()
Close provides a mock function with given fields:
func (*DataSourceFileCreator) EXPECT ¶
func (_m *DataSourceFileCreator) EXPECT() *DataSourceFileCreator_Expecter
func (*DataSourceFileCreator) GetDataObjectCount ¶
func (_m *DataSourceFileCreator) GetDataObjectCount() int
GetDataObjectCount provides a mock function with given fields:
func (*DataSourceFileCreator) GetDataSourceDetails ¶
func (_m *DataSourceFileCreator) GetDataSourceDetails() *data_source.DataSourceDetails
GetDataSourceDetails provides a mock function with given fields:
func (*DataSourceFileCreator) SetDataSourceDescription ¶
func (_m *DataSourceFileCreator) SetDataSourceDescription(desc string)
SetDataSourceDescription provides a mock function with given fields: desc
func (*DataSourceFileCreator) SetDataSourceFullname ¶
func (_m *DataSourceFileCreator) SetDataSourceFullname(name string)
SetDataSourceFullname provides a mock function with given fields: name
func (*DataSourceFileCreator) SetDataSourceName ¶
func (_m *DataSourceFileCreator) SetDataSourceName(name string)
SetDataSourceName provides a mock function with given fields: name
type DataSourceFileCreator_AddDataObjects_Call ¶
DataSourceFileCreator_AddDataObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddDataObjects'
func (*DataSourceFileCreator_AddDataObjects_Call) Return ¶
func (_c *DataSourceFileCreator_AddDataObjects_Call) Return(_a0 error) *DataSourceFileCreator_AddDataObjects_Call
func (*DataSourceFileCreator_AddDataObjects_Call) Run ¶
func (_c *DataSourceFileCreator_AddDataObjects_Call) Run(run func(dataObjects ...*data_source.DataObject)) *DataSourceFileCreator_AddDataObjects_Call
func (*DataSourceFileCreator_AddDataObjects_Call) RunAndReturn ¶ added in v0.32.0
func (_c *DataSourceFileCreator_AddDataObjects_Call) RunAndReturn(run func(...*data_source.DataObject) error) *DataSourceFileCreator_AddDataObjects_Call
type DataSourceFileCreator_Close_Call ¶
DataSourceFileCreator_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*DataSourceFileCreator_Close_Call) Return ¶
func (_c *DataSourceFileCreator_Close_Call) Return() *DataSourceFileCreator_Close_Call
func (*DataSourceFileCreator_Close_Call) Run ¶
func (_c *DataSourceFileCreator_Close_Call) Run(run func()) *DataSourceFileCreator_Close_Call
func (*DataSourceFileCreator_Close_Call) RunAndReturn ¶ added in v0.32.0
func (_c *DataSourceFileCreator_Close_Call) RunAndReturn(run func()) *DataSourceFileCreator_Close_Call
type DataSourceFileCreator_Expecter ¶
type DataSourceFileCreator_Expecter struct {
// contains filtered or unexported fields
}
func (*DataSourceFileCreator_Expecter) AddDataObjects ¶
func (_e *DataSourceFileCreator_Expecter) AddDataObjects(dataObjects ...interface{}) *DataSourceFileCreator_AddDataObjects_Call
AddDataObjects is a helper method to define mock.On call
- dataObjects ...*data_source.DataObject
func (*DataSourceFileCreator_Expecter) Close ¶
func (_e *DataSourceFileCreator_Expecter) Close() *DataSourceFileCreator_Close_Call
Close is a helper method to define mock.On call
func (*DataSourceFileCreator_Expecter) GetDataObjectCount ¶
func (_e *DataSourceFileCreator_Expecter) GetDataObjectCount() *DataSourceFileCreator_GetDataObjectCount_Call
GetDataObjectCount is a helper method to define mock.On call
func (*DataSourceFileCreator_Expecter) GetDataSourceDetails ¶
func (_e *DataSourceFileCreator_Expecter) GetDataSourceDetails() *DataSourceFileCreator_GetDataSourceDetails_Call
GetDataSourceDetails is a helper method to define mock.On call
func (*DataSourceFileCreator_Expecter) SetDataSourceDescription ¶
func (_e *DataSourceFileCreator_Expecter) SetDataSourceDescription(desc interface{}) *DataSourceFileCreator_SetDataSourceDescription_Call
SetDataSourceDescription is a helper method to define mock.On call
- desc string
func (*DataSourceFileCreator_Expecter) SetDataSourceFullname ¶
func (_e *DataSourceFileCreator_Expecter) SetDataSourceFullname(name interface{}) *DataSourceFileCreator_SetDataSourceFullname_Call
SetDataSourceFullname is a helper method to define mock.On call
- name string
func (*DataSourceFileCreator_Expecter) SetDataSourceName ¶
func (_e *DataSourceFileCreator_Expecter) SetDataSourceName(name interface{}) *DataSourceFileCreator_SetDataSourceName_Call
SetDataSourceName is a helper method to define mock.On call
- name string
type DataSourceFileCreator_GetDataObjectCount_Call ¶
DataSourceFileCreator_GetDataObjectCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataObjectCount'
func (*DataSourceFileCreator_GetDataObjectCount_Call) Return ¶
func (_c *DataSourceFileCreator_GetDataObjectCount_Call) Return(_a0 int) *DataSourceFileCreator_GetDataObjectCount_Call
func (*DataSourceFileCreator_GetDataObjectCount_Call) Run ¶
func (_c *DataSourceFileCreator_GetDataObjectCount_Call) Run(run func()) *DataSourceFileCreator_GetDataObjectCount_Call
func (*DataSourceFileCreator_GetDataObjectCount_Call) RunAndReturn ¶ added in v0.32.0
func (_c *DataSourceFileCreator_GetDataObjectCount_Call) RunAndReturn(run func() int) *DataSourceFileCreator_GetDataObjectCount_Call
type DataSourceFileCreator_GetDataSourceDetails_Call ¶
DataSourceFileCreator_GetDataSourceDetails_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataSourceDetails'
func (*DataSourceFileCreator_GetDataSourceDetails_Call) Run ¶
func (_c *DataSourceFileCreator_GetDataSourceDetails_Call) Run(run func()) *DataSourceFileCreator_GetDataSourceDetails_Call
func (*DataSourceFileCreator_GetDataSourceDetails_Call) RunAndReturn ¶ added in v0.32.0
func (_c *DataSourceFileCreator_GetDataSourceDetails_Call) RunAndReturn(run func() *data_source.DataSourceDetails) *DataSourceFileCreator_GetDataSourceDetails_Call
type DataSourceFileCreator_SetDataSourceDescription_Call ¶
DataSourceFileCreator_SetDataSourceDescription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDataSourceDescription'
func (*DataSourceFileCreator_SetDataSourceDescription_Call) Run ¶
func (_c *DataSourceFileCreator_SetDataSourceDescription_Call) Run(run func(desc string)) *DataSourceFileCreator_SetDataSourceDescription_Call
func (*DataSourceFileCreator_SetDataSourceDescription_Call) RunAndReturn ¶ added in v0.32.0
func (_c *DataSourceFileCreator_SetDataSourceDescription_Call) RunAndReturn(run func(string)) *DataSourceFileCreator_SetDataSourceDescription_Call
type DataSourceFileCreator_SetDataSourceFullname_Call ¶
DataSourceFileCreator_SetDataSourceFullname_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDataSourceFullname'
func (*DataSourceFileCreator_SetDataSourceFullname_Call) Run ¶
func (_c *DataSourceFileCreator_SetDataSourceFullname_Call) Run(run func(name string)) *DataSourceFileCreator_SetDataSourceFullname_Call
func (*DataSourceFileCreator_SetDataSourceFullname_Call) RunAndReturn ¶ added in v0.32.0
func (_c *DataSourceFileCreator_SetDataSourceFullname_Call) RunAndReturn(run func(string)) *DataSourceFileCreator_SetDataSourceFullname_Call
type DataSourceFileCreator_SetDataSourceName_Call ¶
DataSourceFileCreator_SetDataSourceName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDataSourceName'
func (*DataSourceFileCreator_SetDataSourceName_Call) Return ¶
func (_c *DataSourceFileCreator_SetDataSourceName_Call) Return() *DataSourceFileCreator_SetDataSourceName_Call
func (*DataSourceFileCreator_SetDataSourceName_Call) Run ¶
func (_c *DataSourceFileCreator_SetDataSourceName_Call) Run(run func(name string)) *DataSourceFileCreator_SetDataSourceName_Call
func (*DataSourceFileCreator_SetDataSourceName_Call) RunAndReturn ¶ added in v0.32.0
func (_c *DataSourceFileCreator_SetDataSourceName_Call) RunAndReturn(run func(string)) *DataSourceFileCreator_SetDataSourceName_Call