mirror of
https://github.com/certbot/certbot.git
synced 2026-07-26 07:39:52 +02:00
* Remove apache and nginx from config_changes help * Deprecate certbot_config changes. * Document config_changes deprecation. * Remove view_config_changes as IInstaller method. * Remove view_config_changes from plugins. * Add view_config_changes warnings. * simplify test_config_changes_deprecation
57 lines
1.3 KiB
Python
57 lines
1.3 KiB
Python
"""Null plugin."""
|
|
import logging
|
|
|
|
import zope.component
|
|
import zope.interface
|
|
|
|
from certbot import interfaces
|
|
from certbot.plugins import common
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
@zope.interface.implementer(interfaces.IInstaller)
|
|
@zope.interface.provider(interfaces.IPluginFactory)
|
|
class Installer(common.Plugin):
|
|
"""Null installer."""
|
|
|
|
description = "Null Installer"
|
|
hidden = True
|
|
|
|
# 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 []
|
|
|
|
def deploy_cert(self, domain, cert_path, key_path,
|
|
chain_path=None, fullchain_path=None):
|
|
pass # pragma: no cover
|
|
|
|
def enhance(self, domain, enhancement, options=None):
|
|
pass # pragma: no cover
|
|
|
|
def supported_enhancements(self):
|
|
return []
|
|
|
|
def save(self, title=None, temporary=False):
|
|
pass # pragma: no cover
|
|
|
|
def rollback_checkpoints(self, rollback=1):
|
|
pass # pragma: no cover
|
|
|
|
def recovery_routine(self):
|
|
pass # pragma: no cover
|
|
|
|
def config_test(self):
|
|
pass # pragma: no cover
|
|
|
|
def restart(self):
|
|
pass # pragma: no cover
|