schedulermocks

package
v0.0.0-...-906b757 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	mock.Mock
}

Router is an autogenerated mock type for the Router type

func (*Router) Close

func (_m *Router) Close() error

Close provides a mock function with given fields:

func (*Router) Publish

func (_m *Router) Publish(ctx context.Context, msgType string, data []byte, attributes map[string]string) (msgqueue.PublishResult, error)

Publish provides a mock function with given fields: ctx, msgType, data, attributes

type TimeSource

type TimeSource struct {
	mock.Mock
}

TimeSource is an autogenerated mock type for the TimeSource type

func (*TimeSource) Now

func (_m *TimeSource) Now() time.Time

Now provides a mock function with given fields:

Jump to

Keyboard shortcuts

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