letsencrypt_apache.display_ops

Contains UI methods for Apache operations.

letsencrypt_apache.display_ops.select_vhost(domain, vhosts)[source]

Select an appropriate Apache Vhost.

Parameters:vhosts (list of type Vhost) – Available Apache Virtual Hosts
Returns:VirtualHost or None
Return type:Vhost or None
letsencrypt_apache.display_ops._vhost_menu(domain, vhosts)[source]

Select an appropriate Apache Vhost.

Parameters:vhosts (list of type Vhost) – Available Apache Virtual Hosts
Returns:Display tuple - (‘code’, tag’)
Return type:tuple