Documentation
¶
Index ¶
- type Resolver
- type Template
- type Template_Execute_Call
- type Template_Expecter
- type Template_ID_Call
- type Template_Notify_Call
- type Template_Render_Call
- type Watcher
- func (_m *Watcher) BufferReset(_a0 hcat.Notifier)
- func (_m *Watcher) Buffering(_a0 hcat.Notifier) bool
- func (_m *Watcher) Clients() hcat.Looker
- func (_m *Watcher) Complete(_a0 hcat.Notifier) bool
- func (_m *Watcher) Deregister(ns ...hcat.Notifier)
- func (_m *Watcher) EXPECT() *Watcher_Expecter
- func (_m *Watcher) MarkForSweep(notifier hcat.IDer)
- func (_m *Watcher) Recaller(_a0 hcat.Notifier) hcat.Recaller
- func (_m *Watcher) Register(ns ...hcat.Notifier) error
- func (_m *Watcher) SetBufferPeriod(min time.Duration, max time.Duration, tmplIDs ...string)
- func (_m *Watcher) Size() int
- func (_m *Watcher) Stop()
- func (_m *Watcher) Sweep(notifier hcat.IDer)
- func (_m *Watcher) WaitCh(_a0 context.Context) <-chan error
- func (_m *Watcher) Watch(_a0 context.Context, _a1 chan string) error
- type Watcher_BufferReset_Call
- type Watcher_Buffering_Call
- type Watcher_Clients_Call
- type Watcher_Complete_Call
- type Watcher_Deregister_Call
- type Watcher_Expecter
- func (_e *Watcher_Expecter) BufferReset(_a0 interface{}) *Watcher_BufferReset_Call
- func (_e *Watcher_Expecter) Buffering(_a0 interface{}) *Watcher_Buffering_Call
- func (_e *Watcher_Expecter) Clients() *Watcher_Clients_Call
- func (_e *Watcher_Expecter) Complete(_a0 interface{}) *Watcher_Complete_Call
- func (_e *Watcher_Expecter) Deregister(ns ...interface{}) *Watcher_Deregister_Call
- func (_e *Watcher_Expecter) MarkForSweep(notifier interface{}) *Watcher_MarkForSweep_Call
- func (_e *Watcher_Expecter) Recaller(_a0 interface{}) *Watcher_Recaller_Call
- func (_e *Watcher_Expecter) Register(ns ...interface{}) *Watcher_Register_Call
- func (_e *Watcher_Expecter) SetBufferPeriod(min interface{}, max interface{}, tmplIDs ...interface{}) *Watcher_SetBufferPeriod_Call
- func (_e *Watcher_Expecter) Size() *Watcher_Size_Call
- func (_e *Watcher_Expecter) Stop() *Watcher_Stop_Call
- func (_e *Watcher_Expecter) Sweep(notifier interface{}) *Watcher_Sweep_Call
- func (_e *Watcher_Expecter) WaitCh(_a0 interface{}) *Watcher_WaitCh_Call
- func (_e *Watcher_Expecter) Watch(_a0 interface{}, _a1 interface{}) *Watcher_Watch_Call
- type Watcher_MarkForSweep_Call
- type Watcher_Recaller_Call
- type Watcher_Register_Call
- type Watcher_SetBufferPeriod_Call
- type Watcher_Size_Call
- type Watcher_Stop_Call
- type Watcher_Sweep_Call
- type Watcher_WaitCh_Call
- type Watcher_Watch_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
Resolver is an autogenerated mock type for the Resolver type
func NewResolver ¶ added in v0.6.0
func NewResolver(t mockConstructorTestingTNewResolver) *Resolver
NewResolver creates a new instance of Resolver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Template ¶
Template is an autogenerated mock type for the Template type
func NewTemplate ¶ added in v0.6.0
func NewTemplate(t mockConstructorTestingTNewTemplate) *Template
NewTemplate creates a new instance of Template. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Template) EXPECT ¶ added in v0.7.0
func (_m *Template) EXPECT() *Template_Expecter
type Template_Execute_Call ¶ added in v0.7.0
Template_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*Template_Execute_Call) Return ¶ added in v0.7.0
func (_c *Template_Execute_Call) Return(_a0 []byte, _a1 error) *Template_Execute_Call
func (*Template_Execute_Call) Run ¶ added in v0.7.0
func (_c *Template_Execute_Call) Run(run func(_a0 hcat.Recaller)) *Template_Execute_Call
type Template_Expecter ¶ added in v0.7.0
type Template_Expecter struct {
// contains filtered or unexported fields
}
func (*Template_Expecter) Execute ¶ added in v0.7.0
func (_e *Template_Expecter) Execute(_a0 interface{}) *Template_Execute_Call
Execute is a helper method to define mock.On call
- _a0 hcat.Recaller
func (*Template_Expecter) ID ¶ added in v0.7.0
func (_e *Template_Expecter) ID() *Template_ID_Call
ID is a helper method to define mock.On call
func (*Template_Expecter) Notify ¶ added in v0.7.0
func (_e *Template_Expecter) Notify(_a0 interface{}) *Template_Notify_Call
Notify is a helper method to define mock.On call
- _a0 interface{}
func (*Template_Expecter) Render ¶ added in v0.7.0
func (_e *Template_Expecter) Render(content interface{}) *Template_Render_Call
Render is a helper method to define mock.On call
- content []byte
type Template_ID_Call ¶ added in v0.7.0
Template_ID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ID'
func (*Template_ID_Call) Return ¶ added in v0.7.0
func (_c *Template_ID_Call) Return(_a0 string) *Template_ID_Call
func (*Template_ID_Call) Run ¶ added in v0.7.0
func (_c *Template_ID_Call) Run(run func()) *Template_ID_Call
type Template_Notify_Call ¶ added in v0.7.0
Template_Notify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Notify'
func (*Template_Notify_Call) Return ¶ added in v0.7.0
func (_c *Template_Notify_Call) Return(_a0 bool) *Template_Notify_Call
func (*Template_Notify_Call) Run ¶ added in v0.7.0
func (_c *Template_Notify_Call) Run(run func(_a0 interface{})) *Template_Notify_Call
type Template_Render_Call ¶ added in v0.7.0
Template_Render_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Render'
func (*Template_Render_Call) Return ¶ added in v0.7.0
func (_c *Template_Render_Call) Return(_a0 hcat.RenderResult, _a1 error) *Template_Render_Call
func (*Template_Render_Call) Run ¶ added in v0.7.0
func (_c *Template_Render_Call) Run(run func(content []byte)) *Template_Render_Call
type Watcher ¶
Watcher is an autogenerated mock type for the Watcher type
func NewWatcher ¶ added in v0.6.0
func NewWatcher(t mockConstructorTestingTNewWatcher) *Watcher
NewWatcher creates a new instance of Watcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Watcher) BufferReset ¶ added in v0.4.3
BufferReset provides a mock function with given fields: _a0
func (*Watcher) Buffering ¶ added in v0.5.0
Buffering provides a mock function with given fields: _a0
func (*Watcher) Deregister ¶ added in v0.5.0
Deregister provides a mock function with given fields: ns
func (*Watcher) EXPECT ¶ added in v0.7.0
func (_m *Watcher) EXPECT() *Watcher_Expecter
func (*Watcher) MarkForSweep ¶ added in v0.5.0
MarkForSweep provides a mock function with given fields: notifier
func (*Watcher) SetBufferPeriod ¶
SetBufferPeriod provides a mock function with given fields: min, max, tmplIDs
type Watcher_BufferReset_Call ¶ added in v0.7.0
Watcher_BufferReset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BufferReset'
func (*Watcher_BufferReset_Call) Return ¶ added in v0.7.0
func (_c *Watcher_BufferReset_Call) Return() *Watcher_BufferReset_Call
func (*Watcher_BufferReset_Call) Run ¶ added in v0.7.0
func (_c *Watcher_BufferReset_Call) Run(run func(_a0 hcat.Notifier)) *Watcher_BufferReset_Call
type Watcher_Buffering_Call ¶ added in v0.7.0
Watcher_Buffering_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Buffering'
func (*Watcher_Buffering_Call) Return ¶ added in v0.7.0
func (_c *Watcher_Buffering_Call) Return(_a0 bool) *Watcher_Buffering_Call
func (*Watcher_Buffering_Call) Run ¶ added in v0.7.0
func (_c *Watcher_Buffering_Call) Run(run func(_a0 hcat.Notifier)) *Watcher_Buffering_Call
type Watcher_Clients_Call ¶ added in v0.7.0
Watcher_Clients_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clients'
func (*Watcher_Clients_Call) Return ¶ added in v0.7.0
func (_c *Watcher_Clients_Call) Return(_a0 hcat.Looker) *Watcher_Clients_Call
func (*Watcher_Clients_Call) Run ¶ added in v0.7.0
func (_c *Watcher_Clients_Call) Run(run func()) *Watcher_Clients_Call
type Watcher_Complete_Call ¶ added in v0.7.0
Watcher_Complete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Complete'
func (*Watcher_Complete_Call) Return ¶ added in v0.7.0
func (_c *Watcher_Complete_Call) Return(_a0 bool) *Watcher_Complete_Call
func (*Watcher_Complete_Call) Run ¶ added in v0.7.0
func (_c *Watcher_Complete_Call) Run(run func(_a0 hcat.Notifier)) *Watcher_Complete_Call
type Watcher_Deregister_Call ¶ added in v0.7.0
Watcher_Deregister_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deregister'
func (*Watcher_Deregister_Call) Return ¶ added in v0.7.0
func (_c *Watcher_Deregister_Call) Return() *Watcher_Deregister_Call
func (*Watcher_Deregister_Call) Run ¶ added in v0.7.0
func (_c *Watcher_Deregister_Call) Run(run func(ns ...hcat.Notifier)) *Watcher_Deregister_Call
type Watcher_Expecter ¶ added in v0.7.0
type Watcher_Expecter struct {
// contains filtered or unexported fields
}
func (*Watcher_Expecter) BufferReset ¶ added in v0.7.0
func (_e *Watcher_Expecter) BufferReset(_a0 interface{}) *Watcher_BufferReset_Call
BufferReset is a helper method to define mock.On call
- _a0 hcat.Notifier
func (*Watcher_Expecter) Buffering ¶ added in v0.7.0
func (_e *Watcher_Expecter) Buffering(_a0 interface{}) *Watcher_Buffering_Call
Buffering is a helper method to define mock.On call
- _a0 hcat.Notifier
func (*Watcher_Expecter) Clients ¶ added in v0.7.0
func (_e *Watcher_Expecter) Clients() *Watcher_Clients_Call
Clients is a helper method to define mock.On call
func (*Watcher_Expecter) Complete ¶ added in v0.7.0
func (_e *Watcher_Expecter) Complete(_a0 interface{}) *Watcher_Complete_Call
Complete is a helper method to define mock.On call
- _a0 hcat.Notifier
func (*Watcher_Expecter) Deregister ¶ added in v0.7.0
func (_e *Watcher_Expecter) Deregister(ns ...interface{}) *Watcher_Deregister_Call
Deregister is a helper method to define mock.On call
- ns ...hcat.Notifier
func (*Watcher_Expecter) MarkForSweep ¶ added in v0.7.0
func (_e *Watcher_Expecter) MarkForSweep(notifier interface{}) *Watcher_MarkForSweep_Call
MarkForSweep is a helper method to define mock.On call
- notifier hcat.IDer
func (*Watcher_Expecter) Recaller ¶ added in v0.7.0
func (_e *Watcher_Expecter) Recaller(_a0 interface{}) *Watcher_Recaller_Call
Recaller is a helper method to define mock.On call
- _a0 hcat.Notifier
func (*Watcher_Expecter) Register ¶ added in v0.7.0
func (_e *Watcher_Expecter) Register(ns ...interface{}) *Watcher_Register_Call
Register is a helper method to define mock.On call
- ns ...hcat.Notifier
func (*Watcher_Expecter) SetBufferPeriod ¶ added in v0.7.0
func (_e *Watcher_Expecter) SetBufferPeriod(min interface{}, max interface{}, tmplIDs ...interface{}) *Watcher_SetBufferPeriod_Call
SetBufferPeriod is a helper method to define mock.On call
- min time.Duration
- max time.Duration
- tmplIDs ...string
func (*Watcher_Expecter) Size ¶ added in v0.7.0
func (_e *Watcher_Expecter) Size() *Watcher_Size_Call
Size is a helper method to define mock.On call
func (*Watcher_Expecter) Stop ¶ added in v0.7.0
func (_e *Watcher_Expecter) Stop() *Watcher_Stop_Call
Stop is a helper method to define mock.On call
func (*Watcher_Expecter) Sweep ¶ added in v0.7.0
func (_e *Watcher_Expecter) Sweep(notifier interface{}) *Watcher_Sweep_Call
Sweep is a helper method to define mock.On call
- notifier hcat.IDer
func (*Watcher_Expecter) WaitCh ¶ added in v0.7.0
func (_e *Watcher_Expecter) WaitCh(_a0 interface{}) *Watcher_WaitCh_Call
WaitCh is a helper method to define mock.On call
- _a0 context.Context
func (*Watcher_Expecter) Watch ¶ added in v0.7.0
func (_e *Watcher_Expecter) Watch(_a0 interface{}, _a1 interface{}) *Watcher_Watch_Call
Watch is a helper method to define mock.On call
- _a0 context.Context
- _a1 chan string
type Watcher_MarkForSweep_Call ¶ added in v0.7.0
Watcher_MarkForSweep_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkForSweep'
func (*Watcher_MarkForSweep_Call) Return ¶ added in v0.7.0
func (_c *Watcher_MarkForSweep_Call) Return() *Watcher_MarkForSweep_Call
func (*Watcher_MarkForSweep_Call) Run ¶ added in v0.7.0
func (_c *Watcher_MarkForSweep_Call) Run(run func(notifier hcat.IDer)) *Watcher_MarkForSweep_Call
type Watcher_Recaller_Call ¶ added in v0.7.0
Watcher_Recaller_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Recaller'
func (*Watcher_Recaller_Call) Return ¶ added in v0.7.0
func (_c *Watcher_Recaller_Call) Return(_a0 hcat.Recaller) *Watcher_Recaller_Call
func (*Watcher_Recaller_Call) Run ¶ added in v0.7.0
func (_c *Watcher_Recaller_Call) Run(run func(_a0 hcat.Notifier)) *Watcher_Recaller_Call
type Watcher_Register_Call ¶ added in v0.7.0
Watcher_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'
func (*Watcher_Register_Call) Return ¶ added in v0.7.0
func (_c *Watcher_Register_Call) Return(_a0 error) *Watcher_Register_Call
func (*Watcher_Register_Call) Run ¶ added in v0.7.0
func (_c *Watcher_Register_Call) Run(run func(ns ...hcat.Notifier)) *Watcher_Register_Call
type Watcher_SetBufferPeriod_Call ¶ added in v0.7.0
Watcher_SetBufferPeriod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetBufferPeriod'
func (*Watcher_SetBufferPeriod_Call) Return ¶ added in v0.7.0
func (_c *Watcher_SetBufferPeriod_Call) Return() *Watcher_SetBufferPeriod_Call
func (*Watcher_SetBufferPeriod_Call) Run ¶ added in v0.7.0
func (_c *Watcher_SetBufferPeriod_Call) Run(run func(min time.Duration, max time.Duration, tmplIDs ...string)) *Watcher_SetBufferPeriod_Call
type Watcher_Size_Call ¶ added in v0.7.0
Watcher_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*Watcher_Size_Call) Return ¶ added in v0.7.0
func (_c *Watcher_Size_Call) Return(_a0 int) *Watcher_Size_Call
func (*Watcher_Size_Call) Run ¶ added in v0.7.0
func (_c *Watcher_Size_Call) Run(run func()) *Watcher_Size_Call
type Watcher_Stop_Call ¶ added in v0.7.0
Watcher_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*Watcher_Stop_Call) Return ¶ added in v0.7.0
func (_c *Watcher_Stop_Call) Return() *Watcher_Stop_Call
func (*Watcher_Stop_Call) Run ¶ added in v0.7.0
func (_c *Watcher_Stop_Call) Run(run func()) *Watcher_Stop_Call
type Watcher_Sweep_Call ¶ added in v0.7.0
Watcher_Sweep_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sweep'
func (*Watcher_Sweep_Call) Return ¶ added in v0.7.0
func (_c *Watcher_Sweep_Call) Return() *Watcher_Sweep_Call
func (*Watcher_Sweep_Call) Run ¶ added in v0.7.0
func (_c *Watcher_Sweep_Call) Run(run func(notifier hcat.IDer)) *Watcher_Sweep_Call
type Watcher_WaitCh_Call ¶ added in v0.7.0
Watcher_WaitCh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitCh'
func (*Watcher_WaitCh_Call) Return ¶ added in v0.7.0
func (_c *Watcher_WaitCh_Call) Return(_a0 <-chan error) *Watcher_WaitCh_Call
func (*Watcher_WaitCh_Call) Run ¶ added in v0.7.0
func (_c *Watcher_WaitCh_Call) Run(run func(_a0 context.Context)) *Watcher_WaitCh_Call
type Watcher_Watch_Call ¶ added in v0.7.0
Watcher_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*Watcher_Watch_Call) Return ¶ added in v0.7.0
func (_c *Watcher_Watch_Call) Return(_a0 error) *Watcher_Watch_Call
func (*Watcher_Watch_Call) Run ¶ added in v0.7.0
func (_c *Watcher_Watch_Call) Run(run func(_a0 context.Context, _a1 chan string)) *Watcher_Watch_Call