Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type View ¶
View is an autogenerated mock type for the View type
func NewView ¶
NewView creates a new instance of View. 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 (*View) EXPECT ¶
func (_m *View) EXPECT() *View_Expecter
type View_Exists_Call ¶
View_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'
func (*View_Exists_Call) Return ¶
func (_c *View_Exists_Call) Return(_a0 bool) *View_Exists_Call
func (*View_Exists_Call) Run ¶
func (_c *View_Exists_Call) Run(run func(_a0 string)) *View_Exists_Call
func (*View_Exists_Call) RunAndReturn ¶
func (_c *View_Exists_Call) RunAndReturn(run func(string) bool) *View_Exists_Call
type View_Expecter ¶
type View_Expecter struct {
// contains filtered or unexported fields
}
func (*View_Expecter) Exists ¶
func (_e *View_Expecter) Exists(_a0 interface{}) *View_Exists_Call
Exists is a helper method to define mock.On call
- _a0 string
func (*View_Expecter) GetShared ¶
func (_e *View_Expecter) GetShared() *View_GetShared_Call
GetShared is a helper method to define mock.On call
func (*View_Expecter) Share ¶
func (_e *View_Expecter) Share(key interface{}, value interface{}) *View_Share_Call
Share is a helper method to define mock.On call
- key string
- value interface{}
func (*View_Expecter) Shared ¶
func (_e *View_Expecter) Shared(key interface{}, def ...interface{}) *View_Shared_Call
Shared is a helper method to define mock.On call
- key string
- def ...interface{}
type View_GetShared_Call ¶
type View_GetShared_Call struct {
}
View_GetShared_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetShared'
func (*View_GetShared_Call) Return ¶
func (_c *View_GetShared_Call) Return(_a0 map[string]interface{}) *View_GetShared_Call
func (*View_GetShared_Call) Run ¶
func (_c *View_GetShared_Call) Run(run func()) *View_GetShared_Call
func (*View_GetShared_Call) RunAndReturn ¶
func (_c *View_GetShared_Call) RunAndReturn(run func() map[string]interface{}) *View_GetShared_Call
type View_Share_Call ¶
type View_Share_Call struct {
}
View_Share_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Share'
func (*View_Share_Call) Return ¶
func (_c *View_Share_Call) Return() *View_Share_Call
func (*View_Share_Call) Run ¶
func (_c *View_Share_Call) Run(run func(key string, value interface{})) *View_Share_Call
func (*View_Share_Call) RunAndReturn ¶
func (_c *View_Share_Call) RunAndReturn(run func(string, interface{})) *View_Share_Call
type View_Shared_Call ¶
type View_Shared_Call struct {
}
View_Shared_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shared'
func (*View_Shared_Call) Return ¶
func (_c *View_Shared_Call) Return(_a0 interface{}) *View_Shared_Call
func (*View_Shared_Call) Run ¶
func (_c *View_Shared_Call) Run(run func(key string, def ...interface{})) *View_Shared_Call
func (*View_Shared_Call) RunAndReturn ¶
func (_c *View_Shared_Call) RunAndReturn(run func(string, ...interface{}) interface{}) *View_Shared_Call