2015-06-26 05:59:46 -04:00
|
|
|
"""Null plugin."""
|
|
|
|
|
import logging
|
|
|
|
|
|
|
|
|
|
import zope.component
|
|
|
|
|
import zope.interface
|
|
|
|
|
|
|
|
|
|
from letsencrypt import interfaces
|
|
|
|
|
from letsencrypt.plugins import common
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Installer(common.Plugin):
|
|
|
|
|
"""Null installer."""
|
|
|
|
|
zope.interface.implements(interfaces.IInstaller)
|
|
|
|
|
zope.interface.classProvides(interfaces.IPluginFactory)
|
|
|
|
|
|
|
|
|
|
description = "Null Installer"
|
2015-09-27 17:27:36 -04:00
|
|
|
hidden = True
|
2015-06-26 05:59:46 -04:00
|
|
|
|
|
|
|
|
# pylint: disable=missing-docstring,no-self-use
|
|
|
|
|
|
|
|
|
|
def prepare(self):
|
|
|
|
|
pass # pragma: no cover
|
|
|
|
|
|
|
|
|
|
def more_info(self):
|
|
|
|
|
return "Installer that doesn't do anything (for testing)."
|
|
|
|
|
|
|
|
|
|
def get_all_names(self):
|
|
|
|
|
return []
|
|
|
|
|
|
2015-10-11 13:20:08 -04:00
|
|
|
def deploy_cert(self, domain, cert_path, key_path,
|
2015-10-16 18:25:20 -04:00
|
|
|
chain_path=None, fullchain_path=None):
|
2015-06-26 05:59:46 -04:00
|
|
|
pass # pragma: no cover
|
|
|
|
|
|
|
|
|
|
def enhance(self, domain, enhancement, options=None):
|
|
|
|
|
pass # pragma: no cover
|
|
|
|
|
|
|
|
|
|
def supported_enhancements(self):
|
|
|
|
|
return []
|
|
|
|
|
|
|
|
|
|
def get_all_certs_keys(self):
|
|
|
|
|
return []
|
|
|
|
|
|
|
|
|
|
def save(self, title=None, temporary=False):
|
|
|
|
|
pass # pragma: no cover
|
|
|
|
|
|
|
|
|
|
def rollback_checkpoints(self, rollback=1):
|
|
|
|
|
pass # pragma: no cover
|
|
|
|
|
|
2015-09-23 18:11:10 -04:00
|
|
|
def recovery_routine(self):
|
|
|
|
|
pass # pragma: no cover
|
|
|
|
|
|
2015-06-26 05:59:46 -04:00
|
|
|
def view_config_changes(self):
|
|
|
|
|
pass # pragma: no cover
|
|
|
|
|
|
|
|
|
|
def config_test(self):
|
|
|
|
|
pass # pragma: no cover
|
|
|
|
|
|
|
|
|
|
def restart(self):
|
|
|
|
|
pass # pragma: no cover
|