mocks

package
v1.17.13 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 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 Schedule

type Schedule struct {
	mock.Mock
}

Schedule is an autogenerated mock type for the Schedule type

func NewSchedule

func NewSchedule(t interface {
	mock.TestingT
	Cleanup(func())
}) *Schedule

NewSchedule creates a new instance of Schedule. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Schedule) Next

func (_m *Schedule) Next(_a0 time.Time) time.Time

Next provides a mock function with given fields: _a0

func (*Schedule) NextInterval

func (_m *Schedule) NextInterval(_a0 time.Time) time.Duration

NextInterval 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