Versions in this module Expand all Collapse all v2 v2.1.1 Dec 9, 2025 v2.0.0 Jun 18, 2023 Changes in this version + type TaskAPI struct + func New(ctx context.Context, logger *zap.Logger, storage storageTY.Plugin, ...) *TaskAPI + func (t *TaskAPI) Add(task *taskTY.Config) error + func (t *TaskAPI) Delete(IDs []string) (int64, error) + func (t *TaskAPI) Disable(ids []string) error + func (t *TaskAPI) Enable(ids []string) error + func (t *TaskAPI) Get(filters []storageTY.Filter) (*taskTY.Config, error) + func (t *TaskAPI) GetByID(id string) (*taskTY.Config, error) + func (t *TaskAPI) GetEntityInterface() interface{} + func (t *TaskAPI) Import(data interface{}) error + func (t *TaskAPI) List(filters []storageTY.Filter, pagination *storageTY.Pagination) (*storageTY.Result, error) + func (t *TaskAPI) LoadAll() + func (t *TaskAPI) Reload(ids []string) error + func (t *TaskAPI) Remove(task *taskTY.Config) error + func (t *TaskAPI) Save(task *taskTY.Config) error + func (t *TaskAPI) SaveAndReload(cfg *taskTY.Config) error + func (t *TaskAPI) SetState(id string, state *taskTY.State) error + func (t *TaskAPI) UnloadAll()