mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
PluginsEntryPoint.prepare, move pick_* to display_ops
This commit is contained in:
@@ -10,18 +10,22 @@ from letsencrypt.client.plugins import common
|
||||
|
||||
|
||||
class Authenticator(common.Plugin):
|
||||
"""Example Authenticator."""
|
||||
zope.interface.implements(interfaces.IAuthenticator)
|
||||
zope.interface.classProvides(interfaces.IPluginFactory)
|
||||
|
||||
description = 'Example Authenticator plugin'
|
||||
description = "Example Authenticator plugin"
|
||||
|
||||
# Implement all methods from IAuthenticator, remembering to add
|
||||
# "self" as first argument, e.g. def prepare(self)...
|
||||
|
||||
|
||||
class Installer(common.Plugins):
|
||||
"""Example Installer."""
|
||||
zope.interface.implements(interfaces.IInstaller)
|
||||
zope.interface.classProvides(interfaces.IPluginFactory)
|
||||
|
||||
description = 'Example Installer plugin'
|
||||
description = "Example Installer plugin"
|
||||
|
||||
# Implement all methods from IInstaller, remembering to add
|
||||
# "self" as first argument, e.g. def get_all_names(self)...
|
||||
|
||||
Reference in New Issue
Block a user