Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) EXPECT() *Manager_Expecter
- func (_m *Manager) Init() error
- func (_m *Manager) MustInit() scheduler.Manager
- func (_m *Manager) StartAsync()
- func (_m *Manager) StartBlocking()
- func (_m *Manager) WithSupportSeconds() scheduler.Manager
- func (_m *Manager) WithTasks(tasks ...func()) scheduler.Manager
- func (_m *Manager) WithTimeZone(zone *time.Location) scheduler.Manager
- type Manager_Expecter
- func (_e *Manager_Expecter) Init() *Manager_Init_Call
- func (_e *Manager_Expecter) MustInit() *Manager_MustInit_Call
- func (_e *Manager_Expecter) StartAsync() *Manager_StartAsync_Call
- func (_e *Manager_Expecter) StartBlocking() *Manager_StartBlocking_Call
- func (_e *Manager_Expecter) WithSupportSeconds() *Manager_WithSupportSeconds_Call
- func (_e *Manager_Expecter) WithTasks(tasks ...interface{}) *Manager_WithTasks_Call
- func (_e *Manager_Expecter) WithTimeZone(zone interface{}) *Manager_WithTimeZone_Call
- type Manager_Init_Call
- type Manager_MustInit_Call
- type Manager_StartAsync_Call
- type Manager_StartBlocking_Call
- type Manager_WithSupportSeconds_Call
- func (_c *Manager_WithSupportSeconds_Call) Return(_a0 scheduler.Manager) *Manager_WithSupportSeconds_Call
- func (_c *Manager_WithSupportSeconds_Call) Run(run func()) *Manager_WithSupportSeconds_Call
- func (_c *Manager_WithSupportSeconds_Call) RunAndReturn(run func() scheduler.Manager) *Manager_WithSupportSeconds_Call
- type Manager_WithTasks_Call
- type Manager_WithTimeZone_Call
- func (_c *Manager_WithTimeZone_Call) Return(_a0 scheduler.Manager) *Manager_WithTimeZone_Call
- func (_c *Manager_WithTimeZone_Call) Run(run func(zone *time.Location)) *Manager_WithTimeZone_Call
- func (_c *Manager_WithTimeZone_Call) RunAndReturn(run func(*time.Location) scheduler.Manager) *Manager_WithTimeZone_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
NewManager creates a new instance of Manager. 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 (*Manager) EXPECT ¶
func (_m *Manager) EXPECT() *Manager_Expecter
func (*Manager) StartAsync ¶
func (_m *Manager) StartAsync()
StartAsync provides a mock function with given fields:
func (*Manager) StartBlocking ¶
func (_m *Manager) StartBlocking()
StartBlocking provides a mock function with given fields:
func (*Manager) WithSupportSeconds ¶
WithSupportSeconds provides a mock function with given fields:
type Manager_Expecter ¶
type Manager_Expecter struct {
// contains filtered or unexported fields
}
func (*Manager_Expecter) Init ¶
func (_e *Manager_Expecter) Init() *Manager_Init_Call
Init is a helper method to define mock.On call
func (*Manager_Expecter) MustInit ¶
func (_e *Manager_Expecter) MustInit() *Manager_MustInit_Call
MustInit is a helper method to define mock.On call
func (*Manager_Expecter) StartAsync ¶
func (_e *Manager_Expecter) StartAsync() *Manager_StartAsync_Call
StartAsync is a helper method to define mock.On call
func (*Manager_Expecter) StartBlocking ¶
func (_e *Manager_Expecter) StartBlocking() *Manager_StartBlocking_Call
StartBlocking is a helper method to define mock.On call
func (*Manager_Expecter) WithSupportSeconds ¶
func (_e *Manager_Expecter) WithSupportSeconds() *Manager_WithSupportSeconds_Call
WithSupportSeconds is a helper method to define mock.On call
func (*Manager_Expecter) WithTasks ¶
func (_e *Manager_Expecter) WithTasks(tasks ...interface{}) *Manager_WithTasks_Call
WithTasks is a helper method to define mock.On call
- tasks ...func()
func (*Manager_Expecter) WithTimeZone ¶
func (_e *Manager_Expecter) WithTimeZone(zone interface{}) *Manager_WithTimeZone_Call
WithTimeZone is a helper method to define mock.On call
- zone *time.Location
type Manager_Init_Call ¶
Manager_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'
func (*Manager_Init_Call) Return ¶
func (_c *Manager_Init_Call) Return(_a0 error) *Manager_Init_Call
func (*Manager_Init_Call) Run ¶
func (_c *Manager_Init_Call) Run(run func()) *Manager_Init_Call
func (*Manager_Init_Call) RunAndReturn ¶
func (_c *Manager_Init_Call) RunAndReturn(run func() error) *Manager_Init_Call
type Manager_MustInit_Call ¶
Manager_MustInit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MustInit'
func (*Manager_MustInit_Call) Return ¶
func (_c *Manager_MustInit_Call) Return(_a0 scheduler.Manager) *Manager_MustInit_Call
func (*Manager_MustInit_Call) Run ¶
func (_c *Manager_MustInit_Call) Run(run func()) *Manager_MustInit_Call
func (*Manager_MustInit_Call) RunAndReturn ¶
func (_c *Manager_MustInit_Call) RunAndReturn(run func() scheduler.Manager) *Manager_MustInit_Call
type Manager_StartAsync_Call ¶
Manager_StartAsync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartAsync'
func (*Manager_StartAsync_Call) Return ¶
func (_c *Manager_StartAsync_Call) Return() *Manager_StartAsync_Call
func (*Manager_StartAsync_Call) Run ¶
func (_c *Manager_StartAsync_Call) Run(run func()) *Manager_StartAsync_Call
func (*Manager_StartAsync_Call) RunAndReturn ¶
func (_c *Manager_StartAsync_Call) RunAndReturn(run func()) *Manager_StartAsync_Call
type Manager_StartBlocking_Call ¶
Manager_StartBlocking_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartBlocking'
func (*Manager_StartBlocking_Call) Return ¶
func (_c *Manager_StartBlocking_Call) Return() *Manager_StartBlocking_Call
func (*Manager_StartBlocking_Call) Run ¶
func (_c *Manager_StartBlocking_Call) Run(run func()) *Manager_StartBlocking_Call
func (*Manager_StartBlocking_Call) RunAndReturn ¶
func (_c *Manager_StartBlocking_Call) RunAndReturn(run func()) *Manager_StartBlocking_Call
type Manager_WithSupportSeconds_Call ¶
Manager_WithSupportSeconds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithSupportSeconds'
func (*Manager_WithSupportSeconds_Call) Return ¶
func (_c *Manager_WithSupportSeconds_Call) Return(_a0 scheduler.Manager) *Manager_WithSupportSeconds_Call
func (*Manager_WithSupportSeconds_Call) Run ¶
func (_c *Manager_WithSupportSeconds_Call) Run(run func()) *Manager_WithSupportSeconds_Call
func (*Manager_WithSupportSeconds_Call) RunAndReturn ¶
func (_c *Manager_WithSupportSeconds_Call) RunAndReturn(run func() scheduler.Manager) *Manager_WithSupportSeconds_Call
type Manager_WithTasks_Call ¶
Manager_WithTasks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithTasks'
func (*Manager_WithTasks_Call) Return ¶
func (_c *Manager_WithTasks_Call) Return(_a0 scheduler.Manager) *Manager_WithTasks_Call
func (*Manager_WithTasks_Call) Run ¶
func (_c *Manager_WithTasks_Call) Run(run func(tasks ...func())) *Manager_WithTasks_Call
func (*Manager_WithTasks_Call) RunAndReturn ¶
func (_c *Manager_WithTasks_Call) RunAndReturn(run func(...func()) scheduler.Manager) *Manager_WithTasks_Call
type Manager_WithTimeZone_Call ¶
Manager_WithTimeZone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithTimeZone'
func (*Manager_WithTimeZone_Call) Return ¶
func (_c *Manager_WithTimeZone_Call) Return(_a0 scheduler.Manager) *Manager_WithTimeZone_Call
func (*Manager_WithTimeZone_Call) Run ¶
func (_c *Manager_WithTimeZone_Call) Run(run func(zone *time.Location)) *Manager_WithTimeZone_Call
func (*Manager_WithTimeZone_Call) RunAndReturn ¶
func (_c *Manager_WithTimeZone_Call) RunAndReturn(run func(*time.Location) scheduler.Manager) *Manager_WithTimeZone_Call