Documentation
¶
Overview ¶
Package file provides a YAML-file-backed implementation of queuepause.Store. The file is re-read on every Get, so editing it pauses or unpauses a queue without a restart. The file lists the queues that have pause switches set:
queues:
- name: my-queue
reject_lands: true
freeze_processing: false
reason: repo freeze until 17:00
A queue with no entry is not paused. The file must exist and parse when the Store is constructed, so a mistyped path fails at startup. A later read or parse failure is returned from Get as an error, never treated as unpaused.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a queuepause.Store backed by a YAML file that is re-read on every Get. Safe for concurrent use.
Click to show internal directories.
Click to hide internal directories.