Documentation
¶
Index ¶
- type DB
- type PostgresStore
- func (ps *PostgresStore) ClearStores() error
- func (ps *PostgresStore) CreateStores() error
- func (ps *PostgresStore) DeleteStores() error
- func (ps *PostgresStore) GetLastTick(name string) (time.Time, error)
- func (ps *PostgresStore) GetTaskSettings(name string) (*store.TaskSettings, error)
- func (ps *PostgresStore) SaveExecution(name string, info *store.ExecutionInfo) error
- func (ps *PostgresStore) SaveTask(name string, settings *store.TaskSettings) error
- func (ps *PostgresStore) TaskExists(name string) (bool, error)
- func (ps *PostgresStore) UpdateTaskStatus(name string, status store.TaskStatus) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresStore ¶
type PostgresStore struct {
// contains filtered or unexported fields
}
func NewStore ¶
func NewStore(db DB) *PostgresStore
func (*PostgresStore) ClearStores ¶
func (ps *PostgresStore) ClearStores() error
func (*PostgresStore) CreateStores ¶
func (ps *PostgresStore) CreateStores() error
func (*PostgresStore) DeleteStores ¶
func (ps *PostgresStore) DeleteStores() error
func (*PostgresStore) GetLastTick ¶
func (ps *PostgresStore) GetLastTick(name string) (time.Time, error)
func (*PostgresStore) GetTaskSettings ¶
func (ps *PostgresStore) GetTaskSettings(name string) (*store.TaskSettings, error)
func (*PostgresStore) SaveExecution ¶
func (ps *PostgresStore) SaveExecution(name string, info *store.ExecutionInfo) error
func (*PostgresStore) SaveTask ¶
func (ps *PostgresStore) SaveTask(name string, settings *store.TaskSettings) error
func (*PostgresStore) TaskExists ¶
func (ps *PostgresStore) TaskExists(name string) (bool, error)
func (*PostgresStore) UpdateTaskStatus ¶
func (ps *PostgresStore) UpdateTaskStatus(name string, status store.TaskStatus) error
Click to show internal directories.
Click to hide internal directories.