class

Exu::Services::DomainService

Inherits Reference < Object

Application service orchestrating domain lifecycle with single-lock transactions.

Constructors

new(bridge : Infrastructure::LibexecBridge | Nil = nil)
Source

Instance methods

bridge
Source
create_domain(domain_name : Domain::DomainName, requesting_user : UserInfo) : Domain::Domain

Creates a new virtual domain within a single advisory lock transaction.

Source
delete_domain(domain_name : Domain::DomainName, requesting_user : UserInfo, purge_mail : Bool = false) : Nil

Deletes a domain under single lock transaction

Source
rotate_dkim(domain_name : Domain::DomainName, requesting_user : UserInfo) : Infrastructure::ExecutionResult

Rotates DKIM keys for a domain

Source