cmocks

package
v6.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 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 Component

type Component struct {
	mock.Mock
}

Component is an autogenerated mock type for the Component type

func (*Component) IntervalElapsed

func (_m *Component) IntervalElapsed() bool

IntervalElapsed provides a mock function with given fields:

func (*Component) Name

func (_m *Component) Name() string

Name provides a mock function with given fields:

func (*Component) Paused

func (_m *Component) Paused() bool

Paused provides a mock function with given fields:

func (*Component) Reload

func (_m *Component) Reload() (bool, error)

Reload provides a mock function with given fields:

func (*Component) UpdateLastRan

func (_m *Component) UpdateLastRan() error

UpdateLastRan provides a mock function with given fields:

type NotificationsBus

type NotificationsBus struct {
	mock.Mock
}

NotificationsBus is an autogenerated mock type for the NotificationsBus type

func (*NotificationsBus) Listen

func (_m *NotificationsBus) Listen(_a0 string) (chan bool, error)

Listen provides a mock function with given fields: _a0

func (*NotificationsBus) Unlisten

func (_m *NotificationsBus) Unlisten(_a0 string, _a1 chan bool) error

Unlisten provides a mock function with given fields: _a0, _a1

type Runnable

type Runnable struct {
	mock.Mock
}

Runnable is an autogenerated mock type for the Runnable type

func (*Runnable) Run

func (_m *Runnable) Run(_a0 context.Context) error

Run provides a mock function with given fields: _a0

type Schedulable

type Schedulable struct {
	mock.Mock
}

Schedulable is an autogenerated mock type for the Schedulable type

func (*Schedulable) RunImmediately

func (_m *Schedulable) RunImmediately(_a0 context.Context)

RunImmediately provides a mock function with given fields: _a0

func (*Schedulable) RunPeriodically

func (_m *Schedulable) RunPeriodically(_a0 context.Context)

RunPeriodically 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