mocks

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	mock.Mock
}

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

func (_m *Store) AddTaskEvent(_a0 event.Event) error

AddTaskEvent provides a mock function with given fields: _a0

func (*Store) DeleteTask

func (_m *Store) DeleteTask(taskName string) error

DeleteTask provides a mock function with given fields: taskName

func (*Store) DeleteTaskEvents

func (_m *Store) DeleteTaskEvents(taskName string) error

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) GetConfig

func (_m *Store) GetConfig() config.Config

GetConfig 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

func (_m *Store) GetTaskEvents(taskName string) map[string][]event.Event

GetTaskEvents provides a mock function with given fields: taskName

func (*Store) SetTask

func (_m *Store) SetTask(taskConf config.TaskConfig) error

SetTask provides a mock function with given fields: taskConf

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL