cmocks

package
v6.7.3-0...-1f455d7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 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 Drainable

type Drainable struct {
	mock.Mock
}

Drainable is an autogenerated mock type for the Drainable type

func (*Drainable) Drain

func (_m *Drainable) Drain(_a0 context.Context)

Drain provides a mock function with given fields: _a0

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 RunFunc

type RunFunc struct {
	mock.Mock
}

RunFunc is an autogenerated mock type for the RunFunc type

func (*RunFunc) Execute

func (_m *RunFunc) Execute(_a0 context.Context) error

Execute provides a mock function with given fields: _a0

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