Documentation ¶
Index ¶
- type DBClient
- func (_m *DBClient) AddInterval(interval models.Interval) (string, error)
- func (_m *DBClient) AddIntervalAction(intervalAction models.IntervalAction) (string, error)
- func (_m *DBClient) CloseSession()
- func (_m *DBClient) DeleteIntervalActionById(id string) error
- func (_m *DBClient) DeleteIntervalById(id string) error
- func (_m *DBClient) IntervalActionById(id string) (models.IntervalAction, error)
- func (_m *DBClient) IntervalActionByName(name string) (models.IntervalAction, error)
- func (_m *DBClient) IntervalActions() ([]models.IntervalAction, error)
- func (_m *DBClient) IntervalActionsByIntervalName(name string) ([]models.IntervalAction, error)
- func (_m *DBClient) IntervalActionsByTarget(name string) ([]models.IntervalAction, error)
- func (_m *DBClient) IntervalActionsWithLimit(limit int) ([]models.IntervalAction, error)
- func (_m *DBClient) IntervalById(id string) (models.Interval, error)
- func (_m *DBClient) IntervalByName(name string) (models.Interval, error)
- func (_m *DBClient) Intervals() ([]models.Interval, error)
- func (_m *DBClient) IntervalsWithLimit(limit int) ([]models.Interval, error)
- func (_m *DBClient) ScrubAllIntervalActions() (int, error)
- func (_m *DBClient) ScrubAllIntervals() (int, error)
- func (_m *DBClient) UpdateInterval(interval models.Interval) error
- func (_m *DBClient) UpdateIntervalAction(intervalAction models.IntervalAction) error
- type SchedulerQueueClient
- func (_m *SchedulerQueueClient) AddIntervalActionToQueue(intervalAction models.IntervalAction) error
- func (_m *SchedulerQueueClient) AddIntervalToQueue(interval models.Interval) error
- func (_m *SchedulerQueueClient) Connect() (string, error)
- func (_m *SchedulerQueueClient) QueryIntervalActionByID(intervalActionId string) (models.IntervalAction, error)
- func (_m *SchedulerQueueClient) QueryIntervalActionByName(intervalActionName string) (models.IntervalAction, error)
- func (_m *SchedulerQueueClient) QueryIntervalByID(intervalId string) (models.Interval, error)
- func (_m *SchedulerQueueClient) QueryIntervalByName(intervalName string) (models.Interval, error)
- func (_m *SchedulerQueueClient) RemoveIntervalActionQueue(intervalActionId string) error
- func (_m *SchedulerQueueClient) RemoveIntervalInQueue(intervalId string) error
- func (_m *SchedulerQueueClient) UpdateIntervalActionQueue(intervalAction models.IntervalAction) error
- func (_m *SchedulerQueueClient) UpdateIntervalInQueue(interval models.Interval) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBClient ¶
DBClient is an autogenerated mock type for the DBClient type
func (*DBClient) AddInterval ¶
AddInterval provides a mock function with given fields: interval
func (*DBClient) AddIntervalAction ¶
func (_m *DBClient) AddIntervalAction(intervalAction models.IntervalAction) (string, error)
AddIntervalAction provides a mock function with given fields: intervalAction
func (*DBClient) CloseSession ¶
func (_m *DBClient) CloseSession()
CloseSession provides a mock function with given fields:
func (*DBClient) DeleteIntervalActionById ¶
DeleteIntervalActionById provides a mock function with given fields: id
func (*DBClient) DeleteIntervalById ¶
DeleteIntervalById provides a mock function with given fields: id
func (*DBClient) IntervalActionById ¶
func (_m *DBClient) IntervalActionById(id string) (models.IntervalAction, error)
IntervalActionById provides a mock function with given fields: id
func (*DBClient) IntervalActionByName ¶
func (_m *DBClient) IntervalActionByName(name string) (models.IntervalAction, error)
IntervalActionByName provides a mock function with given fields: name
func (*DBClient) IntervalActions ¶
func (_m *DBClient) IntervalActions() ([]models.IntervalAction, error)
IntervalActions provides a mock function with given fields:
func (*DBClient) IntervalActionsByIntervalName ¶
func (_m *DBClient) IntervalActionsByIntervalName(name string) ([]models.IntervalAction, error)
IntervalActionsByIntervalName provides a mock function with given fields: name
func (*DBClient) IntervalActionsByTarget ¶
func (_m *DBClient) IntervalActionsByTarget(name string) ([]models.IntervalAction, error)
IntervalActionsByTarget provides a mock function with given fields: name
func (*DBClient) IntervalActionsWithLimit ¶
func (_m *DBClient) IntervalActionsWithLimit(limit int) ([]models.IntervalAction, error)
IntervalActionsWithLimit provides a mock function with given fields: limit
func (*DBClient) IntervalById ¶
IntervalById provides a mock function with given fields: id
func (*DBClient) IntervalByName ¶
IntervalByName provides a mock function with given fields: name
func (*DBClient) IntervalsWithLimit ¶
IntervalsWithLimit provides a mock function with given fields: limit
func (*DBClient) ScrubAllIntervalActions ¶
ScrubAllIntervalActions provides a mock function with given fields:
func (*DBClient) ScrubAllIntervals ¶
ScrubAllIntervals provides a mock function with given fields:
func (*DBClient) UpdateInterval ¶
UpdateInterval provides a mock function with given fields: interval
func (*DBClient) UpdateIntervalAction ¶
func (_m *DBClient) UpdateIntervalAction(intervalAction models.IntervalAction) error
UpdateIntervalAction provides a mock function with given fields: intervalAction
type SchedulerQueueClient ¶
SchedulerQueueClient is an autogenerated mock type for the SchedulerQueueClient type
func (*SchedulerQueueClient) AddIntervalActionToQueue ¶
func (_m *SchedulerQueueClient) AddIntervalActionToQueue(intervalAction models.IntervalAction) error
AddIntervalActionToQueue provides a mock function with given fields: intervalAction
func (*SchedulerQueueClient) AddIntervalToQueue ¶
func (_m *SchedulerQueueClient) AddIntervalToQueue(interval models.Interval) error
AddIntervalToQueue provides a mock function with given fields: interval
func (*SchedulerQueueClient) Connect ¶
func (_m *SchedulerQueueClient) Connect() (string, error)
Connect provides a mock function with given fields:
func (*SchedulerQueueClient) QueryIntervalActionByID ¶
func (_m *SchedulerQueueClient) QueryIntervalActionByID(intervalActionId string) (models.IntervalAction, error)
QueryIntervalActionByID provides a mock function with given fields: intervalActionId
func (*SchedulerQueueClient) QueryIntervalActionByName ¶
func (_m *SchedulerQueueClient) QueryIntervalActionByName(intervalActionName string) (models.IntervalAction, error)
QueryIntervalActionByName provides a mock function with given fields: intervalActionName
func (*SchedulerQueueClient) QueryIntervalByID ¶
func (_m *SchedulerQueueClient) QueryIntervalByID(intervalId string) (models.Interval, error)
QueryIntervalByID provides a mock function with given fields: intervalId
func (*SchedulerQueueClient) QueryIntervalByName ¶
func (_m *SchedulerQueueClient) QueryIntervalByName(intervalName string) (models.Interval, error)
QueryIntervalByName provides a mock function with given fields: intervalName
func (*SchedulerQueueClient) RemoveIntervalActionQueue ¶
func (_m *SchedulerQueueClient) RemoveIntervalActionQueue(intervalActionId string) error
RemoveIntervalActionQueue provides a mock function with given fields: intervalActionId
func (*SchedulerQueueClient) RemoveIntervalInQueue ¶
func (_m *SchedulerQueueClient) RemoveIntervalInQueue(intervalId string) error
RemoveIntervalInQueue provides a mock function with given fields: intervalId
func (*SchedulerQueueClient) UpdateIntervalActionQueue ¶
func (_m *SchedulerQueueClient) UpdateIntervalActionQueue(intervalAction models.IntervalAction) error
UpdateIntervalActionQueue provides a mock function with given fields: intervalAction
func (*SchedulerQueueClient) UpdateIntervalInQueue ¶
func (_m *SchedulerQueueClient) UpdateIntervalInQueue(interval models.Interval) error
UpdateIntervalInQueue provides a mock function with given fields: interval