Skip to main content

Module sdk

Module sdk 

Source
Expand description

Bootstrap helpers for the SDK package

This module creates the default infrastructure dependencies that the SDK (torrust-tracker-deployer-sdk) needs, without requiring the SDK to import from the infrastructure layer directly.

The bootstrap layer is explicitly allowed to cross-cut all DDD layers for dependency injection, which is why infrastructure types are imported here rather than inside the SDK package.

Constants§

DEFAULT_SDK_LOCK_TIMEOUT
The default file-lock timeout used by the SDK when no custom value is provided.

Functions§

default_clock
Create the default system clock.
default_repository_provider
Create the default repository provider backed by the file-based FileRepositoryFactory.