Documentation ¶
Index ¶
- Variables
- func NewBackfillUseCase(cfg *config.Config, db *store.Store, c *client.Client) *backfillUseCase
- func NewPurgeUseCase(cfg *config.Config, db *store.Store) *purgeUseCase
- func NewPurgeWorkerHandler(cfg *config.Config, db *store.Store, c *client.Client) *purgeWorkerHandler
- func NewRunWorkerHandler(cfg *config.Config, db *store.Store, c *client.Client) *runWorkerHandler
- func NewStartUseCase(cfg *config.Config, db *store.Store, c *client.Client) *startUseCase
- func NewSummarizeUseCase(cfg *config.Config, db *store.Store) *summarizeUseCase
- func NewSummarizeWorkerHandler(cfg *config.Config, db *store.Store, c *client.Client) *summarizeWorkerHandler
- type BackfillCmdHandler
- type BackfillUseCaseConfig
- type PurgeCmdHandler
- type StartCmdHandler
- type SummarizeCmdHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBackfillRunning = errors.New("backfill already running (use force flag to override it)")
)
View Source
var (
ErrPurgingDisabled = errors.New("purging disabled")
)
View Source
var (
ErrRunningSequentialReindex = errors.New("indexing skipped because sequential reindex hasn't finished yet")
)
Functions ¶
func NewBackfillUseCase ¶
func NewPurgeWorkerHandler ¶
func NewRunWorkerHandler ¶
func NewStartUseCase ¶
func NewSummarizeUseCase ¶
Types ¶
type BackfillCmdHandler ¶
type BackfillCmdHandler struct {
// contains filtered or unexported fields
}
func NewBackfillCmdHandler ¶
type BackfillUseCaseConfig ¶
type PurgeCmdHandler ¶
type PurgeCmdHandler struct {
// contains filtered or unexported fields
}
func NewPurgeCmdHandler ¶
func (*PurgeCmdHandler) Handle ¶
func (h *PurgeCmdHandler) Handle(ctx context.Context)
type StartCmdHandler ¶
type StartCmdHandler struct {
// contains filtered or unexported fields
}
func NewStartCmdHandler ¶
type SummarizeCmdHandler ¶
type SummarizeCmdHandler struct {
// contains filtered or unexported fields
}
func NewSummarizeCmdHandler ¶
func (*SummarizeCmdHandler) Handle ¶
func (h *SummarizeCmdHandler) Handle(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.