Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
Core is an autogenerated mock type for the Core type
func NewCore ¶
NewCore creates a new instance of Core. 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 (*Core) Abandon ¶
func (_mock *Core) Abandon()
Abandon provides a mock function for the type Core
func (*Core) EXPECT ¶ added in v0.46.0
func (_m *Core) EXPECT() *Core_Expecter
type Core_Abandon_Call ¶ added in v0.46.0
Core_Abandon_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Abandon'
func (*Core_Abandon_Call) Return ¶ added in v0.46.0
func (_c *Core_Abandon_Call) Return() *Core_Abandon_Call
func (*Core_Abandon_Call) Run ¶ added in v0.46.0
func (_c *Core_Abandon_Call) Run(run func()) *Core_Abandon_Call
func (*Core_Abandon_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Core_Abandon_Call) RunAndReturn(run func()) *Core_Abandon_Call
type Core_Download_Call ¶ added in v0.46.0
Core_Download_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Download'
func (*Core_Download_Call) Return ¶ added in v0.46.0
func (_c *Core_Download_Call) Return(err error) *Core_Download_Call
func (*Core_Download_Call) Run ¶ added in v0.46.0
func (_c *Core_Download_Call) Run(run func(ctx context.Context)) *Core_Download_Call
func (*Core_Download_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Core_Download_Call) RunAndReturn(run func(ctx context.Context) error) *Core_Download_Call
type Core_Expecter ¶ added in v0.46.0
type Core_Expecter struct {
// contains filtered or unexported fields
}
func (*Core_Expecter) Abandon ¶ added in v0.46.0
func (_e *Core_Expecter) Abandon() *Core_Abandon_Call
Abandon is a helper method to define mock.On call
func (*Core_Expecter) Download ¶ added in v0.46.0
func (_e *Core_Expecter) Download(ctx interface{}) *Core_Download_Call
Download is a helper method to define mock.On call
- ctx context.Context
func (*Core_Expecter) Index ¶ added in v0.46.0
func (_e *Core_Expecter) Index() *Core_Index_Call
Index is a helper method to define mock.On call
func (*Core_Expecter) Persist ¶ added in v0.46.0
func (_e *Core_Expecter) Persist() *Core_Persist_Call
Persist is a helper method to define mock.On call
type Core_Index_Call ¶ added in v0.46.0
Core_Index_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Index'
func (*Core_Index_Call) Return ¶ added in v0.46.0
func (_c *Core_Index_Call) Return(err error) *Core_Index_Call
func (*Core_Index_Call) Run ¶ added in v0.46.0
func (_c *Core_Index_Call) Run(run func()) *Core_Index_Call
func (*Core_Index_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Core_Index_Call) RunAndReturn(run func() error) *Core_Index_Call
type Core_Persist_Call ¶ added in v0.46.0
Core_Persist_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Persist'
func (*Core_Persist_Call) Return ¶ added in v0.46.0
func (_c *Core_Persist_Call) Return(err error) *Core_Persist_Call
func (*Core_Persist_Call) Run ¶ added in v0.46.0
func (_c *Core_Persist_Call) Run(run func()) *Core_Persist_Call
func (*Core_Persist_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Core_Persist_Call) RunAndReturn(run func() error) *Core_Persist_Call