Documentation ¶
Index ¶
- func AsynqPauseQueues(ctx context.Context) error
- func AsynqUnpauseQueues(ctx context.Context) error
- func InitFileServerDatabase()
- func RunDisplayError(ctx context.Context, session neo4j.SessionWithContext, statement string)
- type AsynqQueueState
- type CronJobs
- type Jobs
- type ScheduledJobs
- type Scheduler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsynqPauseQueues ¶
func AsynqUnpauseQueues ¶
func InitFileServerDatabase ¶
func InitFileServerDatabase()
func RunDisplayError ¶
func RunDisplayError(ctx context.Context, session neo4j.SessionWithContext, statement string)
Types ¶
type AsynqQueueState ¶
type AsynqQueueState struct {
// contains filtered or unexported fields
}
func NewAsynqQueueState ¶
func NewAsynqQueueState(ns directory.NamespaceID, timeout time.Duration) *AsynqQueueState
func (*AsynqQueueState) Run ¶
func (qs *AsynqQueueState) Run()
type Jobs ¶
type Jobs struct { CronJobs map[directory.NamespaceID]CronJobs CronJobsMutex sync.Mutex ScheduledJobs map[directory.NamespaceID]ScheduledJobs ScheduledJobsMutex sync.Mutex }
type ScheduledJobs ¶
type ScheduledJobs struct {
// contains filtered or unexported fields
}
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func NewScheduler ¶
Click to show internal directories.
Click to hide internal directories.