Documentation ¶
Index ¶
- type Store
- func (_m *Store) AddTaskEvent(_a0 event.Event) error
- func (_m *Store) DeleteTask(taskName string) error
- func (_m *Store) DeleteTaskEvents(taskName string) error
- func (_m *Store) GetAllTasks() config.TaskConfigs
- func (_m *Store) GetConfig() config.Config
- func (_m *Store) GetTask(taskName string) (config.TaskConfig, bool)
- func (_m *Store) GetTaskEvents(taskName string) map[string][]event.Event
- func (_m *Store) SetTask(taskConf config.TaskConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
func NewStore(t mockConstructorTestingTNewStore) *Store
NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Store) AddTaskEvent ¶
AddTaskEvent provides a mock function with given fields: _a0
func (*Store) DeleteTask ¶
DeleteTask provides a mock function with given fields: taskName
func (*Store) DeleteTaskEvents ¶
DeleteTaskEvents provides a mock function with given fields: taskName
func (*Store) GetAllTasks ¶
func (_m *Store) GetAllTasks() config.TaskConfigs
GetAllTasks provides a mock function with given fields:
func (*Store) GetTask ¶
func (_m *Store) GetTask(taskName string) (config.TaskConfig, bool)
GetTask provides a mock function with given fields: taskName
func (*Store) GetTaskEvents ¶
GetTaskEvents provides a mock function with given fields: taskName
Click to show internal directories.
Click to hide internal directories.