View Source CloudfrontSigner.DistributionRegistry (cloudfront_signer v1.0.0)
Agent to store and fetch cloudfront distributions, to avoid expensive runtime pem decodes
Summary
Functions
Returns a specification to start this module under a supervisor.
Gets a distribution from the registry. If not found, creates it from config and caches it.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec get_distribution(atom(), atom()) :: CloudfrontSigner.Distribution.t()
Gets a distribution from the registry. If not found, creates it from config and caches it.