Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DAGListPaginationArgs ¶ added in v1.0.6
type DAGStore ¶
type DAGStore interface { Create(name string, spec []byte) (string, error) Delete(name string) error List() (ret []*dag.DAG, errs []string, err error) ListPagination(params DAGListPaginationArgs) (*DagListPaginationResult, error) GetMetadata(name string) (*dag.DAG, error) GetDetails(name string) (*dag.DAG, error) Grep(pattern string) (ret []*GrepResult, errs []string, err error) Rename(oldID, newID string) error GetSpec(name string) (string, error) UpdateSpec(name string, spec []byte) error Find(name string) (*dag.DAG, error) TagList() ([]string, []string, error) }
type DagListPaginationResult ¶ added in v1.0.6
type DataStores ¶ added in v1.0.6
type DataStores interface { HistoryStore() HistoryStore DAGStore() DAGStore FlagStore() FlagStore }
type HistoryStore ¶
type HistoryStore interface { Open(dagFile string, t time.Time, requestID string) error Write(status *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.