certbot_apache.display_ops
¶
Contains UI methods for Apache operations.
-
certbot_apache.display_ops.
select_vhost
(domain, vhosts)[source]¶ Select an appropriate Apache Vhost.
Parameters: vhosts ( list
of typeVhost
) – Available Apache Virtual HostsReturns: VirtualHost or None
Return type: Vhost
orNone
Select an appropriate Apache Vhost.
Parameters: vhosts ( list
of typeVhost
) – Available Apache Virtual HostsReturns: Display tuple - (‘code’, tag’) Return type: tuple