bases Package¶
bases
Package¶
destination
Module¶
-
class
lemur.plugins.bases.destination.
DestinationPlugin
Bases:
lemur.plugins.base.v1.Plugin
-
requires_key
= True
-
type
= 'destination'
-
upload
(name, body, private_key, cert_chain, options, **kwargs)
-
issuer
Module¶
-
class
lemur.plugins.bases.issuer.
IssuerPlugin
Bases:
lemur.plugins.base.v1.Plugin
This is the base class from which all of the supported issuers will inherit from.
-
create_authority
(options)
-
create_certificate
(csr, issuer_options)
-
type
= 'issuer'
-
notification
Module¶
-
class
lemur.plugins.bases.notification.
ExpirationNotificationPlugin
Bases:
lemur.plugins.bases.notification.NotificationPlugin
This is the base class for all expiration notification plugins. It contains some default options that are needed for all expiration notification plugins.
-
default_options
= [{'helpMessage': 'Number of days to be alert before expiration.', 'type': 'int', 'validation': '^\\d+$', 'required': True, 'name': 'interval'}, {'available': ['days', 'weeks', 'months'], 'name': 'unit', 'helpMessage': 'Interval unit', 'type': 'select', 'required': True, 'validation': ''}]
-
options
-
send
(notification_type, message, targets, options, **kwargs)
-
-
class
lemur.plugins.bases.notification.
NotificationPlugin
Bases:
lemur.plugins.base.v1.Plugin
This is the base class from which all of the supported issuers will inherit from.
-
send
(notification_type, message, targets, options, **kwargs)
-
type
= 'notification'
-
source
Module¶
-
class
lemur.plugins.bases.source.
SourcePlugin
Bases:
lemur.plugins.base.v1.Plugin
-
clean
(certificate, options, **kwargs)
-
default_options
= [{'default': '60', 'helpMessage': 'Rate in seconds to poll source for new information.', 'type': 'int', 'required': False, 'name': 'pollRate'}]
-
get_certificates
(options, **kwargs)
-
get_endpoints
(options, **kwargs)
-
options
-
type
= 'source'
-