Documentation ¶
Index ¶
- type Event
- func (_m *Event) At(time string) schedule.Event
- func (_m *Event) Cron(expression string) schedule.Event
- func (_m *Event) Daily() schedule.Event
- func (_m *Event) DailyAt(time string) schedule.Event
- func (_m *Event) DelayIfStillRunning() schedule.Event
- func (_m *Event) EveryFifteenMinutes() schedule.Event
- func (_m *Event) EveryFiveMinutes() schedule.Event
- func (_m *Event) EveryFourHours() schedule.Event
- func (_m *Event) EveryFourMinutes() schedule.Event
- func (_m *Event) EveryMinute() schedule.Event
- func (_m *Event) EverySixHours() schedule.Event
- func (_m *Event) EveryTenMinutes() schedule.Event
- func (_m *Event) EveryThirtyMinutes() schedule.Event
- func (_m *Event) EveryThreeHours() schedule.Event
- func (_m *Event) EveryThreeMinutes() schedule.Event
- func (_m *Event) EveryTwoHours() schedule.Event
- func (_m *Event) EveryTwoMinutes() schedule.Event
- func (_m *Event) GetCallback() func()
- func (_m *Event) GetCommand() string
- func (_m *Event) GetCron() string
- func (_m *Event) GetDelayIfStillRunning() bool
- func (_m *Event) GetSkipIfStillRunning() bool
- func (_m *Event) Hourly() schedule.Event
- func (_m *Event) HourlyAt(offset []string) schedule.Event
- func (_m *Event) SkipIfStillRunning() schedule.Event
- type Schedule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
Event is an autogenerated mock type for the Event type
func NewEvent ¶
func NewEvent(t mockConstructorTestingTNewEvent) *Event
NewEvent creates a new instance of Event. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Event) DelayIfStillRunning ¶
DelayIfStillRunning provides a mock function with given fields:
func (*Event) EveryFifteenMinutes ¶
EveryFifteenMinutes provides a mock function with given fields:
func (*Event) EveryFiveMinutes ¶
EveryFiveMinutes provides a mock function with given fields:
func (*Event) EveryFourHours ¶
EveryFourHours provides a mock function with given fields:
func (*Event) EveryFourMinutes ¶
EveryFourMinutes provides a mock function with given fields:
func (*Event) EveryMinute ¶
EveryMinute provides a mock function with given fields:
func (*Event) EverySixHours ¶
EverySixHours provides a mock function with given fields:
func (*Event) EveryTenMinutes ¶
EveryTenMinutes provides a mock function with given fields:
func (*Event) EveryThirtyMinutes ¶
EveryThirtyMinutes provides a mock function with given fields:
func (*Event) EveryThreeHours ¶
EveryThreeHours provides a mock function with given fields:
func (*Event) EveryThreeMinutes ¶
EveryThreeMinutes provides a mock function with given fields:
func (*Event) EveryTwoHours ¶
EveryTwoHours provides a mock function with given fields:
func (*Event) EveryTwoMinutes ¶
EveryTwoMinutes provides a mock function with given fields:
func (*Event) GetCallback ¶
func (_m *Event) GetCallback() func()
GetCallback provides a mock function with given fields:
func (*Event) GetCommand ¶
GetCommand provides a mock function with given fields:
func (*Event) GetDelayIfStillRunning ¶
GetDelayIfStillRunning provides a mock function with given fields:
func (*Event) GetSkipIfStillRunning ¶
GetSkipIfStillRunning provides a mock function with given fields:
func (*Event) SkipIfStillRunning ¶
SkipIfStillRunning provides a mock function with given fields:
type Schedule ¶
Schedule is an autogenerated mock type for the Schedule type
func NewSchedule ¶
func NewSchedule(t mockConstructorTestingTNewSchedule) *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.