Documentation ¶
Index ¶
- type Store
- func (s *Store) BatchCreatTaskIns(taskIns []*entity.TaskInstance) error
- func (s *Store) BatchDeleteDag(ids []string) error
- func (s *Store) BatchDeleteDagIns(ids []string) error
- func (s *Store) BatchDeleteTaskIns(ids []string) error
- func (s *Store) BatchUpdateDagIns(dagIns []*entity.DagInstance) error
- func (s *Store) BatchUpdateTaskIns(taskIns []*entity.TaskInstance) error
- func (s *Store) Close()
- func (s *Store) CreateDag(dag *entity.Dag) error
- func (s *Store) CreateDagIns(dagIns *entity.DagInstance) error
- func (s *Store) CreateTaskIns(taskIns *entity.TaskInstance) error
- func (s *Store) GetDag(dagId string) (*entity.Dag, error)
- func (s *Store) GetDagInstance(dagInsId string) (*entity.DagInstance, error)
- func (s *Store) GetTaskIns(taskInsId string) (*entity.TaskInstance, error)
- func (s *Store) Init() error
- func (s *Store) ListDag(input *mod.ListDagInput) ([]*entity.Dag, error)
- func (s *Store) ListDagInstance(input *mod.ListDagInstanceInput) ([]*entity.DagInstance, error)
- func (s *Store) ListTaskInstance(input *mod.ListTaskInstanceInput) ([]*entity.TaskInstance, error)
- func (s *Store) Marshal(obj interface{}) ([]byte, error)
- func (s *Store) PatchDagIns(dagIns *entity.DagInstance, mustsPatchFields ...string) error
- func (s *Store) PatchTaskIns(taskIns *entity.TaskInstance) error
- func (s *Store) Unmarshal(bytes []byte, ptr interface{}) error
- func (s *Store) UpdateDag(dag *entity.Dag) error
- func (s *Store) UpdateDagIns(dagIns *entity.DagInstance) error
- func (s *Store) UpdateTaskIns(taskIns *entity.TaskInstance) error
- type StoreOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store
func (*Store) BatchCreatTaskIns ¶
func (s *Store) BatchCreatTaskIns(taskIns []*entity.TaskInstance) error
BatchCreatTaskIns
func (*Store) BatchDeleteDag ¶
BatchDeleteDag only for test
func (*Store) BatchDeleteDagIns ¶
BatchDeleteDagIns only for test
func (*Store) BatchDeleteTaskIns ¶
BatchDeleteTaskIns only for test
func (*Store) BatchUpdateDagIns ¶
func (s *Store) BatchUpdateDagIns(dagIns []*entity.DagInstance) error
BatchUpdateDagIns
func (*Store) BatchUpdateTaskIns ¶
func (s *Store) BatchUpdateTaskIns(taskIns []*entity.TaskInstance) error
BatchUpdateTaskIns
func (*Store) CreateDagIns ¶
func (s *Store) CreateDagIns(dagIns *entity.DagInstance) error
CreateDagIns
func (*Store) CreateTaskIns ¶
func (s *Store) CreateTaskIns(taskIns *entity.TaskInstance) error
CreateTaskIns
func (*Store) GetDagInstance ¶
func (s *Store) GetDagInstance(dagInsId string) (*entity.DagInstance, error)
GetDagInstance
func (*Store) GetTaskIns ¶
func (s *Store) GetTaskIns(taskInsId string) (*entity.TaskInstance, error)
GetTaskIns
func (*Store) ListDagInstance ¶
func (s *Store) ListDagInstance(input *mod.ListDagInstanceInput) ([]*entity.DagInstance, error)
ListDagInstance
func (*Store) ListTaskInstance ¶
func (s *Store) ListTaskInstance(input *mod.ListTaskInstanceInput) ([]*entity.TaskInstance, error)
ListTaskInstance
func (*Store) PatchDagIns ¶
func (s *Store) PatchDagIns(dagIns *entity.DagInstance, mustsPatchFields ...string) error
PatchDagIns
func (*Store) PatchTaskIns ¶
func (s *Store) PatchTaskIns(taskIns *entity.TaskInstance) error
PatchTaskIns
func (*Store) UpdateDagIns ¶
func (s *Store) UpdateDagIns(dagIns *entity.DagInstance) error
UpdateDagIns
func (*Store) UpdateTaskIns ¶
func (s *Store) UpdateTaskIns(taskIns *entity.TaskInstance) error
UpdateTaskIns
Click to show internal directories.
Click to hide internal directories.