Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DAGStatus ¶
type DAGStore ¶
type DAGStore interface { Create(name string, spec []byte) (string, error) Delete(name string) error List() (ret []*dag.DAG, errs []string, err error) GetMetadata(name string) (*dag.DAG, error) GetDetails(name string) (*dag.DAG, error) Grep(pattern string) (ret []*GrepResult, errs []string, err error) Load(name string) (*dag.DAG, error) Rename(oldName, newName string) error GetSpec(name string) (string, error) UpdateSpec(name string, spec []byte) error }
type DataStoreFactory ¶
type DataStoreFactory interface { NewHistoryStore() HistoryStore NewDAGStore() DAGStore NewFlagStore() FlagStore }
type HistoryStore ¶
type HistoryStore interface { Open(dagFile string, t time.Time, requestId string) error Write(st *model.Status) error Close() error Update(dagFile, requestId string, st *model.Status) error ReadStatusRecent(dagFile string, n int) []*model.StatusFile ReadStatusToday(dagFile string) (*model.Status, error) FindByRequestId(dagFile string, requestId string) (*model.StatusFile, error) RemoveAll(dagFile string) error RemoveOld(dagFile string, retentionDays int) error Rename(oldName, newName string) error }
Click to show internal directories.
Click to hide internal directories.