The MTA-STS policies of recipient domains, cached by
Sovite.Core.MTASTS: one per domain.
Summary
Functions
Forgets the policy of domain.
The cached policy of domain, if any.
All cached policies, by domain.
Stores the policy of attrs.domain, replacing the one cached before.
Functions
@spec delete(Sovite.Core.Repo.t(), String.t()) :: non_neg_integer()
Forgets the policy of domain.
@spec get(Sovite.Core.Repo.t(), String.t()) :: Sovite.Core.Repo.Schemas.MTASTSPolicy.t() | nil
The cached policy of domain, if any.
@spec list(Sovite.Core.Repo.t()) :: [Sovite.Core.Repo.Schemas.MTASTSPolicy.t()]
All cached policies, by domain.
@spec put(Sovite.Core.Repo.t(), map()) :: {:ok, Sovite.Core.Repo.Schemas.MTASTSPolicy.t()} | {:error, Ecto.Changeset.t()}
Stores the policy of attrs.domain, replacing the one cached before.