Documentation
¶
Index ¶
- func CloseStaleTasks(dbpool *pgxpool.Pool, timestamp time.Time) error
- func InsertCheckError(dbpool *pgxpool.Pool, ...) error
- func InsertSpecError(dbpool *pgxpool.Pool, packageName, packageVersion string, timestamp time.Time, ...) error
- func InsertTaskLog(dbpool *pgxpool.Pool, id, level, logger, message, syncId, taskId string, ...) error
- func UpdateRunningTaskDate(dbpool *pgxpool.Pool, taskId string) error
- func UpdateRunningTaskMetrics(dbpool *pgxpool.Pool, taskId string, metrics map[string]any) error
- func UpdateRunningTaskStatus(dbpool *pgxpool.Pool, taskId, status string) error
- func UpsertCatalogStatus(dbpool *pgxpool.Pool, packageName, packageVersion, storageKey string, ...) error
- func UpsertCatalogSuccess(dbpool *pgxpool.Pool, packageName, packageVersion, storageKey string, ...) error
- func UpsertCheck(dbpool *pgxpool.Pool, ...) error
- func UpsertRunningCatalogStatus(dbpool *pgxpool.Pool, packageName, packageVersion, storageKey string, ...) error
- func UpsertRunningTask(dbpool *pgxpool.Pool, syncId, taskId, packageName, packageVersion string, ...) error
- func UpsertSpec(dbpool *pgxpool.Pool, packageName, packageVersion, specs any, ...) error
- func UpsertState(dbpool *pgxpool.Pool, syncId, stream string, state any, timestamp time.Time) error
- func UpsertTaskDescriptionAndError(dbpool *pgxpool.Pool, syncId, taskId, packageName, packageVersion string, ...) error
- func UpsertTaskError(dbpool *pgxpool.Pool, syncId, taskId, packageName, packageVersion string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertCheckError ¶
func InsertSpecError ¶
func InsertTaskLog ¶
func UpdateRunningTaskStatus ¶
func UpsertCatalogStatus ¶
func UpsertCatalogSuccess ¶
func UpsertCheck ¶
func UpsertRunningTask ¶
func UpsertSpec ¶
func UpsertState ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.