mirror of
https://github.com/certbot/certbot.git
synced 2026-07-23 08:07:06 +02:00
As a follow-up to #8971, this PR removes all references to the old Zope interfaces, except the ones used to deprecate them and prepare for their removal. In the process, some documentation and tests about the `Display` objects are simply removed since they are not relevant anymore given that they are removed from the public API. * Cleanup some interfaces.IInstaller * Cleanup IConfig doc * Allmost complete removal * Remove useless tests * Fixes * More cleanup * More cleanup * More cleanup * Remove a non existent reference * Better type * Fix lint
26 lines
674 B
Python
26 lines
674 B
Python
"""Example Certbot plugins.
|
|
|
|
For full examples, see `certbot.plugins`.
|
|
|
|
"""
|
|
from certbot import interfaces
|
|
from certbot.plugins import common
|
|
|
|
|
|
class Authenticator(common.Plugin, interfaces.Authenticator):
|
|
"""Example Authenticator."""
|
|
|
|
description = "Example Authenticator plugin"
|
|
|
|
# Implement all methods from Authenticator, remembering to add
|
|
# "self" as first argument, e.g. def prepare(self)...
|
|
|
|
|
|
class Installer(common.Plugin, interfaces.Installer):
|
|
"""Example Installer."""
|
|
|
|
description = "Example Installer plugin"
|
|
|
|
# Implement all methods from Installer, remembering to add
|
|
# "self" as first argument, e.g. def get_all_names(self)...
|