mocks

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	mock.Mock
}

Resolver is an autogenerated mock type for the Resolver type

func (*Resolver) Run

Run provides a mock function with given fields: tmpl, w

type Template

type Template struct {
	mock.Mock
}

Template is an autogenerated mock type for the Template type

func (*Template) Execute

func (_m *Template) Execute(_a0 hcat.Recaller) ([]byte, error)

Execute provides a mock function with given fields: _a0

func (*Template) ID

func (_m *Template) ID() string

ID provides a mock function with given fields:

func (*Template) Notify added in v0.1.3

func (_m *Template) Notify(_a0 interface{}) bool

Notify provides a mock function with given fields: _a0

func (*Template) Render

func (_m *Template) Render(content []byte) (hcat.RenderResult, error)

Render provides a mock function with given fields: content

type Watcher

type Watcher struct {
	mock.Mock
}

Watcher is an autogenerated mock type for the Watcher type

func (*Watcher) Buffer

func (_m *Watcher) Buffer(tmplID string) bool

Buffer provides a mock function with given fields: tmplID

func (*Watcher) Complete

func (_m *Watcher) Complete(_a0 hcat.Notifier) bool

Complete provides a mock function with given fields: _a0

func (*Watcher) Mark added in v0.1.3

func (_m *Watcher) Mark(notifier hcat.IDer)

Mark provides a mock function with given fields: notifier

func (*Watcher) Recaller

func (_m *Watcher) Recaller(_a0 hcat.Notifier) hcat.Recaller

Recaller provides a mock function with given fields: _a0

func (*Watcher) SetBufferPeriod

func (_m *Watcher) SetBufferPeriod(min time.Duration, max time.Duration, tmplIDs ...string)

SetBufferPeriod provides a mock function with given fields: min, max, tmplIDs

func (*Watcher) Size

func (_m *Watcher) Size() int

Size provides a mock function with given fields:

func (*Watcher) Stop

func (_m *Watcher) Stop()

Stop provides a mock function with given fields:

func (*Watcher) Sweep added in v0.1.3

func (_m *Watcher) Sweep(notifier hcat.IDer)

Sweep provides a mock function with given fields: notifier

func (*Watcher) WaitCh

func (_m *Watcher) WaitCh(_a0 context.Context) <-chan error

WaitCh provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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