mocks

package
v0.64.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSourceFileCreator

type DataSourceFileCreator struct {
	mock.Mock
}

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 (*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

type DataSourceFileCreator_AddDataObjects_Call struct {
	*mock.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 (*DataSourceFileCreator_AddDataObjects_Call) Run

func (*DataSourceFileCreator_AddDataObjects_Call) RunAndReturn added in v0.32.0

type DataSourceFileCreator_Close_Call

type DataSourceFileCreator_Close_Call struct {
	*mock.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 (*DataSourceFileCreator_Close_Call) Run

func (*DataSourceFileCreator_Close_Call) RunAndReturn added in v0.32.0

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

Close is a helper method to define mock.On call

func (*DataSourceFileCreator_Expecter) GetDataObjectCount

GetDataObjectCount is a helper method to define mock.On call

func (*DataSourceFileCreator_Expecter) GetDataSourceDetails

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

type DataSourceFileCreator_GetDataObjectCount_Call struct {
	*mock.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 (*DataSourceFileCreator_GetDataObjectCount_Call) Run

func (*DataSourceFileCreator_GetDataObjectCount_Call) RunAndReturn added in v0.32.0

type DataSourceFileCreator_GetDataSourceDetails_Call

type DataSourceFileCreator_GetDataSourceDetails_Call struct {
	*mock.Call
}

DataSourceFileCreator_GetDataSourceDetails_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataSourceDetails'

func (*DataSourceFileCreator_GetDataSourceDetails_Call) Return

func (*DataSourceFileCreator_GetDataSourceDetails_Call) Run

func (*DataSourceFileCreator_GetDataSourceDetails_Call) RunAndReturn added in v0.32.0

type DataSourceFileCreator_SetDataSourceDescription_Call

type DataSourceFileCreator_SetDataSourceDescription_Call struct {
	*mock.Call
}

DataSourceFileCreator_SetDataSourceDescription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDataSourceDescription'

func (*DataSourceFileCreator_SetDataSourceDescription_Call) Return

func (*DataSourceFileCreator_SetDataSourceDescription_Call) Run

func (*DataSourceFileCreator_SetDataSourceDescription_Call) RunAndReturn added in v0.32.0

type DataSourceFileCreator_SetDataSourceFullname_Call

type DataSourceFileCreator_SetDataSourceFullname_Call struct {
	*mock.Call
}

DataSourceFileCreator_SetDataSourceFullname_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDataSourceFullname'

func (*DataSourceFileCreator_SetDataSourceFullname_Call) Return

func (*DataSourceFileCreator_SetDataSourceFullname_Call) Run

func (*DataSourceFileCreator_SetDataSourceFullname_Call) RunAndReturn added in v0.32.0

type DataSourceFileCreator_SetDataSourceName_Call

type DataSourceFileCreator_SetDataSourceName_Call struct {
	*mock.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 (*DataSourceFileCreator_SetDataSourceName_Call) Run

func (*DataSourceFileCreator_SetDataSourceName_Call) RunAndReturn added in v0.32.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL