Documentation
¶
Overview ¶
Package core holds wiring that both SubmitQueue services resolve the same way, so the gateway and orchestrator share one implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescribeDSN ¶
DescribeDSN returns the host and database of a MySQL DSN, omitting credentials and parameters. It returns "" when the DSN cannot be parsed.
func QueuePauseStoreFromEnv ¶
func QueuePauseStoreFromEnv(logger *zap.Logger) (queuepause.Store, error)
QueuePauseStoreFromEnv returns the file-backed store when QUEUE_PAUSE_CONFIG_PATH is set, and otherwise a store under which no queue is ever paused. A path that cannot be loaded is an error, so a misconfigured service fails at startup.
Types ¶
This section is empty.