certbot_apache.display_ops¶
Contains UI methods for Apache operations.
-
certbot_apache.display_ops.select_vhost_multiple(vhosts)[source]¶ Select multiple Vhosts to install the certificate for
Parameters: vhosts ( listof typeVhost) – Available Apache VirtualHostsReturns: List of VirtualHosts Return type: list`of type `~obj.Vhost
-
certbot_apache.display_ops._reversemap_vhosts(names, vhosts)[source]¶ Helper function for select_vhost_multiple for mapping string representations back to actual vhost objects
-
certbot_apache.display_ops.select_vhost(domain, vhosts)[source]¶ Select an appropriate Apache Vhost.
Parameters: vhosts ( listof typeVhost) – Available Apache VirtualHostsReturns: VirtualHost or NoneReturn type: VhostorNone
Select an appropriate Apache Vhost.
Parameters: vhosts ( listof typeVhost) – Available Apache Virtual HostsReturns: Display tuple - (‘code’, tag’) Return type: tuple